Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham 2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View file

@ -0,0 +1,2 @@
This directory is for non-HTML non-XHTML test files.
They need to be hand-indexed separately.

View file

@ -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; }

View 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>

View file

@ -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>

View file

@ -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; }

View 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>

View 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>