Update web-platform-tests to revision 912d5081b62d6e6a2f847935c82722e31cca7a1f

This commit is contained in:
WPT Sync Bot 2018-12-10 21:07:47 -05:00
parent eeaca0b26d
commit a44e48301c
75 changed files with 1894 additions and 292 deletions

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
body { overflow:scroll; } /* Auto scrollbars may hide bugs. */
</style>
<p>There should be a green square below, and a smaller hotpink square.</p>
<div style="float:left; width:20px; height:20px; margin-top:80px; margin-right:30px; background:hotpink;"></div>
<div style="float:left; width:50px; height:50px; background:green;"></div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-height">
<link rel="match" href="block-end-aligned-abspos-with-overflow-ref.html">
<meta name="assert" content="Check that content that overflows a tall bottom-aligned abspos fragments properly">
<style>
body { overflow:scroll; } /* Auto scrollbars may hide bugs. */
</style>
<p>There should be a green square below, and a smaller hotpink square.</p>
<div style="columns:2; width:100px; height:100px; column-fill:auto; column-gap:0; background:white;">
<div style="position:relative; height:100%;">
<div style="position:absolute; width:20px; bottom:20px;">
<div style="height:10px; background:white;">
<div style="background:hotpink;">
<div style="height:10px; background:white;"></div>
<div style="break-inside:avoid; width:50px; height:50px; background:green;"></div>
</div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-height">
<style>
body { overflow:scroll; } /* Auto scrollbars may hide bugs. */
#container { columns:2; height:200px; column-fill:auto; background:white; }
#abspos { position:absolute; width:50px; bottom:0; background:blue; }
#abspos > div { height:10px; background:white; }
</style>
<p>There should be two identical blue squares below.</p>
<div id="container">
<div style="position:relative; height:100%;">
<div id="abspos" data-offset-y="80" data-expected-height="120">
<div style="margin:50px 0;" data-offset-y="50"></div>
<div data-offset-y="110"></div>
</div>
</div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script>
checkLayout("[data-offset-y]");
</script>