Skip to content

Support device-aspect-ratio media feature - #515

Merged
jdm merged 1 commit into
servo:mainfrom
z11i:device-aspect-ratio
Nov 15, 2026
Merged

jdm merged 1 commit into
servo:mainfrom
z11i:device-aspect-ratio

Conversation

@z11i

@z11i z11i commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Servo companion PR: servo/servo#49775

Tests against Servo's WPT about device-aspect-ratio htmls pass.

@z11i
z11i force-pushed the device-aspect-ratio branch from 2d2497b to 0ba2096 Compare November 11, 2026 01:44
@z11i
z11i marked this pull request as ready for review November 11, 2026 01:47
Comment thread style/servo/media_features.rs Resolved
@z11i
z11i force-pushed the device-aspect-ratio branch from 0ba2096 to b8e7415 Compare November 15, 2026 03:07
@jdm
jdm enabled auto-merge November 15, 2026 05:15
@jdm
jdm added this pull request to the merge queue Nov 15, 2026
Merged via the queue into servo:main with commit fa0bd5f Nov 15, 2026
6 checks passed
@Loirooriol

Copy link
Copy Markdown
Collaborator

@jdm Please don't land Stylo PRs whose companion is not ready (it's a draft and doesn't compile in CI, so the test expectations are unconfirmed)

@jdm

jdm commented Nov 15, 2026

Copy link
Copy Markdown
Member

Whoops, you're right. Sorry about that.

Loirooriol pushed a commit to Loirooriol/servo that referenced this pull request Nov 16, 2026
Update stylo to include device-aspect-ratio support:
servo/stylo#515

Part of servo#39068

Testing: 3 tests improve:
- `/css/mediaqueries/device-aspect-ratio-002.html`
- `/css/mediaqueries/device-aspect-ratio-003.html`
- `/css/mediaqueries/test_media_queries.html`

Signed-off-by: Elliot Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants