mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 74e1fe40eb227423537d6eafa99244ece1a8f8fd
This commit is contained in:
parent
e1103176e3
commit
fa876fc660
145 changed files with 2974 additions and 433 deletions
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade: "color" property preceded by "all: initial"</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-cascade-4/#all-shorthand">
|
||||
<link rel="match" href="reference/ref-green-text.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Own 'color', preceded by 'all: inherit', overrides inherited 'color'.">
|
||||
<style>
|
||||
.outer {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.inner {
|
||||
all: inherit;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="outer"><span class="inner">Test passes if this text is green.</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade: "color" property preceded by "all: initial"</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-cascade-4/#all-shorthand">
|
||||
<link rel="match" href="reference/ref-green-text.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Own 'color', preceded by 'all: initial', overrides inherited 'color'.">
|
||||
<style>
|
||||
.outer {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.inner {
|
||||
all: initial;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="outer"><span class="inner">Test passes if this text is green.</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade: "color" property preceded by "all: revert"</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-cascade-4/#all-shorthand">
|
||||
<link rel="match" href="reference/ref-green-text.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Own 'color', preceded by 'all: revert', overrides inherited 'color'.">
|
||||
<style>
|
||||
.outer {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.inner {
|
||||
all: revert;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="outer"><span class="inner">Test passes if this text is green.</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Cascade: "color" property preceded by "all: unset"</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-cascade-4/#all-shorthand">
|
||||
<link rel="match" href="reference/ref-green-text.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Own 'color', preceded by 'all: unset', overrides inherited 'color'.">
|
||||
<style>
|
||||
.outer {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.inner {
|
||||
all: unset;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="outer"><span class="inner">Test passes if this text is green.</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Green text reference</title>
|
||||
<style>
|
||||
.test { color: green; }
|
||||
</style>
|
||||
<body>
|
||||
<p class="test">Test passes if this text is green.</p>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue