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,40 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>CSS Test: background-color</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="Jukka 'Yucca' Korpela" href="http://www.cs.tut.fi/~jkorpela/personal.html">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/">
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties">
<meta name="flags" content="HTMLonly">
<meta name="assert" content="Background-color applied to a form should not affect a previous sibling block-level element when it does not have an optional closing tag.">
<style type="text/css">
form
{
background-color: orange;
color: white;
padding: 50px;
}
</style>
</head>
<body>
<div>There should be 1 (and only 1) wide orange rectangle across the page</div>
<p>
<form action="">
<div></div>
</form>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!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 Test: Control Characters between (00 and 1F)</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<meta name="flags" content="HTMLonly" />
<meta name="assert" content="Handling and processing of control characters." />
<style type="text/css">
div
{
border: 1px solid black;
height: 1.2em;
padding-left: 1em;
}
</style>
</head>
<body>
<p>Test passes if there is only a single character in each box below or the box is empty.</p>
<!-- C0 Control Characters -->
<div>&#x00;</div>
<div>&#x01;</div>
<div>&#x02;</div>
<div>&#x03;</div>
<div>&#x04;</div>
<div>&#x05;</div>
<div>&#x06;</div>
<div>&#x07;</div>
<div>&#x08;</div>
<div>&#x0B;</div>
<div>&#x0C;</div>
<div>&#x0E;</div>
<div>&#x0F;</div>
<div>&#x10;</div>
<div>&#x11;</div>
<div>&#x12;</div>
<div>&#x13;</div>
<div>&#x14;</div>
<div>&#x15;</div>
<div>&#x16;</div>
<div>&#x17;</div>
<div>&#x18;</div>
<div>&#x19;</div>
<div>&#x1A;</div>
<div>&#x1B;</div>
<div>&#x1C;</div>
<div>&#x1D;</div>
<div>&#x1E;</div>
<div>&#x1F;</div>
</body>
</html>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: xml:lang attribute selector in HTML</title>
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
<meta name="flags" content="HTMLonly">
<meta name="assert" content="xml:lang in HTML cannot be selected by [lang] selectors.">
<style type="text/css">
[lang] { background: red; color: yellow; }
[lang="ch"] { background: red; color: yellow; }
[lang|="ch"] { background: red; color: yellow; }
[lang~="ch"] { background: red; color: yellow; }
[xml:lang] { background: red; color: yellow; }
[xml:lang|="ch"] { background: red; color: yellow; }
</style>
</head>
<body>
<p xml:lang="ch">There must be no red.</p>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: xml:lang with :lang() selector in HTML</title>
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
<meta name="flags" content="HTMLonly">
<meta name="assert" content="xml:lang in HTML cannot apply language for :lang() selectors.">
<style type="text/css">
:lang(ch) { background: red; color: yellow; }
</style>
</head>
<body>
<p xml:lang="ch">There must be no red.</p>
</body>
</html>

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>