Update web-platform-tests to revision c0a3e93389bdcc9e8ad12d3988e4568d48b78c9d

This commit is contained in:
WPT Sync Bot 2019-06-29 10:23:13 +00:00
parent 84786add22
commit 686c6b89ed
826 changed files with 8235 additions and 522 deletions

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/977856">
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div style="width: 270px">
<img width="260" height="68">
<div style="float: left">
<a id="target" href="#">Link</a>
</div>
<br style="clear: both">
</div>
<script>
test(() => {
let target = document.getElementById('target');
let bounds = target.getBoundingClientRect();
let element = document.elementFromPoint(bounds.x + 1, bounds.y + 1);
assert_equals(element, target);
});
</script>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing invalid numbers - alphanumeric characters</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#numbers" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#integers" />
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
<meta name="flags" content="invalid" />
<meta name="assert" content="An integer cannot have alphanumeric characters within it." />
@ -21,4 +22,4 @@
<p>Test passes if there is no red visible on the page.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing decimal values - decimal with multiple decimal digits</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#numbers" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#numbers" />
<meta name="flags" content="" />
<meta name="assert" content="A number can be zero or more digits followed by a dot (.) followed by multiple digits." />
<style type="text/css">
@ -20,4 +21,4 @@
<p>Test passes if there is a filled box below.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing invalid decimal values - alphanumeric characters within number</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#numbers" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#numbers" />
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
<meta name="flags" content="invalid" />
<meta name="assert" content="An alphanumeric character cannot be within the number value." />
@ -21,4 +22,4 @@
<p>Test passes if there is no red visible on the page.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing integer numbers with '+'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#numbers" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#integers" />
<link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
<meta name="flags" content="" />
<meta name="assert" content="Integers can be preceded by '+'." />
@ -21,4 +22,4 @@
<p>Test passes if there is a filled black square.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Optional unit identifier after 0</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#lengths" />
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="After a zero length, the unit identifier is not necessary." />
@ -21,4 +22,4 @@
<p>Test passes if there is no red visible on the page.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Unsupported negative values</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#lengths" />
<link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
<meta name="flags" content="invalid" />
<meta name="assert" content="If a negative length value is set on a property that does not allow negative length values, the declaration is ignored." />

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em sizes</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-007-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'em' unit is equal to the computed value of the 'font-size' property (default) of the element on which it is used." />
@ -29,4 +30,4 @@
<div>X</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em size with the font-size set to px size</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-009-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'em' unit is equal to the computed value of the 'font-size' property (pixels) of the element on which it is used." />
@ -33,4 +34,4 @@
<div>X</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em size with font-size set to inch</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-010-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'em' unit is equal to the computed value of the 'font-size' property (inches) of the element on which it is used." />
@ -33,4 +34,4 @@
<div>X</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em size with font-size set to em</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-011-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="When 'em' is assigned in the value of the 'font-size' property itself, it uses the font size of the parent element." />
@ -34,4 +35,4 @@
<div>X</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em size with font-size set to ex</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-012-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'em' unit is equal to the computed value of the 'font-size' property (ex) of the element on which it is used." />
@ -45,4 +46,4 @@
</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Em size with font-size set to percentage</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-013-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'em' unit is equal to the computed value of the 'font-size' property of the element on which it is used." />
@ -45,4 +46,4 @@
</div>
</div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Height of EX</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-015-ref-a.xht"/>
<link rel="match" href="numbers-units-015-ref-b.xht"/>
<meta name="flags" content="ahem should" />
@ -39,4 +40,4 @@
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing invalid percentage values - decimal value with multiple decimals</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#percentage-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#percentages" />
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
<meta name="flags" content="invalid" />
<meta name="assert" content="Percentage assignments with more than one decimal are invalid." />
@ -21,4 +22,4 @@
<p>Test passes if there is no red visible on the page.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: Parsing of percentage values - 0%</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#percentage-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#percentages" />
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Percentage of 0% is valid and calculates to 0." />
@ -21,4 +22,4 @@
<p>Test passes if there is no red visible on the page.</p>
<div></div>
</body>
</html>
</html>

View file

@ -4,6 +4,7 @@
<title>CSS Test: First available font defines the 'ex' unit size</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="numbers-units-019-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'ex' unit size is defined by the element's first available font." />
@ -40,4 +41,4 @@
<div id="test"></div>
<div id="compare"></div>
</body>
</html>
</html>

View file

@ -6,6 +6,8 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-29 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/001.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#absolute-lengths" />
<link rel="match" href="units-001-ref.xht" />
<meta name="flags" content="ahem"/>

View file

@ -6,6 +6,7 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-29 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/002.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="units-002-ref.xht" />
<meta name="flags" content="ahem" />

View file

@ -6,6 +6,7 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-29 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/003.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="units-003-ref.xht" />
<meta name="flags" content="ahem" />

View file

@ -6,6 +6,7 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-29 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/004.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="units-004-ref.xht" />
<meta name="flags" content="ahem" />

View file

@ -5,6 +5,7 @@
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/005.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="units-005-ref.xht"/>
<style type="text/css">

View file

@ -6,6 +6,7 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/006.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#absolute-lengths" />
<link rel="match" href="units-006-ref.xht" />

View file

@ -6,6 +6,8 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/008.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#absolute-lengths" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#common-keywords" />
<link rel="match" href="units-006-ref.xht" />
<meta name="flags" content="ahem" />

View file

@ -6,6 +6,7 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/009.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
<link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
<link rel="match" href="units-006-ref.xht" />