Update web-platform-tests to revision 9817f7f027fe1e92cc2fce31d6002c4d669918e8

This commit is contained in:
WPT Sync Bot 2018-03-08 20:11:36 -05:00 committed by Josh Matthews
parent 8e52f8a523
commit f3533538ea
2144 changed files with 21364 additions and 11001 deletions

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=708345" />
<meta name="flags" content="" />
<meta name="assert" content="height of rows in thead are increased to match table height" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
background: green;
border-collapse:collapse;
}
td {
padding:0px;
}
#redSquare {
height: 100px;
width: 100px;
background-color: red;
position: absolute;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>
<div id="redSquare"></div>
<table style="height:100px">
<thead>
<tr>
<td><div style="display:inline-block; width:100px;">
</div></td>
</tr>
</thead>
</table>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=708345" />
<meta name="flags" content="" />
<meta name="assert" content="height of rows in tbody are increased to match table height" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
background: green;
border-collapse:collapse;
}
td {
padding:0px;
}
#redSquare {
height: 100px;
width: 100px;
background-color: red;
position: absolute;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>
<div id="redSquare"></div>
<table style="height:100px">
<tbody>
<tr>
<td><div style="display:inline-block; width:100px;">
</div></td>
</tr>
</tbody>
</table>

View file

@ -0,0 +1,50 @@
<!DOCTYPE html>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=708345" />
<meta name="flags" content="" />
<meta name="assert" content="All rows of equal intrinsic height should be increased the same amount, regardless of which group they are in, tbody+tbody case" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
border-collapse: collapse;
}
td {
padding: 0px;
}
td div {
width: 100px;
height:10px;
}
tbody {
outline: 2px solid lightblue;
}
</style>
<table id="theTable" style="height:100px">
<tbody data-expected-height=50>
<tr>
<td><div></div></td>
</tr>
</tbody>
<tbody data-expected-height=50>
<tr>
<td><div></div></td>
</tr>
</tbody>
</table>
<script>
checkLayout('#theTable')
</script>

View file

@ -0,0 +1,50 @@
<!DOCTYPE html>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=708345" />
<meta name="flags" content="" />
<meta name="assert" content="All rows of equal intrinsic height should be increased the same amount, regardless of which group they are in, thead+tbody case" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
border-collapse: collapse;
}
td {
padding: 0px;
}
td div {
width: 100px;
height:10px;
}
thead, tbody {
outline: 2px solid lightblue;
}
</style>
<table id="theTable" style="height:100px">
<thead data-expected-height=50>
<tr>
<td><div></div></td>
</tr>
</thead>
<tbody data-expected-height=50>
<tr>
<td><div></div></td>
</tr>
</tbody>
</table>
<script>
checkLayout('#theTable')
</script>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=708345" />
<meta name="flags" content="" />
<meta name="assert" content="height of rows in tfoot are increased to match table height" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
background: green;
border-collapse:collapse;
}
td {
padding:0px;
}
#redSquare {
height: 100px;
width: 100px;
background-color: red;
position: absolute;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>
<div id="redSquare"></div>
<table style="height:100px">
<tfoot>
<tr>
<td><div style="display:inline-block; width:100px;">
</div></td>
</tr>
</tfoot>
</table>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#mapping">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=598134" />
<meta name="flags" content="" />
<meta name="assert" content="default box-sizing for <table> is border-box" />
<title>
UA stylesheet, &lt;table>, box-sizing
</title>
<style>
#table {
width: 100px;
height: 100%;
background: green;
padding-bottom: 35px;
}
</style>
<p>Test passes if there is a filled green square.
</p>
<div style="height:100px">
<table id="table"></table>
</div>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#mapping">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=598134" />
<meta name="flags" content="" />
<meta name="assert" content="default <table> box-sizing:border-box is not applied to non-table elements that have display:table" />
<title>
UA stylesheet, &lt;table>, box-sizing
</title>
<style>
#table {
display: table;
width: 100px;
height: 100%;
background: green;
padding-bottom: 35px;
}
#redSquare {
height: 100px;
width: 100px;
background-color: red;
position: absolute;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>
<div id="redSquare"></div>
<div style="height:65px">
<div id="table"></div>
</div>