Update web-platform-tests to revision 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806

This commit is contained in:
WPT Sync Bot 2019-06-26 10:22:48 +00:00
parent e488ea750b
commit 12f4ae132e
1651 changed files with 8123 additions and 14152 deletions

View file

@ -0,0 +1,94 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 125px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.blueborders {
position: absolute;
top: 0;
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */
width: 200px; /* 188px second column + (16px gap - 4px rule) */
height: 125px;
border-right: blue solid 4px;
border-left: blue solid 4px;
}
.innerbg {
height: 125px;
width: 188px;
background: rgba(255, 0, 255, 0.3);
position: absolute;
top: 0;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.border-bottom {
height: 25px;
width: 188px;
background: green;
position: absolute;
top: 100px;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="blueborders"></div>
<div class="innerbg" style="left: 0"></div>
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="border-bottom" style="left: 0"></div>
<div class="innerbg" style="left: 204px"></div>
<div class="inner lefthalf" style="left: 204px; height: 80px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN
</div>
<div class="border-bottom" style="left: 204px;"></div>
<div class="inner righthalf" style="left: 299px">
OOOOO<br>
PPPPP<br>
QQQQQ<br>
</div>
<div class="innerbg" style="left: 408px"></div>
<div class="border-bottom" style="left: 408px"></div>
</div>

View file

@ -0,0 +1,56 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="help" href="https://drafts.csswg.org/css-break/#break-decoration">
<link rel="match" href="multicol-breaking-004-ref.html">
<style>
.outer {
height: 125px;
column-fill: auto;
width: 800px;
column-count: 4;
column-rule: 4px solid blue;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
background: rgba(255, 0, 255, 0.3);
font: 16px/1.25 sans-serif;
border: solid green;
border-width: 0 0 25px 0;
box-decoration-break: clone;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -16,7 +16,7 @@ body {
h1 {
font-size: 2em;
margin: 0;
padding-top: 0.66em;
padding-top: 0.67em;
}
]]></style>
</head>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test Reference: Test a multi-column container with percentage height children</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
article {
width: 400px;
height: 200px;
background-color: lightgreen;
border: 5px solid purple;
}
div.columns {
column-count: 2;
}
div.block1 {
background-color: yellow;
height: 200px;
}
div.spanner {
height: 50px;
background-color: lightblue;
}
div.block2 {
background-color: yellow;
height: 200px;
}
</style>
<article>
<div class="columns" style="height: 100px;">
<div class="block1">block1</div>
</div>
<div class="spanner">spanner</div>
<div class="columns" style="height: 50px;">
<div class="block2">block2</div>
</div>
</article>
</html>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a multi-column container with percentage height children</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
<link rel="match" href="multicol-span-all-children-height-002-ref.html">
<meta name="assert" content="This test checks the percentage height children under multicol container compute the percentage relative to the entire multicol, not just the part after the column-span.">
<style>
article {
column-count: 2;
width: 400px;
height: 200px;
background-color: lightgreen;
border: 5px solid purple;
}
div.block1 {
background-color: yellow;
height: 100%; /* Spread evenly into two columns, each 100px. */
}
div.spanner {
column-span: all;
height: 25%;
background-color: lightblue;
}
div.block2 {
background-color: yellow;
/* Column container has only 25% height left, so two extra overflow columns
are created. Total 4 columns, each 50px. */
height: 100%;
}
</style>
<article>
<div class="block1">block1</div>
<div class="spanner">spanner</div>
<div class="block2">block2</div>
</article>
</html>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test Reference: Test a multi-column container with percentage height children</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
article {
width: 400px;
height: 200px;
background-color: lightgreen;
border: 5px solid purple;
}
div.columns {
column-count: 2;
}
div.block1 {
background-color: yellow;
height: 600px;
}
div.spanner {
height: 50px;
background-color: lightblue;
}
div.block2 {
background-color: yellow;
height: 200px;
}
</style>
<article>
<div class="columns" style="height: 200px;">
<div class="block1">block1</div>
</div>
<div class="spanner">spanner</div>
<div class="columns" style="height: 1px;">
<div class="block2">block2</div>
</div>
</article>
</html>

View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a multi-column container with percentage height children</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
<link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules">
<link rel="match" href="multicol-span-all-children-height-003-ref.html">
<meta name="assert" content="This test checks the percentage height children under multicol container compute the percentage relative to the entire multicol, not just the part after the column-span.">
<style>
article {
column-count: 2;
width: 400px;
height: 200px;
background-color: lightgreen;
border: 5px solid purple;
}
div.block1 {
background-color: yellow;
/* This overflows the column container, so one extra column is created. */
height: 300%;
}
div.spanner {
column-span: all;
height: 25%;
background-color: lightblue;
}
div.block2 {
background-color: yellow;
/* No height left for this block. According to the breaking rules, the
column container creates 1px column boxes for it. */
height: 100%;
}
</style>
<article>
<div class="block1">block1</div>
<div class="spanner">spanner</div>
<div class="block2">block2</div>
</article>
</html>