mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
|
||||
<title>Selectors Level 4: focus-within Reference File</title>
|
||||
<link href="mailto:kli79@bloomberg.net" rel="author" title="Keyong Li" />
|
||||
<link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal" />
|
||||
<style>
|
||||
div {
|
||||
border: solid 15px green;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if, when the element below is focused, it is surrounded by a thick green border. There must be no red or blue once it is focused.</p>
|
||||
<div>Focus this element</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
|
||||
<title>Selectors Level 4: focus-within shadow DOM Reference File</title>
|
||||
<link href="mailto:kli79@bloomberg.net" rel="author" title="Keyong Li" />
|
||||
<link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal" />
|
||||
<style>
|
||||
div {
|
||||
border: solid 15px green;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a green rectangle below.</p>
|
||||
<div></div>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS level4 Selector :required and :optional</title>
|
||||
<link href="mailto:zzirasi@gmail.com" rel="author" title="LEE YUN HEE" />
|
||||
|
||||
<style>
|
||||
input {border:3px solid green;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
You should see a green input box.
|
||||
</p>
|
||||
<p>
|
||||
<input />
|
||||
</p>
|
||||
<p>
|
||||
<input />
|
||||
</p>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Reftest Reference for CSS Selectors Level 4 :dir() Tests</title>
|
||||
<link href="mailto:taken.spc@gmail.com" rel="author" title="Takeshi Kurosawa" />
|
||||
<meta content="" name="flags" />
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
||||
<div></div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user