mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -13,8 +13,8 @@
|
|||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
height: 1in;
|
||||
width: 1in;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
#wrapper
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
height: 1in;
|
||||
width: 1in;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
#wrapper
|
||||
{
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
div
|
||||
{
|
||||
background-image: url("support/green_box.png");
|
||||
height: 1in;
|
||||
width: 1in;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<img alt="Image download support must be enabled" src="support/800000_color.png" />
|
||||
</div>
|
||||
|
||||
|
|
25
tests/wpt/web-platform-tests/css/CSS2/fonts/font-148-ref.xht
Normal file
25
tests/wpt/web-platform-tests/css/CSS2/fonts/font-148-ref.xht
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!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</title>
|
||||
<link rel="author" title="Ondřej Žára" href="https://ondras.zarovi.cz/" />
|
||||
|
||||
<style type="text/css">
|
||||
div {
|
||||
font: 10px sans-serif;
|
||||
}
|
||||
span {
|
||||
font: 100px sans-serif;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if letters "def" below are larger than "abc" and "ghi".</p>
|
||||
<div>abc<span class="test">def</span>ghi</div>
|
||||
</body>
|
||||
</html>
|
24
tests/wpt/web-platform-tests/css/CSS2/fonts/font-148.xht
Normal file
24
tests/wpt/web-platform-tests/css/CSS2/fonts/font-148.xht
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!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: Font shorthand using calc() value for font-size</title>
|
||||
<link rel="author" title="Ondřej Žára" href="https://ondras.zarovi.cz/" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-prop" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-notation" />
|
||||
<link rel="match" href="font-148-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'font' shorthand property accepts and sets font-variant, font-size and font-family." />
|
||||
<style type="text/css">
|
||||
div {
|
||||
font: 10px sans-serif;
|
||||
}
|
||||
span {
|
||||
font: calc(10 * 10px) sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if letters "def" below are larger than "abc" and "ghi".</p>
|
||||
<div>abc<span class="test">def</span>ghi</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: solid;
|
||||
color: green;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" below are green and the words are centered within the box below.</p>
|
||||
<div>PASS PASS</div>
|
||||
</body>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Pseudo-element ':after' inherits inheritable values</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="after-inheritable-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The pseudo-element ':after' generated content inherits any inheritable properties from the element." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 15px solid blue;
|
||||
color: green;
|
||||
}
|
||||
a {
|
||||
border-color: orange;
|
||||
border-style: solid;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" are green, they are contained within an orange box with thinner lines than the blue box.</p>
|
||||
<div><a>PASS PASS</a></div>
|
||||
</body>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Pseudo-element ':after' does not inherit non-inheritable values</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="after-inheritable-002-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Non-inherited properties apply their initial value when applying to ':after'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" appear below and are to the right of the arrow.</p>
|
||||
<div>-->PASS PASS</div>
|
||||
</body>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: After applies after text</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="after-location-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="After places the generated content after the element content." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,12 +4,13 @@
|
|||
<title>CSS Test: Before, after is included in formatting changes</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="content-003-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Generated content is included in any formatting changes made to an element." />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
border: solid;
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
div:before
|
||||
|
@ -23,7 +24,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" appear in green inside the box.</p>
|
||||
<p>Test passes if the words "PASS PASS" appear in the box below.</p>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Pseudo-element ':before' inherits inheritable values</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="after-inheritable-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The pseudo-element ':before' generated content inherits any inheritable properties from the element." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Pseudo-element ':before' does not inherit non-inheritable values</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="after-inheritable-002-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Non-inherited properties apply the initial value when applying to ':before'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" appear below and are to the left of the arrow.</p>
|
||||
<div>PASS PASS<--</div>
|
||||
</body>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Before applies before text</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
|
||||
<link rel="match" href="before-location-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Before places generated content before the element content." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<body>
|
||||
<p>The two lines below should be identical:</p>
|
||||
<p>This sentence should be readable</p>
|
||||
<p>This sentence should be readable</p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/>
|
||||
<link rel="match" href="bidi-generated-content-001-ref.html" />
|
||||
<meta name="assert" content="A right-to-left override should be applied when u+202E is inserted through the content property"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
.force:before {
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<body>
|
||||
<p>The two lines below should be identical:</p>
|
||||
<p>ab c d</p>
|
||||
<p>ab c d</p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/>
|
||||
<link rel="match" href="bidi-generated-content-002-ref.html" />
|
||||
<meta name="flags" content=""/>
|
||||
<meta name="assert" content="A left-to-right override should be correctly applied when inserted through the content property"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is no red visible on the page.</p>
|
||||
<div></div>
|
||||
</body>
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
|
||||
<link rel="match" href="content-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a value of 'none'." />
|
||||
<style type="text/css">
|
||||
|
@ -15,7 +15,7 @@
|
|||
content: none;
|
||||
color: red;
|
||||
}
|
||||
#div1
|
||||
div
|
||||
{
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a value of 'normal'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" appear in the box below.</p>
|
||||
<div>PASS PASS</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-003-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a string as a value." />
|
||||
<style type="text/css">
|
||||
|
@ -16,12 +17,11 @@
|
|||
div
|
||||
{
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" are in the box below.</p>
|
||||
<p>Test passes if the words "PASS PASS" appear in the box below.</p>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -5,17 +5,18 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'url()' function as a value." />
|
||||
<style type="text/css">
|
||||
div:before
|
||||
{
|
||||
content: url('support/green15x15.png');
|
||||
content: url('../support/green_box.png');
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a green box below.</p>
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a zero "0" in the box below.</p>
|
||||
<div>0</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-005-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function as a value." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a bullet (•) in the box below.</p>
|
||||
<div>•</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-006-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a bullet (◦) in the box below.</p>
|
||||
<div>◦</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-007-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-005-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are double zeros "00" in the box below.</p>
|
||||
<div>00</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-010-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
@ -20,7 +21,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is are double zeros "00" in the box below.</p>
|
||||
<p>Test passes if there are double zeros "00" in the box below.</p>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a letter "i" in the box below.</p>
|
||||
<div>i</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-011-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a letter "I" in the box below.</p>
|
||||
<div>I</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-012-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a greek letter "α" in the box below.</p>
|
||||
<div>α</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-013-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a letter "a" in the box below.</p>
|
||||
<div>a</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-014-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a letter "A" in the box below.</p>
|
||||
<div>A</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-015-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is an Armenian character "Ա" below.</p>
|
||||
<div>Ա</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-016-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
@ -21,7 +22,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is an Armenian character "ա" or "Ա" below.</p>
|
||||
<p>Test passes if there is an Armenian character "Ա" below.</p>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there is a Georgian character "ა" in the box below.</p>
|
||||
<div>ა</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-017-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-014-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-015-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the numbers "0" and "0.0" are in the box below.</p>
|
||||
<div>0<br>0.0</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-021-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string value." />
|
||||
<style type="text/css">
|
||||
|
@ -20,7 +21,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are the numbers "0" and "0.0" in the box below.</p>
|
||||
<p>Test passes if the numbers "0" and "0.0" are in the box below.</p>
|
||||
<div id="div1">
|
||||
<div></div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are bullets "•" and "•.•" in the box below.</p>
|
||||
<div>•<br>•.•</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-022-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are circles "◦" and "◦.◦" in the box below.</p>
|
||||
<div>◦<br>◦.◦</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-023-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-021-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
@ -20,7 +21,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are numbers "0" and "0.0" in the box below.</p>
|
||||
<p>Test passes if the numbers "0" and "0.0" are in the box below.</p>
|
||||
<div id="div1">
|
||||
<div></div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are numbers "00" and "00.00" in the box below.</p>
|
||||
<div>00<br>00.00</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-026-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are letters "i" and "i.i" in the box below.</p>
|
||||
<div>i<br>i.i</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-027-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are letters "I" and "I.I" in the box below.</p>
|
||||
<div>I<br>I.I</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-028-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are greek letters "α" and "α.α" in the box below.</p>
|
||||
<div>α<br>α.α</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-029-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are letters "a" and "a.a" in the box below.</p>
|
||||
<div>a<br>a.a</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-030-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are letters "A" and "A.A" in the box below.</p>
|
||||
<div>A<br>A.A</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-031-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are Armenian characters "Ա" and "Ա.Ա" in the box below.</p>
|
||||
<div>Ա<br>Ա.Ա</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-032-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
@ -21,7 +22,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are Armenian characters "ա" and "ա.ա" or "Ա" and "Ա.Ա" in the box below.</p>
|
||||
<p>Test passes if there are Armenian characters "Ա" and "Ա.Ա" in the box below.</p>
|
||||
<div id="div1">
|
||||
<div></div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if there are Georgian characters "ა" and "ა.ა" in the box below.</p>
|
||||
<div>ა<br>ა.ა</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-033-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-030-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-031-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
|
||||
<link rel="match" href="content-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property properly handles a 'counters()' function with a string and a list style." />
|
||||
<style type="text/css">
|
||||
|
@ -16,9 +16,10 @@
|
|||
counter-reset: test;
|
||||
color: red;
|
||||
}
|
||||
#div1
|
||||
div
|
||||
{
|
||||
border: 2px solid black;
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
td {
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "PASS PASS" appear in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>PASS PASS</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-037-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'abbr'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-003-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'accept-charset'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-003-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'accept'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the letter "P" appears in the box below.</p>
|
||||
<div>P</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-040-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'accesskey'." />
|
||||
<style type="text/css">
|
||||
|
@ -13,7 +14,7 @@
|
|||
content: attr(accesskey);
|
||||
color: green;
|
||||
}
|
||||
a
|
||||
div
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the word "PASS" appears in the box below.</p>
|
||||
<div>PASS</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-041-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'action'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
border: 2px solid black;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "center" appear in the box below.</p>
|
||||
<div align="center">center</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-042-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'align'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div>#ffff00</div>
|
||||
<p>Test passes if there is the text "#ffff00" above.</p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-043-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'alink'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-037-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'axis'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
.test {
|
||||
color: green;
|
||||
}
|
||||
p {
|
||||
margin-left: 8px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="test">PASS PASS</div>
|
||||
<p>Test passes if the words "PASS PASS" appear above this text.</p>
|
||||
</body>
|
|
@ -5,17 +5,23 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-047-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'background'." />
|
||||
<style type="text/css">
|
||||
body:before
|
||||
{
|
||||
body:before {
|
||||
content: attr(background);
|
||||
color: green;
|
||||
}
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
p {
|
||||
margin-left: 8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body background="PASS PASS">
|
||||
<p>Test passes if only the words "PASS PASS" appear above.</p>
|
||||
<p>Test passes if the words "PASS PASS" appear above this text.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
body {
|
||||
background: #ffff00;
|
||||
}
|
||||
div {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div>#ffff00</div>
|
||||
<p>Test passes if there is the text "#ffff00" above.</p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-048-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'bgcolor'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
table:before {
|
||||
content: "1";
|
||||
}
|
||||
table {
|
||||
color: green;
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the number "1" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-050-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'cellpadding'." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
td {
|
||||
color: green;
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the letter "A" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>A</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
||||
<link rel="match" href="content-052-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'char'." />
|
||||
<style type="text/css">
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue