Update web-platform-tests to revision 388ba3a049a3473b1945b9f8f81e9d6e342a249e

This commit is contained in:
WPT Sync Bot 2019-01-24 20:55:37 -05:00
parent 43e21dc845
commit bdaf11b099
139 changed files with 3089 additions and 807 deletions

View file

@ -9,7 +9,7 @@
<meta name="assert" content="
When the fallback value of an attr() function is invalid, the delcaration is ignored.
" />
<meta name="flags" content="invalid">
<link
rel="author"
title="François REMY"

View file

@ -9,7 +9,7 @@
<meta name="assert" content="
When the type of an attr() function is known and unexpected, the declaration is ignored
" />
<meta name="flags" content="invalid">
<link
rel="author"
title="François REMY"

View file

@ -9,7 +9,7 @@
<meta name="assert" content="
When the type of an attr() function is known and unexpected, the declaration is ignored
" />
<meta name="flags" content="invalid">
<link
rel="author"
title="François REMY"

View file

@ -9,7 +9,7 @@
<meta name="assert" content="
When the attr() fallback is an invalid length, the delcaration is correctly ignored.
" />
<meta name="flags" content="invalid">
<link
rel="author"
title="François REMY"

View file

@ -9,7 +9,7 @@
<meta name="assert" content="
When the fallback of a pixel attribute reference is invalid, the declaration is ignored.
" />
<meta name="flags" content="invalid">
<link
rel="author"
title="François REMY"

View file

@ -0,0 +1,49 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: ic unit in width (basic)</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-008-ref.html">
<meta name="flags" content="">
<meta name="assert" content="In this test, the ic unit is the advance width measure of the 水 (CJK water ideograph, U+6C34) glyph.">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
}
div#test-blue
{
background-color: blue;
height: 1.8em;
width: 5ic;
}
div#reference-orange
{
background-color: orange;
clear: left;
color: orange;
line-height: 1.8; /* arbitrary line-height */
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same width</strong> as an orange rectangle.
<div id="test-blue"></div>
<div id="reference-orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,49 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: ic unit in height (basic)</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-009-ref.html">
<meta name="flags" content="">
<meta name="assert" content="In this test, the ic unit is the advance height measure of the 水 (CJK water ideograph, U+6C34) glyph.">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
writing-mode: vertical-rl;
}
div#test-blue
{
background-color: blue;
height: 5ic;
width: 1.8em;
}
div#reference-orange
{
background-color: orange;
color: orange;
line-height: 1.8; /* arbitrary line-height */
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle.
<div id="test-blue"></div>
<div id="reference-orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,50 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: ic unit in height with 'text-orientation: mixed'</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-009-ref.html">
<meta name="flags" content="">
<meta name="assert" content="In this test, the ic unit is the advance height measure of the 水 (CJK water ideograph, U+6C34) glyph.">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
text-orientation: mixed;
writing-mode: vertical-rl;
}
div#test-blue
{
background-color: blue;
height: 5ic;
width: 1.8em;
}
div#reference-orange
{
background-color: orange;
color: orange;
line-height: 1.8; /* arbitrary line-height */
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle.
<div id="test-blue"></div>
<div id="reference-orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,50 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: ic unit in height with 'text-orientation: upright'</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-009-ref.html">
<meta name="flags" content="">
<meta name="assert" content="In this test, the ic unit is the advance height measure of the 水 (CJK water ideograph, U+6C34) glyph.">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
text-orientation: upright;
writing-mode: vertical-rl;
}
div#test-blue
{
background-color: blue;
height: 5ic;
width: 1.8em;
}
div#reference-orange
{
background-color: orange;
color: orange;
line-height: 1.8; /* arbitrary line-height */
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle.
<div id="test-blue"></div>
<div id="reference-orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,50 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: ic unit in height with 'text-orientation: sideways'</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-009-ref.html">
<meta name="flags" content="">
<meta name="assert" content="In this test, the ic unit is the advance width measure of the 水 (CJK water ideograph, U+6C34) glyph.">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
text-orientation: sideways;
writing-mode: vertical-rl;
}
div#test-blue
{
background-color: blue;
height: 5ic;
width: 1.8em;
}
div#reference-orange
{
background-color: orange;
color: orange;
line-height: 1.8; /* arbitrary line-height */
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle.
<div id="test-blue"></div>
<div id="reference-orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: case-insensitivity of Q unit (quarter-millimeter)</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-3/#absolute-lengths">
<link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#characters">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta content="This test checks that 'Q' unit is case-insensitive." name="assert">
<meta name="flags" content="">
<style>
div#test-overlapping-green
{
background-color: green;
height: 105.83333Q;
width: 1px;
width: 105.83333q;
}
/*
25.4mm == 96px
Therefore, 26.45833mm == 100px
So, 26.45833 * 4 (Q per mm) == 105.83333Q == 100px
*/
div#reference-overlapped-red
{
background-color: red;
bottom: 100px;
height: 100px;
position: relative;
width: 100px;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
<div id="test-overlapping-green"></div>
<div id="reference-overlapped-red"></div>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test: case-insensitivity of Q unit (quarter-millimeter)</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-values-3/#absolute-lengths">
<link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#characters">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta content="This test checks that 'Q' unit is case-insensitive." name="assert">
<meta name="flags" content="">
<style>
div#test-overlapping-green
{
background-color: green;
height: 105.83333q;
width: 1px;
width: 105.83333Q;
}
/*
25.4mm == 96px
Therefore, 26.45833mm == 100px
So, 26.45833 * 4 (Q per mm) == 105.83333Q == 100px
*/
div#reference-overlapped-red
{
background-color: red;
bottom: 100px;
height: 100px;
position: relative;
width: 100px;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
<div id="test-overlapping-green"></div>
<div id="reference-overlapped-red"></div>

View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test Reference File</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
line-height: 1.8; /* arbitrary line-height */
}
div#blue
{
background-color: blue;
color: blue;
}
div#orange
{
background-color: orange;
color: orange;
clear: left;
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same width</strong> as an orange rectangle.
<div id="blue">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<div id="orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->

View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Values and Units Test Reference File</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
float: left;
font-size: 80px; /* arbitrary font size */
line-height: 1.8; /* arbitrary line-height */
writing-mode: vertical-rl;
}
div#blue
{
background-color: blue;
color: blue;
}
div#orange
{
background-color: orange;
color: orange;
}
</style>
<p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle.
<div id="blue">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<div id="orange">&#27700;&#27700;&#27700;&#27700;&#27700;</div>
<!--
水 (CJK water ideograph, U+6C34) glyph == &#27700;
水 (CJK water ideograph, U+6C34) glyph == &#x6C34;
-->