[wpt-sync] Sync PR 46573 - Remove redundant anchor reference from css-anchor-position WPT tests
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46573 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46573
Details from upstream follow.
Xianzhu Wang <wangxianzhu@chromium.org> wrote:
Remove redundant anchor reference from css-anchor-position WPT tests
Remove anchor references in anchor() if the reference is the same as
position-anchor.For tests with anchor references from anchor() and anchor-size()
without position-anchor, modify a few of them by adding
position-anchor and remove anchor references, to increase test
coverage of anchor-size() implicitly use the default anchor, while
most of such tests are kept unchanged.This will give web developers good examples of best usages. Previously
some web developers asked whether the redundant anchor references were
required.Change-Id: I9bbdaa375afd845765266c272ca27cb565833257
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5588972
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Xianzhu Wang \<wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1308918}
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 55 tests
Status Summary
Firefox
OK
: 19
PASS
: 7
FAIL
: 86
Chrome
OK
: 19
PASS
: 93
Safari
OK
: 19
PASS
: 7
FAIL
: 86
Links
Details
New Tests That Don't Pass
- /css/css-anchor-position/anchor-name-multicol-002.html [wpt.fyi]
- .target 1:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- .target 1:
- /css/css-anchor-position/anchor-position-multicol-colspan-001.html [wpt.fyi]
- .target 1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 2:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 4:
FAIL
(Chrome:PASS
, Safari:FAIL
) - .target 5:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- .target 1:
- /css/css-anchor-position/anchor-scroll-002.html [wpt.fyi]
- target1 should scroll with anchor1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - target2 should scroll with anchor2:
FAIL
(Chrome:PASS
, Safari:FAIL
) - target3 should scroll with anchor3:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- target1 should scroll with anchor1:
- /css/css-anchor-position/anchor-scroll-003.html [wpt.fyi]
- Scrolling should work in fragmented containing block:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Scrolling should work in fragmented containing block:
- /css/css-anchor-position/anchor-scroll-004.html [wpt.fyi]
- Initial position of the targets:
FAIL
(Chrome:PASS
, Safari:FAIL
) - #target1 should scroll with #anchor1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - #target2 should scroll with #anchor2:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Initial position of the targets:
- /css/css-anchor-position/anchor-scroll-005.html [wpt.fyi]
- Target should not scroll with viewport when anchor is in fixed-positioned scroller:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Target should not scroll with viewport when anchor is in fixed-positioned scroller:
- /css/css-anchor-position/anchor-scroll-js-expose.html [wpt.fyi]
- Element.getBoundingClientRect() returns the actual rendered location:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Range.getBoundingClientRect() returns the actual rendered location:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Element.offset* return adjusted offsets:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Element.getBoundingClientRect() returns the actual rendered location:
- /css/css-anchor-position/anchor-scroll-position-try-001.html [wpt.fyi]
- Should be above the anchor when at initial scroll position:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Scroll down until the top edge of #anchor touches container but not overflowing:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Scroll further down, making the first fallback position overflow by 1px:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Scroll back up to reuse the first fallback position:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Scroll bottom-right to make the first three fallback positions overflow:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should be above the anchor when at initial scroll position:
- /css/css-anchor-position/anchor-scroll-position-try-002.html [wpt.fyi]
- Should use the first fallback position at the initial scroll offset:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position after scrolling left:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the first fallback position at the initial scroll offset:
- /css/css-anchor-position/anchor-scroll-position-try-003.html [wpt.fyi]
- Should use the first fallback position at the initial scroll offset:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position after scrolling up:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the first fallback position at the initial scroll offset:
- /css/css-anchor-position/anchor-scroll-position-try-004.html [wpt.fyi]
- Should use the first fallback position at the initial scroll offsets:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position after scrolling viewport down:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position after scrolling the vrl scroller left:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the first fallback position at the initial scroll offsets:
- /css/css-anchor-position/anchor-scroll-position-try-005.html [wpt.fyi]
- Should use the first fallback position at the initial scroll offset:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position after scrolling left:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the first fallback position at the initial scroll offset:
- /css/css-anchor-position/anchor-scroll-position-try-006.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space below:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space right:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space below and right:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/anchor-scroll-position-try-007.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space left:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space below:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space left and below:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/anchor-scroll-position-try-008.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space left:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space above:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space left and above:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/anchor-scroll-position-try-009.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space right:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space below:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space right and below:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/anchor-scroll-position-try-010.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space right:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space above:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space right and above:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/anchor-scroll-position-try-011.html [wpt.fyi]
- Should use the last fallback position initially:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the third fallback position with enough space above:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the second fallback position with enough space right:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Should use the first fallback position with enough space above and right:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Should use the last fallback position initially:
- /css/css-anchor-position/position-try-grid-001.html [wpt.fyi]
- .target 1:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- .target 1:
- /css/css-anchor-position/anchor-position-circular.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-001.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-002.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-003.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-004.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-005.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-position-top-layer-006.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-001.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-chained-001.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-chained-002.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-chained-003.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-chained-004.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-chained-fallback.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-composited-scrolling-006.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-fixedpos-002.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-fixedpos.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-nested.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-overflow-hidden.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-position-try-012.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-to-sticky-001.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-to-sticky-002.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-to-sticky-003.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-to-sticky-004.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-001.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-003.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-004.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-005.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-006.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-update-007.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-vlr.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-anchor-position/anchor-scroll-vrl.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
)
Comment 4•1 year ago
|
||
bugherder |
Description
•