mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
@font-face {
|
||||
font-family: "Ahem";
|
||||
src: url(../../../../fonts/Ahem.ttf);
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
--><html><head><title>CSS Reftest Reference</title>
|
||||
<link href="mailto:cam@mcc.id.au" rel="author" title="Cameron McCormack">
|
||||
<style>
|
||||
p {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>This text must be green.</p>
|
||||
</body></html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
--><html><head><title>CSS Reftest Reference</title>
|
||||
<link href="mailto:cam@mcc.id.au" rel="author" title="Cameron McCormack">
|
||||
<style>
|
||||
p {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>This text must be green.</p>
|
||||
</body></html>
|
|
@ -0,0 +1,5 @@
|
|||
p {
|
||||
color: red;
|
||||
--a: green;
|
||||
color: var(--a);
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
@font-face {
|
||||
--a: MyTestFontName;
|
||||
font-family: var(--a);
|
||||
src: url(../../../../fonts/Ahem.ttf);
|
||||
}
|
||||
@font-face {
|
||||
font-family: MyTestFontName2;
|
||||
src: url(../../../../fonts/Ahem.ttf);
|
||||
}
|
||||
#a {
|
||||
font-family: MyTestFontName;
|
||||
}
|
||||
#b {
|
||||
font-family: MyTestFontName2;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
:root {
|
||||
--a: green;
|
||||
}
|
||||
p {
|
||||
color: var(--a);
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
body { color: red; }
|
||||
@supports (color:var(--a)) {
|
||||
p { color: green; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue