-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selector matches any ::scroll-button, recently added to spec. Bug: 388538943 Change-Id: I5253f369ee1a6a5351f8064f4e238dfbf50a87dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6185896 Commit-Queue: Rune Lillesveen <[email protected]> Reviewed-by: Daniil Sakhapov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1409581}
- Loading branch information
1 parent
719c62b
commit fb7ef79
Showing
4 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!doctype html> | ||
<meta charset="utf-8"> | ||
<title>CSS Test: ::scroll-button()s box creation with ::scroll-button(*)</title> | ||
<link rel="match" href="scroll-buttons-001-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-buttons"> | ||
<style> | ||
div::scroll-button(block-end), div::scroll-button(block-start) { | ||
content: ""; | ||
} | ||
div::scroll-button(*) { | ||
background: green; | ||
display: flex; | ||
height: 50px; | ||
width: 100px; | ||
border: none; | ||
} | ||
</style> | ||
<p>Test passes if there is a <strong>filled green rectangle</strong>. | ||
<div></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!doctype html> | ||
<meta charset="utf-8"> | ||
<title>CSS Test: ::scroll-button(*)s box creation</title> | ||
<link rel="match" href="scroll-buttons-001-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-buttons"> | ||
<style> | ||
div::scroll-button(*) { | ||
content: ""; | ||
background: green; | ||
display: flex; | ||
height: 25px; | ||
width: 100px; | ||
border: none; | ||
} | ||
</style> | ||
<p>Test passes if there is a <strong>filled green rectangle</strong>. | ||
<div></div> |