[wpt-sync] Sync PR 40459 - [anchor-position] Implement auto anchor positioning and auto fallbacks
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40459 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40459
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
[anchor-position] Implement auto anchor positioning and auto fallbacks
This patch implements:
- Evaluation of
anchor(auto)
andanchor(auto-same)
by converting
auto into the corresponding physical side [1].- Generation of automatic anchor fallbacks when one inset contains
anchor(auto[-same])
and the opposite inset isauto
[2]. This is
done by introducing anOOFCandidateStyleIterator
class that
encapsulates the iteration of all candidate styles for an OOF,
including the base style,@try
fallback styles and automatic
fallback styles. This class also replaces the existing position
fallback style enumeration.[1] https://drafts.csswg.org/css-anchor-position-1/#anchor-auto
[2] https://drafts.csswg.org/css-anchor-position-1/#fallback-automaticFixed: 1412864
Change-Id: I2931001ed255afd611343a7f40e7334cf823cd10Reviewed-on: https://chromium-review.googlesource.com/4600528
WPT-Export-Revision: 6f000ca884b1a705852cee0701b57415f5a42e3e
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 8 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 20
Chrome
OK
: 2
FAIL
: 20
Safari
OK
: 2
FAIL
: 20
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-anchor-position/anchor-position-auto-002.html [wpt.fyi]
- .target 1:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 2:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 3:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 4:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 5:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 6:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 7:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 8:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 9:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 10:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 11:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 12:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- .target 1:
- /css/css-anchor-position/anchor-position-auto-003.html [wpt.fyi]
- .target 1:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 2:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 3:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 4:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 5:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 6:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 7:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - .target 8:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- .target 1:
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1a33e9e4b457
https://hg.mozilla.org/mozilla-central/rev/daa709c679f8
Description
•