Skip to content

Implement the height and orientation media features - #395

Merged
nicoburns merged 3 commits into
servo:mainfrom
nicoburns:media-height
Jun 28, 2026
Merged

nicoburns merged 3 commits into
servo:mainfrom
nicoburns:media-height

Conversation

@nicoburns

@nicoburns nicoburns commented Jun 15, 2026 •

Copy link
Copy Markdown
Collaborator

We were already passing viewport dimensions into Stylo as part of the Device which is sufficient to determine, width, height and orientation, but we were previously only exposing the width to CSS.|

Servo PR: servo/servo#45707

@nicoburns nicoburns changed the title Implement the height media feature Implement the height and orientation media features Jun 15, 2026
@nicoburns
nicoburns added this pull request to the merge queue Jun 28, 2026
Merged via the queue into servo:main with commit 9d12364 Jun 28, 2026
5 checks passed
@nicoburns
nicoburns deleted the media-height branch June 28, 2026 22:26
pull Bot pushed a commit to Haofei/servo that referenced this pull request Jun 29, 2026
Upgrade to a Stylo version that implements the `height` and
`orientation` media features.

Stylo PR: servo/stylo#395

Not sure why this is causing some new test failures, but that is not
uncommon when enabling a feature that was previous entirely
unimplemented. This looks like an overall win to me.

Testing: WPT tests
Part of servo#39068

---------

Signed-off-by: Nico Burns <[email protected]>
Loirooriol pushed a commit that referenced this pull request Jul 1, 2026
We were already passing viewport dimensions into Stylo as part of the
`Device` which is sufficient to determine, `width`, `height` and
`orientation`, but we were previously only exposing the `width` to CSS.|

Servo PR: servo/servo#45707

---------

Signed-off-by: Nico Burns <[email protected]>
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 7, 2026
…. r=firefox-style-system-reviewers,emilio

We were already passing viewport dimensions into Stylo as part of the
`Device` which is sufficient to determine, `width`, `height` and
`orientation`, but we were previously only exposing the `width` to CSS.

Imports servo/stylo#395

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

We were already passing viewport dimensions into Stylo as part of the
`Device` which is sufficient to determine, `width`, `height` and
`orientation`, but we were previously only exposing the `width` to CSS.

Imports servo#395

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

We were already passing viewport dimensions into Stylo as part of the
`Device` which is sufficient to determine, `width`, `height` and
`orientation`, but we were previously only exposing the `width` to CSS.

Imports servo/stylo#395

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

2 participants