Repository navigation
Add remaining preference media queries - #528
Merged
Merged
Conversation
This adds `prefers-contrast`, `prefers-reduced-motion`, and `prefers-reduced-transparency`. Rebased and updated version of servo#288 Supersedes and closes servo#288 Co-authored-by: Luke Warlow <[email protected]> Signed-off-by: Tim van der Lippe <[email protected]>
TimvdLippe
marked this pull request as ready for review
November 20, 2026 13:36
mrobinson
approved these changes
Nov 20, 2026
TimvdLippe
added a commit
to TimvdLippe/servo
that referenced
this pull request
Nov 20, 2026
…query support 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#528 Part of servo#39068 Supersedes and closes servo#42011 Co-authored-by: Luke Warlow <[email protected]> Signed-off-by: Tim van der Lippe <[email protected]>
setoelkahfi
pushed a commit
to setoelkahfi/servo
that referenced
this pull request
Nov 20, 2026
…query support (servo#50095) 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#528 Fixes: Part of servo#39068 Supersedes and closes servo#42011 Supersedes and closes servo#49958 Signed-off-by: Tim van der Lippe <[email protected]> Co-authored-by: Luke Warlow <[email protected]>
staging-devin-ai-integration Bot
pushed a commit
to DioxusLabs/blitz
that referenced
this pull request
Nov 28, 2026
- Handle DisplayOutside::InternalRuby and the ruby/webkit-box DisplayInside variants, now compiled for Servo (servo/stylo#539) - Map the modern AlignmentBaseline values, now compiled for Servo behind layout.css.baseline-metric.modern.enabled (servo/stylo#535) - Pass a per-document random() hasher key to Device::new (servo/stylo#520) - Fill the new prefers-contrast/-reduced-motion/-reduced-transparency MediaData fields with NoPreference (servo/stylo#528)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds
prefers-contrast,prefers-reduced-motion, andprefers-reduced-transparency.Rebased and updated version of #288
Supersedes and closes #288
Servo PR: servo/servo#50095