Closed Bug 1988824 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 54845 - css/css-anchor-position/anchor-position-inline-00[1234].html: wait for fonts to load before checking layout

Categories

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

task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Kiet Ho <kiet.ho@apple.com> wrote:

css/css-anchor-position/anchor-position-inline-00[1234].html: wait for fonts to load before checking layout

These tests are failing in Safari because the layout is checked before the Ahem font has finished loading. Fix the tests to wait for the font to load before checking layout. This follows the same spirit as https://github.com/web-platform-tests/wpt/pull/54768.

Attached file Notable wpt changes
# CI Results Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 368 tests ## Status Summary ### Firefox `OK` : 4[GitHub] 228[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS`: 4[GitHub] 26[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 12569[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 12614[Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 12615[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 12616[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] `FAIL`: 32[GitHub] 960[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 1027[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 1029[Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] ### Chrome `OK` : 4 `PASS`: 34 `FAIL`: 2 ### Safari `OK` : 4 `PASS`: 30 `FAIL`: 6 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=f80f5b1500c97852114e32e32e90af84fe2f0a62) [GitHub PR Head](https://wpt.fyi/results/?sha=c744b1c0b1f0a28d6efd34148cee28a22d3b190a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=c744b1c0b1f0a28d6efd34148cee28a22d3b190a&label=pr_base) ## Details ### Firefox-only Failures * [/css/css-anchor-position/anchor-position-inline-003.html](https://wpt.live/css/css-anchor-position/anchor-position-inline-003.html) [[wpt.fyi](https://wpt.fyi/results/css/css-anchor-position/anchor-position-inline-003.html)] * .target 2: `FAIL` linked bug:Bug 1816183 * [/css/css-anchor-position/anchor-position-inline-004.html](https://wpt.live/css/css-anchor-position/anchor-position-inline-004.html) [[wpt.fyi](https://wpt.fyi/results/css/css-anchor-position/anchor-position-inline-004.html)] * .target 7: `FAIL` linked bug:Bug 1816183 * .target 8: `FAIL` linked bug:Bug 1816183 * .target 9: `FAIL` linked bug:Bug 1816183 * .target 10: `FAIL` linked bug:Bug 1816183 * .target 11: `FAIL` linked bug:Bug 1816183 * .target 12: `FAIL` linked bug:Bug 1816183 * .target 13: `FAIL` linked bug:Bug 1816183 * .target 14: `FAIL` linked bug:Bug 1816183 * .target 15: `FAIL` linked bug:Bug 1816183 * .target 16: `FAIL` linked bug:Bug 1816183 * .target 17: `FAIL` linked bug:Bug 1816183 * .target 18: `FAIL` linked bug:Bug 1816183 (See attachment for full changes)
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f627b0a91541 https://hg.mozilla.org/integration/autoland/rev/4dec9d1675b7 [wpt PR 54845] - css/css-anchor-position/anchor-position-inline-00[1234].html: wait for fonts to load before checking layout, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: