Closed Bug 1912339 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 47530 - [reading-flow] fix out of flow position reading traversal

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Di Zhang <dizhangg@chromium.org> wrote:

[reading-flow] fix out of flow position reading traversal

Out of flow position elements (position: absolute, position: fixed)
are removed from normal document flow and are not included in
ReadingOrderElements. We make sure these elements still get visited
in a reading flow navigation by adding them after the
ReadingOrderelements, in DOM order.
This is similar to how we currently handle display: contents.

AX-Relnotes: No AXObject change needed, we only need to add a test.

Change-Id: Iac3d88d78542f516cf3d1834e126661a75af645b
Bug: 40932006
Reviewed-on: https://chromium-review.googlesource.com/5770690
WPT-Export-Revision: d360b02d2e8efafceb435040bc0e16ba65cf04ea

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

CI Results

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

Total 4 tests and 4 subtests

Status Summary

Firefox

OK : 4
PASS: 1
FAIL: 9

Chrome

OK : 4
PASS: 6
FAIL: 4

Safari

OK : 4
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f16f214d456 [wpt PR 47530] - [reading-flow] fix out of flow position reading traversal, a=testonly https://hg.mozilla.org/integration/autoland/rev/721ddd9d8298 [wpt PR 47530] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.