Update web-platform-tests to revision 43ef1ad9afcc9d9d922a5a96bc12b4eaf950960b

This commit is contained in:
WPT Sync Bot 2020-07-29 08:21:27 +00:00
parent c6a3dcb90d
commit 720d8a12b8
108 changed files with 1609 additions and 244 deletions

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
color: green;
font-size: 300%;
}
</style>
<p>Test passes if each glyph of "Selected Text" is green and <strong>not red</strong> while background color of each glyph of "Selected Text" is white.
<div>Selected Text</div>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
background-color: green;
color: fuchsia;
display: inline;
font-size: 300%;
}
</style>
<p>Test passes if the background color of each glyph of "Selected Text" is green and <strong>not red</strong> while each glyph of "Selected Text" is fuchsia.
<div>Selected Text</div>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
background-color: Highlight;
color: HighlightText;
display: inline;
font-size: 300%;
text-decoration: HighlightText underline;
}
</style>
<!--
"
The element's own text decorations (both line decorations
and emphasis marks) are thus drawn in the pseudo-element's
own color when that is not currentColor, regardless of
their original color or fill specifications.
"
coming from
https://www.w3.org/TR/css-pseudo-4/#highlight-painting
Highlight
Background of item(s) selected in a control.
https://www.w3.org/TR/css-color-4/#valdef-system-color-highlight
HighlightText
Text of item(s) selected in a control.
https://www.w3.org/TR/css-color-4/#valdef-system-color-highlighttext
CSS4 Color Module
5.2 System Colors
https://www.w3.org/TR/css-color-4/#css-system-colors
-->
<body>
<p>Test passes if each glyph of "Selected Text" is underlined and if color and background color of "Selected Text" are the OS-default highlight colors. The underline color must also be the same as the highlight color of "Selected Text".
<div id="test">Selected Text</div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
color: white;
font-size: 300%;
}
span
{
color: green;
}
</style>
<div>FAIL <span>PASS</span></div>

View file

@ -9,13 +9,16 @@
<style>
div
{
background-color: yellow;
display: inline-block;
font-size: 48px;
letter-spacing: 1em;
}
span
span#yellow
{
background-color: yellow;
}
span#orange
{
background-color: orange;
}
@ -23,4 +26,4 @@
<p>Test passes if the background of characters "c" and "t" is orange (and only those 2 characters) and if the space between those 2 characters is also orange.
<div>Sele<span>ct</span>ed Text</div>
<div><span id="yellow">Sele<span id="orange">ct</span>ed</span></div>

View file

@ -9,13 +9,16 @@
<style>
div
{
background-color: yellow;
display: inline-block;
font-size: 48px;
letter-spacing: 1em;
}
span
span#yellow
{
background-color: yellow;
}
span.orange
{
background-color: orange;
}
@ -23,4 +26,4 @@
<p>Test passes if the background of characters "c" and "t" is orange and if the space between those 2 characters is yellow (and not orange).
<div>Sele<span>c</span> <span>t</span>ed Text</div>
<div><span id="yellow">Sele<span class="orange">c</span> <span class="orange">t</span>ed</span></div>