mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Update web-platform-tests to revision b9d4748d6a7f9b21bd420486955b44349aa005ea
This commit is contained in:
parent
0a9a222356
commit
28ed236c3a
76 changed files with 2158 additions and 581 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#collapsing-margins">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=967193">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="A vertical percentage padding that resolves to 0 shouldn't prevent margins from collapsing through the box">
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="float:left; width:100px; background:green;">
|
||||
<div id="container" style="width:100px;">
|
||||
<div style="width:100px; margin-bottom:100px;"></div>
|
||||
<div style="padding:100% 0;"></div>
|
||||
<div style="width:100px; margin-top:100px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
container.style.width = "0";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue