[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:12:17 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit f5b911caf0de417008bd70385e01d7b1e769f13d
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 16 20:53:19 2003 +0000

    Adding basic block tests for hr and h1
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/block/basic/018-expected.txt b/LayoutTests/fast/block/basic/018-expected.txt
new file mode 100644
index 0000000..a207b21
--- /dev/null
+++ b/LayoutTests/fast/block/basic/018-expected.txt
@@ -0,0 +1,29 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x258
+  RenderBlock {HTML} at (0,0) size 800x258
+    RenderBody {BODY} at (8,16) size 784x226
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {TEXT} at (0,0) size 281x18
+          text run at (0,0) width 281: "This <hr width=\"25%\"> should be centered:"
+      RenderBlock {HR} at (293,34) size 198x2
+      RenderBlock {P} at (0,52) size 784x18
+        RenderText {TEXT} at (0,0) size 199x18
+          text run at (0,0) width 199: "This one should be left-aligned."
+      RenderBlock {HR} at (0,86) size 198x2
+      RenderBlock {P} at (0,104) size 784x18
+        RenderText {TEXT} at (0,0) size 208x18
+          text run at (0,0) width 208: "This one should be right-aligned."
+      RenderBlock {HR} at (586,138) size 198x2
+      RenderBlock {P} at (0,156) size 784x18
+        RenderText {TEXT} at (0,0) size 181x18
+          text run at (0,0) width 181: "This one should be centered."
+      RenderBlock {HR} at (293,190) size 198x2
+      RenderBlock {P} at (0,208) size 784x18
+        RenderText {TEXT} at (0,0) size 54x18
+          text run at (0,0) width 54: "(W3C: \x{201C}"
+        RenderInline {A} at (0,0) size 196x18 [color=#0000EE]
+          RenderText {TEXT} at (54,0) size 196x18
+            text run at (54,0) width 196: "By default, the rule is centered."
+        RenderText {TEXT} at (250,0) size 12x18
+          text run at (250,0) width 12: "\x{201D})"
diff --git a/LayoutTests/fast/block/basic/018.html b/LayoutTests/fast/block/basic/018.html
new file mode 100644
index 0000000..5bb27b1
--- /dev/null
+++ b/LayoutTests/fast/block/basic/018.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en-au">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title></title>
+</head>
+
+<body>
+
+<p>This &lt;hr width="25%"&gt; should be centered:</p>
+
+<hr width="25%">
+
+<p>This one should be left-aligned.</p>
+
+<hr width="25%" align=left>
+
+<p>This one should be right-aligned.</p>
+
+<hr width="25%" align=right>
+
+<p>This one should be centered.</p>
+
+<hr width="25%" align=center>
+
+<p>(W3C: &#8220;<a href="http://www.w3.org/TR/REC-html32#hr">By
+default, the rule is centered.</a>&#8221;)</p>
+
+</body>
+
+</html>
diff --git a/LayoutTests/fast/block/basic/019-expected.txt b/LayoutTests/fast/block/basic/019-expected.txt
new file mode 100644
index 0000000..6892c65
--- /dev/null
+++ b/LayoutTests/fast/block/basic/019-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x285
+  RenderBlock {HTML} at (0,0) size 800x285
+    RenderBody {BODY} at (8,16) size 784x253
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {TEXT} at (0,0) size 245x18
+          text run at (0,0) width 245: "These <h1>s should all be left-aligned:"
+      RenderBlock {H1} at (0,39) size 784x43
+        RenderText {TEXT} at (3,3) size 96x37
+          text run at (3,3) width 96: "sample"
+      RenderBlock {H1} at (0,103) size 326x43
+        RenderText {TEXT} at (3,3) size 96x37
+          text run at (3,3) width 96: "sample"
+      RenderBlock {P} at (0,167) size 784x18
+        RenderText {TEXT} at (0,0) size 278x18
+          text run at (0,0) width 278: "These <p>s should be (and are) left-aligned:"
+      RenderBlock {P} at (0,201) size 784x18
+        RenderText {TEXT} at (0,0) size 44x18
+          text run at (0,0) width 44: "sample"
+      RenderBlock {P} at (0,235) size 160x18
+        RenderText {TEXT} at (0,0) size 44x18
+          text run at (0,0) width 44: "sample"
diff --git a/LayoutTests/fast/block/basic/019.html b/LayoutTests/fast/block/basic/019.html
new file mode 100644
index 0000000..63da369
--- /dev/null
+++ b/LayoutTests/fast/block/basic/019.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en-au">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title></title>
+<style>
+h1 { border: 3px solid red; }
+</style>
+</head>
+
+<body>
+
+<p>These &lt;h1&gt;s should all be left-aligned:</p>
+
+<h1 style="width: auto;">sample</h1>
+<h1 style="width: 10em;">sample</h1>
+
+<p>These &lt;p&gt;s should be (and are) left-aligned:</p>
+
+<p style="width: auto;">sample</p>
+<p style="width: 10em;">sample</p>
+
+</body>
+
+</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list