Repository navigation
layout: implement pointer and hover media features - #45681
Merged
Merged
Conversation
nicoburns
force-pushed
the
pointer-media-queries
branch
2 times, most recently
from
June 15, 2026 11:28
54c758e to
f6fb296
Compare
|
jdm
approved these changes
Jun 15, 2026
nicoburns
force-pushed
the
pointer-media-queries
branch
from
June 15, 2026 11:43
f6fb296 to
9624630
Compare
|
🔨 Triggering try run (#27544040638) for Linux (WPT) |
|
Test results for linux-wpt from try job (#27544040638): Flaky unexpected result (60)
Stable unexpected results that are known to be intermittent (14)
|
|
✨ Try run (#27544040638) succeeded. |
Signed-off-by: Nico Burns <[email protected]>
nicoburns
force-pushed
the
pointer-media-queries
branch
from
June 15, 2026 12:29
9624630 to
04a6627
Compare
nicoburns
enabled auto-merge
June 15, 2026 12:29
14 of 33 tasks
Psychpsyo
pushed a commit
to Psychpsyo/stylo
that referenced
this pull request
Jun 15, 2026
Fixes servo#390 This feature is quite impactful as it is required for Tailwind's hover styles to work. Servo PR: servo/servo#45681 Signed-off-by: Nico Burns <[email protected]>
TG199
pushed a commit
to TG199/servo
that referenced
this pull request
Jun 21, 2026
Implements the `pointer`, `any-pointer`,`hover`, and `any-hover` media features. Actually detecting pointer capabilities from the system is left as a follow-up (this is tricky as Winit doesn't expose this information). This PR just configures Stylo with sensible defaults (mouse-like pointer on desktop platforms, touch-like pointer on mobile platforms). - ~Builds on: servo#44978 This has been reordered - this PR is now first. - Stylo PR: servo/stylo#391 Testing: WPT tests Part of: servo#39068 Signed-off-by: Nico Burns <[email protected]>
Loirooriol
pushed a commit
to servo/stylo
that referenced
this pull request
Jul 1, 2026
Fixes #390 This feature is quite impactful as it is required for Tailwind's hover styles to work. Servo PR: servo/servo#45681 Signed-off-by: Nico Burns <[email protected]>
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.
Implements the
pointer,any-pointer,hover, andany-hovermedia features.Actually detecting pointer capabilities from the system is left as a follow-up (this is tricky as Winit doesn't expose this information). This PR just configures Stylo with sensible defaults (mouse-like pointer on desktop platforms, touch-like pointer on mobile platforms).
Builds on: layout: EnableThis has been reordered - this PR is now first.device-width/device-heightmedia queries #44978Testing: WPT tests
Part of: #39068