Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-overflow/scroll-buttons-001.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: ::scroll-button()s box creation</title>
<link rel="match" href="scroll-buttons-001-ref.html">
<style>
div::scroll-button(block-end) {
content: "";
background: green;
display: flex;
height: 50px;
width: 100px;
border: none;
}
div::scroll-button(block-start) {
content: "";
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>