Closed Bug 1738704 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31454 - Media Queries not using font data for ex and ch

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31454 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31454
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Media Queries not using font data for ex and ch

MediaValues do not use FontMetrics for ex/ch units. Added a test that
checks the ex/ch sizes matches for width property and mq-width, with an
epsilon to catch rounding issues.

Bug: 1264962
Change-Id: I28417e3b5c863e29bdb9b9865081a8a9e4694c3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3251079
Reviewed-by: Dominik Röttsches \<drott@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936884}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
PASS: 1
FAIL: 1

Safari

OK : 1
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d175649d4feb [wpt PR 31454] - Media Queries not using font data for ex and ch, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.