mirror of
https://github.com/servo/servo.git
synced 2025-09-01 10:38:25 +01:00
Update CSS tests to revision aac1cd51245c0c469325988a0446985a2f1e476c
This commit is contained in:
parent
1a6245828a
commit
7deaeea707
540 changed files with 24009 additions and 6637 deletions
|
@ -7,7 +7,6 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
|
||||
<link rel="match" href="reference/background-body-001-ref.htm">
|
||||
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background.">
|
||||
<style type="text/css">
|
||||
body
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Test: Background on body element - background-position</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
|
||||
<meta name="flags" content="HTMLonly image">
|
||||
<meta name="flags" content="image">
|
||||
<meta name="assert" content="Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background.">
|
||||
<style type="text/css">
|
||||
html
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Test: Background position propagation from body element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
|
||||
<meta name="flags" content="HTMLonly image">
|
||||
<meta name="flags" content="image">
|
||||
<meta name="assert" content="Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background.">
|
||||
<style type="text/css">
|
||||
body
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-04-21 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="Background of the html element is the canvas's background even if body background is set.">
|
||||
<style type="text/css">
|
||||
html
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:fixed'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins">
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help">
|
||||
<link href="reference/before-after-positioned-002-ref.htm" rel="match">
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements." name="assert">
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:fixed;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:absolute'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins">
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help">
|
||||
<link href="reference/before-after-positioned-002-ref.htm" rel="match">
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements." name="assert">
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:absolute;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:relative'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins">
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help">
|
||||
<link href="reference/before-after-positioned-004-ref.htm" rel="match">
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements." name="assert">
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
content:"";
|
||||
display:block;
|
||||
height:100px;
|
||||
left:0;
|
||||
position:relative;
|
||||
top:-100px;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
left:50px;
|
||||
top:0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS 2.1 Conformance Test Suite</h1>
|
||||
<h2>Generated content, automatic numbering, and lists (637 tests)</h2>
|
||||
<h2>Generated content, automatic numbering, and lists (640 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column">
|
||||
<col id="refs-column">
|
||||
|
@ -43,7 +43,7 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s12.1">+</a>
|
||||
<a href="https://www.w3.org/TR/CSS21/generate.html#before-after-content">12.1 The :before and :after pseudo-elements</a></th></tr>
|
||||
<!-- 58 tests -->
|
||||
<!-- 61 tests -->
|
||||
<tr id="after-content-display-001-12.1" class="">
|
||||
<td>
|
||||
<a href="after-content-display-001.htm">after-content-display-001</a></td>
|
||||
|
@ -321,6 +321,39 @@
|
|||
<td>generated content
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-002-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-002.htm">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:fixed'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-003-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-003.htm">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:absolute'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-004-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-004.htm">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:relative'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-table-parts-001-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-table-parts-001.htm">before-after-table-parts-001</a></td>
|
||||
|
@ -1360,7 +1393,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2" class="HTMLonly">
|
||||
<tr id="content-066-12.2" class="">
|
||||
<td>
|
||||
<a href="content-066.htm">content-066</a></td>
|
||||
<td></td>
|
||||
|
@ -1481,7 +1514,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2" class="HTMLonly">
|
||||
<tr id="content-081-12.2" class="">
|
||||
<td>
|
||||
<a href="content-081.htm">content-081</a></td>
|
||||
<td></td>
|
||||
|
@ -1547,7 +1580,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2" class="HTMLonly">
|
||||
<tr id="content-090-12.2" class="">
|
||||
<td>
|
||||
<a href="content-090.htm">content-090</a></td>
|
||||
<td></td>
|
||||
|
@ -1558,7 +1591,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2" class="HTMLonly">
|
||||
<tr id="content-091-12.2" class="">
|
||||
<td>
|
||||
<a href="content-091.htm">content-091</a></td>
|
||||
<td></td>
|
||||
|
@ -1998,7 +2031,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2" class="HTMLonly">
|
||||
<tr id="content-149-12.2" class="">
|
||||
<td>
|
||||
<a href="content-149.htm">content-149</a></td>
|
||||
<td></td>
|
||||
|
@ -2042,7 +2075,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2" class="HTMLonly">
|
||||
<tr id="content-153-12.2" class="">
|
||||
<td>
|
||||
<a href="content-153.htm">content-153</a></td>
|
||||
<td></td>
|
||||
|
@ -3181,7 +3214,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-066-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-066.htm">content-066</a></td>
|
||||
<td></td>
|
||||
|
@ -3302,7 +3335,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-081-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-081.htm">content-081</a></td>
|
||||
<td></td>
|
||||
|
@ -3368,7 +3401,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-090-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-090.htm">content-090</a></td>
|
||||
<td></td>
|
||||
|
@ -3379,7 +3412,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-091-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-091.htm">content-091</a></td>
|
||||
<td></td>
|
||||
|
@ -3819,7 +3852,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-149-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-149.htm">content-149</a></td>
|
||||
<td></td>
|
||||
|
@ -3863,7 +3896,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2.#propdef-content" class="HTMLonly">
|
||||
<tr id="content-153-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-153.htm">content-153</a></td>
|
||||
<td></td>
|
||||
|
|
|
@ -3784,7 +3784,7 @@
|
|||
<td>Background Position: bottom right and the viewport
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-001-14.2" class="HTMLonly">
|
||||
<tr id="background-body-001-14.2" class="">
|
||||
<td>
|
||||
<a href="background-body-001.htm">background-body-001</a></td>
|
||||
<td><a href="reference/background-body-001-ref.htm">=</a> </td>
|
||||
|
@ -3795,7 +3795,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-002-14.2" class="HTMLonly image">
|
||||
<tr id="background-body-002-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-002.htm">background-body-002</a></td>
|
||||
<td></td>
|
||||
|
@ -3806,7 +3806,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-003-14.2" class="HTMLonly image">
|
||||
<tr id="background-body-003-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-003.htm">background-body-003</a></td>
|
||||
<td></td>
|
||||
|
@ -9946,7 +9946,7 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-html-body-001-14.2.1" class="HTMLonly">
|
||||
<tr id="background-html-body-001-14.2.1" class="">
|
||||
<td>
|
||||
<a href="background-html-body-001.htm">background-html-body-001</a></td>
|
||||
<td></td>
|
||||
|
|
|
@ -7219,14 +7219,14 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="margin-collapse-021-8.3.1" class="HTMLonly ahem image">
|
||||
<tr id="margin-collapse-021-8.3.1" class="ahem image">
|
||||
<td>
|
||||
<a href="margin-collapse-021.htm">margin-collapse-021</a></td>
|
||||
<td><a href="reference/margin-collapse-020-ref.htm">=</a> </td>
|
||||
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Margin collapsing with the 'body' element
|
||||
<ul class="assert">
|
||||
<li>For HTML pages the 'body' element's margins collapse.</li>
|
||||
<li>The 'body' element's margins collapse.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.">
|
||||
<style type="text/css">
|
||||
ul:before
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.">
|
||||
<style type="text/css">
|
||||
td:before
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.">
|
||||
<style type="text/css">
|
||||
script:before
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.">
|
||||
<style type="text/css">
|
||||
body:before
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.">
|
||||
<style type="text/css">
|
||||
td:before
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<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">
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.">
|
||||
<style type="text/css">
|
||||
body:before
|
||||
|
|
|
@ -4,11 +4,14 @@
|
|||
<title>CSS Test: Margin collapsing with the 'body' element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-08-15 -->
|
||||
<!--
|
||||
http://lists.w3.org/Archives/Public/public-css-testsuite/2016Apr/0000.html
|
||||
-->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">
|
||||
<link rel="match" href="reference/margin-collapse-020-ref.htm">
|
||||
|
||||
<meta name="flags" content="ahem HTMLonly image">
|
||||
<meta name="assert" content="For HTML pages the 'body' element's margins collapse.">
|
||||
<meta name="flags" content="ahem image">
|
||||
<meta name="assert" content="The 'body' element's margins collapse.">
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS Reftest Reference</title>
|
||||
<link href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger">
|
||||
<style type="text/css">
|
||||
#test {
|
||||
position: absolute;
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS Reftest Reference</title>
|
||||
<link href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger">
|
||||
<style type="text/css">
|
||||
#test {
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
|
|
|
@ -5376,7 +5376,7 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="background-body-001" class="HTMLonly">
|
||||
<tbody id="background-body-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="Background on body element">
|
||||
<a href="background-body-001.htm">background-body-001</a></td>
|
||||
|
@ -8264,6 +8264,30 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-002" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:fixed'">
|
||||
<a href="before-after-positioned-002.htm">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-003" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:absolute'">
|
||||
<a href="before-after-positioned-003.htm">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-004" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:relative'">
|
||||
<a href="before-after-positioned-004.htm">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-selector-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="After and before pseudo-elements">
|
||||
|
@ -37348,7 +37372,7 @@
|
|||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="margin-collapse-021" class="HTMLonly ahem image">
|
||||
<tbody id="margin-collapse-021" class="ahem image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Margin collapsing with the 'body' element">
|
||||
<a href="margin-collapse-021.htm">margin-collapse-021</a></td>
|
||||
|
|
|
@ -1063,6 +1063,9 @@ before-after-dynamic-restyle-001.htm == reference/before-after-dynamic-restyle-0
|
|||
before-after-floated-001.htm == reference/before-after-floated-001-ref.htm
|
||||
before-after-images-001.htm == reference/before-after-images-001-ref.htm
|
||||
before-after-positioned-001.htm == reference/before-after-positioned-001-ref.htm
|
||||
before-after-positioned-002.htm == reference/before-after-positioned-002-ref.htm
|
||||
before-after-positioned-003.htm == reference/before-after-positioned-002-ref.htm
|
||||
before-after-positioned-004.htm == reference/before-after-positioned-004-ref.htm
|
||||
before-after-selector-001.htm == reference/before-after-selector-001-ref.htm
|
||||
before-after-table-parts-001.htm == reference/before-after-table-parts-001-ref.htm
|
||||
before-after-table-whitespace-001.htm == reference/before-after-table-whitespace-001-ref.htm
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<tbody id="s12">
|
||||
<tr><th><a href="chapter-12.htm">Chapter 12 -
|
||||
Generated content, automatic numbering, and lists</a></th>
|
||||
<td>(637 Tests)</td></tr>
|
||||
<td>(640 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s13">
|
||||
<tr><th><a href="chapter-13.htm">Chapter 13 -
|
||||
|
|
|
@ -1950,9 +1950,12 @@ html4/background-bg-pos-207.htm 9c9f8bedd0eab194b8c4cb8480b1b140633bf1f5 ?
|
|||
xhtml1/background-bg-pos-207.xht 9c9f8bedd0eab194b8c4cb8480b1b140633bf1f5 ?
|
||||
html4/background-bg-pos-208.htm ae2ff0eecb7b3ffe50f1473cd8894012ec41758c ?
|
||||
xhtml1/background-bg-pos-208.xht ae2ff0eecb7b3ffe50f1473cd8894012ec41758c ?
|
||||
html4/background-body-001.htm 9e263f42b1f8a83b120ab3fa6b5e96e17eec5602 ?
|
||||
html4/background-body-002.htm 460723f37ff53b36f26463e24c7557e34a462c74 ?
|
||||
html4/background-body-003.htm 6ebdf6950449ec41bbfb589bd2e2413580c51de8 ?
|
||||
html4/background-body-001.htm add088053ed323d9b5657a0d22e25d388aba5a70 ?
|
||||
xhtml1/background-body-001.xht add088053ed323d9b5657a0d22e25d388aba5a70 ?
|
||||
html4/background-body-002.htm c083943b656bad5a29c216d63996749d90fa465d ?
|
||||
xhtml1/background-body-002.xht c083943b656bad5a29c216d63996749d90fa465d ?
|
||||
html4/background-body-003.htm 234fd2c79784c10c29d8c2e54efd2a47514eeae6 ?
|
||||
xhtml1/background-body-003.xht 234fd2c79784c10c29d8c2e54efd2a47514eeae6 ?
|
||||
html4/background-color-001.htm 9a5d956036794191f4293d57b0be38cb3ff86f31 ?
|
||||
xhtml1/background-color-001.xht 9a5d956036794191f4293d57b0be38cb3ff86f31 ?
|
||||
html4/background-color-002.htm a7f3437224bad93671849a79541abec80e7464e7 ?
|
||||
|
@ -2285,7 +2288,8 @@ html4/background-cover-003.htm 26c4c793dd2ae20c77778d4663012b78b75551af ?
|
|||
xhtml1/background-cover-003.xht 26c4c793dd2ae20c77778d4663012b78b75551af ?
|
||||
html4/background-cover-004.htm ad7090774bf135d19cad85de1c1013eaa34b33be ?
|
||||
xhtml1/background-cover-004.xht ad7090774bf135d19cad85de1c1013eaa34b33be ?
|
||||
html4/background-html-body-001.htm ae51346222f956e84c9232911e4e263f019b1388 ?
|
||||
html4/background-html-body-001.htm a3d764082dda33f7c2798293b05e44af8b1fd619 ?
|
||||
xhtml1/background-html-body-001.xht a3d764082dda33f7c2798293b05e44af8b1fd619 ?
|
||||
html4/background-iframes-001.htm 146138229c8de6981bbc3529d6c5fbc722f28b0f ?
|
||||
xhtml1/background-iframes-001.xht 146138229c8de6981bbc3529d6c5fbc722f28b0f ?
|
||||
html4/background-image-001.htm a5781e52a3b024974a6f136ac4f8466311ce108c ?
|
||||
|
@ -2763,6 +2767,12 @@ html4/before-after-images-001.htm 23fb7143075f3176a02f65f2007270c735d26c7c ?
|
|||
xhtml1/before-after-images-001.xht 23fb7143075f3176a02f65f2007270c735d26c7c ?
|
||||
html4/before-after-positioned-001.htm d4b2c18aa9fd31a85b81c096236a24365ce08cb6 ?
|
||||
xhtml1/before-after-positioned-001.xht d4b2c18aa9fd31a85b81c096236a24365ce08cb6 ?
|
||||
html4/before-after-positioned-002.htm e8592a9376ccf624d911e36d65e9febd303a2175 ?
|
||||
xhtml1/before-after-positioned-002.xht e8592a9376ccf624d911e36d65e9febd303a2175 ?
|
||||
html4/before-after-positioned-003.htm 9c58353755267a26c3218c1e16995d51a5634554 ?
|
||||
xhtml1/before-after-positioned-003.xht 9c58353755267a26c3218c1e16995d51a5634554 ?
|
||||
html4/before-after-positioned-004.htm 41596db10e1412c264077c35d7d25ca24c83c6d4 ?
|
||||
xhtml1/before-after-positioned-004.xht 41596db10e1412c264077c35d7d25ca24c83c6d4 ?
|
||||
html4/before-after-selector-001.htm e2d0e8fbd8f430c8b9465e8b069146ea5307db80 ?
|
||||
xhtml1/before-after-selector-001.xht e2d0e8fbd8f430c8b9465e8b069146ea5307db80 ?
|
||||
html4/before-after-table-parts-001.htm 482090b305a6e97d70fc9782761a7e83cff3f936 ?
|
||||
|
@ -8843,7 +8853,8 @@ html4/content-063.htm 13a41c536d8a39d5d5a61fb8d9694050c9909896 ?
|
|||
xhtml1/content-063.xht 13a41c536d8a39d5d5a61fb8d9694050c9909896 ?
|
||||
html4/content-065.htm 2be1032eca9a820724e9b04f45200c97972864ab ?
|
||||
xhtml1/content-065.xht 2be1032eca9a820724e9b04f45200c97972864ab ?
|
||||
html4/content-066.htm 18cf9eb941f29a757d4ff4e078cff9b58e441cd1 ?
|
||||
html4/content-066.htm 39310996747b20f1a45dd319dace1f0ea9bcc279 ?
|
||||
xhtml1/content-066.xht 39310996747b20f1a45dd319dace1f0ea9bcc279 ?
|
||||
html4/content-067.htm bb9412e86e79a06940379f0ae46100345aefca10 ?
|
||||
xhtml1/content-067.xht bb9412e86e79a06940379f0ae46100345aefca10 ?
|
||||
html4/content-068.htm 48933e6cf9737a7016bb83e53840d10c9d0bd2ad ?
|
||||
|
@ -8864,7 +8875,8 @@ html4/content-078.htm dabc18dcdf0c71fa2be5189ce2e379702fb929c2 ?
|
|||
xhtml1/content-078.xht dabc18dcdf0c71fa2be5189ce2e379702fb929c2 ?
|
||||
html4/content-080.htm f34988041665f866c85cf124dfd3d77160743cef ?
|
||||
xhtml1/content-080.xht f34988041665f866c85cf124dfd3d77160743cef ?
|
||||
html4/content-081.htm 3adc8987741f17edea38b2023d6981c3200df21b ?
|
||||
html4/content-081.htm b3c0cab091b47a70f63b829f403bdcb8f841d3c5 ?
|
||||
xhtml1/content-081.xht b3c0cab091b47a70f63b829f403bdcb8f841d3c5 ?
|
||||
html4/content-082.htm 054c8c0d970a6658f795b52ef0e94322ec752a7b ?
|
||||
xhtml1/content-082.xht 054c8c0d970a6658f795b52ef0e94322ec752a7b ?
|
||||
html4/content-083.htm d5a8f8d660478a46579e66e361b1edf6dce81f65 ?
|
||||
|
@ -8875,8 +8887,10 @@ html4/content-086.htm d1a22d4057550906cce01bf765d405e4fb6c1773 ?
|
|||
xhtml1/content-086.xht d1a22d4057550906cce01bf765d405e4fb6c1773 ?
|
||||
html4/content-089.htm c82e54036d06eaf144be92bc7a7bc065b8690068 ?
|
||||
xhtml1/content-089.xht c82e54036d06eaf144be92bc7a7bc065b8690068 ?
|
||||
html4/content-090.htm eff5e3139fbe8f0f8582f789f70e48e8f0ab0188 ?
|
||||
html4/content-091.htm b5519a672b1dce7e900d10fe14af231c3520be04 ?
|
||||
html4/content-090.htm 84226dc0960a0afda828d2585c0f3cd02446a820 ?
|
||||
xhtml1/content-090.xht 84226dc0960a0afda828d2585c0f3cd02446a820 ?
|
||||
html4/content-091.htm 63699663e4bbe45784f0dcc19e0038e995a32096 ?
|
||||
xhtml1/content-091.xht 63699663e4bbe45784f0dcc19e0038e995a32096 ?
|
||||
html4/content-096.htm 2e5d011bcde0cfb01280a4ec7a23dab9c8359ec2 ?
|
||||
xhtml1/content-096.xht 2e5d011bcde0cfb01280a4ec7a23dab9c8359ec2 ?
|
||||
html4/content-097.htm 2cf275a6453302ea753c9a620b5adb6616c7543d ?
|
||||
|
@ -8955,14 +8969,16 @@ html4/content-146.htm 683a45095c05f4c05e7241d3c9c2b994de083ba5 ?
|
|||
xhtml1/content-146.xht 683a45095c05f4c05e7241d3c9c2b994de083ba5 ?
|
||||
html4/content-147.htm ffa51a1202e3b8d15bd6d5687ba8bffafc3878c1 ?
|
||||
xhtml1/content-147.xht ffa51a1202e3b8d15bd6d5687ba8bffafc3878c1 ?
|
||||
html4/content-149.htm 2336ad9456d04d7e010f2df87f26fc5437f9178e ?
|
||||
html4/content-149.htm def6cd046c5ccead1a1e3a74cdc26f26752a0271 ?
|
||||
xhtml1/content-149.xht def6cd046c5ccead1a1e3a74cdc26f26752a0271 ?
|
||||
html4/content-150.htm efab3a05b4e22835f52529ca11037d8b9e1c658e ?
|
||||
xhtml1/content-150.xht efab3a05b4e22835f52529ca11037d8b9e1c658e ?
|
||||
html4/content-151.htm 96ad0422efcac4d4902761dc7c13d2bca8953a0b ?
|
||||
xhtml1/content-151.xht 96ad0422efcac4d4902761dc7c13d2bca8953a0b ?
|
||||
html4/content-152.htm 15d24042d20a0976531adbad095f6286edb0c528 ?
|
||||
xhtml1/content-152.xht 15d24042d20a0976531adbad095f6286edb0c528 ?
|
||||
html4/content-153.htm a70061edb16dea6f917ccd779e142055b92c6a70 ?
|
||||
html4/content-153.htm db897aaed87b0f7584f81247560c61720fbd7a38 ?
|
||||
xhtml1/content-153.xht db897aaed87b0f7584f81247560c61720fbd7a38 ?
|
||||
html4/content-155.htm b41cecaff7404ee85bc30fe8daf3bb862c130f21 ?
|
||||
xhtml1/content-155.xht b41cecaff7404ee85bc30fe8daf3bb862c130f21 ?
|
||||
html4/content-156.htm ecb4562e417a44bd795081abc5f41338847c0628 ?
|
||||
|
@ -13304,30 +13320,30 @@ html4/line-box-height-001.htm c0d5331bebe6060a6670cc22b374fc276ed9e9f9 ?
|
|||
xhtml1/line-box-height-001.xht c0d5331bebe6060a6670cc22b374fc276ed9e9f9 ?
|
||||
html4/line-box-height-002.htm d7284a6641fe849c9ccd1554e34e094b28f7e80a ?
|
||||
xhtml1/line-box-height-002.xht d7284a6641fe849c9ccd1554e34e094b28f7e80a ?
|
||||
html4/line-box-height-vlr-003.htm 259671e58e36b19184004f050de2c537b7a1894b ?
|
||||
xhtml1/line-box-height-vlr-003.xht 259671e58e36b19184004f050de2c537b7a1894b ?
|
||||
html4/line-box-height-vlr-005.htm cbc67a463940ff5ec5decb725bfeec62814b5752 ?
|
||||
xhtml1/line-box-height-vlr-005.xht cbc67a463940ff5ec5decb725bfeec62814b5752 ?
|
||||
html4/line-box-height-vlr-007.htm ad191b4346c0cbb24fc7cc0a5f8c9e0cc926c2f4 ?
|
||||
xhtml1/line-box-height-vlr-007.xht ad191b4346c0cbb24fc7cc0a5f8c9e0cc926c2f4 ?
|
||||
html4/line-box-height-vlr-009.htm bd5df8c249932e6fdfb4cfacc02084e6d3c86532 ?
|
||||
xhtml1/line-box-height-vlr-009.xht bd5df8c249932e6fdfb4cfacc02084e6d3c86532 ?
|
||||
html4/line-box-height-vlr-011.htm aa6690497ef0a8a1add231a251cf489b80ce7ba6 ?
|
||||
xhtml1/line-box-height-vlr-011.xht aa6690497ef0a8a1add231a251cf489b80ce7ba6 ?
|
||||
html4/line-box-height-vlr-013.htm 8711d934a91a1a1efabf6539b5909189757efd9a ?
|
||||
xhtml1/line-box-height-vlr-013.xht 8711d934a91a1a1efabf6539b5909189757efd9a ?
|
||||
html4/line-box-height-vrl-002.htm 1a00417e8f74d820cd70fc5ed7752868750495ec ?
|
||||
xhtml1/line-box-height-vrl-002.xht 1a00417e8f74d820cd70fc5ed7752868750495ec ?
|
||||
html4/line-box-height-vrl-004.htm e6879c456117b2c3ef67db7a625ea753d3cb95b5 ?
|
||||
xhtml1/line-box-height-vrl-004.xht e6879c456117b2c3ef67db7a625ea753d3cb95b5 ?
|
||||
html4/line-box-height-vrl-006.htm 693c03b0850d29cd35b5d20305b9581f54f83928 ?
|
||||
xhtml1/line-box-height-vrl-006.xht 693c03b0850d29cd35b5d20305b9581f54f83928 ?
|
||||
html4/line-box-height-vrl-008.htm 36c6c6f00dcadbab278d0b170de4213c35971606 ?
|
||||
xhtml1/line-box-height-vrl-008.xht 36c6c6f00dcadbab278d0b170de4213c35971606 ?
|
||||
html4/line-box-height-vrl-010.htm 2f60427c35a4abf5dc9ddc7c47f628d4c225fe89 ?
|
||||
xhtml1/line-box-height-vrl-010.xht 2f60427c35a4abf5dc9ddc7c47f628d4c225fe89 ?
|
||||
html4/line-box-height-vrl-012.htm e42b72f8b9295ee123752049d4423a9eeabc0b08 ?
|
||||
xhtml1/line-box-height-vrl-012.xht e42b72f8b9295ee123752049d4423a9eeabc0b08 ?
|
||||
html4/line-box-height-vlr-003.htm 5006c2c344c6f0ed6007c0d334102decf125845d ?
|
||||
xhtml1/line-box-height-vlr-003.xht 5006c2c344c6f0ed6007c0d334102decf125845d ?
|
||||
html4/line-box-height-vlr-005.htm a4b941e93de3df10e0f3c595d9a70c4ad247e22d ?
|
||||
xhtml1/line-box-height-vlr-005.xht a4b941e93de3df10e0f3c595d9a70c4ad247e22d ?
|
||||
html4/line-box-height-vlr-007.htm 9c0760f6b557ac91e205570c6875e88820ce3e6e ?
|
||||
xhtml1/line-box-height-vlr-007.xht 9c0760f6b557ac91e205570c6875e88820ce3e6e ?
|
||||
html4/line-box-height-vlr-009.htm aa05070353478cd47d77b47d6dbfa2b3f7d801c4 ?
|
||||
xhtml1/line-box-height-vlr-009.xht aa05070353478cd47d77b47d6dbfa2b3f7d801c4 ?
|
||||
html4/line-box-height-vlr-011.htm 22c5f0f2743e2a6c7f8eaea1912f6666a04b5870 ?
|
||||
xhtml1/line-box-height-vlr-011.xht 22c5f0f2743e2a6c7f8eaea1912f6666a04b5870 ?
|
||||
html4/line-box-height-vlr-013.htm ece628469338bd82d8e712d2fa996e179abc3bfd ?
|
||||
xhtml1/line-box-height-vlr-013.xht ece628469338bd82d8e712d2fa996e179abc3bfd ?
|
||||
html4/line-box-height-vrl-002.htm 3eda347a3d49a55d6adf018588d2e1bdd87c01bd ?
|
||||
xhtml1/line-box-height-vrl-002.xht 3eda347a3d49a55d6adf018588d2e1bdd87c01bd ?
|
||||
html4/line-box-height-vrl-004.htm 7a4e2c32e9ce291758ca3c077e1ee438f9838018 ?
|
||||
xhtml1/line-box-height-vrl-004.xht 7a4e2c32e9ce291758ca3c077e1ee438f9838018 ?
|
||||
html4/line-box-height-vrl-006.htm b7d22569581b86f74a0654297e24abab7a441edd ?
|
||||
xhtml1/line-box-height-vrl-006.xht b7d22569581b86f74a0654297e24abab7a441edd ?
|
||||
html4/line-box-height-vrl-008.htm fa938981839c03466a86c8c9e3a2475371d1affd ?
|
||||
xhtml1/line-box-height-vrl-008.xht fa938981839c03466a86c8c9e3a2475371d1affd ?
|
||||
html4/line-box-height-vrl-010.htm 8de72694c48183de742175ef61c704e83a30907e ?
|
||||
xhtml1/line-box-height-vrl-010.xht 8de72694c48183de742175ef61c704e83a30907e ?
|
||||
html4/line-box-height-vrl-012.htm 3ce2bef7fce81a9065b0452c4a536047286475e0 ?
|
||||
xhtml1/line-box-height-vrl-012.xht 3ce2bef7fce81a9065b0452c4a536047286475e0 ?
|
||||
html4/line-breaking-bidi-001.htm 2fcefce60cd82be2e1b13fd660261485200a2e2c ?
|
||||
xhtml1/line-breaking-bidi-001.xht 2fcefce60cd82be2e1b13fd660261485200a2e2c ?
|
||||
html4/line-breaking-bidi-002.htm 39405794e22368810a36df8c8a792c70cbd060d8 ?
|
||||
|
@ -14088,7 +14104,8 @@ html4/margin-collapse-019.htm 4bee59e58b730b5b6a2f4a23f620d798742aa8ff ?
|
|||
xhtml1/margin-collapse-019.xht 4bee59e58b730b5b6a2f4a23f620d798742aa8ff ?
|
||||
html4/margin-collapse-020.htm a2c98f0da85bc11e0f6974656ff1466f28550b48 ?
|
||||
xhtml1/margin-collapse-020.xht a2c98f0da85bc11e0f6974656ff1466f28550b48 ?
|
||||
html4/margin-collapse-021.htm 76ba07a61f5f97488e1f66f10ecd7d6be329af2c ?
|
||||
html4/margin-collapse-021.htm 4234c940cbb16ff9db2331fef2ef2f313bf71195 ?
|
||||
xhtml1/margin-collapse-021.xht 4234c940cbb16ff9db2331fef2ef2f313bf71195 ?
|
||||
html4/margin-collapse-022.htm 2ffa8b4b65cf414e2f4ff8ab023374ed5448da9d ?
|
||||
xhtml1/margin-collapse-022.xht 2ffa8b4b65cf414e2f4ff8ab023374ed5448da9d ?
|
||||
html4/margin-collapse-023.htm 43c4437aef8debf43a92d00bb465a0cf86f47b04 ?
|
||||
|
|
|
@ -990,9 +990,9 @@ background-bg-pos-205 Background Position: bottom right and the scrolling viewp
|
|||
background-bg-pos-206 reference/background-bg-pos-204-ref Background Position: bottom right and the viewport (fixed) http://www.w3.org/TR/CSS21/colors.html#background d698f17e2777c5df00982d137a5b13100c221fc2 `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
background-bg-pos-207 Background Position: bottom right and the scrolling viewport (fixed) interact http://www.w3.org/TR/CSS21/colors.html#background 9c9f8bedd0eab194b8c4cb8480b1b140633bf1f5 `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
background-bg-pos-208 reference/background-bg-pos-208-ref Background Position: bottom right and the viewport http://www.w3.org/TR/CSS21/colors.html#background ae2ff0eecb7b3ffe50f1473cd8894012ec41758c `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
background-body-001 reference/background-body-001-ref Background on body element HTMLonly http://www.w3.org/TR/CSS21/colors.html#background 9e263f42b1f8a83b120ab3fa6b5e96e17eec5602 `Microsoft`<http://www.microsoft.com/> Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background.
|
||||
background-body-002 Background on body element - background-position HTMLonly,image http://www.w3.org/TR/CSS21/colors.html#background 460723f37ff53b36f26463e24c7557e34a462c74 `Microsoft`<http://www.microsoft.com/> Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background.
|
||||
background-body-003 Background position propagation from body element HTMLonly,image http://www.w3.org/TR/CSS21/colors.html#background 6ebdf6950449ec41bbfb589bd2e2413580c51de8 `Microsoft`<http://www.microsoft.com/> Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background.
|
||||
background-body-001 reference/background-body-001-ref Background on body element http://www.w3.org/TR/CSS21/colors.html#background add088053ed323d9b5657a0d22e25d388aba5a70 `Microsoft`<http://www.microsoft.com/> Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background.
|
||||
background-body-002 Background on body element - background-position image http://www.w3.org/TR/CSS21/colors.html#background c083943b656bad5a29c216d63996749d90fa465d `Microsoft`<http://www.microsoft.com/> Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background.
|
||||
background-body-003 Background position propagation from body element image http://www.w3.org/TR/CSS21/colors.html#background 234fd2c79784c10c29d8c2e54efd2a47514eeae6 `Microsoft`<http://www.microsoft.com/> Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background.
|
||||
background-color-001 reference/background-color-001-ref Background-color set to hex with 5 digits which is invalid invalid http://www.w3.org/TR/CSS21/colors.html#propdef-background-color,http://www.w3.org/TR/CSS21/colors.html#background-properties 9a5d956036794191f4293d57b0be38cb3ff86f31 `Microsoft`<http://www.microsoft.com/> Background-color set to #00000 falls back to the initial value.
|
||||
background-color-002 reference/background-color-002-ref Background-color set to hex with 6 digits with the minimum value, #000000 image http://www.w3.org/TR/CSS21/colors.html#propdef-background-color,http://www.w3.org/TR/CSS21/colors.html#background-properties a7f3437224bad93671849a79541abec80e7464e7 `Microsoft`<http://www.microsoft.com/> Background-color is set to #000000.
|
||||
background-color-003 reference/background-color-003-ref Background-color set to hex with 6 digits with the minimum plus one value, #010101 image http://www.w3.org/TR/CSS21/colors.html#propdef-background-color,http://www.w3.org/TR/CSS21/colors.html#background-properties d66493abef86b37fc40f03bc6dc7533453f6443a `Microsoft`<http://www.microsoft.com/> Background-color is set to #010101.
|
||||
|
@ -1159,7 +1159,7 @@ background-cover-001 Background over content http://www.w3.org/TR/CSS21/colors
|
|||
background-cover-002 Background over padding http://www.w3.org/TR/CSS21/colors.html#background-properties 9efff71286a448711a982c470ac888149b2c2d85 `Microsoft`<http://www.microsoft.com/> Background covers the padding of the box.
|
||||
background-cover-003 Background over border http://www.w3.org/TR/CSS21/colors.html#background-properties 26c4c793dd2ae20c77778d4663012b78b75551af `Microsoft`<http://www.microsoft.com/> Background covers the border of the box.
|
||||
background-cover-004 Background over margin http://www.w3.org/TR/CSS21/colors.html#background-properties ad7090774bf135d19cad85de1c1013eaa34b33be `Microsoft`<http://www.microsoft.com/> Background does not color the margin.
|
||||
background-html-body-001 Background on html and body element HTMLonly http://www.w3.org/TR/CSS21/colors.html#background-properties ae51346222f956e84c9232911e4e263f019b1388 `Microsoft`<http://www.microsoft.com/> Background of the html element is the canvas's background even if body background is set.
|
||||
background-html-body-001 Background on html and body element http://www.w3.org/TR/CSS21/colors.html#background-properties a3d764082dda33f7c2798293b05e44af8b1fd619 `Microsoft`<http://www.microsoft.com/> Background of the html element is the canvas's background even if body background is set.
|
||||
background-iframes-001 Transparent IFrames http://www.w3.org/TR/CSS21/colors.html#background 146138229c8de6981bbc3529d6c5fbc722f28b0f `Ian Hickson`<mailto:ian@hixie.ch> An IFRAME's canvas is transparent.
|
||||
background-image-001 reference/ref-if-there-is-no-red Background-image set to 'none' image http://www.w3.org/TR/CSS21/colors.html#propdef-background-image,http://www.w3.org/TR/CSS21/colors.html#background-properties a5781e52a3b024974a6f136ac4f8466311ce108c `Microsoft`<http://www.microsoft.com/> Background-image set to 'none' does not set an image as the background.
|
||||
background-image-002 reference/background-color-001-ref Background-image set using the url() function image http://www.w3.org/TR/CSS21/colors.html#propdef-background-image,http://www.w3.org/TR/CSS21/colors.html#background-properties 419202b2c69a46335c294c6c41accbf718b9bfe7 `Microsoft`<http://www.microsoft.com/> Background-image set to uri causes the image to be rendered as the background of the box.
|
||||
|
@ -1399,6 +1399,9 @@ before-after-dynamic-restyle-001 reference/before-after-dynamic-restyle-001-ref
|
|||
before-after-floated-001 reference/before-after-floated-001-ref generated content http://www.w3.org/TR/CSS21/generate.html#before-after-content 6fb70f083086a1093ed838ae95b64b8da117f9ff `Robert O'Callahan`<mailto:robert@ocallahan.org>,`Mozilla Corporation`<http://mozilla.com/>
|
||||
before-after-images-001 reference/before-after-images-001-ref generated content http://www.w3.org/TR/CSS21/generate.html#content 23fb7143075f3176a02f65f2007270c735d26c7c `Robert O'Callahan`<mailto:robert@ocallahan.org>,`Mozilla Corporation`<http://mozilla.com/>
|
||||
before-after-positioned-001 reference/before-after-positioned-001-ref generated content http://www.w3.org/TR/CSS21/generate.html#before-after-content d4b2c18aa9fd31a85b81c096236a24365ce08cb6 `Robert O'Callahan`<mailto:robert@ocallahan.org>,`Mozilla Corporation`<http://mozilla.com/>
|
||||
before-after-positioned-002 reference/before-after-positioned-002-ref :before/:after pseudo-elements - 'position:fixed' http://www.w3.org/TR/CSS21/generate.html#before-after-content e8592a9376ccf624d911e36d65e9febd303a2175 `James Hopkins`<mailto:james(at)idreamincode.co.uk> Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements.
|
||||
before-after-positioned-003 reference/before-after-positioned-002-ref :before/:after pseudo-elements - 'position:absolute' http://www.w3.org/TR/CSS21/generate.html#before-after-content 9c58353755267a26c3218c1e16995d51a5634554 `James Hopkins`<mailto:james(at)idreamincode.co.uk> Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements.
|
||||
before-after-positioned-004 reference/before-after-positioned-004-ref :before/:after pseudo-elements - 'position:relative' http://www.w3.org/TR/CSS21/generate.html#before-after-content 41596db10e1412c264077c35d7d25ca24c83c6d4 `James Hopkins`<mailto:james(at)idreamincode.co.uk> Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements.
|
||||
before-after-selector-001 reference/before-after-selector-001-ref After and before pseudo-elements http://www.w3.org/TR/CSS21/selector.html#before-and-after e2d0e8fbd8f430c8b9465e8b069146ea5307db80 `Microsoft`<http://www.microsoft.com/> After and before pseudo-element allows inserted text after or before a given element.
|
||||
before-after-table-parts-001 reference/before-after-table-parts-001-ref generated content http://www.w3.org/TR/CSS21/generate.html#before-after-content 482090b305a6e97d70fc9782761a7e83cff3f936 `Robert O'Callahan`<mailto:robert@ocallahan.org>,`Mozilla Corporation`<http://mozilla.com/>
|
||||
before-after-table-whitespace-001 reference/before-after-table-whitespace-001-ref generated content http://www.w3.org/TR/CSS21/generate.html#content 7733835a7bcac98b89c7bb95ca28052944415826 `Robert O'Callahan`<mailto:robert@ocallahan.org>,`Mozilla Corporation`<http://mozilla.com/>
|
||||
|
@ -4442,7 +4445,7 @@ content-056 Content with a 'attr()' function as a value selecting 'cite' http:
|
|||
content-057 Content with a 'attr()' function as a value selecting 'class' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 725bc949d75ec503d673ba07589935e5219f1a9a `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'class'.
|
||||
content-063 Content with a 'attr()' function as a value selecting 'color' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 13a41c536d8a39d5d5a61fb8d9694050c9909896 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'color'.
|
||||
content-065 Content with a 'attr()' function as a value selecting 'colspan' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 2be1032eca9a820724e9b04f45200c97972864ab `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'colspan'.
|
||||
content-066 Content with a 'attr()' function as a value selecting 'compact' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 18cf9eb941f29a757d4ff4e078cff9b58e441cd1 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.
|
||||
content-066 Content with a 'attr()' function as a value selecting 'compact' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 39310996747b20f1a45dd319dace1f0ea9bcc279 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.
|
||||
content-067 Content with a 'attr()' function as a value selecting 'content' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content bb9412e86e79a06940379f0ae46100345aefca10 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'content'.
|
||||
content-068 Content with a 'attr()' function as a value selecting 'coords' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 48933e6cf9737a7016bb83e53840d10c9d0bd2ad `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'coords'.
|
||||
content-070 Content with a 'attr()' function as a value selecting 'datetime' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content d7f43ca7f56aeea9b174a5da44f47439ecf2b185 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'datetime'.
|
||||
|
@ -4453,14 +4456,14 @@ content-076 Content with a 'attr()' function as a value selecting 'face' http:
|
|||
content-077 Content with a 'attr()' function as a value selecting 'for' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content df7c426b5cdbf3a0a1a92fa56ee2d2b66a5998a4 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'for'.
|
||||
content-078 Content with a 'attr()' function as a value selecting 'frame' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content dabc18dcdf0c71fa2be5189ce2e379702fb929c2 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'frame'.
|
||||
content-080 Content with a 'attr()' function as a value selecting 'headers' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content f34988041665f866c85cf124dfd3d77160743cef `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'headers'.
|
||||
content-081 Content with a 'attr()' function as a value selecting 'height' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 3adc8987741f17edea38b2023d6981c3200df21b `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.
|
||||
content-081 Content with a 'attr()' function as a value selecting 'height' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content b3c0cab091b47a70f63b829f403bdcb8f841d3c5 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.
|
||||
content-082 Content with a 'attr()' function as a value selecting 'href' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 054c8c0d970a6658f795b52ef0e94322ec752a7b `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'href'.
|
||||
content-083 Content with a 'attr()' function as a value selecting 'hreflang' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content d5a8f8d660478a46579e66e361b1edf6dce81f65 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'hreflang'.
|
||||
content-085 Content with a 'attr()' function as a value selecting 'http-equiv' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content a3c13cba5c24135d12f22ae7165d10e9a9cc9a62 `Microsoft`<http://www.microsoft.com/> The 'content' property correctly handles the 'attr()' function when calling the attribute 'http-equiv'.
|
||||
content-086 Content with a 'attr()' function as a value selecting 'id' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content d1a22d4057550906cce01bf765d405e4fb6c1773 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'id'.
|
||||
content-089 Content with a 'attr()' function as a value selecting 'lang' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content c82e54036d06eaf144be92bc7a7bc065b8690068 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'lang'.
|
||||
content-090 Content with a 'attr()' function as a value selecting 'language' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content eff5e3139fbe8f0f8582f789f70e48e8f0ab0188 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.
|
||||
content-091 Content with a 'attr()' function as a value selecting 'link' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content b5519a672b1dce7e900d10fe14af231c3520be04 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.
|
||||
content-090 Content with a 'attr()' function as a value selecting 'language' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 84226dc0960a0afda828d2585c0f3cd02446a820 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.
|
||||
content-091 Content with a 'attr()' function as a value selecting 'link' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 63699663e4bbe45784f0dcc19e0038e995a32096 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.
|
||||
content-096 Content with a 'attr()' function as a value selecting 'media' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 2e5d011bcde0cfb01280a4ec7a23dab9c8359ec2 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'media'.
|
||||
content-097 Content with a 'attr()' function as a value selecting 'method' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 2cf275a6453302ea753c9a620b5adb6616c7543d `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'method'.
|
||||
content-099 Content with a 'attr()' function as a value selecting 'name' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content e2e85a5dceb74974cef5fc8c4cbf84710361b743 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'name'.
|
||||
|
@ -4500,11 +4503,11 @@ content-144 Content with a 'attr()' function as a value selecting 'target' htt
|
|||
content-145 Content with a 'attr()' function as a value selecting 'text' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 50c6351a11af9b777b043fe85e590a3fa6e024de `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'text'.
|
||||
content-146 Content with a 'attr()' function as a value selecting 'title' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 683a45095c05f4c05e7241d3c9c2b994de083ba5 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'title'.
|
||||
content-147 Content with a 'attr()' function as a value selecting 'type' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content ffa51a1202e3b8d15bd6d5687ba8bffafc3878c1 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'type'.
|
||||
content-149 Content with a 'attr()' function as a value selecting 'valign' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 2336ad9456d04d7e010f2df87f26fc5437f9178e `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.
|
||||
content-149 Content with a 'attr()' function as a value selecting 'valign' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content def6cd046c5ccead1a1e3a74cdc26f26752a0271 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.
|
||||
content-150 Content with a 'attr()' function as a value selecting 'value' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content efab3a05b4e22835f52529ca11037d8b9e1c658e `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'value'.
|
||||
content-151 Content with a 'attr()' function as a value selecting 'valuetype' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 96ad0422efcac4d4902761dc7c13d2bca8953a0b `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'valuetype'.
|
||||
content-152 Content with a 'attr()' function as a value selecting 'version' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content 15d24042d20a0976531adbad095f6286edb0c528 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'version'.
|
||||
content-153 Content with a 'attr()' function as a value selecting 'vlink' HTMLonly http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content a70061edb16dea6f917ccd779e142055b92c6a70 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.
|
||||
content-153 Content with a 'attr()' function as a value selecting 'vlink' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content db897aaed87b0f7584f81247560c61720fbd7a38 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.
|
||||
content-155 Content with a 'attr()' function as a value selecting 'width' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content b41cecaff7404ee85bc30fe8daf3bb862c130f21 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles the 'attr()' function when calling the attribute 'width'.
|
||||
content-156 Content with the value of 'open-quote' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content ecb4562e417a44bd795081abc5f41338847c0628 `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles an 'open-quote' value.
|
||||
content-157 Content with the value of 'close-quote' http://www.w3.org/TR/CSS21/generate.html#propdef-content,http://www.w3.org/TR/CSS21/generate.html#content f85b380694a490f4ff18cfa4a45b5675dd453bfd `Microsoft`<http://www.microsoft.com/> The 'content' property properly handles a 'close-quote' value.
|
||||
|
@ -6687,18 +6690,18 @@ letter-spacing-applies-to-015 reference/black_box_ends_when_blue_box_ends_6_boxe
|
|||
letter-spacing-justify-001 Letter-spacing and 'text-align: justify' ahem http://www.w3.org/TR/CSS21/text.html#spacing-props b66c590660ba5748685be02f9412a6820aee3cb4 `Microsoft`<http://www.microsoft.com/> The letter-spacing is not changed when combined with 'text-align: justify'.
|
||||
line-box-height-001 Height for inline elements when 'line-height' is smaller than 'height' ahem http://www.w3.org/TR/CSS21/visudet.html#propdef-line-height,http://www.w3.org/TR/CSS21/visudet.html#leading c0d5331bebe6060a6670cc22b374fc276ed9e9f9 `Microsoft`<http://www.microsoft.com/> The 'line-height' property sets the initial height but that height is increased if the content height is larger.
|
||||
line-box-height-002 reference/line-box-height-002-ref Height for inline replaced elements and 'line-height' image http://www.w3.org/TR/CSS21/visudet.html#propdef-line-height,http://www.w3.org/TR/CSS21/visudet.html#leading d7284a6641fe849c9ccd1554e34e094b28f7e80a `Microsoft`<http://www.microsoft.com/> The 'line-height' property doe not set the height for inline replaced elements. The height of the replaced element sets the line-height'.
|
||||
line-box-height-vlr-003 reference/line-box-height-vlr-003-ref line box height and border on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 259671e58e36b19184004f050de2c537b7a1894b `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-005 reference/line-box-height-vlr-003-ref line box height and padding on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height cbc67a463940ff5ec5decb725bfeec62814b5752 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vlr-007 reference/line-box-height-vlr-007-ref line box height and border on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height ad191b4346c0cbb24fc7cc0a5f8c9e0cc926c2f4 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-009 reference/line-box-height-vlr-007-ref line box height and padding on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height bd5df8c249932e6fdfb4cfacc02084e6d3c86532 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vlr-011 reference/line-box-height-vlr-011-ref line box height and border on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height aa6690497ef0a8a1add231a251cf489b80ce7ba6 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-013 reference/line-box-height-vlr-011-ref line box height and padding on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 8711d934a91a1a1efabf6539b5909189757efd9a `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-002 reference/line-box-height-vrl-002-ref line box height and border on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 1a00417e8f74d820cd70fc5ed7752868750495ec `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-004 reference/line-box-height-vrl-002-ref line box height and padding on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height e6879c456117b2c3ef67db7a625ea753d3cb95b5 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-006 reference/line-box-height-vrl-006-ref line box height and border on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 693c03b0850d29cd35b5d20305b9581f54f83928 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-008 reference/line-box-height-vrl-006-ref line box height and padding on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 36c6c6f00dcadbab278d0b170de4213c35971606 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-010 reference/line-box-height-vrl-010-ref line box height and border on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 2f60427c35a4abf5dc9ddc7c47f628d4c225fe89 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-012 reference/line-box-height-vrl-010-ref line box height and padding on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height e42b72f8b9295ee123752049d4423a9eeabc0b08 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vlr-003 reference/line-box-height-vlr-003-ref line box height and border on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 5006c2c344c6f0ed6007c0d334102decf125845d `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-005 reference/line-box-height-vlr-003-ref line box height and padding on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height a4b941e93de3df10e0f3c595d9a70c4ad247e22d `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vlr-007 reference/line-box-height-vlr-007-ref line box height and border on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 9c0760f6b557ac91e205570c6875e88820ce3e6e `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-009 reference/line-box-height-vlr-007-ref line box height and padding on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height aa05070353478cd47d77b47d6dbfa2b3f7d801c4 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vlr-011 reference/line-box-height-vlr-011-ref line box height and border on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 22c5f0f2743e2a6c7f8eaea1912f6666a04b5870 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vlr-013 reference/line-box-height-vlr-011-ref line box height and padding on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height ece628469338bd82d8e712d2fa996e179abc3bfd `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-002 reference/line-box-height-vrl-002-ref line box height and border on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 3eda347a3d49a55d6adf018588d2e1bdd87c01bd `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-004 reference/line-box-height-vrl-002-ref line box height and padding on non-replaced inline box (mixed) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 7a4e2c32e9ce291758ca3c077e1ee438f9838018 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-006 reference/line-box-height-vrl-006-ref line box height and border on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height b7d22569581b86f74a0654297e24abab7a441edd `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-008 reference/line-box-height-vrl-006-ref line box height and padding on non-replaced inline box (sideways) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height fa938981839c03466a86c8c9e3a2475371d1affd `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-box-height-vrl-010 reference/line-box-height-vrl-010-ref line box height and border on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 8de72694c48183de742175ef61c704e83a30907e `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a border. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'border-left' of inline box and transparent 'border-right' of inline box.
|
||||
line-box-height-vrl-012 reference/line-box-height-vrl-010-ref line box height and padding on non-replaced inline box (upright) http://www.w3.org/TR/css-writing-modes-3/#vertical-layout,http://www.w3.org/TR/CSS21/visudet.html#line-height 3ce2bef7fce81a9065b0452c4a536047286475e0 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> This test checks that a line box height does not increase because an inline non-replaced box has a padding. In this test, the '34' inline box and the '56' inline box should be lined up with its inline '12' sibling. The line box height, enclosed by the blue border should not grow to accomodate transparent 'padding-left' of inline box and transparent 'padding-right' of inline box.
|
||||
line-breaking-bidi-001 reference/line-breaking-bidi-001-ref Line breaking and the bidi algorithm ahem http://www.w3.org/TR/CSS21/text.html#white-space-model 2fcefce60cd82be2e1b13fd660261485200a2e2c `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
line-breaking-bidi-002 reference/line-breaking-bidi-002-ref Line breaking and the bidi algorithm (with hebrew character) ahem http://www.w3.org/TR/CSS21/text.html#white-space-model 39405794e22368810a36df8c8a792c70cbd060d8 `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
line-breaking-bidi-003 reference/line-breaking-bidi-003-ref Line breaking and the bidi algorithm (no breaks) ahem http://www.w3.org/TR/CSS21/text.html#white-space-model 3580b89608648fb001712d66d998bbf67a0f3dfc `Ian Hickson`<mailto:ian@hixie.ch>
|
||||
|
@ -7079,7 +7082,7 @@ margin-collapse-017 reference/margin-collapse-017-ref Margin collapsing - parent
|
|||
margin-collapse-018 reference/clearance-006-ref Margin collapsing - element with clearance ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 710763e43b4d0ac072502d836db954adaa919085 `Microsoft`<http://www.microsoft.com/> An element that has clearance applied to it will not collapse its top margin with its parent's bottom margin.
|
||||
margin-collapse-019 reference/margin-collapse-002-ref Margin collapsing - elements that collapse margins have to effect on positions of other elements that also have margins that are collapsing ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 4bee59e58b730b5b6a2f4a23f620d798742aa8ff `Microsoft`<http://www.microsoft.com/> Positions of elements that have been collapsed through (empty elements) have no effect on positions of other elements whose margins are being collapsed.
|
||||
margin-collapse-020 reference/margin-collapse-020-ref Margin collapsing with the root element ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins a2c98f0da85bc11e0f6974656ff1466f28550b48 `Microsoft`<http://www.microsoft.com/> For HTML pages the html element does not collapse its margins with other elements.
|
||||
margin-collapse-021 reference/margin-collapse-020-ref Margin collapsing with the 'body' element HTMLonly,ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 76ba07a61f5f97488e1f66f10ecd7d6be329af2c `Microsoft`<http://www.microsoft.com/> For HTML pages the 'body' element's margins collapse.
|
||||
margin-collapse-021 reference/margin-collapse-020-ref Margin collapsing with the 'body' element ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 4234c940cbb16ff9db2331fef2ef2f313bf71195 `Microsoft`<http://www.microsoft.com/> The 'body' element's margins collapse.
|
||||
margin-collapse-022 reference/margin-collapse-002-ref Margin collapsing - adjoining block boxes ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 2ffa8b4b65cf414e2f4ff8ab023374ed5448da9d `Microsoft`<http://www.microsoft.com/> Bottom margin of an in-flow block-level element is always adjoining to the top margin of its next in-flow block-level sibling.
|
||||
margin-collapse-023 reference/clearance-006-ref Margin collapsing - clearance applied to sibling ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 43c4437aef8debf43a92d00bb465a0cf86f47b04 `Microsoft`<http://www.microsoft.com/> If an in-flow block-level sibling (#div4) has clearance applied to it, then it will not adjoin its top margin with the bottom margin of its previous in-flow sibling (#div2).
|
||||
margin-collapse-024 reference/margin-collapse-024-ref Margin collapsing - in-flow block-level margin adjoining child's margin ahem,image http://www.w3.org/TR/CSS21/box.html#collapsing-margins 6d58843794ea468c00830ff46272da897abe7e75 `Microsoft`<http://www.microsoft.com/> When an in-flow block-level element (#div3) is adjoining its in-flow block-level child's top margin and the child has no top border, no top padding or no clearance applied to it, then such top margins collapse.
|
||||
|
|
23
tests/wpt/css-tests/css21_dev/xhtml1/background-body-001.xht
Normal file
23
tests/wpt/css-tests/css21_dev/xhtml1/background-body-001.xht
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on body element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-20 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<link rel="match" href="reference/background-body-001-ref.xht" />
|
||||
|
||||
<meta name="assert" content="Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: green;
|
||||
color: white;
|
||||
margin: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of this entire page is green.</p>
|
||||
</body>
|
||||
</html>
|
20
tests/wpt/css-tests/css21_dev/xhtml1/background-body-002.xht
Normal file
20
tests/wpt/css-tests/css21_dev/xhtml1/background-body-002.xht
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on body element - background-position</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
html
|
||||
{
|
||||
background: url("support/green_box.png") repeat-x;
|
||||
margin: 1in;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if this text is within the green box.</p>
|
||||
</body>
|
||||
</html>
|
20
tests/wpt/css-tests/css21_dev/xhtml1/background-body-003.xht
Normal file
20
tests/wpt/css-tests/css21_dev/xhtml1/background-body-003.xht
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background position propagation from body element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: url("support/green_box.png") 1in 1in;
|
||||
margin: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of this entire page is green.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on html and body element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-21 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
|
||||
<meta name="assert" content="Background of the html element is the canvas's background even if body background is set." />
|
||||
<style type="text/css">
|
||||
html
|
||||
{
|
||||
background: green;
|
||||
}
|
||||
body
|
||||
{
|
||||
background: blue;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of the entire page is green and there is a blue bar.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:fixed'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-002-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:fixed;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:absolute'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-002-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:absolute;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:relative'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-004-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
content:"";
|
||||
display:block;
|
||||
height:100px;
|
||||
left:0;
|
||||
position:relative;
|
||||
top:-100px;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
left:50px;
|
||||
top:0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS 2.1 Conformance Test Suite</h1>
|
||||
<h2>Generated content, automatic numbering, and lists (637 tests)</h2>
|
||||
<h2>Generated content, automatic numbering, and lists (640 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column"></col>
|
||||
<col id="refs-column"></col>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s12.1">+</a>
|
||||
<a href="https://www.w3.org/TR/CSS21/generate.html#before-after-content">12.1 The :before and :after pseudo-elements</a></th></tr>
|
||||
<!-- 58 tests -->
|
||||
<!-- 61 tests -->
|
||||
<tr id="after-content-display-001-12.1" class="">
|
||||
<td>
|
||||
<a href="after-content-display-001.xht">after-content-display-001</a></td>
|
||||
|
@ -321,6 +321,39 @@
|
|||
<td>generated content
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-002-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-002.xht">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:fixed'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-003-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-003.xht">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:absolute'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-004-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-004.xht">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:relative'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-table-parts-001-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-table-parts-001.xht">before-after-table-parts-001</a></td>
|
||||
|
@ -1360,6 +1393,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2" class="">
|
||||
<td>
|
||||
<a href="content-066.xht">content-066</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'compact'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-067-12.2" class="">
|
||||
<td>
|
||||
<a href="content-067.xht">content-067</a></td>
|
||||
|
@ -1470,6 +1514,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2" class="">
|
||||
<td>
|
||||
<a href="content-081.xht">content-081</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'height'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-082-12.2" class="">
|
||||
<td>
|
||||
<a href="content-082.xht">content-082</a></td>
|
||||
|
@ -1525,6 +1580,28 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2" class="">
|
||||
<td>
|
||||
<a href="content-090.xht">content-090</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'language'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2" class="">
|
||||
<td>
|
||||
<a href="content-091.xht">content-091</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'link'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-096-12.2" class="">
|
||||
<td>
|
||||
<a href="content-096.xht">content-096</a></td>
|
||||
|
@ -1954,6 +2031,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2" class="">
|
||||
<td>
|
||||
<a href="content-149.xht">content-149</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'valign'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-150-12.2" class="">
|
||||
<td>
|
||||
<a href="content-150.xht">content-150</a></td>
|
||||
|
@ -1987,6 +2075,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2" class="">
|
||||
<td>
|
||||
<a href="content-153.xht">content-153</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'vlink'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-155-12.2" class="">
|
||||
<td>
|
||||
<a href="content-155.xht">content-155</a></td>
|
||||
|
@ -3115,6 +3214,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-066.xht">content-066</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'compact'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-067-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-067.xht">content-067</a></td>
|
||||
|
@ -3225,6 +3335,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-081.xht">content-081</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'height'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-082-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-082.xht">content-082</a></td>
|
||||
|
@ -3280,6 +3401,28 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-090.xht">content-090</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'language'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-091.xht">content-091</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'link'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-096-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-096.xht">content-096</a></td>
|
||||
|
@ -3709,6 +3852,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-149.xht">content-149</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'valign'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-150-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-150.xht">content-150</a></td>
|
||||
|
@ -3742,6 +3896,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-153.xht">content-153</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'vlink'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-155-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-155.xht">content-155</a></td>
|
||||
|
|
|
@ -3784,6 +3784,39 @@
|
|||
<td>Background Position: bottom right and the viewport
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-001-14.2" class="">
|
||||
<td>
|
||||
<a href="background-body-001.xht">background-body-001</a></td>
|
||||
<td><a href="reference/background-body-001-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>Background on body element
|
||||
<ul class="assert">
|
||||
<li>Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-002-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-002.xht">background-body-002</a></td>
|
||||
<td></td>
|
||||
<td><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Background on body element - background-position
|
||||
<ul class="assert">
|
||||
<li>Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-003-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-003.xht">background-body-003</a></td>
|
||||
<td></td>
|
||||
<td><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Background position propagation from body element
|
||||
<ul class="assert">
|
||||
<li>Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-iframes-001-14.2" class="">
|
||||
<td>
|
||||
<a href="background-iframes-001.xht">background-iframes-001</a></td>
|
||||
|
@ -9913,6 +9946,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-html-body-001-14.2.1" class="">
|
||||
<td>
|
||||
<a href="background-html-body-001.xht">background-html-body-001</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Background on html and body element
|
||||
<ul class="assert">
|
||||
<li>Background of the html element is the canvas's background even if body background is set.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-image-001-14.2.1" class="image">
|
||||
<td>
|
||||
<a href="background-image-001.xht">background-image-001</a></td>
|
||||
|
|
|
@ -7219,6 +7219,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="margin-collapse-021-8.3.1" class="ahem image">
|
||||
<td>
|
||||
<a href="margin-collapse-021.xht">margin-collapse-021</a></td>
|
||||
<td><a href="reference/margin-collapse-020-ref.xht">=</a> </td>
|
||||
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Margin collapsing with the 'body' element
|
||||
<ul class="assert">
|
||||
<li>The 'body' element's margins collapse.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="margin-collapse-022-8.3.1" class="ahem image">
|
||||
<td>
|
||||
<a href="margin-collapse-022.xht">margin-collapse-022</a></td>
|
||||
|
|
27
tests/wpt/css-tests/css21_dev/xhtml1/content-066.xht
Normal file
27
tests/wpt/css-tests/css21_dev/xhtml1/content-066.xht
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'compact'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'." />
|
||||
<style type="text/css">
|
||||
ul:before
|
||||
{
|
||||
content: attr(compact);
|
||||
color: green;
|
||||
}
|
||||
ul
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the word "compact" appears in the box below.</p>
|
||||
<ul compact="compact">
|
||||
<li></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/css-tests/css21_dev/xhtml1/content-081.xht
Normal file
29
tests/wpt/css-tests/css21_dev/xhtml1/content-081.xht
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'height'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'height'." />
|
||||
<style type="text/css">
|
||||
td:before
|
||||
{
|
||||
content: attr(height);
|
||||
color: green;
|
||||
}
|
||||
td
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the number "10" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
26
tests/wpt/css-tests/css21_dev/xhtml1/content-090.xht
Normal file
26
tests/wpt/css-tests/css21_dev/xhtml1/content-090.xht
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'language'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'language'." />
|
||||
<style type="text/css">
|
||||
script:before
|
||||
{
|
||||
content: attr(language);
|
||||
color: green;
|
||||
}
|
||||
script
|
||||
{
|
||||
border: 2px solid black;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the word "ecmascript" appears in the box below.</p>
|
||||
<script language="ecmascript" type="text/ecmascript"></script>
|
||||
</body>
|
||||
</html>
|
20
tests/wpt/css-tests/css21_dev/xhtml1/content-091.xht
Normal file
20
tests/wpt/css-tests/css21_dev/xhtml1/content-091.xht
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'link'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'link'." />
|
||||
<style type="text/css">
|
||||
body:before
|
||||
{
|
||||
content: attr(link);
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body link="green">
|
||||
<p>Test passes if the word "green" appears above.</p>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/css-tests/css21_dev/xhtml1/content-149.xht
Normal file
29
tests/wpt/css-tests/css21_dev/xhtml1/content-149.xht
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'valign'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'." />
|
||||
<style type="text/css">
|
||||
td:before
|
||||
{
|
||||
content: attr(valign);
|
||||
color: green;
|
||||
}
|
||||
td
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if only the word "baseline" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="baseline"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
20
tests/wpt/css-tests/css21_dev/xhtml1/content-153.xht
Normal file
20
tests/wpt/css-tests/css21_dev/xhtml1/content-153.xht
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'vlink'</title>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'." />
|
||||
<style type="text/css">
|
||||
body:before
|
||||
{
|
||||
content: attr(vlink);
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body vlink="green">
|
||||
<p>Test passes if the word "green" appears above.</p>
|
||||
</body>
|
||||
</html>
|
39
tests/wpt/css-tests/css21_dev/xhtml1/margin-collapse-021.xht
Normal file
39
tests/wpt/css-tests/css21_dev/xhtml1/margin-collapse-021.xht
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Margin collapsing with the 'body' element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-15 -->
|
||||
<!--
|
||||
http://lists.w3.org/Archives/Public/public-css-testsuite/2016Apr/0000.html
|
||||
-->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins" />
|
||||
<link rel="match" href="reference/margin-collapse-020-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="The 'body' element's margins collapse." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: url('support/margin-collapse-020.png') no-repeat;
|
||||
font: 20px/1em Ahem;
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
div
|
||||
{
|
||||
background: green;
|
||||
margin-top: 2em;
|
||||
height: 1em;
|
||||
width: 5em;
|
||||
}
|
||||
p
|
||||
{
|
||||
font: 12pt serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
<p>Test passes if there is <strong>no red</strong>.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!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 href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger" />
|
||||
<style type="text/css">
|
||||
#test {
|
||||
position: absolute;
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -0,0 +1,13 @@
|
|||
<!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 href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger" />
|
||||
<style type="text/css">
|
||||
#test {
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -5600,6 +5600,14 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="background-body-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="Background on body element">
|
||||
<a href="background-body-001.xht">background-body-001</a></td>
|
||||
<td><a href="reference/background-body-001-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="background-color-001" class="invalid">
|
||||
<tr>
|
||||
<td rowspan="1" title="Background-color set to hex with 5 digits which is invalid">
|
||||
|
@ -8480,6 +8488,30 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-002" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:fixed'">
|
||||
<a href="before-after-positioned-002.xht">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-003" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:absolute'">
|
||||
<a href="before-after-positioned-003.xht">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-004" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:relative'">
|
||||
<a href="before-after-positioned-004.xht">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-selector-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="After and before pseudo-elements">
|
||||
|
@ -37700,6 +37732,14 @@
|
|||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="margin-collapse-021" class="ahem image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Margin collapsing with the 'body' element">
|
||||
<a href="margin-collapse-021.xht">margin-collapse-021</a></td>
|
||||
<td><a href="reference/margin-collapse-020-ref.xht">=</a> </td>
|
||||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="margin-collapse-022" class="ahem image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Margin collapsing - adjoining block boxes">
|
||||
|
|
|
@ -1063,6 +1063,9 @@ before-after-dynamic-restyle-001.xht == reference/before-after-dynamic-restyle-0
|
|||
before-after-floated-001.xht == reference/before-after-floated-001-ref.xht
|
||||
before-after-images-001.xht == reference/before-after-images-001-ref.xht
|
||||
before-after-positioned-001.xht == reference/before-after-positioned-001-ref.xht
|
||||
before-after-positioned-002.xht == reference/before-after-positioned-002-ref.xht
|
||||
before-after-positioned-003.xht == reference/before-after-positioned-002-ref.xht
|
||||
before-after-positioned-004.xht == reference/before-after-positioned-004-ref.xht
|
||||
before-after-selector-001.xht == reference/before-after-selector-001-ref.xht
|
||||
before-after-table-parts-001.xht == reference/before-after-table-parts-001-ref.xht
|
||||
before-after-table-whitespace-001.xht == reference/before-after-table-whitespace-001-ref.xht
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<tbody id="s12">
|
||||
<tr><th><a href="chapter-12.xht">Chapter 12 -
|
||||
Generated content, automatic numbering, and lists</a></th>
|
||||
<td>(637 Tests)</td></tr>
|
||||
<td>(640 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s13">
|
||||
<tr><th><a href="chapter-13.xht">Chapter 13 -
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on body element</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test background-body-001"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-20 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<link rel="match" href="reference/background-body-001-ref.xht" />
|
||||
|
||||
<meta name="assert" content="Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: green;
|
||||
color: white;
|
||||
margin: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of this entire page is green.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on body element - background-position</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test background-body-002"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
html
|
||||
{
|
||||
background: url("support/green_box.png") repeat-x;
|
||||
margin: 1in;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if this text is within the green box.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background position propagation from body element</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test background-body-003"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: url("support/green_box.png") 1in 1in;
|
||||
margin: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of this entire page is green.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Background on html and body element</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test background-html-body-001"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-21 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
|
||||
<meta name="assert" content="Background of the html element is the canvas's background even if body background is set." />
|
||||
<style type="text/css">
|
||||
html
|
||||
{
|
||||
background: green;
|
||||
}
|
||||
body
|
||||
{
|
||||
background: blue;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the background of the entire page is green and there is a blue bar.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:fixed'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-002-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:fixed;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:absolute'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-002-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
bottom:0;
|
||||
content:"";
|
||||
height:100px;
|
||||
position:absolute;
|
||||
right:0;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
bottom:0;
|
||||
right:50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<title>CSS Test: :before/:after pseudo-elements - 'position:relative'</title>
|
||||
<link href="mailto:james(at)idreamincode.co.uk" rel="author" title="James Hopkins" />
|
||||
<link href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" rel="help" />
|
||||
<link href="reference/before-after-positioned-004-ref.xht" rel="match" />
|
||||
<meta content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements." name="assert" />
|
||||
<style type="text/css">
|
||||
#test:after,
|
||||
#test:before{
|
||||
background:blue;
|
||||
content:"";
|
||||
display:block;
|
||||
height:100px;
|
||||
left:0;
|
||||
position:relative;
|
||||
top:-100px;
|
||||
width:50px;
|
||||
}
|
||||
#test:before{
|
||||
left:50px;
|
||||
top:0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS 2.1 Conformance Test Suite</h1>
|
||||
<h2>Generated content, automatic numbering, and lists (637 tests)</h2>
|
||||
<h2>Generated content, automatic numbering, and lists (640 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column"></col>
|
||||
<col id="refs-column"></col>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s12.1">+</a>
|
||||
<a href="https://www.w3.org/TR/CSS21/generate.html#before-after-content">12.1 The :before and :after pseudo-elements</a></th></tr>
|
||||
<!-- 58 tests -->
|
||||
<!-- 61 tests -->
|
||||
<tr id="after-content-display-001-12.1" class="">
|
||||
<td>
|
||||
<a href="after-content-display-001.xht">after-content-display-001</a></td>
|
||||
|
@ -321,6 +321,39 @@
|
|||
<td>generated content
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-002-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-002.xht">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:fixed'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:fixed' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-003-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-003.xht">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:absolute'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:absolute' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-positioned-004-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-positioned-004.xht">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>:before/:after pseudo-elements - 'position:relative'
|
||||
<ul class="assert">
|
||||
<li>Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="before-after-table-parts-001-12.1" class="">
|
||||
<td>
|
||||
<a href="before-after-table-parts-001.xht">before-after-table-parts-001</a></td>
|
||||
|
@ -1360,6 +1393,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2" class="">
|
||||
<td>
|
||||
<a href="content-066.xht">content-066</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'compact'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-067-12.2" class="">
|
||||
<td>
|
||||
<a href="content-067.xht">content-067</a></td>
|
||||
|
@ -1470,6 +1514,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2" class="">
|
||||
<td>
|
||||
<a href="content-081.xht">content-081</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'height'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-082-12.2" class="">
|
||||
<td>
|
||||
<a href="content-082.xht">content-082</a></td>
|
||||
|
@ -1525,6 +1580,28 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2" class="">
|
||||
<td>
|
||||
<a href="content-090.xht">content-090</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'language'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2" class="">
|
||||
<td>
|
||||
<a href="content-091.xht">content-091</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'link'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-096-12.2" class="">
|
||||
<td>
|
||||
<a href="content-096.xht">content-096</a></td>
|
||||
|
@ -1954,6 +2031,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2" class="">
|
||||
<td>
|
||||
<a href="content-149.xht">content-149</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'valign'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-150-12.2" class="">
|
||||
<td>
|
||||
<a href="content-150.xht">content-150</a></td>
|
||||
|
@ -1987,6 +2075,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2" class="">
|
||||
<td>
|
||||
<a href="content-153.xht">content-153</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'vlink'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-155-12.2" class="">
|
||||
<td>
|
||||
<a href="content-155.xht">content-155</a></td>
|
||||
|
@ -3115,6 +3214,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-066-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-066.xht">content-066</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'compact'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-067-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-067.xht">content-067</a></td>
|
||||
|
@ -3225,6 +3335,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-081-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-081.xht">content-081</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'height'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'height'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-082-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-082.xht">content-082</a></td>
|
||||
|
@ -3280,6 +3401,28 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-090-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-090.xht">content-090</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'language'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'language'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-091-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-091.xht">content-091</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'link'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'link'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-096-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-096.xht">content-096</a></td>
|
||||
|
@ -3709,6 +3852,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-149-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-149.xht">content-149</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'valign'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-150-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-150.xht">content-150</a></td>
|
||||
|
@ -3742,6 +3896,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-153-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-153.xht">content-153</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Content with a 'attr()' function as a value selecting 'vlink'
|
||||
<ul class="assert">
|
||||
<li>The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="content-155-12.2.#propdef-content" class="">
|
||||
<td>
|
||||
<a href="content-155.xht">content-155</a></td>
|
||||
|
|
|
@ -3784,6 +3784,39 @@
|
|||
<td>Background Position: bottom right and the viewport
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-001-14.2" class="">
|
||||
<td>
|
||||
<a href="background-body-001.xht">background-body-001</a></td>
|
||||
<td><a href="reference/background-body-001-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>Background on body element
|
||||
<ul class="assert">
|
||||
<li>Background of the body covers the entire canvas. Adding margin to body element to ensure that canvas background is green, and not just the root since in other cases, margin is not colored. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-002-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-002.xht">background-body-002</a></td>
|
||||
<td></td>
|
||||
<td><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Background on body element - background-position
|
||||
<ul class="assert">
|
||||
<li>Background of the body has the initial background-position of 0,0 and not the canvas. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-body-003-14.2" class="image">
|
||||
<td>
|
||||
<a href="background-body-003.xht">background-body-003</a></td>
|
||||
<td></td>
|
||||
<td><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Background position propagation from body element
|
||||
<ul class="assert">
|
||||
<li>Background-position of the body does not propagate the position to the canvas. This only applies if HTML element has nothing set for background.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-iframes-001-14.2" class="">
|
||||
<td>
|
||||
<a href="background-iframes-001.xht">background-iframes-001</a></td>
|
||||
|
@ -9913,6 +9946,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-html-body-001-14.2.1" class="">
|
||||
<td>
|
||||
<a href="background-html-body-001.xht">background-html-body-001</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Background on html and body element
|
||||
<ul class="assert">
|
||||
<li>Background of the html element is the canvas's background even if body background is set.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="background-image-001-14.2.1" class="image">
|
||||
<td>
|
||||
<a href="background-image-001.xht">background-image-001</a></td>
|
||||
|
|
|
@ -7219,6 +7219,17 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="margin-collapse-021-8.3.1" class="ahem image">
|
||||
<td>
|
||||
<a href="margin-collapse-021.xht">margin-collapse-021</a></td>
|
||||
<td><a href="reference/margin-collapse-020-ref.xht">=</a> </td>
|
||||
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
<td>Margin collapsing with the 'body' element
|
||||
<ul class="assert">
|
||||
<li>The 'body' element's margins collapse.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="margin-collapse-022-8.3.1" class="ahem image">
|
||||
<td>
|
||||
<a href="margin-collapse-022.xht">margin-collapse-022</a></td>
|
||||
|
|
36
tests/wpt/css-tests/css21_dev/xhtml1print/content-066.xht
Normal file
36
tests/wpt/css-tests/css21_dev/xhtml1print/content-066.xht
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'compact'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-066"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'compact'." />
|
||||
<style type="text/css">
|
||||
ul:before
|
||||
{
|
||||
content: attr(compact);
|
||||
color: green;
|
||||
}
|
||||
ul
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the word "compact" appears in the box below.</p>
|
||||
<ul compact="compact">
|
||||
<li></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
38
tests/wpt/css-tests/css21_dev/xhtml1print/content-081.xht
Normal file
38
tests/wpt/css-tests/css21_dev/xhtml1print/content-081.xht
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'height'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-081"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'height'." />
|
||||
<style type="text/css">
|
||||
td:before
|
||||
{
|
||||
content: attr(height);
|
||||
color: green;
|
||||
}
|
||||
td
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the number "10" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
35
tests/wpt/css-tests/css21_dev/xhtml1print/content-090.xht
Normal file
35
tests/wpt/css-tests/css21_dev/xhtml1print/content-090.xht
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'language'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-090"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'language'." />
|
||||
<style type="text/css">
|
||||
script:before
|
||||
{
|
||||
content: attr(language);
|
||||
color: green;
|
||||
}
|
||||
script
|
||||
{
|
||||
border: 2px solid black;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the word "ecmascript" appears in the box below.</p>
|
||||
<script language="ecmascript" type="text/ecmascript"></script>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/css-tests/css21_dev/xhtml1print/content-091.xht
Normal file
29
tests/wpt/css-tests/css21_dev/xhtml1print/content-091.xht
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'link'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-091"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'link'." />
|
||||
<style type="text/css">
|
||||
body:before
|
||||
{
|
||||
content: attr(link);
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body link="green">
|
||||
<p>Test passes if the word "green" appears above.</p>
|
||||
</body>
|
||||
</html>
|
38
tests/wpt/css-tests/css21_dev/xhtml1print/content-149.xht
Normal file
38
tests/wpt/css-tests/css21_dev/xhtml1print/content-149.xht
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'valign'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-149"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'valign'." />
|
||||
<style type="text/css">
|
||||
td:before
|
||||
{
|
||||
content: attr(valign);
|
||||
color: green;
|
||||
}
|
||||
td
|
||||
{
|
||||
border: 2px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if only the word "baseline" appears in the box below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="baseline"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
29
tests/wpt/css-tests/css21_dev/xhtml1print/content-153.xht
Normal file
29
tests/wpt/css-tests/css21_dev/xhtml1print/content-153.xht
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Content with a 'attr()' function as a value selecting 'vlink'</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test content-153"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<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" />
|
||||
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'vlink'." />
|
||||
<style type="text/css">
|
||||
body:before
|
||||
{
|
||||
content: attr(vlink);
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body vlink="green">
|
||||
<p>Test passes if the word "green" appears above.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,48 @@
|
|||
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Test: Margin collapsing with the 'body' element</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
||||
@top-right { content: "Test margin-collapse-021"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-15 -->
|
||||
<!--
|
||||
http://lists.w3.org/Archives/Public/public-css-testsuite/2016Apr/0000.html
|
||||
-->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins" />
|
||||
<link rel="match" href="reference/margin-collapse-020-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="The 'body' element's margins collapse." />
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
background: url('support/margin-collapse-020.png') no-repeat;
|
||||
font: 20px/1em Ahem;
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
div
|
||||
{
|
||||
background: green;
|
||||
margin-top: 2em;
|
||||
height: 1em;
|
||||
width: 5em;
|
||||
}
|
||||
p
|
||||
{
|
||||
font: 12pt serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
<p>Test passes if there is <strong>no red</strong>.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!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 href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger" />
|
||||
<style type="text/css">
|
||||
#test {
|
||||
position: absolute;
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) at the bottom right of the page.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -0,0 +1,13 @@
|
|||
<!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 href="mailto:Ms2ger@gmail.com" rel="author" title="Ms2ger" />
|
||||
<style type="text/css">
|
||||
#test {
|
||||
background: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>Test passes if there is a square (four equal sides) below.</p>
|
||||
<div id="test"></div>
|
||||
</body></html>
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<meta content="" name="flags" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -5600,6 +5600,14 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="background-body-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="Background on body element">
|
||||
<a href="background-body-001.xht">background-body-001</a></td>
|
||||
<td><a href="reference/background-body-001-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="background-color-001" class="invalid">
|
||||
<tr>
|
||||
<td rowspan="1" title="Background-color set to hex with 5 digits which is invalid">
|
||||
|
@ -8480,6 +8488,30 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-002" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:fixed'">
|
||||
<a href="before-after-positioned-002.xht">before-after-positioned-002</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-003" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:absolute'">
|
||||
<a href="before-after-positioned-003.xht">before-after-positioned-003</a></td>
|
||||
<td><a href="reference/before-after-positioned-002-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-positioned-004" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title=":before/:after pseudo-elements - 'position:relative'">
|
||||
<a href="before-after-positioned-004.xht">before-after-positioned-004</a></td>
|
||||
<td><a href="reference/before-after-positioned-004-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="before-after-selector-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="After and before pseudo-elements">
|
||||
|
@ -37700,6 +37732,14 @@
|
|||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="margin-collapse-021" class="ahem image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Margin collapsing with the 'body' element">
|
||||
<a href="margin-collapse-021.xht">margin-collapse-021</a></td>
|
||||
<td><a href="reference/margin-collapse-020-ref.xht">=</a> </td>
|
||||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="image" title="Requires bitmap graphic support">Bitmaps</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="margin-collapse-022" class="ahem image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Margin collapsing - adjoining block boxes">
|
||||
|
|
|
@ -1063,6 +1063,9 @@ before-after-dynamic-restyle-001.xht == reference/before-after-dynamic-restyle-0
|
|||
before-after-floated-001.xht == reference/before-after-floated-001-ref.xht
|
||||
before-after-images-001.xht == reference/before-after-images-001-ref.xht
|
||||
before-after-positioned-001.xht == reference/before-after-positioned-001-ref.xht
|
||||
before-after-positioned-002.xht == reference/before-after-positioned-002-ref.xht
|
||||
before-after-positioned-003.xht == reference/before-after-positioned-002-ref.xht
|
||||
before-after-positioned-004.xht == reference/before-after-positioned-004-ref.xht
|
||||
before-after-selector-001.xht == reference/before-after-selector-001-ref.xht
|
||||
before-after-table-parts-001.xht == reference/before-after-table-parts-001-ref.xht
|
||||
before-after-table-whitespace-001.xht == reference/before-after-table-whitespace-001-ref.xht
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<tbody id="s12">
|
||||
<tr><th><a href="chapter-12.xht">Chapter 12 -
|
||||
Generated content, automatic numbering, and lists</a></th>
|
||||
<td>(637 Tests)</td></tr>
|
||||
<td>(640 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s13">
|
||||
<tr><th><a href="chapter-13.xht">Chapter 13 -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue