summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht b/testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht
new file mode 100644
index 0000000000..f393f4b82f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css1/c43-center-000.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Replaced Elements</title>
+ <meta name="flags" content="ahem image" />
+ <link rel="help" href="http://www.w3.org/TR/REC-CSS1#replaced-elements"/>
+ <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+ <style type="text/css"><![CDATA[
+ div { margin: 0; background: url(support/swatch-red.png) center repeat-y; font-size: 10px; }
+ .a img { display: block; margin-right: auto; margin-left: auto; width: auto; }
+ .b { text-align: center; }
+ .b img { vertical-align: top; height: 20px; width: 20px; }
+ .c { text-align: center; font: 20px/1 Ahem; color: blue; }
+ ]]></style>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#block-replaced-width" title="10.3.4 Block-level, replaced elements in normal flow"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" title="10.8 Line height calculations: the 'line-height' and 'vertical-align' properties"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'"/>
+ </head>
+ <body>
+ <p>There should be a single small column of blue below with no red:</p>
+ <div class="a"><img src="support/blue20x20.png" alt="FAIL: Replaced content did not get replaced."/></div>
+ <div class="b"><img src="support/swatch-blue.png" alt="FAIL: Replaced content did not get replaced."/></div>
+ <div class="c">X</div>
+ </body>
+</html>