Closed Bug 1604651 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20822 - Add a WPT for recomputation of 'ch' length unit after font loading

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Add a WPT for recomputation of 'ch' length unit after font loading

The computation of 'ch' depends on font metrics, and should be changed
after font loading. This patch adds a new test to ensure that.

This is also a preparation patch for implementing partial style recalc
after font loading.

Bug: 441925
Change-Id: I677fdca1b72183c7da362f424d4e0cd3b900c849
Reviewed-on: https://chromium-review.googlesource.com/1972815
WPT-Export-Revision: f6c06d09f7d43aa36b31624c455a5c7cba70de07

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-values/ch-recalc-on-font-load.html
ch in a normal div should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:none should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:contents should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-values/ch-recalc-on-font-load.html
ch in a normal div should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:none should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:contents should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-values/ch-recalc-on-font-load.html
ch in a normal div should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:none should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:contents should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/976926a8a886
[wpt PR 20822] - Add a WPT for recomputation of 'ch' length unit after font loading, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d696d424f501
[wpt PR 20822] - Update wpt metadata, a=testonly

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-values/ch-recalc-on-font-load.html
ch in a normal div should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:none should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in display:contents should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)

Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.