mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +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
2
tests/wpt/css-tests/css21_dev/other/xml/README
Normal file
2
tests/wpt/css-tests/css21_dev/other/xml/README
Normal file
|
@ -0,0 +1,2 @@
|
|||
This directory is for non-HTML non-XHTML test files.
|
||||
They need to be hand-indexed separately.
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
generic { background: green; border: lime 1em solid; margin: 1em; padding: 1em; color: yellow; }
|
||||
generic, p { display: block; }
|
||||
a[*|href] { color: inherit; background: transparent; text-decoration: underline; cursor: pointer; }
|
||||
* { margin: 1em; padding: 1em; }
|
21
tests/wpt/css-tests/css21_dev/other/xml/background-18.xml
Normal file
21
tests/wpt/css-tests/css21_dev/other/xml/background-18.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE generic>
|
||||
|
||||
<?xml-stylesheet type="text/css" href="18.css" ?>
|
||||
|
||||
<generic xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<!-->CSS Test: Background: Test Eighteen</-->
|
||||
|
||||
<generic>
|
||||
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/21.xml" type="application/xhtml+xml"/>
|
||||
|
||||
<p> This is an XML document. This paragraph and the links below
|
||||
should have two lime borders surrounding them, and the
|
||||
background EVERYWHERE should be green. Including the canvas. THE
|
||||
ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT! </p>
|
||||
|
||||
</generic>
|
||||
|
||||
</generic>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE root>
|
||||
|
||||
<?xml-stylesheet type="text/css" href="19.css" ?>
|
||||
|
||||
<root>
|
||||
|
||||
<generic xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/21.xml" type="application/xhtml+xml"/>
|
||||
|
||||
<!-->CSS Test: Background: Test Nineteen</-->
|
||||
|
||||
This is an XML document. This paragraph should have one long
|
||||
lime border surrounding each line, since this text is the root
|
||||
element and the root element is an inline element.
|
||||
|
||||
The background EVERYWHERE should be green. Including the canvas.
|
||||
THE ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT!
|
||||
|
||||
<a xlink:type="simple" xlink:href="19.xml">THIS PAGE SHOULD LOOK EXACTLY LIKE THIS ALTERNATIVE!</a>
|
||||
|
||||
</generic>
|
||||
|
||||
</root>
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
generic { background: green; border: lime 1em solid; margin: 1em; padding: 1em; color: yellow; }
|
||||
generic { display: inline; line-height: 7em; }
|
||||
a[*|href] { color: inherit; background: transparent; text-decoration: underline; cursor: pointer; }
|
||||
* { margin: 1em; padding: 1em; }
|
||||
root { padding: 0; margin: 0; background: transparent; background: green; }
|
21
tests/wpt/css-tests/css21_dev/other/xml/background-19.xml
Normal file
21
tests/wpt/css-tests/css21_dev/other/xml/background-19.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE generic>
|
||||
|
||||
<?xml-stylesheet type="text/css" href="19.css" ?>
|
||||
|
||||
<generic xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/21.xml" type="application/xhtml+xml"/>
|
||||
|
||||
<!-->CSS Test: Background: Test Nineteen</-->
|
||||
|
||||
This is an XML document. This paragraph should have one long
|
||||
lime border surrounding each line, since this text is the root
|
||||
element and the root element is an inline element.
|
||||
|
||||
The background EVERYWHERE should be green. Including the canvas.
|
||||
THE ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT!
|
||||
|
||||
<a xlink:type="simple" xlink:href="19-alt.xml">THIS PAGE SHOULD LOOK EXACTLY LIKE THIS ALTERNATIVE!</a>
|
||||
|
||||
</generic>
|
15
tests/wpt/css-tests/css21_dev/other/xml/background-20.xml
Normal file
15
tests/wpt/css-tests/css21_dev/other/xml/background-20.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<generic>
|
||||
<head xmlns="http://www.w3.org/1999/xhtml">
|
||||
<title>Background (non-)propagation in XML</title>
|
||||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/20.xml" type="application/xhtml+xml"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<style type="text/css">
|
||||
body { background: red; }
|
||||
p, a { background: green; color: white; }
|
||||
</style>
|
||||
</head>
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
<p>This document should have one line of green.</p>
|
||||
</body>
|
||||
</generic>
|
Loading…
Add table
Add a link
Reference in a new issue