Closed Bug 1694782 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 27766 - Elements with custom style callbacks should be marked style dirty after font loading

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Xiaocheng Hu <xiaochengh@chromium.org>' wrote:

Elements with custom style callbacks should be marked style dirty after font loading

Element with custom style callbacks may set their styles arbitrarily,
and hence making their style depend on font metrics. Therefore, this
patch marks them style dirty after font loading so that their styles
can be updated correctly.

Bug: 1167555
Change-Id: I50cf068062bf36223de2949cea83c75a834f59d1
Reviewed-on: https://chromium-review.googlesource.com/2718492
WPT-Export-Revision: 5bb67a68e32ae06240d5ab584a4e28356456cc68

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c793f4c661a [wpt PR 27766] - Mark ComputedStyle of DateTimeEditElement as font-metric-dependent, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.