mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 9817f7f027fe1e92cc2fce31d6002c4d669918e8
This commit is contained in:
parent
8e52f8a523
commit
f3533538ea
2144 changed files with 21364 additions and 11001 deletions
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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, <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>
|
|
@ -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, <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>
|
Loading…
Add table
Add a link
Reference in a new issue