gecko-dev/testing/web-platform/tests/css/css-overflow/scroll-buttons-container-query-crash.html
Daniil Sakhapov 54835f544c Bug 1937577 [wpt PR 49707] - [carousel] Move ::scroll-button() tests to external WPT, a=testonly
Automatic update from web-platform-tests
[carousel] Move ::scroll-button() tests to external WPT

As the spec for ::scroll-button()s is mature enough and passed a few
reviews, not making them .tentative.

Spec: https://drafts.csswg.org/css-overflow-5/#scroll-buttons
Bug: 370067113
Change-Id: I6ccd167a5d2b3df35455d0f0544cb6486a1da4a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6098131
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1396776}

--

wpt-commits: 6cb6ef34e9294bb1dfc7eb07ff1123011542a687
wpt-pr: 49707
2024-12-18 13:21:05 +00:00

18 lines
421 B
HTML

<!DOCTYPE html>
<title>CSS Overflow Test: ::scroll-button() depending on size container query crash</title>
<link rel="help" href="https://crbug.com/375973472">
<style>
#scroller {
overflow: hidden;
container-type: size;
}
#scroller::scroll-button(right) {
content: ">";
}
@container (width) {
#scroller::scroll-button(right) {
display: block;
}
}
</style>
<div id="scroller"></div>