1
0
Fork 0
firefox/testing/web-platform/tests/css/css-overflow/scroll-buttons-enabled-rtl-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

59 lines
1.1 KiB
HTML

<!doctype html>
<title>CSS Test Reference: ::scroll-button(inline-end) supports :enabled with rtl direction</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
* {
margin: 0;
font-family: Ahem;
}
#scroller {
width: 600px;
height: 300px;
overflow: auto;
scroll-marker-group: after;
white-space: nowrap;
direction: rtl;
}
#scroller div {
background: green;
display: inline-block;
width: 600px;
height: 270px;
}
#scroll-marker-group {
border: 3px solid black;
padding: 5px;
display: flex;
height: 20px;
width: 40px;
direction: rtl;
}
#scroll-button-inline-end {
background: gold;
display: flex;
height: 20px;
width: 20px;
direction: rtl;
}
.scroll-marker {
width: 10px;
height: 10px;
background-color: blue;
border-radius: 100%;
display: inline-block;
}
</style>
<div id="scroller">
<div></div>
<div></div>
</div>
<button id="scroll-button-inline-end">p</button>
<div id="scroll-marker-group">
<div class="scroll-marker"></div>
<div class="scroll-marker"></div>
</div>