[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:10:57 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 23602b7ee0acff708dc105e8221a5684069e0ef6
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 11 01:03:15 2003 +0000

    	Fix for 3478435, <hr> tags should be centered by default.  Ditched the 1px margin as well.
    
    	Fix for 3479441, <h1>-<h6> tags should *not* be centered by default.  They should also use bold instead of
    	bolder.
    
            Reviewed by darin
    
            * khtml/css/html4.css:
            * khtml/html/html_blockimpl.cpp:
            (HTMLHRElementImpl::parseAttribute):
            * layout-tests/apple-only/base/bugzilla.mozilla.org/index-expected.txt:
            * layout-tests/apple-only/base/home.netscape.com/index-expected.txt:
            * layout-tests/apple-only/base/www.altavista.com/index-expected.txt:
            * layout-tests/apple-only/base/www.cnn.com/index-expected.txt:
            * layout-tests/apple-only/base/www.digitalcity.com/index-expected.txt:
            * layout-tests/apple-only/base/www.ebay.com/index-expected.txt:
            * layout-tests/apple-only/base/www.excite.com/index-expected.txt:
            * layout-tests/apple-only/base/www.mapquest.com/index-expected.txt:
            * layout-tests/apple-only/base/www.microsoft.com/index-expected.txt:
            * layout-tests/apple-only/base/www.msnbc.com/index-expected.txt:
            * layout-tests/apple-only/base/www.nytimes.com/index-expected.txt:
            * layout-tests/apple-only/base/www.nytimes.com_Table/index-expected.txt:
            * layout-tests/apple-only/base/www.quicken.com/index-expected.txt:
            * layout-tests/apple-only/base/www.w3.org_DOML2Core/index-expected.txt:
            * layout-tests/css1/basic/class_as_selector-expected.txt:
            * layout-tests/css1/basic/comments-expected.txt:
            * layout-tests/css1/basic/containment-expected.txt:
            * layout-tests/css1/basic/contextual_selectors-expected.txt:
            * layout-tests/css1/basic/grouping-expected.txt:
            * layout-tests/css1/basic/id_as_selector-expected.txt:
            * layout-tests/css1/basic/inheritance-expected.txt:
            * layout-tests/css1/box_properties/border-expected.txt:
            * layout-tests/css1/box_properties/border_bottom-expected.txt:
            * layout-tests/css1/box_properties/border_bottom_inline-expected.txt:
            * layout-tests/css1/box_properties/border_bottom_width-expected.txt:
            * layout-tests/css1/box_properties/border_bottom_width_inline-expected.txt:
            * layout-tests/css1/box_properties/border_color-expected.txt:
            * layout-tests/css1/box_properties/border_color_inline-expected.txt:
            * layout-tests/css1/box_properties/border_inline-expected.txt:
            * layout-tests/css1/box_properties/border_left-expected.txt:
            * layout-tests/css1/box_properties/border_left_inline-expected.txt:
            * layout-tests/css1/box_properties/border_left_width-expected.txt:
            * layout-tests/css1/box_properties/border_left_width_inline-expected.txt:
            * layout-tests/css1/box_properties/border_right-expected.txt:
            * layout-tests/css1/box_properties/border_right_inline-expected.txt:
            * layout-tests/css1/box_properties/border_right_width-expected.txt:
            * layout-tests/css1/box_properties/border_right_width_inline-expected.txt:
            * layout-tests/css1/box_properties/border_style-expected.txt:
            * layout-tests/css1/box_properties/border_style_inline-expected.txt:
            * layout-tests/css1/box_properties/border_top-expected.txt:
            * layout-tests/css1/box_properties/border_top_inline-expected.txt:
            * layout-tests/css1/box_properties/border_top_width-expected.txt:
            * layout-tests/css1/box_properties/border_top_width_inline-expected.txt:
            * layout-tests/css1/box_properties/border_width-expected.txt:
            * layout-tests/css1/box_properties/border_width_inline-expected.txt:
            * layout-tests/css1/box_properties/clear-expected.txt:
            * layout-tests/css1/box_properties/clear_float-expected.txt:
            * layout-tests/css1/box_properties/float-expected.txt:
            * layout-tests/css1/box_properties/float_elements_in_series-expected.txt:
            * layout-tests/css1/box_properties/float_margin-expected.txt:
            * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
            * layout-tests/css1/box_properties/height-expected.txt:
            * layout-tests/css1/box_properties/margin-expected.txt:
            * layout-tests/css1/box_properties/margin_bottom-expected.txt:
            * layout-tests/css1/box_properties/margin_bottom_inline-expected.txt:
            * layout-tests/css1/box_properties/margin_inline-expected.txt:
            * layout-tests/css1/box_properties/margin_left-expected.txt:
            * layout-tests/css1/box_properties/margin_left_inline-expected.txt:
            * layout-tests/css1/box_properties/margin_right-expected.txt:
            * layout-tests/css1/box_properties/margin_right_inline-expected.txt:
            * layout-tests/css1/box_properties/margin_top-expected.txt:
            * layout-tests/css1/box_properties/margin_top_inline-expected.txt:
            * layout-tests/css1/box_properties/padding-expected.txt:
            * layout-tests/css1/box_properties/padding_bottom-expected.txt:
            * layout-tests/css1/box_properties/padding_bottom_inline-expected.txt:
            * layout-tests/css1/box_properties/padding_inline-expected.txt:
            * layout-tests/css1/box_properties/padding_left-expected.txt:
            * layout-tests/css1/box_properties/padding_left_inline-expected.txt:
            * layout-tests/css1/box_properties/padding_right-expected.txt:
            * layout-tests/css1/box_properties/padding_right_inline-expected.txt:
            * layout-tests/css1/box_properties/padding_top-expected.txt:
            * layout-tests/css1/box_properties/padding_top_inline-expected.txt:
            * layout-tests/css1/box_properties/width-expected.txt:
            * layout-tests/css1/cascade/cascade_order-expected.txt:
            * layout-tests/css1/cascade/important-expected.txt:
            * layout-tests/css1/classification/display-expected.txt:
            * layout-tests/css1/classification/list_style-expected.txt:
            * layout-tests/css1/classification/list_style_image-expected.txt:
            * layout-tests/css1/classification/list_style_position-expected.txt:
            * layout-tests/css1/classification/list_style_type-expected.txt:
            * layout-tests/css1/classification/white_space-expected.txt:
            * layout-tests/css1/color_and_background/background-expected.txt:
            * layout-tests/css1/color_and_background/background_attachment-expected.txt:
            * layout-tests/css1/color_and_background/background_color-expected.txt:
            * layout-tests/css1/color_and_background/background_image-expected.txt:
            * layout-tests/css1/color_and_background/background_position-expected.txt:
            * layout-tests/css1/color_and_background/background_repeat-expected.txt:
            * layout-tests/css1/color_and_background/color-expected.txt:
            * layout-tests/css1/conformance/forward_compatible_parsing-expected.txt:
            * layout-tests/css1/font_properties/font-expected.txt:
            * layout-tests/css1/font_properties/font_family-expected.txt:
            * layout-tests/css1/font_properties/font_size-expected.txt:
            * layout-tests/css1/font_properties/font_style-expected.txt:
            * layout-tests/css1/font_properties/font_variant-expected.txt:
            * layout-tests/css1/font_properties/font_weight-expected.txt:
            * layout-tests/css1/formatting_model/canvas-expected.txt:
            * layout-tests/css1/formatting_model/floating_elements-expected.txt:
            * layout-tests/css1/formatting_model/height_of_lines-expected.txt:
            * layout-tests/css1/formatting_model/inline_elements-expected.txt:
            * layout-tests/css1/formatting_model/replaced_elements-expected.txt:
            * layout-tests/css1/formatting_model/vertical_formatting-expected.txt:
            * layout-tests/css1/pseudo/anchor-expected.txt:
            * layout-tests/css1/pseudo/firstletter-expected.txt:
            * layout-tests/css1/pseudo/firstline-expected.txt:
            * layout-tests/css1/pseudo/multiple_pseudo_elements-expected.txt:
            * layout-tests/css1/pseudo/pseudo_elements_in_selectors-expected.txt:
            * layout-tests/css1/text_properties/letter_spacing-expected.txt:
            * layout-tests/css1/text_properties/line_height-expected.txt:
            * layout-tests/css1/text_properties/text-transform-expected.txt:
            * layout-tests/css1/text_properties/text_align-expected.txt:
            * layout-tests/css1/text_properties/text_decoration-expected.txt:
            * layout-tests/css1/text_properties/text_indent-expected.txt:
            * layout-tests/css1/text_properties/text_transform-expected.txt:
            * layout-tests/css1/text_properties/vertical_align-expected.txt:
            * layout-tests/css1/text_properties/word_spacing-expected.txt:
            * layout-tests/css1/units/color_units-expected.txt:
            * layout-tests/css1/units/length_units-expected.txt:
            * layout-tests/css1/units/percentage_units-expected.txt:
            * layout-tests/css1/units/urls-expected.txt:
            * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
            * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5450 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/css1/basic/class_as_selector-expected.txt b/LayoutTests/css1/basic/class_as_selector-expected.txt
index 4050565..aeaa797 100644
--- a/LayoutTests/css1/basic/class_as_selector-expected.txt
+++ b/LayoutTests/css1/basic/class_as_selector-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x579
           text run at (0,15) width 128: ".1 {color: red;}"
           text run at (0,30) width 152: ".a1 {color: green;}"
           text run at (0,45) width 176: "P.two {color: purple;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 194x18
           text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/css1/basic/comments-expected.txt b/LayoutTests/css1/basic/comments-expected.txt
index 6781838..c97de38 100644
--- a/LayoutTests/css1/basic/comments-expected.txt
+++ b/LayoutTests/css1/basic/comments-expected.txt
@@ -22,7 +22,7 @@ layer at (0,0) size 800x870
           text run at (0,165) width 176: ".seven {color: green;}"
           text run at (0,180) width 128: "/* a comment **/"
           text run at (0,195) width 176: ".eight {color: green;}"
-      RenderBlock {HR} at (1,272) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,272) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,290) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 194x18
           text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/css1/basic/containment-expected.txt b/LayoutTests/css1/basic/containment-expected.txt
index 9910a84..afc288c 100644
--- a/LayoutTests/css1/basic/containment-expected.txt
+++ b/LayoutTests/css1/basic/containment-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x943
           text run at (0,105) width 32: "<!--"
           text run at (0,120) width 168: "P.six {color: green;}"
           text run at (0,135) width 24: "-->"
-      RenderBlock {HR} at (1,197) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,197) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,215) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 404x18
           text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
diff --git a/LayoutTests/css1/basic/contextual_selectors-expected.txt b/LayoutTests/css1/basic/contextual_selectors-expected.txt
index 78bd391..56dae64 100644
--- a/LayoutTests/css1/basic/contextual_selectors-expected.txt
+++ b/LayoutTests/css1/basic/contextual_selectors-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x417
           text run at (0,0) width 288: "P {color: navy; font-family: serif;}"
           text run at (0,15) width 472: "HTML BODY TABLE P {color: purple; font-family: sans-serif;}"
           text run at (0,30) width 224: "EM, UL LI LI {color: green;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [color=#000080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 625x18
           text run at (0,0) width 625: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
diff --git a/LayoutTests/css1/basic/grouping-expected.txt b/LayoutTests/css1/basic/grouping-expected.txt
index 905341a..dc3f89e 100644
--- a/LayoutTests/css1/basic/grouping-expected.txt
+++ b/LayoutTests/css1/basic/grouping-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 800x335
       RenderBlock {PRE} at (0,34) size 784x30 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 272x15
           text run at (0,0) width 272: ".one, .two, .three {color: green;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 194x18
           text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/css1/basic/id_as_selector-expected.txt b/LayoutTests/css1/basic/id_as_selector-expected.txt
index 3d02c56..f3a9b8b 100644
--- a/LayoutTests/css1/basic/id_as_selector-expected.txt
+++ b/LayoutTests/css1/basic/id_as_selector-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x627
           text run at (0,75) width 152: "#a2 {color: green;}"
           text run at (0,90) width 240: "P#five, P#five2 {color: blue;}"
           text run at (0,105) width 240: "P#six, P#six2 {color: purple;}"
-      RenderBlock {HR} at (1,167) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,185) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 194x18
           text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/css1/basic/inheritance-expected.txt b/LayoutTests/css1/basic/inheritance-expected.txt
index 0d04f2b..e39a818 100644
--- a/LayoutTests/css1/basic/inheritance-expected.txt
+++ b/LayoutTests/css1/basic/inheritance-expected.txt
@@ -15,7 +15,7 @@ layer at (0,0) size 800x724
           text run at (0,60) width 272: ".two {text-decoration: underline;}"
           text run at (0,75) width 152: "#two {color: navy;}"
           text run at (0,90) width 184: ".three {color: purple;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {H3} at (0,172) size 784x22 [color=#0000FF] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 220x22
           text run at (0,0) width 220: "This sentence should show "
diff --git a/LayoutTests/css1/box_properties/border-expected.txt b/LayoutTests/css1/box_properties/border-expected.txt
index 0e89ddb..256dc25 100644
--- a/LayoutTests/css1/box_properties/border-expected.txt
+++ b/LayoutTests/css1/box_properties/border-expected.txt
@@ -22,7 +22,7 @@ layer at (0,0) size 800x1378
           text run at (136,105) width 32: "px;}"
           text run at (0,120) width 104: "TD {border: 2"
           text run at (104,120) width 128: "px solid green;}"
-      RenderBlock {HR} at (1,182) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,200) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 780x36
           text run at (0,0) width 627: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
diff --git a/LayoutTests/css1/box_properties/border_bottom-expected.txt b/LayoutTests/css1/box_properties/border_bottom-expected.txt
index f9fac0c..f0a54d7 100644
--- a/LayoutTests/css1/box_properties/border_bottom-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x995
           text run at (0,30) width 344: ".three {border-bottom: black medium solid;}"
           text run at (0,45) width 208: "TD {border-bottom: green 2"
           text run at (208,45) width 80: "px solid;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 779x36
           text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
diff --git a/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt b/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
index 59eba8a..99c7a66 100644
--- a/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x286
           text run at (0,0) width 296: ".one {border-bottom: purple double 10"
           text run at (296,0) width 32: "px;}"
           text run at (0,15) width 320: ".two {border-bottom: purple thin solid;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 666x18
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
diff --git a/LayoutTests/css1/box_properties/border_bottom_width-expected.txt b/LayoutTests/css1/box_properties/border_bottom_width-expected.txt
index a6c735f..91e44b6 100644
--- a/LayoutTests/css1/box_properties/border_bottom_width-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom_width-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x877
           text run at (0,60) width 440: ".four {border-bottom-width: thin; border-style: solid;}"
           text run at (0,75) width 240: ".five {border-bottom-width: 25"
           text run at (240,75) width 32: "px;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 157x18
           text run at (0,0) width 157: "(These will only work if "
diff --git a/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt
index d588966..93a3a97 100644
--- a/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x378
           text run at (0,15) width 432: ".two {border-bottom-width: thin; border-style: solid;}"
           text run at (0,30) width 248: ".three {border-bottom-width: 25"
           text run at (248,30) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x100 [bgcolor=#000000]
         RenderText {TEXT} at (3,3) size 172x18
           text run at (3,3) width 172: "This element has a class of "
diff --git a/LayoutTests/css1/box_properties/border_color-expected.txt b/LayoutTests/css1/box_properties/border_color-expected.txt
index d26ebe1..d2204c1 100644
--- a/LayoutTests/css1/box_properties/border_color-expected.txt
+++ b/LayoutTests/css1/box_properties/border_color-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x422
           text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
           text run at (0,15) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
           text run at (0,30) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x24 [bgcolor=#000000]
         RenderText {TEXT} at (3,3) size 357x18
           text run at (3,3) width 357: "This element should have a purple border surrounding it."
diff --git a/LayoutTests/css1/box_properties/border_color_inline-expected.txt b/LayoutTests/css1/box_properties/border_color_inline-expected.txt
index 8c496bc..7636255 100644
--- a/LayoutTests/css1/box_properties/border_color_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_color_inline-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x322
           text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
           text run at (0,15) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
           text run at (0,30) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x72 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 677x18
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
diff --git a/LayoutTests/css1/box_properties/border_inline-expected.txt b/LayoutTests/css1/box_properties/border_inline-expected.txt
index 892f39e..57fbe99 100644
--- a/LayoutTests/css1/box_properties/border_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x286
           text run at (128,0) width 128: "px teal outset;}"
           text run at (0,15) width 128: ".two {border: 10"
           text run at (128,15) width 128: "px olive inset;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 677x18
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
diff --git a/LayoutTests/css1/box_properties/border_left-expected.txt b/LayoutTests/css1/box_properties/border_left-expected.txt
index abfbfd8..3a8ddaa 100644
--- a/LayoutTests/css1/box_properties/border_left-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1028
           text run at (0,75) width 328: ".threec {border-left: blue medium solid;}"
           text run at (0,90) width 192: "TD {border-left: green 2"
           text run at (192,90) width 80: "px solid;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (20,170) size 764x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 755x36
           text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
diff --git a/LayoutTests/css1/box_properties/border_left_inline-expected.txt b/LayoutTests/css1/box_properties/border_left_inline-expected.txt
index 1ab2427..be627ed 100644
--- a/LayoutTests/css1/box_properties/border_left_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x301
           text run at (0,15) width 280: ".one {border-left: purple double 10"
           text run at (280,15) width 32: "px;}"
           text run at (0,30) width 304: ".two {border-left: purple thin solid;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (20,125) size 764x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 760x18
           text run at (0,0) width 364: "This paragraph has a background color of silver and a 20-"
diff --git a/LayoutTests/css1/box_properties/border_left_width-expected.txt b/LayoutTests/css1/box_properties/border_left_width-expected.txt
index 59db004..d6c802f 100644
--- a/LayoutTests/css1/box_properties/border_left_width-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left_width-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x805
           text run at (0,60) width 424: ".four {border-left-width: thin; border-style: solid;}"
           text run at (0,75) width 224: ".five {border-left-width: 25"
           text run at (224,75) width 32: "px;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 157x18
           text run at (0,0) width 157: "(These will only work if "
diff --git a/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt
index ce5b65f..162d9db 100644
--- a/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x334
           text run at (0,15) width 416: ".two {border-left-width: thin; border-style: solid;}"
           text run at (0,30) width 232: ".three {border-left-width: 25"
           text run at (232,30) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000]
         RenderText {TEXT} at (25,3) size 172x18
           text run at (25,3) width 172: "This element has a class of "
diff --git a/LayoutTests/css1/box_properties/border_right-expected.txt b/LayoutTests/css1/box_properties/border_right-expected.txt
index f921f81..36604ff 100644
--- a/LayoutTests/css1/box_properties/border_right-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x301
           text run at (0,15) width 288: ".one {border-right: purple double 10"
           text run at (288,15) width 32: "px;}"
           text run at (0,30) width 312: ".two {border-right: purple thin solid;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 764x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 752x36
           text run at (0,0) width 364: "This paragraph has a background color of silver and a 20-"
diff --git a/LayoutTests/css1/box_properties/border_right_inline-expected.txt b/LayoutTests/css1/box_properties/border_right_inline-expected.txt
index 3934299..6479767 100644
--- a/LayoutTests/css1/box_properties/border_right_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right_inline-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1064
           text run at (0,75) width 336: ".threec {border-right: blue medium solid;}"
           text run at (0,90) width 200: "TD {border-right: green 2"
           text run at (200,90) width 80: "px solid;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,170) size 764x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 764x36
           text run at (0,0) width 643: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
diff --git a/LayoutTests/css1/box_properties/border_right_width-expected.txt b/LayoutTests/css1/box_properties/border_right_width-expected.txt
index a1217bf..4bad138 100644
--- a/LayoutTests/css1/box_properties/border_right_width-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right_width-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x823
           text run at (0,60) width 432: ".four {border-right-width: thin; border-style: solid;}"
           text run at (0,75) width 240: ".five {border-right-width: 100"
           text run at (240,75) width 32: "px;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 157x18
           text run at (0,0) width 157: "(These will only work if "
diff --git a/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt
index 341c2ed..dba7153 100644
--- a/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x334
           text run at (0,15) width 424: ".two {border-right-width: thin; border-style: solid;}"
           text run at (0,30) width 240: ".three {border-right-width: 25"
           text run at (240,30) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000]
         RenderText {TEXT} at (3,3) size 172x18
           text run at (3,3) width 172: "This element has a class of "
diff --git a/LayoutTests/css1/box_properties/border_style-expected.txt b/LayoutTests/css1/box_properties/border_style-expected.txt
index 7f68640..ac3c661 100644
--- a/LayoutTests/css1/box_properties/border_style-expected.txt
+++ b/LayoutTests/css1/box_properties/border_style-expected.txt
@@ -20,7 +20,7 @@ layer at (0,0) size 800x1301
           text run at (0,135) width 368: ".ten {border-style: double groove ridge inset;"
           text run at (0,150) width 368: "   border-color: purple; border-width: thick;}"
           text run at (0,165) width 552: ".eleven {border-style: none; border-color: red; border-width: thick;}"
-      RenderBlock {HR} at (1,227) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,245) size 784x28 [bgcolor=#000000]
         RenderText {TEXT} at (5,5) size 472x18
           text run at (5,5) width 472: "This paragraph should have a thick black dotted border all the way around."
diff --git a/LayoutTests/css1/box_properties/border_style_inline-expected.txt b/LayoutTests/css1/box_properties/border_style_inline-expected.txt
index c1c4e54..46a3af9 100644
--- a/LayoutTests/css1/box_properties/border_style_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_style_inline-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x286
           text run at (0,0) width 560: ".one {border-style: dashed; border-color: black; border-width: thick;}"
           text run at (0,15) width 544: ".two {border-style: groove; border-color: red; border-width: thick;}"
           text run at (0,30) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 664x18
           text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
diff --git a/LayoutTests/css1/box_properties/border_top-expected.txt b/LayoutTests/css1/box_properties/border_top-expected.txt
index e2dfb52..93a87b6 100644
--- a/LayoutTests/css1/box_properties/border_top-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x959
           text run at (0,30) width 320: ".three {border-top: black medium solid;}"
           text run at (0,45) width 184: "TD {border-top: green 2"
           text run at (184,45) width 80: "px solid;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 755x36
           text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
diff --git a/LayoutTests/css1/box_properties/border_top_inline-expected.txt b/LayoutTests/css1/box_properties/border_top_inline-expected.txt
index a15b52f..25e53df 100644
--- a/LayoutTests/css1/box_properties/border_top_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top_inline-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x286
           text run at (0,0) width 272: ".one {border-top: purple double 10"
           text run at (272,0) width 32: "px;}"
           text run at (0,15) width 296: ".two {border-top: purple thin solid;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 666x18
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
diff --git a/LayoutTests/css1/box_properties/border_top_width-expected.txt b/LayoutTests/css1/box_properties/border_top_width-expected.txt
index 0ce8427..399ffe3 100644
--- a/LayoutTests/css1/box_properties/border_top_width-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top_width-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x759
           text run at (0,60) width 416: ".four {border-top-width: thin; border-style: solid;}"
           text run at (0,75) width 216: ".five {border-top-width: 25"
           text run at (216,75) width 32: "px;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 157x18
           text run at (0,0) width 157: "(These will only work if "
diff --git a/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt
index 58dba2c..03f8dc5 100644
--- a/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x360
           text run at (0,15) width 408: ".two {border-top-width: thin; border-style: solid;}"
           text run at (0,30) width 224: ".three {border-top-width: 25"
           text run at (224,30) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x82 [bgcolor=#000000]
         RenderText {TEXT} at (3,25) size 172x18
           text run at (3,25) width 172: "This element has a class of "
diff --git a/LayoutTests/css1/box_properties/border_width-expected.txt b/LayoutTests/css1/box_properties/border_width-expected.txt
index e0d1322..fd0d9f2 100644
--- a/LayoutTests/css1/box_properties/border_width-expected.txt
+++ b/LayoutTests/css1/box_properties/border_width-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x903
           text run at (0,60) width 384: ".four {border-width: thin; border-style: solid;}"
           text run at (0,75) width 184: ".five {border-width: 25"
           text run at (184,75) width 32: "px;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 157x18
           text run at (0,0) width 157: "(These will only work if "
diff --git a/LayoutTests/css1/box_properties/border_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_width_inline-expected.txt
index 17cc494..361d9d1 100644
--- a/LayoutTests/css1/box_properties/border_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_width_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x386
           text run at (0,15) width 376: ".two {border-width: thin; border-style: solid;}"
           text run at (0,30) width 192: ".three {border-width: 25"
           text run at (192,30) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x104 [bgcolor=#000000]
         RenderText {TEXT} at (25,25) size 172x18
           text run at (25,25) width 172: "This element has a class of "
diff --git a/LayoutTests/css1/box_properties/clear-expected.txt b/LayoutTests/css1/box_properties/clear-expected.txt
index d3305e2..23a9f43 100644
--- a/LayoutTests/css1/box_properties/clear-expected.txt
+++ b/LayoutTests/css1/box_properties/clear-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x961
           text run at (0,15) width 160: ".two {clear: right;}"
           text run at (0,30) width 168: ".three {clear: both;}"
           text run at (0,45) width 160: ".four {clear: none;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderImage {IMG} at (0,121) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (18,0) size 595x18
diff --git a/LayoutTests/css1/box_properties/clear_float-expected.txt b/LayoutTests/css1/box_properties/clear_float-expected.txt
index edaa064..1b7da5a 100644
--- a/LayoutTests/css1/box_properties/clear_float-expected.txt
+++ b/LayoutTests/css1/box_properties/clear_float-expected.txt
@@ -26,7 +26,7 @@ layer at (0,0) size 800x777
           text run at (440,90) width 152: "em; margin-right: 2"
           text run at (592,90) width 24: "em;"
           text run at (0,105) width 480: "             color: black; background: yellow; clear: none;}"
-      RenderBlock {HR} at (1,179) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,179) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {DIV} at (0,193) size 192x116 [color=#FFFFFF] [bgcolor=#008000]
         RenderBlock {H1} at (8,8) size 176x22 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 85x22
diff --git a/LayoutTests/css1/box_properties/float-expected.txt b/LayoutTests/css1/box_properties/float-expected.txt
index 1440e90..8623284 100644
--- a/LayoutTests/css1/box_properties/float-expected.txt
+++ b/LayoutTests/css1/box_properties/float-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x460
         RenderText {TEXT} at (0,0) size 160x30
           text run at (0,0) width 152: ".one {float: left;}"
           text run at (0,15) width 160: ".two {float: right;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderImage {IMG} at (0,106) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (15,0) size 764x36
@@ -19,7 +19,7 @@ layer at (0,0) size 800x460
           text run at (15,18) width 212: "which has been floated to the left."
       RenderBlock (anonymous) at (0,162) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,192) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,192) size 784x2 [bgcolor=#000000]
       RenderImage {IMG} at (769,206) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,210) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 731x36
@@ -48,7 +48,7 @@ layer at (0,0) size 800x460
                   text run at (15,18) width 254: "image which has been floated to the left."
               RenderBlock (anonymous) at (4,56) size 762x18
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,86) size 760x2
+              RenderBlock {HR} at (4,86) size 762x2
               RenderImage {IMG} at (751,100) size 15x50
               RenderBlock {P} at (4,104) size 762x36
                 RenderText {TEXT} at (0,0) size 731x36
diff --git a/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt b/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt
index bc9eacb..af27cf6 100644
--- a/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt
+++ b/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt
@@ -26,7 +26,7 @@ layer at (0,0) size 800x703
           text run at (0,165) width 136: "TABLE {margin: 20"
           text run at (136,165) width 32: "px 0"
           text run at (168,165) width 32: "px;}"
-      RenderBlock {HR} at (1,239) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,239) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,253) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 784x36
           text run at (0,0) width 784: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
diff --git a/LayoutTests/css1/box_properties/float_margin-expected.txt b/LayoutTests/css1/box_properties/float_margin-expected.txt
index 2cc5d50..923714e 100644
--- a/LayoutTests/css1/box_properties/float_margin-expected.txt
+++ b/LayoutTests/css1/box_properties/float_margin-expected.txt
@@ -27,7 +27,7 @@ layer at (0,0) size 800x1902
           text run at (0,105) width 192: "#img5 {margin-right: -30"
           text run at (192,105) width 176: "px; margin-bottom: -30"
           text run at (368,105) width 32: "px;}"
-      RenderBlock {HR} at (1,182) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (30,204) size 744x92 [bgcolor=#FFFFFF]
         RenderText {TEXT} at (0,0) size 738x92
           text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
diff --git a/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt b/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt
index 3bdc313..f49837e 100644
--- a/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt
+++ b/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x2822
           text run at (0,54) width 740: "border or margins on this and the previous element, so the text of the two elements should be very close to each other."
       RenderBlock (anonymous) at (0,72) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,102) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,102) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {P} at (0,116) size 784x72 [bgcolor=#FFFF00]
         RenderText {TEXT} at (0,0) size 784x72
           text run at (0,0) width 784: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
@@ -29,7 +29,7 @@ layer at (0,0) size 800x2822
         RenderText {TEXT} at (15,73) size 4x18 [bgcolor=#CCCCCC]
           text run at (15,73) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,219) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,219) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {P} at (0,233) size 392x108 [bgcolor=#FFFF00]
         RenderText {TEXT} at (0,0) size 392x108
           text run at (0,0) width 392: "This paragraph is floated to the left and the orange square"
@@ -43,7 +43,7 @@ layer at (0,0) size 800x2822
         RenderText {TEXT} at (407,1) size 4x18 [bgcolor=#CCCCCC]
           text run at (407,1) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,353) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,353) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {P} at (392,367) size 392x108 [bgcolor=#FFFF00]
         RenderText {TEXT} at (0,0) size 392x108
           text run at (0,0) width 392: "This paragraph is floated to the right (using a STYLE"
@@ -57,7 +57,7 @@ layer at (0,0) size 800x2822
         RenderText {TEXT} at (15,1) size 4x18 [bgcolor=#CCCCCC]
           text run at (15,1) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,487) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,487) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,501) size 784x54 [bgcolor=#000000]
         RenderBlock (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
           RenderText {TEXT} at (0,0) size 21x37
@@ -70,7 +70,7 @@ layer at (0,0) size 800x2822
           text run at (48,36) width 656: "vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
       RenderBlock (anonymous) at (0,555) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,585) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,585) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {P} at (438,609) size 336x196 [bgcolor=#FFFF00]
         RenderText {TEXT} at (8,8) size 320x180
           text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -106,7 +106,7 @@ layer at (0,0) size 800x2822
           text run at (0,180) width 123: "the floated element."
       RenderBlock (anonymous) at (0,797) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,827) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,827) size 784x2 [bgcolor=#000000]
       RenderBlock {DIV} at (0,841) size 784x26 [bgcolor=#66CCFF]
         RenderBlock (floating) {DIV} at (440,14) size 330x226 [bgcolor=#FFFF00]
           RenderBlock {P} at (5,5) size 320x216 [bgcolor=#000000]
@@ -133,7 +133,7 @@ layer at (0,0) size 800x2822
             text run at (0,0) width 268: "See description in the box on the right side"
       RenderBlock (anonymous) at (0,867) size 784x224 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,1103) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1103) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {DIV} at (0,1117) size 196x72 [bgcolor=#66CCFF]
         RenderBlock {P} at (0,0) size 196x72 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 196x72
@@ -154,7 +154,7 @@ layer at (0,0) size 800x2822
           text run at (196,18) width 199: "and a yellow box (on the right)."
       RenderBlock (anonymous) at (0,1153) size 784x36 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,1201) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1201) size 784x2 [bgcolor=#000000]
       RenderBlock (floating) {DIV} at (0,1215) size 588x126 [bgcolor=#66CCFF]
         RenderBlock (floating) {DIV} at (431,0) size 147x36 [bgcolor=#FFFF00]
           RenderBlock {P} at (0,0) size 147x36 [bgcolor=#000000]
@@ -181,7 +181,7 @@ layer at (0,0) size 800x2822
             text run at (0,108) width 138: "stripe on its right side."
       RenderBlock (anonymous) at (0,1215) size 784x126 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (1,1353) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1353) size 784x2 [bgcolor=#000000]
       RenderTable {TABLE} at (0,1367) size 784x1439 [bgcolor=#000000]
         RenderTableSection {TBODY} at (1,1) size 0x1437
           RenderTableRow {TR} at (0,0) size 0x0
@@ -209,7 +209,7 @@ layer at (0,0) size 800x2822
                   text run at (0,72) width 36: "other."
               RenderBlock (anonymous) at (4,94) size 762x18
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,124) size 760x2
+              RenderBlock {HR} at (4,124) size 762x2
               RenderBlock (floating) {P} at (4,138) size 762x72 [bgcolor=#FFFF00]
                 RenderText {TEXT} at (0,0) size 762x72
                   text run at (0,0) width 762: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
@@ -221,7 +221,7 @@ layer at (0,0) size 800x2822
                 RenderText {TEXT} at (15,73) size 4x18
                   text run at (15,73) width 4: " "
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,241) size 760x2
+              RenderBlock {HR} at (4,241) size 762x2
               RenderBlock (floating) {P} at (4,255) size 381x108 [bgcolor=#FFFF00]
                 RenderText {TEXT} at (0,0) size 381x108
                   text run at (0,0) width 381: "This paragraph is floated to the left and the orange square"
@@ -235,7 +235,7 @@ layer at (0,0) size 800x2822
                 RenderText {TEXT} at (396,1) size 4x18
                   text run at (396,1) width 4: " "
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,375) size 760x2
+              RenderBlock {HR} at (4,375) size 762x2
               RenderBlock (floating) {P} at (385,389) size 381x108 [bgcolor=#FFFF00]
                 RenderText {TEXT} at (0,0) size 381x108
                   text run at (0,0) width 381: "This paragraph is floated to the right (using a STYLE"
@@ -249,7 +249,7 @@ layer at (0,0) size 800x2822
                 RenderText {TEXT} at (15,1) size 4x18
                   text run at (15,1) width 4: " "
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,509) size 760x2
+              RenderBlock {HR} at (4,509) size 762x2
               RenderBlock {P} at (4,523) size 762x54
                 RenderBlock (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
                   RenderText {TEXT} at (0,0) size 21x37
@@ -262,7 +262,7 @@ layer at (0,0) size 800x2822
                   text run at (48,36) width 675: "be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
               RenderBlock (anonymous) at (4,577) size 762x18
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,607) size 760x2
+              RenderBlock {HR} at (4,607) size 762x2
               RenderBlock (floating) {P} at (420,631) size 336x196 [bgcolor=#FFFF00]
                 RenderText {TEXT} at (8,8) size 320x180
                   text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -299,7 +299,7 @@ layer at (0,0) size 800x2822
                   text run at (0,198) width 53: "element."
               RenderBlock (anonymous) at (4,837) size 762x18
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,867) size 760x2
+              RenderBlock {HR} at (4,867) size 762x2
               RenderBlock {DIV} at (4,881) size 762x26 [bgcolor=#66CCFF]
                 RenderBlock (floating) {DIV} at (418,14) size 330x226 [bgcolor=#FFFF00]
                   RenderBlock {P} at (5,5) size 320x216 [bgcolor=#000000]
@@ -326,7 +326,7 @@ layer at (0,0) size 800x2822
                     text run at (0,0) width 268: "See description in the box on the right side"
               RenderBlock (anonymous) at (4,907) size 762x224
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,1143) size 760x2
+              RenderBlock {HR} at (4,1143) size 762x2
               RenderBlock (floating) {DIV} at (4,1157) size 190x72 [bgcolor=#66CCFF]
                 RenderBlock {P} at (0,0) size 190x72 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 190x72
@@ -348,7 +348,7 @@ layer at (0,0) size 800x2822
                   text run at (219,18) width 199: "and a yellow box (on the right)."
               RenderBlock (anonymous) at (4,1193) size 762x36
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,1241) size 760x2
+              RenderBlock {HR} at (4,1241) size 762x2
               RenderBlock (floating) {DIV} at (4,1255) size 571x126 [bgcolor=#66CCFF]
                 RenderBlock (floating) {DIV} at (419,0) size 142x36 [bgcolor=#FFFF00]
                   RenderBlock {P} at (0,0) size 142x36 [bgcolor=#000000]
@@ -375,4 +375,4 @@ layer at (0,0) size 800x2822
                     text run at (78,108) width 138: "stripe on its right side."
               RenderBlock (anonymous) at (4,1255) size 762x126
                 RenderBR {BR} at (0,0) size 0x0
-              RenderBlock {HR} at (5,1393) size 760x2
+              RenderBlock {HR} at (4,1393) size 762x2
diff --git a/LayoutTests/css1/box_properties/height-expected.txt b/LayoutTests/css1/box_properties/height-expected.txt
index c965a5d..9ef237a 100644
--- a/LayoutTests/css1/box_properties/height-expected.txt
+++ b/LayoutTests/css1/box_properties/height-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x978
           text run at (128,0) width 32: "px;}"
           text run at (0,15) width 136: ".two {height: 100"
           text run at (136,15) width 32: "px;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock (anonymous) at (0,106) size 784x50 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 50x50
         RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
diff --git a/LayoutTests/css1/box_properties/margin-expected.txt b/LayoutTests/css1/box_properties/margin-expected.txt
index 0923999..d7689aa 100644
--- a/LayoutTests/css1/box_properties/margin-expected.txt
+++ b/LayoutTests/css1/box_properties/margin-expected.txt
@@ -20,7 +20,7 @@ layer at (0,0) size 802x2608
           text run at (136,75) width 32: "px;}"
           text run at (0,90) width 136: ".six {margin: -10"
           text run at (136,90) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,170) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 738x36
           text run at (0,0) width 738: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
diff --git a/LayoutTests/css1/box_properties/margin_bottom-expected.txt b/LayoutTests/css1/box_properties/margin_bottom-expected.txt
index d123418..d5f7988 100644
--- a/LayoutTests/css1/box_properties/margin_bottom-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_bottom-expected.txt
@@ -21,7 +21,7 @@ layer at (0,0) size 800x1740
           text run at (0,90) width 192: ".six {margin-bottom: -10"
           text run at (192,90) width 224: "px; background-color: aqua;}"
           text run at (0,105) width 176: "P, UL {margin-top: 0;}"
-      RenderBlock {HR} at (1,182) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,196) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/margin_bottom_inline-expected.txt b/LayoutTests/css1/box_properties/margin_bottom_inline-expected.txt
index b96cb96..f95af06 100644
--- a/LayoutTests/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_bottom_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x411
           text run at (184,0) width 224: "px; background-color: aqua;}"
           text run at (0,15) width 192: ".two {margin-bottom: -10"
           text run at (192,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x54 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 481x18
           text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
diff --git a/LayoutTests/css1/box_properties/margin_inline-expected.txt b/LayoutTests/css1/box_properties/margin_inline-expected.txt
index 9363c5c..ae5d6c1 100644
--- a/LayoutTests/css1/box_properties/margin_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x700
           text run at (128,15) width 224: "px; background-color: aqua;}"
           text run at (0,30) width 136: ".two {margin: -10"
           text run at (136,30) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,106) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/margin_left-expected.txt b/LayoutTests/css1/box_properties/margin_left-expected.txt
index b09f9b4..d160805 100644
--- a/LayoutTests/css1/box_properties/margin_left-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_left-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x987
           text run at (0,60) width 392: ".four {margin-left: 25%; background-color: aqua;}"
           text run at (0,75) width 184: ".five {margin-left: -10"
           text run at (184,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/margin_left_inline-expected.txt b/LayoutTests/css1/box_properties/margin_left_inline-expected.txt
index d219eca..cdff8de 100644
--- a/LayoutTests/css1/box_properties/margin_left_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_left_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x339
           text run at (168,0) width 224: "px; background-color: aqua;}"
           text run at (0,15) width 176: ".two {margin-left: -10"
           text run at (176,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x36 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 543x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/margin_right-expected.txt b/LayoutTests/css1/box_properties/margin_right-expected.txt
index 1cd3eef..1df19d7 100644
--- a/LayoutTests/css1/box_properties/margin_right-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_right-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 802x1005
           text run at (0,60) width 552: ".four {margin-right: 25%; text-align: right; background-color: aqua;}"
           text run at (0,75) width 192: ".five {margin-right: -10"
           text run at (192,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (581,0) size 203x18
           text run at (581,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/margin_right_inline-expected.txt b/LayoutTests/css1/box_properties/margin_right_inline-expected.txt
index 64e465f..5e48f79 100644
--- a/LayoutTests/css1/box_properties/margin_right_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_right_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x339
           text run at (176,0) width 376: "px; text-align: right; background-color: aqua;}"
           text run at (0,15) width 184: ".two {margin-right: -10"
           text run at (184,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x36 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 543x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/margin_top-expected.txt b/LayoutTests/css1/box_properties/margin_top-expected.txt
index 6c5b507..2f25c05 100644
--- a/LayoutTests/css1/box_properties/margin_top-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_top-expected.txt
@@ -21,7 +21,7 @@ layer at (0,0) size 800x1650
           text run at (0,90) width 168: ".six {margin-top: -10"
           text run at (168,90) width 224: "px; background-color: aqua;}"
           text run at (0,105) width 200: "P, UL {margin-bottom: 0;}"
-      RenderBlock {HR} at (1,164) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,164) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,178) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/margin_top_inline-expected.txt b/LayoutTests/css1/box_properties/margin_top_inline-expected.txt
index 96c5a1b..30b1892 100644
--- a/LayoutTests/css1/box_properties/margin_top_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/margin_top_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x441
           text run at (160,15) width 224: "px; background-color: aqua;}"
           text run at (0,30) width 168: ".two {margin-top: -10"
           text run at (168,30) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x54 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 477x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/padding-expected.txt b/LayoutTests/css1/box_properties/padding-expected.txt
index e382df1..1cb62b3 100644
--- a/LayoutTests/css1/box_properties/padding-expected.txt
+++ b/LayoutTests/css1/box_properties/padding-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x2235
           text run at (0,60) width 360: ".four {padding: 25%; background-color: aqua;}"
           text run at (0,75) width 152: ".five {padding: -20"
           text run at (152,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_bottom-expected.txt b/LayoutTests/css1/box_properties/padding_bottom-expected.txt
index e3f83ff..f069582 100644
--- a/LayoutTests/css1/box_properties/padding_bottom-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_bottom-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1539
           text run at (0,60) width 416: ".four {padding-bottom: 25%; background-color: aqua;}"
           text run at (0,75) width 208: ".five {padding-bottom: -20"
           text run at (208,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_bottom_inline-expected.txt b/LayoutTests/css1/box_properties/padding_bottom_inline-expected.txt
index ede0ad6..4f09867 100644
--- a/LayoutTests/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_bottom_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x462
           text run at (192,0) width 224: "px; background-color: aqua;}"
           text run at (0,15) width 200: ".two {padding-bottom: -10"
           text run at (200,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x72 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 477x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/padding_inline-expected.txt b/LayoutTests/css1/box_properties/padding_inline-expected.txt
index b165b1b..430a5ae 100644
--- a/LayoutTests/css1/box_properties/padding_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_inline-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x753
           text run at (136,15) width 224: "px; background-color: aqua;}"
           text run at (0,30) width 144: ".two {padding: -10"
           text run at (144,30) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_left-expected.txt b/LayoutTests/css1/box_properties/padding_left-expected.txt
index 4c90637..2e8a9ba 100644
--- a/LayoutTests/css1/box_properties/padding_left-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_left-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x991
           text run at (0,60) width 400: ".four {padding-left: 25%; background-color: aqua;}"
           text run at (0,75) width 192: ".five {padding-left: -20"
           text run at (192,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_left_inline-expected.txt b/LayoutTests/css1/box_properties/padding_left_inline-expected.txt
index 052ae73..3672345 100644
--- a/LayoutTests/css1/box_properties/padding_left_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_left_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x408
           text run at (176,0) width 224: "px; background-color: aqua;}"
           text run at (0,15) width 184: ".two {padding-left: -10"
           text run at (184,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x54 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 543x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/padding_right-expected.txt b/LayoutTests/css1/box_properties/padding_right-expected.txt
index 58260e5..9e8d28f 100644
--- a/LayoutTests/css1/box_properties/padding_right-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_right-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1153
           text run at (0,60) width 560: ".four {padding-right: 25%; text-align: right; background-color: aqua;}"
           text run at (0,75) width 200: ".five {padding-right: -20"
           text run at (200,75) width 376: "px; text-align: right; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_right_inline-expected.txt b/LayoutTests/css1/box_properties/padding_right_inline-expected.txt
index a1aa2ff..4aadfae 100644
--- a/LayoutTests/css1/box_properties/padding_right_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_right_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x408
           text run at (184,0) width 376: "px; text-align: right; background-color: aqua;}"
           text run at (0,15) width 192: ".two {padding-right: -10"
           text run at (192,15) width 376: "px; text-align: right; background-color: aqua;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x36 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 543x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/padding_top-expected.txt b/LayoutTests/css1/box_properties/padding_top-expected.txt
index 05d8e37..b79a3f4 100644
--- a/LayoutTests/css1/box_properties/padding_top-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_top-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1471
           text run at (0,60) width 392: ".four {padding-top: 25%; background-color: aqua;}"
           text run at (0,75) width 184: ".five {padding-top: -20"
           text run at (184,75) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This element has a class of zero."
diff --git a/LayoutTests/css1/box_properties/padding_top_inline-expected.txt b/LayoutTests/css1/box_properties/padding_top_inline-expected.txt
index 40afcbd..723e0f0 100644
--- a/LayoutTests/css1/box_properties/padding_top_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/padding_top_inline-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x462
           text run at (168,0) width 224: "px; background-color: aqua;}"
           text run at (0,15) width 176: ".two {padding-top: -10"
           text run at (176,15) width 224: "px; background-color: aqua;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x72 [bgcolor=#808080]
         RenderText {TEXT} at (0,0) size 477x18
           text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
diff --git a/LayoutTests/css1/box_properties/width-expected.txt b/LayoutTests/css1/box_properties/width-expected.txt
index 869bf63..74d83da 100644
--- a/LayoutTests/css1/box_properties/width-expected.txt
+++ b/LayoutTests/css1/box_properties/width-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x1357
           text run at (120,0) width 32: "px;}"
           text run at (0,15) width 144: ".two {width: 50%;}"
           text run at (0,30) width 152: "TABLE {width: 50%;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock (anonymous) at (0,106) size 784x50 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 50x50
         RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
diff --git a/LayoutTests/css1/cascade/cascade_order-expected.txt b/LayoutTests/css1/cascade/cascade_order-expected.txt
index 7a9391f..524ad99 100644
--- a/LayoutTests/css1/cascade/cascade_order-expected.txt
+++ b/LayoutTests/css1/cascade/cascade_order-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x790
           text run at (0,105) width 160: ".test {color: blue;}"
           text run at (0,120) width 176: ".test {color: purple;}"
           text run at (0,135) width 296: ".one {text-decoration: line-through;}"
-      RenderBlock {HR} at (1,212) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000]
       RenderBlock {UL} at (0,230) size 784x144 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x18 [color=#0000FF]
           RenderListMarker at (0,0) size 0x14
diff --git a/LayoutTests/css1/cascade/important-expected.txt b/LayoutTests/css1/cascade/important-expected.txt
index c49b259..a60d33f 100644
--- a/LayoutTests/css1/cascade/important-expected.txt
+++ b/LayoutTests/css1/cascade/important-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x473
           text run at (0,0) width 232: "P {color: green ! important;}"
           text run at (0,15) width 120: "P {color: red;}"
           text run at (0,30) width 176: "P#id1 {color: purple;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x36 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 767x36
           text run at (0,0) width 767: "This sentence should be green, because the declaration marked important should override any other normal declaration for"
diff --git a/LayoutTests/css1/classification/display-expected.txt b/LayoutTests/css1/classification/display-expected.txt
index b191bca..97ea3b5 100644
--- a/LayoutTests/css1/classification/display-expected.txt
+++ b/LayoutTests/css1/classification/display-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x816
           text run at (536,30) width 32: "em;}"
           text run at (0,45) width 272: ".four {display: none; color: red;}"
           text run at (0,60) width 152: "I {display: block;}"
-      RenderBlock {HR} at (1,122) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,140) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 293x18
           text run at (0,0) width 293: "This sentence should be a block-level element."
diff --git a/LayoutTests/css1/classification/list_style-expected.txt b/LayoutTests/css1/classification/list_style-expected.txt
index 5a49967..f280a7c 100644
--- a/LayoutTests/css1/classification/list_style-expected.txt
+++ b/LayoutTests/css1/classification/list_style-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x357
         RenderText {TEXT} at (0,0) size 496x30
           text run at (0,0) width 304: ".one {list-style: upper-alpha inside;}"
           text run at (0,15) width 496: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {UL} at (0,95) size 784x36 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x36
           RenderListMarker at (0,0) size 20x14
diff --git a/LayoutTests/css1/classification/list_style_image-expected.txt b/LayoutTests/css1/classification/list_style_image-expected.txt
index d0de741..a40dd48 100644
--- a/LayoutTests/css1/classification/list_style_image-expected.txt
+++ b/LayoutTests/css1/classification/list_style_image-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x448
         RenderText {TEXT} at (0,0) size 440x30
           text run at (0,0) width 440: ".one {list-style-image: url(../resources/oransqr.gif);}"
           text run at (0,15) width 240: ".two {list-style-image: none;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {UL} at (0,110) size 784x57 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x19
           RenderListMarker at (0,0) size 0x15
diff --git a/LayoutTests/css1/classification/list_style_position-expected.txt b/LayoutTests/css1/classification/list_style_position-expected.txt
index 5bed2bd..5ee1c30 100644
--- a/LayoutTests/css1/classification/list_style_position-expected.txt
+++ b/LayoutTests/css1/classification/list_style_position-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x370
         RenderText {TEXT} at (0,0) size 288x30
           text run at (0,0) width 288: ".one {list-style-position: outside;}"
           text run at (0,15) width 280: ".two {list-style-position: inside;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {UL} at (0,110) size 784x36 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x36
           RenderListMarker at (0,0) size 0x14
diff --git a/LayoutTests/css1/classification/list_style_type-expected.txt b/LayoutTests/css1/classification/list_style_type-expected.txt
index 5fb2758..2ac897c 100644
--- a/LayoutTests/css1/classification/list_style_type-expected.txt
+++ b/LayoutTests/css1/classification/list_style_type-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x1527
           text run at (0,90) width 304: ".seven {list-style-type: upper-alpha;}"
           text run at (0,105) width 272: ".eight {list-style-type: decimal;}"
           text run at (0,120) width 240: ".nine {list-style-type: none;}"
-      RenderBlock {HR} at (1,197) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,197) size 784x2 [bgcolor=#000000]
       RenderBlock {UL} at (0,215) size 784x54 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x18
           RenderListMarker at (0,0) size 0x14
diff --git a/LayoutTests/css1/classification/white_space-expected.txt b/LayoutTests/css1/classification/white_space-expected.txt
index cfe4a6b..d0c0765 100644
--- a/LayoutTests/css1/classification/white_space-expected.txt
+++ b/LayoutTests/css1/classification/white_space-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 921x473
           text run at (0,0) width 192: ".one {white-space: pre;}"
           text run at (0,15) width 216: ".two {white-space: nowrap;}"
           text run at (0,30) width 232: ".three {white-space: normal;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x72 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 569x72
           text run at (0,0) width 569: "This sentence should     show extra space  where there    would ordinarily         not be any."
diff --git a/LayoutTests/css1/color_and_background/background-expected.txt b/LayoutTests/css1/color_and_background/background-expected.txt
index e66d5ec..917970d 100644
--- a/LayoutTests/css1/color_and_background/background-expected.txt
+++ b/LayoutTests/css1/color_and_background/background-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x721
           text run at (0,15) width 568: ".one {background: lime url(../resources/oransqr.gif) repeat-y 100% 0%;}"
           text run at (0,30) width 592: ".two {background: lime url(../resources/oransqr.gif) repeat-y center top;}"
           text run at (0,45) width 592: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x54 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 728x18
           text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
diff --git a/LayoutTests/css1/color_and_background/background_attachment-expected.txt b/LayoutTests/css1/color_and_background/background_attachment-expected.txt
index 217b662..63a360f 100644
--- a/LayoutTests/css1/color_and_background/background_attachment-expected.txt
+++ b/LayoutTests/css1/color_and_background/background_attachment-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 880x1201
       RenderBlock {PRE} at (0,34) size 784x30 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 872x15
           text run at (0,0) width 872: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x90 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 781x90
           text run at (0,0) width 763: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
@@ -24,8 +24,8 @@ layer at (0,0) size 880x1201
         RenderText {TEXT} at (0,0) size 508x18
           text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
           text run at (417,0) width 91: "A capital idea."
-      RenderBlock {HR} at (1,235) size 782x2 [bgcolor=#000000]
-      RenderBlock {HR} at (1,249) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,235) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,249) size 784x2 [bgcolor=#000000]
       RenderBlock {H4} at (0,272) size 784x18 [bgcolor=#000000]
         RenderInline {A} at (0,0) size 220x18
           RenderText {TEXT} at (0,0) size 220x18
@@ -113,8 +113,8 @@ layer at (0,0) size 880x1201
                 RenderText {TEXT} at (0,0) size 508x18
                   text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
                   text run at (417,0) width 91: "A capital idea."
-              RenderBlock {HR} at (5,144) size 760x2
-              RenderBlock {HR} at (5,158) size 760x2
+              RenderBlock {HR} at (4,144) size 762x2
+              RenderBlock {HR} at (4,158) size 762x2
               RenderBlock {H4} at (4,181) size 762x18
                 RenderInline {A} at (0,0) size 220x18
                   RenderText {TEXT} at (0,0) size 220x18
diff --git a/LayoutTests/css1/color_and_background/background_color-expected.txt b/LayoutTests/css1/color_and_background/background_color-expected.txt
index 188088d..5a24fa2 100644
--- a/LayoutTests/css1/color_and_background/background_color-expected.txt
+++ b/LayoutTests/css1/color_and_background/background_color-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x505
           text run at (0,0) width 224: "P {background-color: green;}"
           text run at (0,15) width 240: ".one {background-color: lime;}"
           text run at (0,30) width 296: ".two {background-color: transparent;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 277x18
           text run at (0,0) width 277: "This element's background should be green."
diff --git a/LayoutTests/css1/color_and_background/background_image-expected.txt b/LayoutTests/css1/color_and_background/background_image-expected.txt
index 7fa365c..2d9e873 100644
--- a/LayoutTests/css1/color_and_background/background_image-expected.txt
+++ b/LayoutTests/css1/color_and_background/background_image-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x530
         RenderText {TEXT} at (0,0) size 376x30
           text run at (0,0) width 376: "P {background-image: url(../resources/bg.gif);}"
           text run at (0,15) width 240: ".one {background-image: none;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 746x36
           text run at (0,0) width 502: "This sentence should be backed by an image-- a green grid pattern, in this case. "
diff --git a/LayoutTests/css1/color_and_background/background_position-expected.txt b/LayoutTests/css1/color_and_background/background_position-expected.txt
index 8081780..bf75ee1 100644
--- a/LayoutTests/css1/color_and_background/background_position-expected.txt
+++ b/LayoutTests/css1/color_and_background/background_position-expected.txt
@@ -26,7 +26,7 @@ layer at (0,0) size 800x1440
           text run at (600,210) width 40: "px 20"
           text run at (640,210) width 24: "px;"
           text run at (0,225) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
-      RenderBlock {HR} at (1,302) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,302) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,320) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 503x18
           text run at (0,0) width 503: "This document should have a single, small green image in its upper right corner."
diff --git a/LayoutTests/css1/color_and_background/background_repeat-expected.txt b/LayoutTests/css1/color_and_background/background_repeat-expected.txt
index 9860cd7..9386d3a 100644
--- a/LayoutTests/css1/color_and_background/background_repeat-expected.txt
+++ b/LayoutTests/css1/color_and_background/background_repeat-expected.txt
@@ -22,7 +22,7 @@ layer at (0,0) size 888x1838
           text run at (0,165) width 248: "        background-color: red;}"
           text run at (0,180) width 704: ".nine {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
           text run at (0,195) width 240: "       background-color: red;}"
-      RenderBlock {HR} at (1,272) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,272) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,290) size 784x54 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 784x18
           text run at (0,0) width 784: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
diff --git a/LayoutTests/css1/color_and_background/color-expected.txt b/LayoutTests/css1/color_and_background/color-expected.txt
index a55707b..1459066 100644
--- a/LayoutTests/css1/color_and_background/color-expected.txt
+++ b/LayoutTests/css1/color_and_background/color-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 800x267
       RenderBlock {PRE} at (0,34) size 784x30 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 160x15
           text run at (0,0) width 160: ".one {color: green;}"
-      RenderBlock {HR} at (1,77) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 194x18
           text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/css1/conformance/forward_compatible_parsing-expected.txt b/LayoutTests/css1/conformance/forward_compatible_parsing-expected.txt
index 9635a25..2af1408 100644
--- a/LayoutTests/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/LayoutTests/css1/conformance/forward_compatible_parsing-expected.txt
@@ -64,7 +64,7 @@ layer at (0,0) size 800x4035
           text run at (248,750) width 32: "in;}"
           text run at (0,765) width 112: " color: maroon"
           text run at (0,780) width 208: "P.twentyfour {color: red;}"
-      RenderBlock {HR} at (1,857) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,857) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,875) size 784x18 [color=#008000] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 485x18
           text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
diff --git a/LayoutTests/css1/font_properties/font-expected.txt b/LayoutTests/css1/font_properties/font-expected.txt
index d98497f..2902cf0 100644
--- a/LayoutTests/css1/font_properties/font-expected.txt
+++ b/LayoutTests/css1/font_properties/font-expected.txt
@@ -25,7 +25,7 @@ layer at (0,0) size 800x4169
           text run at (238,126) width 140: "px/200% sans-serif;}"
           text run at (0,140) width 301: ".ten {font: normal 400 80%/2.5 sans-serif;}"
           text run at (0,154) width 266: "SPAN.color {background-color: silver;}"
-      RenderBlock {HR} at (1,206) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,206) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,220) size 784x14 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 706x14
           text run at (0,0) width 285: "This element is unstyled, and should inherit a font-size of 12"
diff --git a/LayoutTests/css1/font_properties/font_family-expected.txt b/LayoutTests/css1/font_properties/font_family-expected.txt
index c1962cc..c62de48 100644
--- a/LayoutTests/css1/font_properties/font_family-expected.txt
+++ b/LayoutTests/css1/font_properties/font_family-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x1313
           text run at (0,90) width 248: ".five {font-family: monospace;}"
           text run at (0,105) width 312: ".six {font-family: sans-serif,cursive;}"
           text run at (0,120) width 304: ".seven {font-family: monospace,serif;}"
-      RenderBlock {HR} at (1,182) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000]
       RenderBlock {DIV} at (0,200) size 784x199 [bgcolor=#000000]
         RenderBlock {P} at (0,0) size 784x18
           RenderText {TEXT} at (0,0) size 638x18
@@ -37,14 +37,14 @@ layer at (0,0) size 800x1313
         RenderBlock {P} at (0,184) size 784x15
           RenderText {TEXT} at (0,0) size 352x15
             text run at (0,0) width 352: "This sentence should be in a monospace font."
-      RenderBlock {HR} at (1,412) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,412) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,430) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 396x18
           text run at (0,0) width 396: "This sentence should be in a sans-serif font, not cursive."
       RenderBlock {P} at (0,464) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 550x18
           text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
-      RenderBlock {HR} at (1,498) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,498) size 784x2 [bgcolor=#000000]
       RenderBlock {DIV} at (0,513) size 784x211 [bgcolor=#000000]
         RenderBlock {P} at (0,0) size 784x30
           RenderText {TEXT} at (0,0) size 768x30
@@ -96,14 +96,14 @@ layer at (0,0) size 800x1313
                 RenderBlock {P} at (0,184) size 762x15
                   RenderText {TEXT} at (0,0) size 352x15
                     text run at (0,0) width 352: "This sentence should be in a monospace font."
-              RenderBlock {HR} at (5,216) size 760x2
+              RenderBlock {HR} at (4,216) size 762x2
               RenderBlock {P} at (4,234) size 762x18
                 RenderText {TEXT} at (0,0) size 396x18
                   text run at (0,0) width 396: "This sentence should be in a sans-serif font, not cursive."
               RenderBlock {P} at (4,268) size 762x18
                 RenderText {TEXT} at (0,0) size 550x18
                   text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
-              RenderBlock {HR} at (5,302) size 760x2
+              RenderBlock {HR} at (4,302) size 762x2
               RenderBlock {DIV} at (4,317) size 762x211
                 RenderBlock {P} at (0,0) size 762x30
                   RenderText {TEXT} at (0,0) size 752x30
diff --git a/LayoutTests/css1/font_properties/font_size-expected.txt b/LayoutTests/css1/font_properties/font_size-expected.txt
index 252e156..9beb9df 100644
--- a/LayoutTests/css1/font_properties/font_size-expected.txt
+++ b/LayoutTests/css1/font_properties/font_size-expected.txt
@@ -36,7 +36,7 @@ layer at (0,0) size 800x2734
           text run at (0,255) width 168: ".i {font-size: 200%;}"
           text run at (0,270) width 152: ".j {font-size: -0.5"
           text run at (152,270) width 32: "in;}"
-      RenderBlock {HR} at (1,347) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,347) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,365) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 688x18
           text run at (0,0) width 688: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
diff --git a/LayoutTests/css1/font_properties/font_style-expected.txt b/LayoutTests/css1/font_properties/font_style-expected.txt
index 4918e19..780df52 100644
--- a/LayoutTests/css1/font_properties/font_style-expected.txt
+++ b/LayoutTests/css1/font_properties/font_style-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x365
           text run at (0,0) width 208: ".one {font-style: italic;}"
           text run at (0,15) width 216: ".two {font-style: oblique;}"
           text run at (0,30) width 248: ".three, I {font-style: normal;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 501x18
           text run at (0,0) width 501: "This paragraph should be in italics, but the last word of the sentence should be "
diff --git a/LayoutTests/css1/font_properties/font_variant-expected.txt b/LayoutTests/css1/font_properties/font_variant-expected.txt
index 47f8468..b68a9e4 100644
--- a/LayoutTests/css1/font_properties/font_variant-expected.txt
+++ b/LayoutTests/css1/font_properties/font_variant-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x282
         RenderText {TEXT} at (0,0) size 256x30
           text run at (0,0) width 256: ".one {font-variant: small-caps;}"
           text run at (0,15) width 224: ".two {font-variant: normal;}"
-      RenderBlock {HR} at (1,92) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,110) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 268x18
           text run at (0,0) width 268: "This Paragraph should be in Small Caps."
diff --git a/LayoutTests/css1/font_properties/font_weight-expected.txt b/LayoutTests/css1/font_properties/font_weight-expected.txt
index 8898572..bdf598a 100644
--- a/LayoutTests/css1/font_properties/font_weight-expected.txt
+++ b/LayoutTests/css1/font_properties/font_weight-expected.txt
@@ -18,7 +18,7 @@ layer at (0,0) size 800x1044
           text run at (0,105) width 208: ".eight {font-weight: 900;}"
           text run at (0,120) width 224: ".nine {font-weight: normal;}"
           text run at (0,135) width 200: "B {font-weight: lighter;}"
-      RenderBlock {HR} at (1,212) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,230) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 198x18
           text run at (0,0) width 198: "This sentence should be bold."
diff --git a/LayoutTests/css1/formatting_model/canvas-expected.txt b/LayoutTests/css1/formatting_model/canvas-expected.txt
index 776bc6e..fec9664 100644
--- a/LayoutTests/css1/formatting_model/canvas-expected.txt
+++ b/LayoutTests/css1/formatting_model/canvas-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x305
           text run at (0,0) width 240: "HTML {background-color: aqua;}"
           text run at (0,15) width 520: "BODY {background-color: green; background-image: none; margin: 25"
           text run at (520,15) width 32: "px;}"
-      RenderBlock {HR} at (1,77) size 748x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 750x2 [bgcolor=#000000]
       RenderBlock {P} at (0,95) size 750x54 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 739x54
           text run at (0,0) width 387: "The body of this document should have a green background. "
diff --git a/LayoutTests/css1/formatting_model/floating_elements-expected.txt b/LayoutTests/css1/formatting_model/floating_elements-expected.txt
index b28b937..448b264 100644
--- a/LayoutTests/css1/formatting_model/floating_elements-expected.txt
+++ b/LayoutTests/css1/formatting_model/floating_elements-expected.txt
@@ -23,7 +23,7 @@ layer at (0,0) size 800x6376
           text run at (328,75) width 128: "px solid black;}"
           text run at (0,90) width 160: ".left {float: left;}"
           text run at (0,105) width 176: ".right {float: right;}"
-      RenderBlock {HR} at (1,182) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,200) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 771x36
           text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
@@ -49,7 +49,7 @@ layer at (0,0) size 800x6376
           text run at (199,41) width 339: "this DIV, which means that the borders of the floating"
           text run at (199,59) width 360: "elements should not overlap the top or side borders of the"
           text run at (199,77) width 33: "DIV."
-      RenderBlock {HR} at (1,398) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,398) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,412) size 780x46 [bgcolor=#000000]
         RenderImage {IMG} at (5,5) size 15x36
         RenderText {TEXT} at (0,0) size 0x0
@@ -89,7 +89,7 @@ layer at (0,0) size 800x6376
           text run at (116,167) width 297: "In addition, they should not overlap each other."
           text run at (5,185) width 425: "The first two should be side by side, whereas the third should be on"
           text run at (5,203) width 95: "the next \"line.\""
-      RenderBlock {HR} at (1,746) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,746) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,760) size 360x190 [bgcolor=#000000]
         RenderImage {IMG} at (5,5) size 156x36
         RenderText {TEXT} at (0,0) size 0x0
@@ -145,7 +145,7 @@ layer at (0,0) size 800x6376
           text run at (5,293) width 268: "side-by-side, but instead the first should be"
           text run at (5,311) width 288: "floated left, and the second floated to the right"
           text run at (5,329) width 94: "below the first."
-      RenderBlock {HR} at (1,1364) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,1364) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,1378) size 410x226 [bgcolor=#000000]
         RenderImage {IMG} at (5,5) size 256x36
         RenderText {TEXT} at (0,0) size 0x0
@@ -187,7 +187,7 @@ layer at (0,0) size 800x6376
           text run at (199,59) width 366: "not overlap the top or side borders of the DIV in any way."
           text run at (199,77) width 353: "In addition, the top of the left-floating box should not be"
           text run at (5,95) width 276: "higher than the top of the right-floating box."
-      RenderBlock {HR} at (1,1784) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,1784) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,1798) size 780x64 [bgcolor=#000000]
         RenderImage {IMG} at (5,5) size 15x36
         RenderText {TEXT} at (0,0) size 0x0
@@ -223,7 +223,7 @@ layer at (0,0) size 800x6376
           text run at (199,77) width 305: "before the floating elements occur in the source. "
           text run at (504,77) width 66: "In order to"
           text run at (5,95) width 549: "mark these points clearly, an asterisk has been inserted just before each floated element."
-      RenderBlock {HR} at (1,2042) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2042) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,2056) size 780x82 [bgcolor=#000000]
         RenderText {TEXT} at (20,5) size 185x18
           text run at (20,5) width 177: "This is text within the DIV. "
@@ -289,7 +289,7 @@ layer at (0,0) size 800x6376
           text run at (5,221) width 700: "then the element should float so that its top is aligned with the top of the line-box in which the asterisk appears. "
           text run at (705,221) width 69: "Otherwise,"
           text run at (5,239) width 329: "its top should align with the top of the next line-box."
-      RenderBlock {HR} at (1,2462) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2462) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,2476) size 780x118 [bgcolor=#000000]
         RenderText {TEXT} at (20,5) size 185x18
           text run at (20,5) width 177: "This is text within the DIV. "
@@ -348,7 +348,7 @@ layer at (0,0) size 800x6376
           text run at (5,239) width 475: "align with the top of the line-box following the insertion point of the floated"
           text run at (5,257) width 466: "element to avoid floating elements appearing before text which precedes it"
           text run at (5,275) width 150: "in the source document."
-      RenderBlock {HR} at (1,2954) size 41x2 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2954) size 41x2 [bgcolor=#000000]
       RenderBlock {DIV} at (2,2968) size 490x226 [bgcolor=#000000]
         RenderText {TEXT} at (20,5) size 54x18
           text run at (20,5) width 54: "This is *"
@@ -409,7 +409,7 @@ layer at (0,0) size 800x6376
                   text run at (199,41) width 338: "edge of this DIV, which means that the borders of the"
                   text run at (199,59) width 321: "floating elements should not overlap the top or side"
                   text run at (199,77) width 124: "borders of the DIV."
-              RenderBlock {HR} at (5,202) size 40x2
+              RenderBlock {HR} at (365,202) size 40x2
               RenderBlock {DIV} at (6,216) size 758x64
                 RenderImage {IMG} at (5,5) size 15x36
                 RenderText {TEXT} at (0,0) size 0x0
@@ -450,7 +450,7 @@ layer at (0,0) size 800x6376
                   text run at (116,167) width 297: "In addition, they should not overlap each other."
                   text run at (5,185) width 425: "The first two should be side by side, whereas the third should be on"
                   text run at (5,203) width 95: "the next \"line.\""
-              RenderBlock {HR} at (5,568) size 40x2
+              RenderBlock {HR} at (365,568) size 40x2
               RenderBlock {DIV} at (6,582) size 360x190
                 RenderImage {IMG} at (5,5) size 156x36
                 RenderText {TEXT} at (0,0) size 0x0
@@ -506,7 +506,7 @@ layer at (0,0) size 800x6376
                   text run at (5,293) width 268: "side-by-side, but instead the first should be"
                   text run at (5,311) width 288: "floated left, and the second floated to the right"
                   text run at (5,329) width 94: "below the first."
-              RenderBlock {HR} at (5,1186) size 40x2
+              RenderBlock {HR} at (365,1186) size 40x2
               RenderBlock {DIV} at (6,1200) size 410x226
                 RenderImage {IMG} at (5,5) size 256x36
                 RenderText {TEXT} at (0,0) size 0x0
@@ -549,7 +549,7 @@ layer at (0,0) size 800x6376
                   text run at (199,77) width 62: "any way. "
                   text run at (261,77) width 264: "In addition, the top of the left-floating box"
                   text run at (5,95) width 365: "should not be higher than the top of the right-floating box."
-              RenderBlock {HR} at (5,1606) size 40x2
+              RenderBlock {HR} at (365,1606) size 40x2
               RenderBlock {DIV} at (6,1620) size 758x64
                 RenderImage {IMG} at (5,5) size 15x36
                 RenderText {TEXT} at (0,0) size 0x0
@@ -587,7 +587,7 @@ layer at (0,0) size 800x6376
                   text run at (5,95) width 49: "source. "
                   text run at (54,95) width 482: "In order to mark these points clearly, an asterisk has been inserted just before"
                   text run at (5,113) width 133: "each floated element."
-              RenderBlock {HR} at (5,1882) size 40x2
+              RenderBlock {HR} at (365,1882) size 40x2
               RenderBlock {DIV} at (6,1896) size 758x82
                 RenderText {TEXT} at (20,5) size 185x18
                   text run at (20,5) width 177: "This is text within the DIV. "
@@ -652,7 +652,7 @@ layer at (0,0) size 800x6376
                   text run at (5,221) width 722: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
                   text run at (5,239) width 173: "which the asterisk appears. "
                   text run at (178,239) width 402: "Otherwise, its top should align with the top of the next line-box."
-              RenderBlock {HR} at (5,2302) size 40x2
+              RenderBlock {HR} at (365,2302) size 40x2
               RenderBlock {DIV} at (6,2316) size 758x118
                 RenderText {TEXT} at (20,5) size 185x18
                   text run at (20,5) width 177: "This is text within the DIV. "
@@ -712,7 +712,7 @@ layer at (0,0) size 800x6376
                   text run at (5,239) width 475: "align with the top of the line-box following the insertion point of the floated"
                   text run at (5,257) width 466: "element to avoid floating elements appearing before text which precedes it"
                   text run at (5,275) width 150: "in the source document."
-              RenderBlock {HR} at (5,2794) size 40x2
+              RenderBlock {HR} at (365,2794) size 40x2
               RenderBlock {DIV} at (6,2808) size 490x226
                 RenderText {TEXT} at (20,5) size 54x18
                   text run at (20,5) width 54: "This is *"
diff --git a/LayoutTests/css1/formatting_model/height_of_lines-expected.txt b/LayoutTests/css1/formatting_model/height_of_lines-expected.txt
index 472a18d..b3d88fe 100644
--- a/LayoutTests/css1/formatting_model/height_of_lines-expected.txt
+++ b/LayoutTests/css1/formatting_model/height_of_lines-expected.txt
@@ -46,7 +46,7 @@ layer at (0,0) size 800x2295
           text run at (0,240) width 168: "     border-width: 10"
           text run at (168,240) width 120: "px; margin: -10"
           text run at (288,240) width 32: "px;}"
-      RenderBlock {HR} at (1,317) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,317) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,333) size 784x442 [bgcolor=#000000]
         RenderText {TEXT} at (0,1) size 767x242
           text run at (0,1) width 252: "This paragraph should have a font size of 14"
diff --git a/LayoutTests/css1/formatting_model/inline_elements-expected.txt b/LayoutTests/css1/formatting_model/inline_elements-expected.txt
index ef37869..2a7c703 100644
--- a/LayoutTests/css1/formatting_model/inline_elements-expected.txt
+++ b/LayoutTests/css1/formatting_model/inline_elements-expected.txt
@@ -21,7 +21,7 @@ layer at (0,0) size 800x792
           text run at (384,60) width 176: "px; border-color: red;"
           text run at (0,75) width 160: "          padding: 2"
           text run at (160,75) width 32: "pt;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,170) size 784x192 [bgcolor=#000000]
         RenderText {TEXT} at (0,7) size 187x32
           text run at (0,7) width 187: "This is a paragraph that has a "
diff --git a/LayoutTests/css1/formatting_model/replaced_elements-expected.txt b/LayoutTests/css1/formatting_model/replaced_elements-expected.txt
index a0d131b..a63b0cb 100644
--- a/LayoutTests/css1/formatting_model/replaced_elements-expected.txt
+++ b/LayoutTests/css1/formatting_model/replaced_elements-expected.txt
@@ -16,7 +16,7 @@ layer at (0,0) size 800x2369
           text run at (0,75) width 488: "          margin-right: auto; margin-left: auto; width: 50%;}"
           text run at (0,90) width 200: "IMG.five {display: block;"
           text run at (0,105) width 464: "          margin-right: 0; margin-left: auto; width: 50%;}"
-      RenderBlock {HR} at (1,167) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,185) size 784x19 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 15x15
         RenderText {TEXT} at (15,1) size 434x18
diff --git a/LayoutTests/css1/formatting_model/vertical_formatting-expected.txt b/LayoutTests/css1/formatting_model/vertical_formatting-expected.txt
index b3a061f..47690a3 100644
--- a/LayoutTests/css1/formatting_model/vertical_formatting-expected.txt
+++ b/LayoutTests/css1/formatting_model/vertical_formatting-expected.txt
@@ -45,7 +45,7 @@ layer at (0,0) size 800x2471
           text run at (0,255) width 328: "P.thirteen {margin-top: 0; padding-top: 1"
           text run at (328,255) width 32: "cm;}"
           text run at (0,270) width 160: "TABLE {clear: both;}"
-      RenderBlock {HR} at (1,347) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,347) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,365) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 754x36
           text run at (0,0) width 754: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
diff --git a/LayoutTests/css1/pseudo/anchor-expected.txt b/LayoutTests/css1/pseudo/anchor-expected.txt
index 8815225..4ac524b 100644
--- a/LayoutTests/css1/pseudo/anchor-expected.txt
+++ b/LayoutTests/css1/pseudo/anchor-expected.txt
@@ -13,7 +13,7 @@ layer at (0,0) size 800x683
           text run at (0,30) width 192: "A:visited {color: lime;}"
           text run at (0,45) width 200: "A:active {color: maroon;}"
           text run at (0,60) width 176: "#one {color: #006600;}"
-      RenderBlock {HR} at (1,137) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,155) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 500x18
           text run at (0,0) width 500: "The following anchors should appear as described; none of them should be red."
diff --git a/LayoutTests/css1/pseudo/firstletter-expected.txt b/LayoutTests/css1/pseudo/firstletter-expected.txt
index 77ed874..ada7e42 100644
--- a/LayoutTests/css1/pseudo/firstletter-expected.txt
+++ b/LayoutTests/css1/pseudo/firstletter-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x711
           text run at (0,0) width 248: "P:first-letter {color: maroon;}"
           text run at (0,15) width 288: ".two:first-letter {font-size: 200%;}"
           text run at (0,30) width 312: "P.three:first-letter {font-size: 350%;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x54 [bgcolor=#000000]
         RenderInline (anonymous) at (0,0) size 10x18 [color=#800000]
           RenderText {TEXT} at (0,0) size 10x18
diff --git a/LayoutTests/css1/pseudo/firstline-expected.txt b/LayoutTests/css1/pseudo/firstline-expected.txt
index e122a10..0a84534 100644
--- a/LayoutTests/css1/pseudo/firstline-expected.txt
+++ b/LayoutTests/css1/pseudo/firstline-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x655
           text run at (0,0) width 224: "P:first-line {color: green;}"
           text run at (0,15) width 272: ".two:first-line {font-size: 200%;}"
           text run at (0,30) width 360: ".three:first-line {font-variant: small-caps;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x54 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 773x54
           text run at (0,0) width 423: "The first line of this paragraph, and only that one, should be green. "
diff --git a/LayoutTests/css1/pseudo/multiple_pseudo_elements-expected.txt b/LayoutTests/css1/pseudo/multiple_pseudo_elements-expected.txt
index 435cfad..ab6005c 100644
--- a/LayoutTests/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/LayoutTests/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x1012
           text run at (0,45) width 288: ".two:first-letter {font-size: 350%;}"
           text run at (0,60) width 312: "P.three:first-letter {font-size: 350%;}"
           text run at (0,75) width 368: "P.three:first-line {font-variant: small-caps;}"
-      RenderBlock {HR} at (1,152) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,170) size 784x54 [bgcolor=#000000]
         RenderInline (anonymous) at (0,0) size 10x18 [color=#800000]
           RenderText {TEXT} at (0,0) size 10x18
diff --git a/LayoutTests/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/LayoutTests/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 6a3990e..1452cd2 100644
--- a/LayoutTests/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/LayoutTests/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x545
           text run at (0,0) width 264: "P:first-line {font-weight: bold;}"
           text run at (0,15) width 256: "P.two:first-line {color: green;}"
           text run at (0,30) width 256: "P:first-line.three {color: red;}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 784x36
           text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
diff --git a/LayoutTests/css1/text_properties/letter_spacing-expected.txt b/LayoutTests/css1/text_properties/letter_spacing-expected.txt
index ea0ecae..3a8cd13 100644
--- a/LayoutTests/css1/text_properties/letter_spacing-expected.txt
+++ b/LayoutTests/css1/text_properties/letter_spacing-expected.txt
@@ -28,7 +28,7 @@ layer at (0,0) size 800x1378
           text run at (0,135) width 224: ".ten {letter-spacing: 300%;}"
           text run at (0,150) width 232: ".eleven {letter-spacing: -0.1"
           text run at (232,150) width 32: "em;}"
-      RenderBlock {HR} at (1,212) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,230) size 784x72 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 694x72
           text run at (0,0) width 671: "This letters in this"
diff --git a/LayoutTests/css1/text_properties/line_height-expected.txt b/LayoutTests/css1/text_properties/line_height-expected.txt
index c4dcdf4..9d4d648 100644
--- a/LayoutTests/css1/text_properties/line_height-expected.txt
+++ b/LayoutTests/css1/text_properties/line_height-expected.txt
@@ -43,7 +43,7 @@ layer at (0,0) size 800x2623
           text run at (368,165) width 32: "px;}"
           text run at (0,180) width 248: "DIV {background-color: silver;}"
           text run at (0,195) width 304: "SPAN.color {background-color: silver;}"
-      RenderBlock {HR} at (1,257) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,257) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,271) size 784x48 [bgcolor=#000000]
         RenderText {TEXT} at (0,17) size 507x48
           text run at (0,17) width 507: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
diff --git a/LayoutTests/css1/text_properties/text-transform-expected.txt b/LayoutTests/css1/text_properties/text-transform-expected.txt
index 5996371..4b46ab3 100644
--- a/LayoutTests/css1/text_properties/text-transform-expected.txt
+++ b/LayoutTests/css1/text_properties/text-transform-expected.txt
@@ -32,7 +32,7 @@ layer at (0,0) size 800x2962
         RenderBlock {BUTTON} at (573,18) size 45x26 [bgcolor=#C0C0C0]
           RenderText {TEXT} at (4,4) size 37x18
             text run at (4,4) width 37: "Apply"
-      RenderBlock {HR} at (1,213) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,213) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,234) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 197x28
           text run at (0,0) width 197: "General case: Latin"
@@ -186,7 +186,7 @@ layer at (0,0) size 800x2962
           text run at (104,234) width 218: "| \x{1EE3} \x{1EE3} | \x{1EE5} \x{1EE5} | \x{1EE7} \x{1EE7} | \x{1EE9} \x{1EE9} | \x{1EEB} \x{1EEB} | \x{1EED} \x{1EED} "
           text run at (322,234) width 206: "| \x{1EEF} \x{1EEF} | \x{1EF1} \x{1EF1} | \x{1EF3} \x{1EF3} | \x{1EF5} \x{1EF5} | \x{1EF7} \x{1EF7} | \x{1EF9} \x{1EF9} "
           text run at (528,234) width 3: "|"
-      RenderBlock {HR} at (1,939) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,939) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,960) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 203x28
           text run at (0,0) width 203: "General case: Greek"
@@ -256,7 +256,7 @@ layer at (0,0) size 800x2962
           text run at (182,72) width 184: "| \x{1F73} \x{1F73} | \x{1F74} \x{1F74} | \x{1F75} \x{1F75} | \x{1FD0} \x{1FD0} | \x{1FD1} \x{1FD1} | \x{1F76} \x{1F76} "
           text run at (366,72) width 202: "| \x{1F77} \x{1F77} | \x{1FE0} \x{1FE0} | \x{1FE1} \x{1FE1} | \x{1F7A} \x{1F7A} | \x{1F7B} \x{1F7B} | \x{1FE5} \x{1FE5} "
           text run at (568,72) width 163: "| \x{1F78} \x{1F78} | \x{1F79} \x{1F79} | \x{1F7C} \x{1F7C} | \x{1F7D} \x{1F7D} |"
-      RenderBlock {HR} at (1,1359) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1359) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,1380) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 208x28
           text run at (0,0) width 208: "General case: Coptic"
@@ -274,7 +274,7 @@ layer at (0,0) size 800x2962
         RenderText {TEXT} at (0,0) size 360x18
           text run at (0,0) width 102: "| \x{3E3} \x{3E3} | \x{3E5} \x{3E5} "
           text run at (102,0) width 258: "| \x{3E7} \x{3E7} | \x{3E9} \x{3E9} | \x{3EB} \x{3EB} | \x{3ED} \x{3ED} | \x{3EF} \x{3EF} |"
-      RenderBlock {HR} at (1,1563) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1563) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,1584) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 218x28
           text run at (0,0) width 218: "General case: Cyrillic"
@@ -342,7 +342,7 @@ layer at (0,0) size 800x2962
           text run at (205,90) width 208: "| \x{4EF} \x{4EF} | \x{4F1} \x{4F1} | \x{4F3} \x{4F3} | \x{4F5} \x{4F5} | \x{4F9} \x{4F9} | \x{501} \x{501} "
           text run at (413,90) width 222: "| \x{503} \x{503} | \x{505} \x{505} | \x{507} \x{507} | \x{509} \x{509} | \x{50B} \x{50B} | \x{50D} \x{50D} "
           text run at (635,90) width 36: "| \x{50F} \x{50F} |"
-      RenderBlock {HR} at (1,1965) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1965) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,1986) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 243x28
           text run at (0,0) width 243: "General case: Armenian"
@@ -373,7 +373,7 @@ layer at (0,0) size 800x2962
           text run at (0,18) width 96: "\x{57A} \x{57A} | \x{57B} \x{57B} | \x{57C} \x{57C} "
           text run at (96,18) width 190: "| \x{57D} \x{57D} | \x{57E} \x{57E} | \x{57F} \x{57F} | \x{580} \x{580} | \x{581} \x{581} | \x{582} \x{582} "
           text run at (286,18) width 141: "| \x{583} \x{583} | \x{584} \x{584} | \x{585} \x{585} | \x{586} \x{586} |"
-      RenderBlock {HR} at (1,2205) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2205) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,2226) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 215x28
           text run at (0,0) width 215: "General case: Roman"
@@ -393,7 +393,7 @@ layer at (0,0) size 800x2962
           text run at (0,0) width 167: "| \x{2170} \x{2170} | \x{2171} \x{2171} | \x{2172} \x{2172} | \x{2173} \x{2173} | \x{2174} \x{2174} "
           text run at (167,0) width 258: "| \x{2175} \x{2175} | \x{2176} \x{2176} | \x{2177} \x{2177} | \x{2178} \x{2178} | \x{2179} \x{2179} | \x{217A} \x{217A} "
           text run at (425,0) width 190: "| \x{217B} \x{217B} | \x{217C} \x{217C} | \x{217D} \x{217D} | \x{217E} \x{217E} | \x{217F} \x{217F} |"
-      RenderBlock {HR} at (1,2409) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2409) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,2430) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 276x28
           text run at (0,0) width 276: "General case: Circled Latin"
@@ -419,7 +419,7 @@ layer at (0,0) size 800x2962
           text run at (0,18) width 20: "\x{24E0} "
           text run at (20,18) width 282: "| \x{24E1} \x{24E1} | \x{24E2} \x{24E2} | \x{24E3} \x{24E3} | \x{24E4} \x{24E4} | \x{24E5} \x{24E5} | \x{24E6} \x{24E6} "
           text run at (302,18) width 144: "| \x{24E7} \x{24E7} | \x{24E8} \x{24E8} | \x{24E9} \x{24E9} |"
-      RenderBlock {HR} at (1,2649) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2649) size 784x2 [bgcolor=#000000]
       RenderBlock {H2} at (0,2670) size 784x28 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 301x28
           text run at (0,0) width 301: "General case: Fullwidth Latin"
@@ -446,7 +446,7 @@ layer at (0,0) size 800x2962
           text run at (0,18) width 161: "\x{FF51} | \x{FF52} \x{FF52} | \x{FF53} \x{FF53} | \x{FF54} \x{FF54} "
           text run at (161,18) width 282: "| \x{FF55} \x{FF55} | \x{FF56} \x{FF56} | \x{FF57} \x{FF57} | \x{FF58} \x{FF58} | \x{FF59} \x{FF59} | \x{FF5A} \x{FF5A} "
           text run at (443,18) width 3: "|"
-      RenderBlock {HR} at (1,2889) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2889) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,2907) size 784x18 [color=#808080] [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 416x18
           text run at (0,0) width 416: "Thanks to John Cowan for assistance in developing this test page."
diff --git a/LayoutTests/css1/text_properties/text_align-expected.txt b/LayoutTests/css1/text_properties/text_align-expected.txt
index 092d2c3..911f668 100644
--- a/LayoutTests/css1/text_properties/text_align-expected.txt
+++ b/LayoutTests/css1/text_properties/text_align-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x520
           text run at (0,15) width 200: ".two {text-align: right;}"
           text run at (0,30) width 224: ".three {text-align: center;}"
           text run at (0,45) width 224: ".four {text-align: justify;}"
-      RenderBlock {HR} at (1,122) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,140) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 234x18
           text run at (0,0) width 234: "This sentence should be left-justified."
diff --git a/LayoutTests/css1/text_properties/text_decoration-expected.txt b/LayoutTests/css1/text_properties/text_decoration-expected.txt
index 6186dc9..2aab3d8 100644
--- a/LayoutTests/css1/text_properties/text_decoration-expected.txt
+++ b/LayoutTests/css1/text_properties/text_decoration-expected.txt
@@ -15,7 +15,7 @@ layer at (0,0) size 800x1151
           text run at (0,60) width 248: "B.five {text-decoration: none;}"
           text run at (0,75) width 344: ".six {text-decoration: underline overline;}"
           text run at (0,90) width 464: ".seven {text-decoration: underline overline line-through;}"
-      RenderBlock {HR} at (1,167) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,185) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 226x18
           text run at (0,0) width 226: "This sentence should be underlined."
diff --git a/LayoutTests/css1/text_properties/text_indent-expected.txt b/LayoutTests/css1/text_properties/text_indent-expected.txt
index f5b3101..2b24dd3 100644
--- a/LayoutTests/css1/text_properties/text_indent-expected.txt
+++ b/LayoutTests/css1/text_properties/text_indent-expected.txt
@@ -26,7 +26,7 @@ layer at (0,0) size 800x1246
           text run at (0,120) width 176: ".nine {text-indent: 25"
           text run at (176,120) width 176: "px; background: aqua;}"
           text run at (0,135) width 384: "blockquote {text-indent: 50%; background: aqua;}"
-      RenderBlock {HR} at (1,212) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,230) size 784x18 [bgcolor=#00FFFF]
         RenderText {TEXT} at (48,0) size 386x18
           text run at (48,0) width 386: "The first line of this sentence should be indented half an inch."
diff --git a/LayoutTests/css1/text_properties/text_transform-expected.txt b/LayoutTests/css1/text_properties/text_transform-expected.txt
index 621807b..0d920e3 100644
--- a/LayoutTests/css1/text_properties/text_transform-expected.txt
+++ b/LayoutTests/css1/text_properties/text_transform-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x714
           text run at (0,15) width 272: ".cap {text-transform: capitalize;}"
           text run at (0,30) width 264: ".upp {text-transform: uppercase;}"
           text run at (0,45) width 264: ".low {text-transform: lowercase;}"
-      RenderBlock {HR} at (1,122) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,140) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 770x18
           text run at (0,0) width 770: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear normal."
diff --git a/LayoutTests/css1/text_properties/vertical_align-expected.txt b/LayoutTests/css1/text_properties/vertical_align-expected.txt
index ebb9ac8..77c9b77 100644
--- a/LayoutTests/css1/text_properties/vertical_align-expected.txt
+++ b/LayoutTests/css1/text_properties/vertical_align-expected.txt
@@ -36,7 +36,7 @@ layer at (0,0) size 800x4445
           text run at (0,210) width 304: ".ttopalign {vertical-align: text-top;}"
           text run at (0,225) width 256: ".topalign {vertical-align: top;}"
           text run at (0,240) width 280: ".midalign {vertical-align: middle;}"
-      RenderBlock {HR} at (1,317) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,317) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,335) size 784x76 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 15x50
         RenderInline {SPAN} at (0,0) size 126x18
diff --git a/LayoutTests/css1/text_properties/word_spacing-expected.txt b/LayoutTests/css1/text_properties/word_spacing-expected.txt
index 51a24fe..8e36617 100644
--- a/LayoutTests/css1/text_properties/word_spacing-expected.txt
+++ b/LayoutTests/css1/text_properties/word_spacing-expected.txt
@@ -28,7 +28,7 @@ layer at (0,0) size 800x997
           text run at (0,135) width 208: ".ten {word-spacing: 300%;}"
           text run at (0,150) width 216: ".eleven {word-spacing: -0.2"
           text run at (216,150) width 32: "em;}"
-      RenderBlock {HR} at (1,227) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,245) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 701x18
           text run at (0,0) width 701: "This words in this sentence should have extra space between them."
diff --git a/LayoutTests/css1/units/color_units-expected.txt b/LayoutTests/css1/units/color_units-expected.txt
index c5c1fff..29faf52 100644
--- a/LayoutTests/css1/units/color_units-expected.txt
+++ b/LayoutTests/css1/units/color_units-expected.txt
@@ -20,7 +20,7 @@ layer at (0,0) size 800x1699
           text run at (0,135) width 240: ".nine {color: rgb(0,128,255);}"
           text run at (0,150) width 264: ".ten {color: rgb(50%,-500%,60%);}"
           text run at (0,165) width 264: ".eleven {color: rgb(50%,0%,60%);}"
-      RenderBlock {HR} at (1,227) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,245) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "This sentence should be black."
diff --git a/LayoutTests/css1/units/length_units-expected.txt b/LayoutTests/css1/units/length_units-expected.txt
index faddba9..321b923 100644
--- a/LayoutTests/css1/units/length_units-expected.txt
+++ b/LayoutTests/css1/units/length_units-expected.txt
@@ -30,7 +30,7 @@ layer at (0,0) size 800x1592
           text run at (0,150) width 152: ".ten {font-size: 40"
           text run at (152,150) width 144: "px; border-left: 1"
           text run at (296,150) width 328: "ex solid purple; background-color: aqua;}"
-      RenderBlock {HR} at (1,212) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,230) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 761x36
           text run at (0,0) width 761: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges"
diff --git a/LayoutTests/css1/units/percentage_units-expected.txt b/LayoutTests/css1/units/percentage_units-expected.txt
index a21035a..0ae3f00 100644
--- a/LayoutTests/css1/units/percentage_units-expected.txt
+++ b/LayoutTests/css1/units/percentage_units-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x560
           text run at (0,15) width 504: ".one { margin-left: 25%; margin-right: 25%; background: white }"
           text run at (0,30) width 496: ".two { margin-left: 50%; margin-right: 0%; background: white }"
           text run at (0,45) width 208: ".three {margin-left: 25%;}"
-      RenderBlock {HR} at (1,122) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000]
       RenderBlock {DIV} at (0,140) size 784x124 [bgcolor=#FFFF00]
         RenderBlock {DIV} at (196,0) size 392x54 [bgcolor=#FFFFFF]
           RenderBlock {P} at (0,0) size 392x54 [bgcolor=#000000]
diff --git a/LayoutTests/css1/units/urls-expected.txt b/LayoutTests/css1/units/urls-expected.txt
index 1b8ddad..c50f019 100644
--- a/LayoutTests/css1/units/urls-expected.txt
+++ b/LayoutTests/css1/units/urls-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x509
           text run at (0,0) width 648: "<LINK rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../resources/bg.gif\">"
           text run at (0,15) width 296: "@import url(../resources/sec642.css);"
           text run at (0,30) width 352: "BODY {background: url(../resources/bg.gif);}"
-      RenderBlock {HR} at (1,107) size 782x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000]
       RenderBlock {P} at (0,125) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 386x18
           text run at (0,0) width 386: "This page should have a green grid pattern as its background."
diff --git a/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt b/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt
index 45bd3ff..2bf1147 100644
--- a/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt
+++ b/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt
@@ -20,7 +20,7 @@ layer at (0,0) size 800x1264
                     RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,32) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,46) size 784x51 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 110x46
           RenderInline {SPAN} at (0,0) size 110x46
@@ -38,7 +38,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,109) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,123) size 784x78 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 596x74
           RenderInline {SPAN} at (0,0) size 596x74
@@ -54,7 +54,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,213) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,227) size 784x48 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 126x43
           RenderInline {SPAN} at (0,0) size 126x43
@@ -74,7 +74,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,339) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,353) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 128x15
           RenderInline {SPAN} at (0,0) size 128x15
@@ -113,7 +113,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,449) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,463) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -206,7 +206,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,671) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,685) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -299,7 +299,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,893) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,907) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -350,7 +350,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1033) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1047) size 784x54 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 196x49
           RenderInline {SPAN} at (0,0) size 0x0
@@ -375,7 +375,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1113) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1127) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 182x15
           RenderInline {SPAN} at (0,0) size 182x17
@@ -393,7 +393,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1163) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1177) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 281x15
           RenderInline {SPAN} at (0,0) size 281x15
@@ -408,7 +408,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
             RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1213) size 784x30 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
         RenderBlock {P} at (0,15) size 784x15
           RenderText {TEXT} at (0,0) size 204x15
             text run at (0,0) width 204: "This itinerary is subject to change. "
diff --git a/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt b/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt
index 45bd3ff..2bf1147 100644
--- a/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt
+++ b/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt
@@ -20,7 +20,7 @@ layer at (0,0) size 800x1264
                     RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,32) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,46) size 784x51 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 110x46
           RenderInline {SPAN} at (0,0) size 110x46
@@ -38,7 +38,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,109) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,123) size 784x78 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 596x74
           RenderInline {SPAN} at (0,0) size 596x74
@@ -54,7 +54,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,213) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,227) size 784x48 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 126x43
           RenderInline {SPAN} at (0,0) size 126x43
@@ -74,7 +74,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,339) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,353) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 128x15
           RenderInline {SPAN} at (0,0) size 128x15
@@ -113,7 +113,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,449) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,463) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -206,7 +206,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,671) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,685) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -299,7 +299,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,893) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,907) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -350,7 +350,7 @@ layer at (0,0) size 800x1264
               RenderInline {SPAN} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1033) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1047) size 784x54 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 196x49
           RenderInline {SPAN} at (0,0) size 0x0
@@ -375,7 +375,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1113) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1127) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 182x15
           RenderInline {SPAN} at (0,0) size 182x17
@@ -393,7 +393,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
           RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1163) size 784x2 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
       RenderBlock (anonymous) at (0,1177) size 784x24 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 281x15
           RenderInline {SPAN} at (0,0) size 281x15
@@ -408,7 +408,7 @@ layer at (0,0) size 800x1264
             RenderText {TEXT} at (0,0) size 0x0
             RenderText {TEXT} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,1213) size 784x30 [bgcolor=#000000]
-        RenderBlock {HR} at (1,0) size 782x2
+        RenderBlock {HR} at (0,0) size 784x2
         RenderBlock {P} at (0,15) size 784x15
           RenderText {TEXT} at (0,0) size 204x15
             text run at (0,0) width 204: "This itinerary is subject to change. "
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 9a1f75b..f74397f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,137 @@
+2003-11-10  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3478435, <hr> tags should be centered by default.  Ditched the 1px margin as well.
+
+	Fix for 3479441, <h1>-<h6> tags should *not* be centered by default.  They should also use bold instead of
+	bolder.
+	
+        Reviewed by darin
+
+        * khtml/css/html4.css:
+        * khtml/html/html_blockimpl.cpp:
+        (HTMLHRElementImpl::parseAttribute):
+        * layout-tests/apple-only/base/bugzilla.mozilla.org/index-expected.txt:
+        * layout-tests/apple-only/base/home.netscape.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.altavista.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.cnn.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.digitalcity.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.ebay.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.excite.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.mapquest.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.microsoft.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.msnbc.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.nytimes.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.nytimes.com_Table/index-expected.txt:
+        * layout-tests/apple-only/base/www.quicken.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.w3.org_DOML2Core/index-expected.txt:
+        * layout-tests/css1/basic/class_as_selector-expected.txt:
+        * layout-tests/css1/basic/comments-expected.txt:
+        * layout-tests/css1/basic/containment-expected.txt:
+        * layout-tests/css1/basic/contextual_selectors-expected.txt:
+        * layout-tests/css1/basic/grouping-expected.txt:
+        * layout-tests/css1/basic/id_as_selector-expected.txt:
+        * layout-tests/css1/basic/inheritance-expected.txt:
+        * layout-tests/css1/box_properties/border-expected.txt:
+        * layout-tests/css1/box_properties/border_bottom-expected.txt:
+        * layout-tests/css1/box_properties/border_bottom_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_bottom_width-expected.txt:
+        * layout-tests/css1/box_properties/border_bottom_width_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_color-expected.txt:
+        * layout-tests/css1/box_properties/border_color_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_left-expected.txt:
+        * layout-tests/css1/box_properties/border_left_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_left_width-expected.txt:
+        * layout-tests/css1/box_properties/border_left_width_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_right-expected.txt:
+        * layout-tests/css1/box_properties/border_right_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_right_width-expected.txt:
+        * layout-tests/css1/box_properties/border_right_width_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_style-expected.txt:
+        * layout-tests/css1/box_properties/border_style_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_top-expected.txt:
+        * layout-tests/css1/box_properties/border_top_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_top_width-expected.txt:
+        * layout-tests/css1/box_properties/border_top_width_inline-expected.txt:
+        * layout-tests/css1/box_properties/border_width-expected.txt:
+        * layout-tests/css1/box_properties/border_width_inline-expected.txt:
+        * layout-tests/css1/box_properties/clear-expected.txt:
+        * layout-tests/css1/box_properties/clear_float-expected.txt:
+        * layout-tests/css1/box_properties/float-expected.txt:
+        * layout-tests/css1/box_properties/float_elements_in_series-expected.txt:
+        * layout-tests/css1/box_properties/float_margin-expected.txt:
+        * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
+        * layout-tests/css1/box_properties/height-expected.txt:
+        * layout-tests/css1/box_properties/margin-expected.txt:
+        * layout-tests/css1/box_properties/margin_bottom-expected.txt:
+        * layout-tests/css1/box_properties/margin_bottom_inline-expected.txt:
+        * layout-tests/css1/box_properties/margin_inline-expected.txt:
+        * layout-tests/css1/box_properties/margin_left-expected.txt:
+        * layout-tests/css1/box_properties/margin_left_inline-expected.txt:
+        * layout-tests/css1/box_properties/margin_right-expected.txt:
+        * layout-tests/css1/box_properties/margin_right_inline-expected.txt:
+        * layout-tests/css1/box_properties/margin_top-expected.txt:
+        * layout-tests/css1/box_properties/margin_top_inline-expected.txt:
+        * layout-tests/css1/box_properties/padding-expected.txt:
+        * layout-tests/css1/box_properties/padding_bottom-expected.txt:
+        * layout-tests/css1/box_properties/padding_bottom_inline-expected.txt:
+        * layout-tests/css1/box_properties/padding_inline-expected.txt:
+        * layout-tests/css1/box_properties/padding_left-expected.txt:
+        * layout-tests/css1/box_properties/padding_left_inline-expected.txt:
+        * layout-tests/css1/box_properties/padding_right-expected.txt:
+        * layout-tests/css1/box_properties/padding_right_inline-expected.txt:
+        * layout-tests/css1/box_properties/padding_top-expected.txt:
+        * layout-tests/css1/box_properties/padding_top_inline-expected.txt:
+        * layout-tests/css1/box_properties/width-expected.txt:
+        * layout-tests/css1/cascade/cascade_order-expected.txt:
+        * layout-tests/css1/cascade/important-expected.txt:
+        * layout-tests/css1/classification/display-expected.txt:
+        * layout-tests/css1/classification/list_style-expected.txt:
+        * layout-tests/css1/classification/list_style_image-expected.txt:
+        * layout-tests/css1/classification/list_style_position-expected.txt:
+        * layout-tests/css1/classification/list_style_type-expected.txt:
+        * layout-tests/css1/classification/white_space-expected.txt:
+        * layout-tests/css1/color_and_background/background-expected.txt:
+        * layout-tests/css1/color_and_background/background_attachment-expected.txt:
+        * layout-tests/css1/color_and_background/background_color-expected.txt:
+        * layout-tests/css1/color_and_background/background_image-expected.txt:
+        * layout-tests/css1/color_and_background/background_position-expected.txt:
+        * layout-tests/css1/color_and_background/background_repeat-expected.txt:
+        * layout-tests/css1/color_and_background/color-expected.txt:
+        * layout-tests/css1/conformance/forward_compatible_parsing-expected.txt:
+        * layout-tests/css1/font_properties/font-expected.txt:
+        * layout-tests/css1/font_properties/font_family-expected.txt:
+        * layout-tests/css1/font_properties/font_size-expected.txt:
+        * layout-tests/css1/font_properties/font_style-expected.txt:
+        * layout-tests/css1/font_properties/font_variant-expected.txt:
+        * layout-tests/css1/font_properties/font_weight-expected.txt:
+        * layout-tests/css1/formatting_model/canvas-expected.txt:
+        * layout-tests/css1/formatting_model/floating_elements-expected.txt:
+        * layout-tests/css1/formatting_model/height_of_lines-expected.txt:
+        * layout-tests/css1/formatting_model/inline_elements-expected.txt:
+        * layout-tests/css1/formatting_model/replaced_elements-expected.txt:
+        * layout-tests/css1/formatting_model/vertical_formatting-expected.txt:
+        * layout-tests/css1/pseudo/anchor-expected.txt:
+        * layout-tests/css1/pseudo/firstletter-expected.txt:
+        * layout-tests/css1/pseudo/firstline-expected.txt:
+        * layout-tests/css1/pseudo/multiple_pseudo_elements-expected.txt:
+        * layout-tests/css1/pseudo/pseudo_elements_in_selectors-expected.txt:
+        * layout-tests/css1/text_properties/letter_spacing-expected.txt:
+        * layout-tests/css1/text_properties/line_height-expected.txt:
+        * layout-tests/css1/text_properties/text-transform-expected.txt:
+        * layout-tests/css1/text_properties/text_align-expected.txt:
+        * layout-tests/css1/text_properties/text_decoration-expected.txt:
+        * layout-tests/css1/text_properties/text_indent-expected.txt:
+        * layout-tests/css1/text_properties/text_transform-expected.txt:
+        * layout-tests/css1/text_properties/vertical_align-expected.txt:
+        * layout-tests/css1/text_properties/word_spacing-expected.txt:
+        * layout-tests/css1/units/color_units-expected.txt:
+        * layout-tests/css1/units/length_units-expected.txt:
+        * layout-tests/css1/units/percentage_units-expected.txt:
+        * layout-tests/css1/units/urls-expected.txt:
+        * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
+        * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
+
 2003-11-10  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: <rdar://problem/3479266>: selected images don't obey CSS3 selection background-color attribute
diff --git a/WebCore/khtml/css/html4.css b/WebCore/khtml/css/html4.css
index c823836..ba28c6e 100644
--- a/WebCore/khtml/css/html4.css
+++ b/WebCore/khtml/css/html4.css
@@ -105,11 +105,11 @@ HR  {
         margin-bottom: 12px; 
         border-style: inset;
         border-width: 1px;
-        margin-left: 1px; /* will be overwritten by ALIGN */ 
-        margin-right: 1px; /* will be overwritten by ALIGN */
+        margin-left: auto;
+        margin-right: auto;
         -khtml-flow-mode: -khtml-around-floats;
-} 
- 
+}
+
 MAP { 
 	display: inline;
 } 
@@ -122,42 +122,42 @@ MAP {
 H1 { 
 	display: block;
 	font-size: 2em; 
-	margin: .67__qem auto .67em auto;
-	font-weight: bolder;
+	margin: .67__qem 0 .67em 0;
+	font-weight: bold;
 }
       
 H2 { 
 	display: block;
 	font-size: 1.5em; 
-	margin: .83__qem auto .83em auto;
-	font-weight: bolder;
+	margin: .83__qem 0 .83em 0;
+	font-weight: bold;
 }
       
 H3 { 
 	display: block;
 	font-size: 1.17em; 
-	margin: 1__qem auto 1em auto;
-	font-weight: bolder;
+	margin: 1__qem 0 1em 0;
+	font-weight: bold;
 }
       
 H4 {
 	display: block;
-	margin: 1.33__qem auto 1.33em auto;
-	font-weight: bolder;
+	margin: 1.33__qem 0 1.33em 0;
+	font-weight: bold;
 }
 
 H5 { 
 	display: block;
 	font-size: .83em; 
-	margin: 1.67__qem auto 1.67em auto;
-	font-weight: bolder;
+	margin: 1.67__qem 0 1.67em 0;
+	font-weight: bold;
 }
 
 H6 { 
 	display: block;
 	font-size: .67em; 
-	margin: 2.33__qem auto 2.33em auto;
-	font-weight: bolder;
+	margin: 2.33__qem 0 2.33em 0;
+	font-weight: bold;
 }
 
 /* 
diff --git a/WebCore/khtml/html/html_blockimpl.cpp b/WebCore/khtml/html/html_blockimpl.cpp
index cdcb77f..365e4c2 100644
--- a/WebCore/khtml/html/html_blockimpl.cpp
+++ b/WebCore/khtml/html/html_blockimpl.cpp
@@ -108,16 +108,21 @@ void HTMLHRElementImpl::parseAttribute(AttributeImpl *attr)
 {
     switch( attr->id() )
     {
-    case ATTR_ALIGN:
-        if ( strcasecmp( attr->value(), "left") != 0) // _not_ equal
-            addCSSProperty(CSS_PROP_MARGIN_LEFT, CSS_VAL_AUTO);
-        else
-            addCSSProperty(CSS_PROP_MARGIN_LEFT, "1px");
-        if( strcasecmp( attr->value(), "right") != 0)
+    case ATTR_ALIGN: {
+        if (strcasecmp(attr->value(), "left") == 0) {
+            addCSSProperty(CSS_PROP_MARGIN_LEFT, "0");
+	    addCSSProperty(CSS_PROP_MARGIN_RIGHT, CSS_VAL_AUTO);
+	}
+        else if (strcasecmp(attr->value(), "right") == 0) {
+	    addCSSProperty(CSS_PROP_MARGIN_LEFT, CSS_VAL_AUTO);
+	    addCSSProperty(CSS_PROP_MARGIN_RIGHT, "0");
+	}
+	else {
+      	    addCSSProperty(CSS_PROP_MARGIN_LEFT, CSS_VAL_AUTO);
             addCSSProperty(CSS_PROP_MARGIN_RIGHT, CSS_VAL_AUTO);
-        else
-            addCSSProperty(CSS_PROP_MARGIN_RIGHT, "1px");
+	}
         break;
+    }
     case ATTR_WIDTH:
     {
         if(!attr->val()) break;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list