Skip to content

Conversation

@lukewarlow
Copy link
Member

@lukewarlow lukewarlow commented Jan 19, 2026

Make Servo compatible with Stylo with extra preference media query support

Obtaining the value from the embedder is left for a follow-up.

This makes Servo recognise prefers-contrast, prefers-reduced-transparency, prefers-reduced-motion.

Stylo PR: servo/stylo#288

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 19, 2026
Cargo.toml Outdated
# stylo_dom = { path = "../stylo/stylo_dom" }
# stylo_malloc_size_of = { path = "../stylo/malloc_size_of" }
# stylo_traits = { path = "../stylo/style_traits" }
[patch."https://github.com/servo/stylo"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO remove once stylo PR is merged and bumped.

@lukewarlow lukewarlow force-pushed the minimal-preference-mqs branch from 86155b2 to 4e8e61b Compare January 19, 2026 14:34
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 19, 2026
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 19, 2026
@lukewarlow lukewarlow force-pushed the minimal-preference-mqs branch from 1275b1b to 1e00e22 Compare January 27, 2026 12:22
@mrobinson mrobinson changed the title Make Servo compatible with Stylo with extra preference media query support layout: Make Servo compatible with Stylo with extra preference media query support Jan 28, 2026
@servo-highfive servo-highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 28, 2026
…pport

Obtaining the value from the embedder is left for a follow-up.

Signed-off-by: Luke Warlow <[email protected]>
@lukewarlow lukewarlow force-pushed the minimal-preference-mqs branch from 1e00e22 to f48e19b Compare January 28, 2026 14:49
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-rebase There are merge conflict errors. labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants