mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
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
18 lines
421 B
HTML
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>
|