mirror of
https://github.com/servo/servo.git
synced 2025-06-28 02:53:48 +01:00
Update web-platform-tests to revision 1b0f824f9ef09f035d2549ab4f6c92131ba62c0f
This commit is contained in:
parent
605c4b099a
commit
0554d61f26
85 changed files with 596 additions and 145 deletions
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<meta name="assert" content="This ensures that an end self-collapsing block contributes to the scrollable overflow correctly.">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<body onload="checkLayout('.target')">
|
||||
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="110">
|
||||
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
|
||||
<div></div> <!-- self-collapsing -->
|
||||
</div>
|
||||
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="150">
|
||||
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
|
||||
<div style="margin-bottom: 50px;"></div> <!-- self-collapsing -->
|
||||
</div>
|
||||
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="180">
|
||||
<div style="width: 50px; height: 100px; margin-bottom: 30px; background: lime;"></div>
|
||||
<div style="margin-bottom: 100px;"> <!-- self-collapsing -->
|
||||
<div style="margin-top: -20px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id=log></div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue