mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -5,7 +5,6 @@
|
|||
<link rel="author" title="Anders Ruud" href="mailto:andruud@chromium.org">
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#the-width-property" title="See Note in <percentage>">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="percent lengths of an abspos table are resolved against the padding box of the parent" />
|
||||
<style>
|
||||
main div {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#used-width-of-table">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When sizing and positioning abspos tables, the intrinsic width is obeyed when the intrinsic width is larger than specified width" />
|
||||
<style>
|
||||
.cb {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#used-width-of-table">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When sizing and positioning abspos tables, the specified width is obeyed when the intrinsic width is smaller" />
|
||||
<style>
|
||||
.cb {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#computing-the-table-height">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When sizing and positioning abspos tables, the intrinsic height is obeyed when the intrinsic height is larger than specified height" />
|
||||
<style>
|
||||
.cb {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#computing-the-table-height">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When sizing and positioning abspos tables, the specified height is obeyed when the intrinsic height is smaller" />
|
||||
<style>
|
||||
.cb {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#def-cb">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<link rel="bookmark" href="https://crbug.com/977507" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Abspos table works when it is dynamically added" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#the-background-clip">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/1008400" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="background-clip on a cell with collapsed borders is calculated correctly" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetheight">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#bounding-box-assignment">
|
||||
<link rel="bookmark" href="https://crbug.com/613753" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="border-spacing occurring outside rows and sections is not included in their height and width" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#box-shadow">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/1006241" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="box-shadow size and location on a cell with collapsed borders are calculated correctly" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<script src='/resources/testharnessreport.js'></script>
|
||||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-flows">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="caption margins are resolved against table's height when table has vertical flow" />
|
||||
<style>
|
||||
x-table {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<script src='/resources/testharnessreport.js'></script>
|
||||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-flows">
|
||||
<meta name="flags" content="" />
|
||||
<style>
|
||||
x-table {
|
||||
display: table;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="floats-wrap-bfc-006b-ref.xht"/>
|
||||
<meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." />
|
||||
<meta name="flags" content="" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="floats-wrap-bfc-006c-ref.xht"/>
|
||||
<meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." />
|
||||
<meta name="flags" content="" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<link rel="author" title="Jihwan Marc Kim" href="mailto:bluewhale.marc@gmail.com" />
|
||||
<link rel="help" href="https://crbug.com/1283025" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="percent lengths of fractional td width should rendered correctly" />
|
||||
<style>
|
||||
main div {
|
||||
position: relative;
|
||||
border: 1px solid black;
|
||||
width: 400px;
|
||||
}
|
||||
.cell {
|
||||
background-color: skyblue;
|
||||
height: 20px;
|
||||
}
|
||||
</style>
|
||||
<p>
|
||||
Tests that percent lengths of fractional td width should rendered correctly
|
||||
even it is smaller than 1.
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
<output id="log"></output>
|
||||
<main>
|
||||
<div>
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="cell" width="0.5%" data-expected-client-width="2"></td>
|
||||
<td>0.5%</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="cell" width="1%" data-expected-client-width="4"></td>
|
||||
<td>1%</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="cell" width="5%" data-expected-client-width="20"></td>
|
||||
<td>5%</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
checkLayout(".cell");
|
||||
</script>
|
||||
|
|
@ -4,7 +4,6 @@
|
|||
<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
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<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
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<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
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<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
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<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
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#row-layout">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/982312" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="min-height is honored on a %height child of a table cell with an unresolvable %height and when the descendant has overflow:auto" />
|
||||
|
||||
<title>table cell percent height descendant with overflow:auto</title>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#row-layout">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/982312" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="%height child of a table cell with a fixed height is positioned correctly when the min-height is greater than the cell's fixed height and when the descendant has overflow:auto." />
|
||||
|
||||
<title>table cell percent height descendant with overflow:auto</title>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#row-layout">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/982312" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="intrinsic height of a table cell descendant is honored when the descendant and cell both have unresolvable percentage heights and when the descendant has overflow:auto" />
|
||||
|
||||
<title>table cell percent height descendant with overflow:auto</title>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#row-layout">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://crbug.com/982312" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="table cell descendant retains its min-height when the descendant and cell both have unresolvable percentage heights and the descendant has overflow:auto, and the cell's sibling has a fixed height greater than the descendant's min-height." />
|
||||
|
||||
<title>table cell percent height descendant with overflow:auto</title>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#valdef-position-absolute">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=798164" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A table-row with position:relative establishes a
|
||||
containing block for a position:absolute descendent of a table-cell, and the
|
||||
descendent is positioned correctly." />
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3336">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A cell's percent width is ignored when its table is nested in another cell" />
|
||||
No red should show. Yellow and blue rectangles are in proportion to their
|
||||
contents' intrinsic widths, not affected by yellow's percent-width bloating the
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3336">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Should cell's percent width be ignored when its table is nested in a shrink to fit block?" />
|
||||
<p>Edge 44.17763 and Chrome 70 make this 300px wide. FF makes it 150px wide.</p>
|
||||
<div id="stf" style="position:absolute; background:blue;" data-expected-width=300>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<script src='/resources/check-layout-th.js'></script>
|
||||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3336">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A cell's percent width is ignored when its table is nested in another cell, even if there's an intermediate block." />
|
||||
Engines render this same as without the intermediate background:blue block -- yellow 1% width is ignored.
|
||||
<table id="outerTable" style="width: 300px" cellspacing="0" cellpadding="0">
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606">
|
||||
<link rel="match" href="subpixel-collapsed-borders-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins." />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606">
|
||||
<link rel="match" href="subpixel-collapsed-borders-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins even when the cell border is merely 0.01 pixels narrower" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606">
|
||||
<link rel="match" href="subpixel-collapsed-borders-003-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins even when the floored table border is the same size as the cell's." />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-values-3/#calc-notation">
|
||||
<link rel="match" href="subpixel-table-cell-height-001-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When a cell has a specified calc height and a block box has the same specified calc height, their actual heights should match." />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS21/cascade.html#value-stages">
|
||||
<link rel="match" href="subpixel-table-cell-width-001-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When a cell has a specified fractional fixed width and a block has the same specified fractional width, their actual widths should match." />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS21/cascade.html#value-stages">
|
||||
<link rel="match" href="subpixel-table-cell-width-001-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="When a cell has a specified percent width that results in a fractional used width, the cell's actual width should match that of a block whose specified fixed width is the cell's used width" />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#value-def-percentage">
|
||||
<link rel="match" href="subpixel-table-width-001-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A table with width:100% has same actual width as its parent's actual width." />
|
||||
|
||||
<style>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<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
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<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
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<p class="error">Chrome Legacy, Edge, Safari fail, only FF gets it correct.<b>Proposal: deprecate the quirk</b></p>
|
||||
<table>
|
||||
<tr>
|
||||
<td nowrap style="width:50px;font: 20px/1 Ahem" data-expected-width=160>nowrap nowrap nowrap nowrap</td>
|
||||
<td nowrap style="width:50px;font: 20px/1 Ahem" data-expected-width=580>nowrap nowrap nowrap nowrap</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/CSS2/visuren.html#display-prop">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=764031">
|
||||
<link rel="match" href="toggle-row-display-property-001-ref.html">
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="After setting display:table-row on tr elements with display:none, the table should look same as if display:none were never used." />
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue