blob: f0af1fe306872beea48db8a5dd3026bf318271ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<title>Scrollable container with orthogonal writing-mode child with inline-end margin</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visufx.html#propdef-overflow">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="container" style="writing-mode:vertical-rl; overflow:auto; width:100px; height:100px;">
<div style="writing-mode:horizontal-tb; width:100px; height:100px; margin-bottom:200px;"></div>
</div>
<script>
test(function() {
var container = document.getElementById("container");
assert_equals(container.scrollWidth, 100);
assert_equals(container.scrollHeight, 300);
});
</script>
|