Adding test for display:block generated content.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2004 21:37:54 +0000 (21:37 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2004 21:37:54 +0000 (21:37 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/css-generated-content/011-expected.txt [new file with mode: 0644]
LayoutTests/fast/css-generated-content/011.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/css-generated-content/011-expected.txt b/LayoutTests/fast/css-generated-content/011-expected.txt
new file mode 100644 (file)
index 0000000..1e3fdff
--- /dev/null
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x89
+  RenderBlock {HTML} at (0,0) size 800x89
+    RenderBody {BODY} at (8,8) size 784x62
+      RenderBlock {H2} at (0,0) size 784x62
+        RenderBlock (generated) at (0,0) size 784x15 [color=#D0D3DA]
+          RenderText at (381,0) size 21x15
+            text run at (381,0) width 21: "\x{2022} \x{2022} \x{2022}"
+        RenderBlock (anonymous) at (0,34) size 784x28
+          RenderText {TEXT} at (0,0) size 127x28
+            text run at (0,0) width 127: "This is a test"
diff --git a/LayoutTests/fast/css-generated-content/011.html b/LayoutTests/fast/css-generated-content/011.html
new file mode 100644 (file)
index 0000000..6eda5a8
--- /dev/null
@@ -0,0 +1,16 @@
+<head>
+<style>
+h2:before {
+        content: "\2022  \2022  \2022";
+        text-align: center;
+        font-weight: bold;
+        display: block;
+        margin-bottom: 1.5em;
+        color: #d0d3da;
+        font-size: small;
+        text-shadow: none;
+        }
+</style>
+</head>
+<body>
+<h2>This is a test</h2>