mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: overflow:scroll in rtl context</title>
|
|
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow">
|
|
<meta name="flags" content="">
|
|
<meta name="assert" content="Scrolling UI created by overflow should be positioned on the left in rtl context">
|
|
<style type="text/css">
|
|
div {
|
|
border: 1px solid;
|
|
direction:rtl;
|
|
overflow:auto;
|
|
width: 10em;
|
|
height:2em;
|
|
}
|
|
div.scroll {
|
|
margin-top: 1em;
|
|
overflow:scroll;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<p>In both boxes below, the vertical scrollbar should be on the LEFT (←) side of the box.</p>
|
|
|
|
<div>
|
|
filler<br>
|
|
filler<br>
|
|
filler<br>
|
|
filler<br>
|
|
</div>
|
|
|
|
<div class="scroll">
|
|
filler<br>
|
|
filler<br>
|
|
filler<br>
|
|
filler<br>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |