You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d89cc4a
Browse filesBrowse the repository at this point in the historyBrowse files
CSS engine: sync @layer and the user-preference media features
From PeachPDF v0.9.6 (upstream cc1a521, 607bcce).
- LayerRule / LayerStatementRule / ILayerRule: both @layer forms - the block
form that groups rules and the statement form that only declares an order
- Seven new media features: prefers-color-scheme, prefers-reduced-motion,
prefers-contrast, prefers-reduced-transparency, update, any-hover, any-pointer
- MediaFeature gains a Comparison property (derived from the min-/max- prefix
or the range-syntax operator) plus AsLength/AsResolution/AsRatio accessors,
which is what a media-query matcher needs to actually evaluate a feature
Layer *ordering* is not implemented - see the separate CssData change that
indexes a layer's contents as unlayered rules.
0 commit comments