[wpt-sync] Sync PR 35873 - [anchor-position] Support anchors on OOF boxes
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35873 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35873
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
[anchor-position] Support anchors on OOF boxes
This patch supports anchors on OOF boxes inside of a block
fragmentation context.To do this, this patch:
a. Enables per-containing block layout of OOFs if they have
anchors.
b. Find laid out OOFs with anchors and add them to anchor
queries of their containing block chain.This patch doesn't support anchors on in-flow boxes inside of
OOF yet. This needs to look into all children of OOFs, or
propagate a flag while style recalc, but unfortunately there
are no spare bit flags in |LayoutObject| as of today. How to
do it without a flag, or how to add a flag, is deferred to
future patches.Bug: 1309178
Change-Id: I649338bd85e7a87cba0eac7f8cce54bbd5939765Reviewed-on: https://chromium-review.googlesource.com/3885596
WPT-Export-Revision: 1dc0b8fcb9b05d602d61db9f54db6a79f7a8f362
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 7 subtests
Status Summary
Firefox
OK
: 1
PASS
: 2
FAIL
: 5
Chrome
OK
: 1
PASS
: 6
FAIL
: 1
Safari
OK
: 1
PASS
: 2
FAIL
: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-anchor-position/anchor-position-multicol-003.tentative.html [wpt.fyi]
- .target 2:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 3:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 5:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 6:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 7:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- .target 2:
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2d8c13cf1995
https://hg.mozilla.org/mozilla-central/rev/0754aae51141
Description
•