Skip to content

Add "aspect-ratio" media feature. - #385

Merged
mrobinson merged 2 commits into
servo:mainfrom
jschwe:spookyball
Jun 23, 2026
Merged

mrobinson merged 2 commits into
servo:mainfrom
jschwe:spookyball

Conversation

@jschwe

@jschwe jschwe commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

The implementation does the same as what gecko does (except that I didn't add support for device-aspect-ratio, hence slightly simpler / inlined.

Servo PR: servo/servo#45490

Comment thread style/servo/media_features.rs Resolved
@mrobinson
mrobinson enabled auto-merge June 23, 2026 16:23
@mrobinson
mrobinson added this pull request to the merge queue Jun 23, 2026
Merged via the queue into servo:main with commit 8949926 Jun 23, 2026
5 checks passed
pull Bot pushed a commit to A-Archives-and-Forks/servo that referenced this pull request Jun 24, 2026
Companion PR to servo/stylo#385

Testing: Related tests start to pass. Two new subtests failing, but that
seems to be exposure of an existing issue, of the iframe size being
updated in the test not propogating when the values are read again.
That's out of scope of this PR.
Part of servo#45474
Part of servo#39068

---------

Signed-off-by: Jonathan Schwender <[email protected]>
Loirooriol pushed a commit that referenced this pull request Jul 1, 2026
The implementation does the same as what gecko does (except that I
didn't add support for `device-aspect-ratio`, hence slightly simpler /
inlined.

Servo PR: servo/servo#45490

---------

Signed-off-by: Martin Robinson <[email protected]>
Co-authored-by: Martin Robinson <[email protected]>
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 7, 2026
…yle-system-reviewers,emilio

The implementation does the same as what gecko does (except that I
didn't add support for `device-aspect-ratio`, hence slightly simpler /
inlined.

Imports servo/stylo#385

Co-authored-by: Martin Robinson <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D310918
github-actions Bot pushed a commit to longvatrong111/stylo that referenced this pull request Jul 8, 2026
…yle-system-reviewers,emilio

The implementation does the same as what gecko does (except that I
didn't add support for `device-aspect-ratio`, hence slightly simpler /
inlined.

Imports servo#385

Co-authored-by: Martin Robinson <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D310918
zerox80 pushed a commit to zerox80/firefox that referenced this pull request Oct 16, 2026
…yle-system-reviewers,emilio

The implementation does the same as what gecko does (except that I
didn't add support for `device-aspect-ratio`, hence slightly simpler /
inlined.

Imports servo/stylo#385

Co-authored-by: Martin Robinson <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D310918
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.

3 participants