mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -1,3 +1,4 @@
|
|||
spec: https://drafts.csswg.org/css-overflow/
|
||||
suggested_reviewers:
|
||||
- frivoal
|
||||
- dbaron
|
||||
|
|
|
@ -0,0 +1,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, 100);
|
||||
}, "Only trailing *block* margins should affect overflow");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue