mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae
This commit is contained in:
parent
363073568e
commit
71dcf37d55
175 changed files with 2749 additions and 678 deletions
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#available">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#percentage-sizing">
|
||||
<p>There should be a green square below, and no red.</p>
|
||||
<div id="container" style="width:100px; background:red;">
|
||||
<div style="float:right; width:50px; height:100px; background:green;"></div>
|
||||
<div style="display:table; max-width:50%; height:100px; background:green;" data-expected-width="50">
|
||||
<div style="float:left; width:20px; height:10px;"></div>
|
||||
<div style="float:left; width:20px; height:10px;"></div>
|
||||
<div style="float:left; width:20px; height:10px;"></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("#container");
|
||||
</script>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#available">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#percentage-sizing">
|
||||
<p>There should be a blue square below.</p>
|
||||
<div id="container" style="width:100px;">
|
||||
<div style="float:right; width:50px; height:10px;"></div>
|
||||
<div style="display:table; width:10px; min-width:100%; height:100px; background:blue;" data-expected-width="100"></div>
|
||||
</div>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<script>
|
||||
checkLayout("#container");
|
||||
</script>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#available">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing/#percentage-sizing">
|
||||
<p>There should be a green square below, and no red.</p>
|
||||
<div id="container" style="width:100px; background:red;">
|
||||
<div style="float:right; width:50px; height:100px; background:green;"></div>
|
||||
<div style="display:table; width:10px; min-width:50%; height:100px; background:green;" data-expected-width="50"></div>
|
||||
</div>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<script>
|
||||
checkLayout("#container");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue