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

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


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

    	Add border info to the render tree dumper.
    
            * khtml/rendering/render_style.h:
            (khtml::BorderValue::operator!=):
            * kwq/KWQRenderTreeDebug.cpp:
            (printBorderStyle):
            (operator<<):
            * 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/lxr.mozilla.org/index-expected.txt:
            * layout-tests/apple-only/base/my.netscape.com/index-expected.txt:
            * layout-tests/apple-only/base/news.cnet.com/index-expected.txt:
            * layout-tests/apple-only/base/web.icq.com/index-expected.txt:
            * layout-tests/apple-only/base/www.altavista.com/index-expected.txt:
            * layout-tests/apple-only/base/www.amazon.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.expedia.com/index-expected.txt:
            * layout-tests/apple-only/base/www.iplanet.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.moviefone.com/index-expected.txt:
            * layout-tests/apple-only/base/www.msn.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.sun.com/index-expected.txt:
            * layout-tests/apple-only/base/www.time.com/index-expected.txt:
            * layout-tests/apple-only/base/www.travelocity.com/index-expected.txt:
            * layout-tests/apple-only/base/www.w3.org_DOML2Core/index-expected.txt:
            * layout-tests/apple-only/base/www.yahoo.com/index-expected.txt:
            * layout-tests/apple-only/base/www.zdnet.com/index-expected.txt:
            * layout-tests/apple-only/base/www.zdnet.com_Gamespot.com/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/acid_test-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/block/basic/001-expected.txt:
            * layout-tests/fast/block/basic/002-expected.txt:
            * layout-tests/fast/block/basic/003-expected.txt:
            * layout-tests/fast/block/basic/004-expected.txt:
            * layout-tests/fast/block/basic/007-expected.txt:
            * layout-tests/fast/block/basic/011-expected.txt:
            * layout-tests/fast/block/basic/015-expected.txt:
            * layout-tests/fast/block/basic/016-expected.txt:
            * layout-tests/fast/block/basic/017-expected.txt:
            * layout-tests/fast/block/basic/018-expected.txt:
            * layout-tests/fast/block/basic/019-expected.txt:
            * layout-tests/fast/block/float/004-expected.txt:
            * layout-tests/fast/block/float/005-expected.txt:
            * layout-tests/fast/block/float/006-expected.txt:
            * layout-tests/fast/block/float/007-expected.txt:
            * layout-tests/fast/block/float/012-expected.txt:
            * layout-tests/fast/block/float/013-expected.txt:
            * layout-tests/fast/block/float/015-expected.txt:
            * layout-tests/fast/block/float/016-expected.txt:
            * layout-tests/fast/block/float/017-expected.txt:
            * layout-tests/fast/block/float/019-expected.txt:
            * layout-tests/fast/block/float/021-expected.txt:
            * layout-tests/fast/block/float/022-expected.txt:
            * layout-tests/fast/block/float/024-expected.txt:
            * layout-tests/fast/block/float/025-expected.txt:
            * layout-tests/fast/block/float/026-expected.txt:
            * layout-tests/fast/block/float/027-expected.txt:
            * layout-tests/fast/block/float/028-expected.txt:
            * layout-tests/fast/block/margin-collapse/001-expected.txt:
            * layout-tests/fast/block/margin-collapse/005-expected.txt:
            * layout-tests/fast/block/margin-collapse/006-expected.txt:
            * layout-tests/fast/block/margin-collapse/010-expected.txt:
            * layout-tests/fast/block/margin-collapse/011-expected.txt:
            * layout-tests/fast/block/margin-collapse/012-expected.txt:
            * layout-tests/fast/block/margin-collapse/015-expected.txt:
            * layout-tests/fast/block/margin-collapse/016-expected.txt:
            * layout-tests/fast/block/margin-collapse/017-expected.txt:
            * layout-tests/fast/block/margin-collapse/018-expected.txt:
            * layout-tests/fast/block/margin-collapse/019-expected.txt:
            * layout-tests/fast/block/margin-collapse/020-expected.txt:
            * layout-tests/fast/block/margin-collapse/021-expected.txt:
            * layout-tests/fast/block/margin-collapse/022-expected.txt:
            * layout-tests/fast/block/margin-collapse/024-expected.txt:
            * layout-tests/fast/block/margin-collapse/025-expected.txt:
            * layout-tests/fast/block/margin-collapse/026-expected.txt:
            * layout-tests/fast/block/margin-collapse/027-expected.txt:
            * layout-tests/fast/block/margin-collapse/028-expected.txt:
            * layout-tests/fast/block/margin-collapse/029-expected.txt:
            * layout-tests/fast/block/margin-collapse/030-expected.txt:
            * layout-tests/fast/block/margin-collapse/032-expected.txt:
            * layout-tests/fast/block/margin-collapse/033-expected.txt:
            * layout-tests/fast/block/margin-collapse/034-expected.txt:
            * layout-tests/fast/block/margin-collapse/035-expected.txt:
            * layout-tests/fast/block/margin-collapse/041-expected.txt:
            * layout-tests/fast/block/margin-collapse/042-expected.txt:
            * layout-tests/fast/block/margin-collapse/043-expected.txt:
            * layout-tests/fast/block/positioning/048-expected.txt:
            * layout-tests/fast/block/positioning/049-expected.txt:
            * layout-tests/fast/block/positioning/050-expected.txt:
            * layout-tests/fast/block/positioning/051-expected.txt:
            * layout-tests/fast/block/positioning/056-expected.txt:
            * layout-tests/fast/block/positioning/057-expected.txt:
            * layout-tests/fast/block/positioning/058-expected.txt:
            * layout-tests/fast/block/positioning/auto/001-expected.txt:
            * layout-tests/fast/block/positioning/auto/002-expected.txt:
            * layout-tests/fast/block/positioning/auto/003-expected.txt:
            * layout-tests/fast/block/positioning/auto/004-expected.txt:
            * layout-tests/fast/block/positioning/auto/005-expected.txt:
            * layout-tests/fast/block/positioning/auto/006-expected.txt:
            * layout-tests/fast/clip/013-expected.txt:
            * layout-tests/fast/clip/014-expected.txt:
            * layout-tests/fast/css-generated-content/006-expected.txt:
            * layout-tests/fast/css/003-expected.txt:
            * layout-tests/fast/css/004-expected.txt:
            * layout-tests/fast/css/005-expected.txt:
            * layout-tests/fast/dynamic/002-expected.txt:
            * layout-tests/fast/dynamic/004-expected.txt:
            * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
            * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
            * layout-tests/fast/flexbox/007-expected.txt:
            * layout-tests/fast/flexbox/008-expected.txt:
            * layout-tests/fast/flexbox/009-expected.txt:
            * layout-tests/fast/flexbox/011-expected.txt:
            * layout-tests/fast/flexbox/016-expected.txt:
            * layout-tests/fast/flexbox/017-expected.txt:
            * layout-tests/fast/flexbox/018-expected.txt:
            * layout-tests/fast/flexbox/019-expected.txt:
            * layout-tests/fast/flexbox/022-expected.txt:
            * layout-tests/fast/flexbox/025-expected.txt:
            * layout-tests/fast/forms/001-expected.txt:
            * layout-tests/fast/forms/002-expected.txt:
            * layout-tests/fast/forms/006-expected.txt:
            * layout-tests/fast/forms/007-expected.txt:
            * layout-tests/fast/forms/form-element-geometry-expected.txt:
            * layout-tests/fast/frames/001-expected.txt:
            * layout-tests/fast/inline-block/001-expected.txt:
            * layout-tests/fast/inline-block/002-expected.txt:
            * layout-tests/fast/inline-block/003-expected.txt:
            * layout-tests/fast/inline/001-expected.txt:
            * layout-tests/fast/invalid/008-expected.txt:
            * layout-tests/fast/invalid/014-expected.txt:
            * layout-tests/fast/invalid/016-expected.txt:
            * layout-tests/fast/lists/001-expected.txt:
            * layout-tests/fast/lists/004-expected.txt:
            * layout-tests/fast/lists/007-expected.txt:
            * layout-tests/fast/overflow/001-expected.txt:
            * layout-tests/fast/overflow/002-expected.txt:
            * layout-tests/fast/overflow/004-expected.txt:
            * layout-tests/fast/replaced/005-expected.txt:
            * layout-tests/fast/replaced/006-expected.txt:
            * layout-tests/fast/replaced/008-expected.txt:
            * layout-tests/fast/selectors/009-expected.txt:
            * layout-tests/fast/selectors/014-expected.txt:
            * layout-tests/fast/selectors/032-expected.txt:
            * layout-tests/fast/selectors/033-expected.txt:
            * layout-tests/fast/selectors/039-expected.txt:
            * layout-tests/fast/selectors/039b-expected.txt:
            * layout-tests/fast/selectors/064-expected.txt:
            * layout-tests/fast/selectors/077-expected.txt:
            * layout-tests/fast/selectors/077b-expected.txt:
            * layout-tests/fast/selectors/078-expected.txt:
            * layout-tests/fast/selectors/078b-expected.txt:
            * layout-tests/fast/selectors/166a-expected.txt:
            * layout-tests/fast/table/003-expected.txt:
            * layout-tests/fast/table/004-expected.txt:
            * layout-tests/fast/table/005-expected.txt:
            * layout-tests/fast/table/006-expected.txt:
            * layout-tests/fast/table/007-expected.txt:
            * layout-tests/fast/table/008-expected.txt:
            * layout-tests/fast/table/009-expected.txt:
            * layout-tests/fast/table/015-expected.txt:
            * layout-tests/fast/table/017-expected.txt:
            * layout-tests/fast/table/018-expected.txt:
            * layout-tests/fast/table/020-expected.txt:
            * layout-tests/fast/table/023-expected.txt:
            * layout-tests/fast/table/025-expected.txt:
            * layout-tests/fast/table/027-expected.txt:
            * layout-tests/fast/table/028-expected.txt:
            * layout-tests/fast/table/029-expected.txt:
            * layout-tests/fast/table/030-expected.txt:
            * layout-tests/fast/table/035-expected.txt:
            * layout-tests/fast/table/036-expected.txt:
            * layout-tests/fast/table/038-expected.txt:
            * layout-tests/fast/table/border-collapsing/001-expected.txt:
            * layout-tests/fast/table/border-collapsing/002-expected.txt:
            * layout-tests/fast/table/border-collapsing/003-expected.txt:
            * layout-tests/fast/table/border-collapsing/004-expected.txt:
            * layout-tests/fast/table/large-width-expected.txt:
            * layout-tests/fast/table/nobr-expected.txt:
            * layout-tests/fast/text/basic/001-expected.txt:
            * layout-tests/fast/text/basic/003-expected.txt:
            * layout-tests/fast/text/basic/004-expected.txt:
            * layout-tests/fast/text/basic/005-expected.txt:
            * layout-tests/fast/text/basic/006-expected.txt:
            * layout-tests/fast/text/basic/007-expected.txt:
            * layout-tests/fast/text/basic/012-expected.txt:
            * layout-tests/fast/text/firstline/002-expected.txt:
            * layout-tests/fast/text/whitespace/002-expected.txt:
            * layout-tests/fast/text/whitespace/003-expected.txt:
            * layout-tests/fast/text/whitespace/020-expected.txt:
            * layout-tests/fast/text/whitespace/023-expected.txt:
            * layout-tests/fast/text/whitespace/024-expected.txt:
            * layout-tests/fast/text/whitespace/025-expected.txt:
            * layout-tests/fast/text/whitespace/027-expected.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5523 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 aeaa797..694c22a 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -33,18 +33,18 @@ layer at (0,0) size 800x579
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 237x18
             text run at (0,0) width 237: "This sentence should NOT be purple."
-      RenderTable {TABLE} at (0,326) size 581x237 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,326) size 581x237 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x235
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 579x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 579x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,117) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,117) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 567x209 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 567x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 559x18 [color=#008000]
                 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 c97de38..4e984f9 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 (0,272) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,272) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -47,18 +47,18 @@ layer at (0,0) size 800x870
       RenderBlock {P} at (0,528) 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."
-      RenderTable {TABLE} at (0,562) size 216x292 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,562) size 216x292 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x290
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,145) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,145) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 202x264 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 202x264 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 194x18 [color=#008000]
                 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 afc288c..ca9c771 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 (0,197) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,197) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -102,18 +102,18 @@ layer at (0,0) size 800x943
       RenderBlock {P} at (0,527) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 203x18
           text run at (0,0) width 203: "This paragraph should be green."
-      RenderTable {TABLE} at (0,561) size 784x366 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,561) size 784x366 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x364
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,182) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,182) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x338 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x338 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 56dae64..b99fe60 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -38,18 +38,18 @@ layer at (0,0) size 800x417
               RenderListMarker at (0,0) size 0x14
               RenderText {TEXT} at (0,0) size 136x18
                 text run at (0,0) width 136: "This should be green."
-      RenderTable {TABLE} at (0,245) size 722x156 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,245) size 722x156 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x154
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 720x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 720x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,77) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,77) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 708x128 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 708x128 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 700x18 [color=#800080]
                 RenderText {TEXT} at (0,0) size 700x18
                   text run at (0,0) width 700: "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 dc3f89e..e7a06a3 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -19,18 +19,18 @@ layer at (0,0) size 800x335
       RenderBlock {P} at (0,163) 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."
-      RenderTable {TABLE} at (0,197) size 216x122 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,197) size 216x122 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x120
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 202x94 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 202x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 194x18 [color=#008000]
                 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 f3a9b8b..58eec69 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 (0,167) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -42,18 +42,18 @@ layer at (0,0) size 800x627
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 237x18
             text run at (0,0) width 237: "This sentence should NOT be purple."
-      RenderTable {TABLE} at (0,380) size 422x231 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,380) size 422x231 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x229
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 420x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 420x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,114) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,114) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 408x203 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 408x203 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 400x18 [color=#008000]
                 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 e39a818..2a97726 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #008000)]
       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 "
@@ -92,18 +92,18 @@ layer at (0,0) size 800x724
             text run at (354,0) width 173: "this part (which is spanned)"
         RenderText {TEXT} at (527,0) size 4x18
           text run at (527,0) width 4: "."
-      RenderTable {TABLE} at (0,430) size 614x278 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,430) size 614x278 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x276
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 612x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 612x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,138) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,138) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 600x250 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 600x250 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {H3} at (4,4) size 592x22 [color=#0000FF]
                 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/acid_test-expected.txt b/LayoutTests/css1/box_properties/acid_test-expected.txt
index 77cd018..22de09a 100644
--- a/LayoutTests/css1/box_properties/acid_test-expected.txt
+++ b/LayoutTests/css1/box_properties/acid_test-expected.txt
@@ -2,15 +2,15 @@ layer at (0,0) size 800x600
   RenderCanvas at (0,0) size 800x600
 layer at (0,0) size 800x420
   RenderBlock {HTML} at (0,0) size 800x420 [color=#FFFFFF] [bgcolor=#0000FF]
-    RenderBody {BODY} at (15,15) size 490x390 [bgcolor=#FFFFFF]
+    RenderBody {BODY} at (15,15) size 490x390 [bgcolor=#FFFFFF] [border: (5px solid #000000)]
       RenderBlock {DL} at (5,5) size 480x10 [bgcolor=#000000]
-        RenderBlock (floating) {DT} at (5,5) size 77x310 [bgcolor=#CC0000]
+        RenderBlock (floating) {DT} at (5,5) size 77x310 [bgcolor=#CC0000] [border: (5px solid #000000)]
           RenderText {TEXT} at (15,14) size 31x10
             text run at (15,14) width 31: "toggle"
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {DD} at (95,5) size 380x310
+        RenderBlock (floating) {DD} at (95,5) size 380x310 [border: (10px solid #000000)]
           RenderBlock {UL} at (20,20) size 340x0
-            RenderBlock (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00]
+            RenderBlock (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
               RenderText {TEXT} at (15,14) size 40x10
                 text run at (15,14) width 40: "the way"
             RenderText {TEXT} at (0,0) size 0x0
@@ -34,9 +34,9 @@ layer at (0,0) size 800x420
                   RenderText {TEXT} at (0,0) size 0x0
               RenderBlock (anonymous) at (10,58) size 139x0 [bgcolor=#000000]
                 RenderInline {FORM} at (0,0) size 0x0
-                RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#000000]
+                RenderText {TEXT} at (0,0) size 0x0
             RenderText {TEXT} at (0,0) size 0x0
-            RenderBlock (floating) {LI} at (259,0) size 80x120 [color=#000000] [bgcolor=#FFCC00]
+            RenderBlock (floating) {LI} at (259,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
               RenderText {TEXT} at (15,14) size 50x10
                 text run at (15,14) width 50: "i grow old"
             RenderText {TEXT} at (0,0) size 0x0
@@ -44,7 +44,7 @@ layer at (0,0) size 800x420
               RenderText {TEXT} at (10,9) size 30x10
                 text run at (10,9) width 30: "pluot?"
             RenderText {TEXT} at (0,0) size 0x0
-          RenderBlock (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00]
+          RenderBlock (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00] [border: (10px solid #000000) (15px solid #000000) (20px solid #000000) (5px solid #000000)]
             RenderBlock {ADDRESS} at (5,20) size 50x20 [bgcolor=#000000]
               RenderText {TEXT} at (0,-1) size 34x20
                 text run at (0,-1) width 16: "bar"
diff --git a/LayoutTests/css1/box_properties/border-expected.txt b/LayoutTests/css1/box_properties/border-expected.txt
index 256dc25..e06286a 100644
--- a/LayoutTests/css1/box_properties/border-expected.txt
+++ b/LayoutTests/css1/box_properties/border-expected.txt
@@ -22,22 +22,22 @@ 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 (0,182) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (627,0) width 153: "This border applies only"
           text run at (0,18) width 285: "to the cells, not the rows which contain them."
-      RenderBlock {P} at (0,252) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,252) size 784x24 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 483x18
           text run at (3,3) width 483: "This paragraph should have a medium black solid border all the way around."
-      RenderBlock {P} at (0,292) size 784x20 [bgcolor=#000000]
+      RenderBlock {P} at (0,292) size 784x20 [bgcolor=#000000] [border: (1px ridge #800000)]
         RenderText {TEXT} at (1,1) size 480x18
           text run at (1,1) width 480: "This paragraph should have a thin maroon ridged border all the way around."
-      RenderBlock {P} at (0,328) size 784x38 [bgcolor=#000000]
+      RenderBlock {P} at (0,328) size 784x38 [bgcolor=#000000] [border: (10px outset #008080)]
         RenderText {TEXT} at (10,10) size 518x18
           text run at (10,10) width 518: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
-      RenderBlock {P} at (0,382) size 784x38 [bgcolor=#000000]
+      RenderBlock {P} at (0,382) size 784x38 [bgcolor=#000000] [border: (10px inset #808000)]
         RenderText {TEXT} at (10,10) size 519x18
           text run at (10,10) width 519: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
       RenderBlock {P} at (0,436) size 784x18 [bgcolor=#000000]
@@ -48,7 +48,7 @@ layer at (0,0) size 800x1378
             text run at (348,2) width 96: "border-style"
         RenderText {TEXT} at (444,0) size 323x18
           text run at (444,0) width 323: " was not set, and it should not be offset in any way."
-      RenderBlock {P} at (0,470) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,470) size 784x24 [bgcolor=#000000] [border: (3px double #800000)]
         RenderText {TEXT} at (3,3) size 535x18
           text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
         RenderInline {CODE} at (0,0) size 96x15
@@ -69,59 +69,59 @@ layer at (0,0) size 800x1378
           RenderImage {IMG} at (740,0) size 15x15
         RenderText {TEXT} at (755,1) size 4x18
           text run at (755,1) width 4: "."
-      RenderTable {TABLE} at (0,579) size 784x113 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,579) size 784x113 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x111
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,5) size 772x42 [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (5,5) size 772x42 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               RenderText {TEXT} at (3,3) size 759x36
                 text run at (3,3) width 248: "Every cell in this table should have a 2-"
                 text run at (251,3) width 157: "pixel solid green border. "
                 text run at (408,3) width 354: "This is also true of the table-testing section in the second"
                 text run at (3,21) width 127: "half of the test page."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,67) size 197x24 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (5,67) size 197x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (3,3) size 53x18
                 text run at (3,3) width 53: "Cell one"
-            RenderTableCell {TD} at (207,52) size 570x54 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (207,52) size 570x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (3,3) size 564x18
                 RenderText {TEXT} at (0,0) size 54x18
                   text run at (0,0) width 54: "Cell two"
-              RenderTable {TABLE} at (3,21) size 163x30
+              RenderTable {TABLE} at (3,21) size 163x30 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x28
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 157x24 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 157x24 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (3,3) size 151x18
                         text run at (3,3) width 151: "Nested single-cell table!"
       RenderBlock {P} at (0,708) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 175x18
           text run at (0,0) width 175: "This is an unstyled element."
-      RenderTable {TABLE} at (0,742) size 784x620 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,742) size 784x620 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x618
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (5,5) size 163x18
                   text run at (5,5) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,309) size 14x28 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,309) size 14x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (5,5) size 4x18
                 text run at (5,5) width 4: " "
-            RenderTableCell {TD} at (14,28) size 768x590 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (14,28) size 768x590 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (5,5) size 758x36
                 RenderText {TEXT} at (0,0) size 748x36
                   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. "
                   text run at (627,0) width 121: "This border applies"
                   text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-              RenderBlock {P} at (5,57) size 758x24
+              RenderBlock {P} at (5,57) size 758x24 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 483x18
                   text run at (3,3) width 483: "This paragraph should have a medium black solid border all the way around."
-              RenderBlock {P} at (5,97) size 758x20
+              RenderBlock {P} at (5,97) size 758x20 [border: (1px ridge #800000)]
                 RenderText {TEXT} at (1,1) size 480x18
                   text run at (1,1) width 480: "This paragraph should have a thin maroon ridged border all the way around."
-              RenderBlock {P} at (5,133) size 758x38
+              RenderBlock {P} at (5,133) size 758x38 [border: (10px outset #008080)]
                 RenderText {TEXT} at (10,10) size 518x18
                   text run at (10,10) width 518: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
-              RenderBlock {P} at (5,187) size 758x38
+              RenderBlock {P} at (5,187) size 758x38 [border: (10px inset #808000)]
                 RenderText {TEXT} at (10,10) size 519x18
                   text run at (10,10) width 519: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
               RenderBlock {P} at (5,241) size 758x36
@@ -133,7 +133,7 @@ layer at (0,0) size 800x1378
                 RenderText {TEXT} at (444,0) size 732x36
                   text run at (444,0) width 288: " was not set, and it should not be offset in any"
                   text run at (0,18) width 31: "way."
-              RenderBlock {P} at (5,293) size 758x42
+              RenderBlock {P} at (5,293) size 758x42 [border: (3px double #800000)]
                 RenderText {TEXT} at (3,3) size 535x18
                   text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
                 RenderInline {CODE} at (0,0) size 96x15
@@ -155,27 +155,27 @@ layer at (0,0) size 800x1378
                   RenderImage {IMG} at (740,0) size 15x15
                 RenderText {TEXT} at (0,19) size 4x18
                   text run at (0,19) width 4: "."
-              RenderTable {TABLE} at (5,438) size 758x113
+              RenderTable {TABLE} at (5,438) size 758x113 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x111
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,5) size 746x42 [r=0 c=0 rs=1 cs=2]
+                    RenderTableCell {TD} at (5,5) size 746x42 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
                       RenderText {TEXT} at (3,3) size 711x36
                         text run at (3,3) width 248: "Every cell in this table should have a 2-"
                         text run at (251,3) width 157: "pixel solid green border. "
                         text run at (408,3) width 306: "This is also true of the table-testing section in the"
                         text run at (3,21) width 175: "second half of the test page."
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,67) size 191x24 [r=1 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (5,67) size 191x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (3,3) size 53x18
                         text run at (3,3) width 53: "Cell one"
-                    RenderTableCell {TD} at (201,52) size 550x54 [r=1 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (201,52) size 550x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                       RenderBlock (anonymous) at (3,3) size 544x18
                         RenderText {TEXT} at (0,0) size 54x18
                           text run at (0,0) width 54: "Cell two"
-                      RenderTable {TABLE} at (3,21) size 163x30
+                      RenderTable {TABLE} at (3,21) size 163x30 [border: (1px outset #808080)]
                         RenderTableSection {TBODY} at (1,1) size 0x28
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 157x24 [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 157x24 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
                               RenderText {TEXT} at (3,3) size 151x18
                                 text run at (3,3) width 151: "Nested single-cell table!"
               RenderBlock {P} at (5,567) size 758x18
diff --git a/LayoutTests/css1/box_properties/border_bottom-expected.txt b/LayoutTests/css1/box_properties/border_bottom-expected.txt
index f0a54d7..856c64d 100644
--- a/LayoutTests/css1/box_properties/border_bottom-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom-expected.txt
@@ -14,44 +14,44 @@ 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (658,0) width 121: "This border applies"
           text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-      RenderBlock {P} at (0,177) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,177) size 784x28 [bgcolor=#000000] [border: (10px double #800080) none]
         RenderText {TEXT} at (0,0) size 438x18
           text run at (0,0) width 310: "This paragraph should have a purple, double, 10-"
           text run at (310,0) width 128: "pixel bottom border."
-      RenderBlock {P} at (0,221) size 784x19 [bgcolor=#000000]
+      RenderBlock {P} at (0,221) size 784x19 [bgcolor=#000000] [border: (1px solid #800080) none]
         RenderText {TEXT} at (0,0) size 355x18
           text run at (0,0) width 355: "This paragraph should have a thin purple bottom border."
-      RenderTable {TABLE} at (0,256) size 784x110 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,256) size 784x110 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x108
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,5) size 772x41 [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (5,5) size 772x41 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderText {TEXT} at (2,2) size 759x36
                 text run at (2,2) width 248: "Every cell in this table should have a 2-"
                 text run at (250,2) width 205: "pixel solid green bottom border. "
                 text run at (455,2) width 306: "This is also true of the table-testing section in the"
                 text run at (2,20) width 175: "second half of the test page."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,65) size 196x23 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (5,65) size 196x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 53x18
                 text run at (2,2) width 53: "Cell one"
-            RenderTableCell {TD} at (206,51) size 571x52 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (206,51) size 571x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (2,2) size 567x18
                 RenderText {TEXT} at (0,0) size 54x18
                   text run at (0,0) width 54: "Cell two"
-              RenderTable {TABLE} at (2,20) size 161x29
+              RenderTable {TABLE} at (2,20) size 161x29 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x27
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 155x23 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 155x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 151x18
                         text run at (2,2) width 151: "Nested single-cell table!"
       RenderBlock {UL} at (0,382) size 784x135 [bgcolor=#000000]
-        RenderListItem {LI} at (40,0) size 744x75
+        RenderListItem {LI} at (40,0) size 744x75 [border: (3px solid #000000) none]
           RenderBlock (anonymous) at (0,0) size 744x18
             RenderListMarker at (0,0) size 0x14
             RenderText {TEXT} at (0,0) size 118x18
@@ -69,11 +69,11 @@ layer at (0,0) size 800x995
               RenderListMarker at (0,0) size 0x14
               RenderText {TEXT} at (0,0) size 176x18
                 text run at (0,0) width 176: "...nested within the list item."
-        RenderListItem {LI} at (40,75) size 744x21
+        RenderListItem {LI} at (40,75) size 744x21 [border: (3px solid #000000) none]
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 158x18
             text run at (0,0) width 158: "This is a second list item."
-        RenderListItem {LI} at (40,96) size 744x39
+        RenderListItem {LI} at (40,96) size 744x39 [border: (3px solid #000000) none]
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 734x36
             text run at (0,0) width 734: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that it"
@@ -83,55 +83,55 @@ layer at (0,0) size 800x995
               text run at (92,18) width 50: "beneath"
           RenderText {TEXT} at (142,18) size 390x18
             text run at (142,18) width 390: " the nested list (below the line \"...nested within the list item.\")."
-      RenderTable {TABLE} at (0,533) size 784x446 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,533) size 784x446 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x444
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x27 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,222) size 12x27 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,222) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,27) size 770x417 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,27) size 770x417 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 731x36
                   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. "
                   text run at (658,0) width 73: "This border"
                   text run at (0,18) width 365: "applies only to the cells, not the rows which contain them."
-              RenderBlock {P} at (4,56) size 762x28
+              RenderBlock {P} at (4,56) size 762x28 [border: (10px double #800080) none]
                 RenderText {TEXT} at (0,0) size 438x18
                   text run at (0,0) width 310: "This paragraph should have a purple, double, 10-"
                   text run at (310,0) width 128: "pixel bottom border."
-              RenderBlock {P} at (4,100) size 762x19
+              RenderBlock {P} at (4,100) size 762x19 [border: (1px solid #800080) none]
                 RenderText {TEXT} at (0,0) size 355x18
                   text run at (0,0) width 355: "This paragraph should have a thin purple bottom border."
-              RenderTable {TABLE} at (4,135) size 762x110
+              RenderTable {TABLE} at (4,135) size 762x110 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x108
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,5) size 750x41 [r=0 c=0 rs=1 cs=2]
+                    RenderTableCell {TD} at (5,5) size 750x41 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       RenderText {TEXT} at (2,2) size 736x36
                         text run at (2,2) width 248: "Every cell in this table should have a 2-"
                         text run at (250,2) width 205: "pixel solid green bottom border. "
                         text run at (455,2) width 283: "This is also true of the table-testing section in"
                         text run at (2,20) width 198: "the second half of the test page."
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,65) size 190x23 [r=1 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (5,65) size 190x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 53x18
                         text run at (2,2) width 53: "Cell one"
-                    RenderTableCell {TD} at (200,51) size 555x52 [r=1 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (200,51) size 555x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                       RenderBlock (anonymous) at (2,2) size 551x18
                         RenderText {TEXT} at (0,0) size 54x18
                           text run at (0,0) width 54: "Cell two"
-                      RenderTable {TABLE} at (2,20) size 161x29
+                      RenderTable {TABLE} at (2,20) size 161x29 [border: (1px outset #808080)]
                         RenderTableSection {TBODY} at (1,1) size 0x27
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 155x23 [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 155x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                               RenderText {TEXT} at (2,2) size 151x18
                                 text run at (2,2) width 151: "Nested single-cell table!"
               RenderBlock {UL} at (4,261) size 762x135
-                RenderListItem {LI} at (40,0) size 722x75
+                RenderListItem {LI} at (40,0) size 722x75 [border: (3px solid #000000) none]
                   RenderBlock (anonymous) at (0,0) size 722x18
                     RenderListMarker at (0,0) size 0x14
                     RenderText {TEXT} at (0,0) size 118x18
@@ -149,11 +149,11 @@ layer at (0,0) size 800x995
                       RenderListMarker at (0,0) size 0x14
                       RenderText {TEXT} at (0,0) size 176x18
                         text run at (0,0) width 176: "...nested within the list item."
-                RenderListItem {LI} at (40,75) size 722x21
+                RenderListItem {LI} at (40,75) size 722x21 [border: (3px solid #000000) none]
                   RenderListMarker at (0,0) size 0x14
                   RenderText {TEXT} at (0,0) size 158x18
                     text run at (0,0) width 158: "This is a second list item."
-                RenderListItem {LI} at (40,96) size 722x39
+                RenderListItem {LI} at (40,96) size 722x39 [border: (3px solid #000000) none]
                   RenderListMarker at (0,0) size 0x14
                   RenderText {TEXT} at (0,0) size 722x36
                     text run at (0,0) width 722: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that"
diff --git a/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt b/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
index 99c7a66..e3dfa47 100644
--- a/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom_inline-expected.txt
@@ -11,46 +11,46 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000] [border: (10px double #800080) none]
           RenderText {TEXT} at (666,0) size 57x18
             text run at (666,0) width 57: "class one"
         RenderText {TEXT} at (723,0) size 770x36
           text run at (723,0) width 47: ", which"
           text run at (0,18) width 112: "should have a 10-"
           text run at (112,18) width 250: "pixel purple double bottom border; and "
-        RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000] [border: (1px solid #800080) none]
           RenderText {TEXT} at (362,18) size 58x18
             text run at (362,18) width 58: "class two"
         RenderText {TEXT} at (420,18) size 761x36
           text run at (420,18) width 341: ", which should have a thin solid purple bottom border."
           text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
-      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 "
-                RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000] [border: (10px double #800080) none]
                   RenderText {TEXT} at (666,0) size 57x18
                     text run at (666,0) width 57: "class one"
                 RenderText {TEXT} at (723,0) size 727x36
                   text run at (723,0) width 4: ","
                   text run at (0,18) width 155: "which should have a 10-"
                   text run at (155,18) width 250: "pixel purple double bottom border; and "
-                RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000] [border: (1px solid #800080) none]
                   RenderText {TEXT} at (405,18) size 58x18
                     text run at (405,18) width 58: "class two"
                 RenderText {TEXT} at (463,18) size 755x36
diff --git a/LayoutTests/css1/box_properties/border_bottom_width-expected.txt b/LayoutTests/css1/box_properties/border_bottom_width-expected.txt
index 91e44b6..804d197 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,16 +28,16 @@ layer at (0,0) size 800x877
       RenderBlock {P} at (0,189) 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."
-      RenderBlock {P} at (0,223) size 784x71 [bgcolor=#000000]
+      RenderBlock {P} at (0,223) size 784x71 [bgcolor=#000000] [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 387x18
           text run at (3,3) width 387: "This element should have a bottom border width of 50 pixels."
-      RenderBlock {P} at (0,310) size 784x26 [bgcolor=#000000]
+      RenderBlock {P} at (0,310) size 784x26 [bgcolor=#000000] [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 344x18
           text run at (3,3) width 344: "This element should have a thick bottom border width."
-      RenderBlock {P} at (0,352) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,352) size 784x24 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 364x18
           text run at (3,3) width 364: "This element should have a medium bottom border width."
-      RenderBlock {P} at (0,392) size 784x22 [bgcolor=#000000]
+      RenderBlock {P} at (0,392) size 784x22 [bgcolor=#000000] [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 337x18
           text run at (3,3) width 337: "This element should have a thin bottom border width."
       RenderBlock {P} at (0,430) size 784x18 [bgcolor=#000000]
@@ -51,18 +51,18 @@ layer at (0,0) size 800x877
       RenderBlock {P} at (0,464) 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."
-      RenderTable {TABLE} at (0,498) size 709x363 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,498) size 709x363 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x361
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 707x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 707x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,180) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,180) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 695x335 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 695x335 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 687x18
                 RenderText {TEXT} at (0,0) size 157x18
                   text run at (0,0) width 157: "(These will only work if "
@@ -74,16 +74,16 @@ layer at (0,0) size 800x877
               RenderBlock {P} at (4,38) size 687x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 203x18
                   text run at (0,0) width 203: "This element has a class of zero."
-              RenderBlock {P} at (4,72) size 687x71
+              RenderBlock {P} at (4,72) size 687x71 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 387x18
                   text run at (3,3) width 387: "This element should have a bottom border width of 50 pixels."
-              RenderBlock {P} at (4,159) size 687x26
+              RenderBlock {P} at (4,159) size 687x26 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 344x18
                   text run at (3,3) width 344: "This element should have a thick bottom border width."
-              RenderBlock {P} at (4,201) size 687x24
+              RenderBlock {P} at (4,201) size 687x24 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 364x18
                   text run at (3,3) width 364: "This element should have a medium bottom border width."
-              RenderBlock {P} at (4,241) size 687x22
+              RenderBlock {P} at (4,241) size 687x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 337x18
                   text run at (3,3) width 337: "This element should have a thin bottom border width."
               RenderBlock {P} at (4,279) size 687x18
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 93a3a97..b8dc81f 100644
--- a/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -13,8 +13,8 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x100 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x100 [bgcolor=#000000] [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 172x18
           text run at (3,3) width 172: "This element has a class of "
         RenderInline {TT} at (0,0) size 24x15
@@ -23,7 +23,7 @@ layer at (0,0) size 800x378
         RenderText {TEXT} at (199,3) size 162x18
           text run at (199,3) width 8: ". "
           text run at (207,3) width 154: "However, it contains an "
-        RenderInline {SPAN} at (0,0) size 173x22
+        RenderInline {SPAN} at (0,0) size 173x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
           RenderText {TEXT} at (364,3) size 143x18
             text run at (364,3) width 143: "inline element of class "
           RenderInline {TT} at (0,0) size 24x15
@@ -43,19 +43,19 @@ layer at (0,0) size 800x378
         RenderText {TEXT} at (234,39) size 770x36
           text run at (234,39) width 539: ", which should have no bottom border width or visible border because no border style"
           text run at (3,57) width 50: "was set."
-      RenderTable {TABLE} at (0,226) size 784x136 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,226) size 784x136 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x134
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x108 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x100
+            RenderTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 172x18
                   text run at (3,3) width 172: "This element has a class of "
                 RenderInline {TT} at (0,0) size 24x15
@@ -64,7 +64,7 @@ layer at (0,0) size 800x378
                 RenderText {TEXT} at (199,3) size 162x18
                   text run at (199,3) width 8: ". "
                   text run at (207,3) width 154: "However, it contains an "
-                RenderInline {SPAN} at (0,0) size 173x22
+                RenderInline {SPAN} at (0,0) size 173x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                   RenderText {TEXT} at (364,3) size 143x18
                     text run at (364,3) width 143: "inline element of class "
                   RenderInline {TT} at (0,0) size 24x15
diff --git a/LayoutTests/css1/box_properties/border_color-expected.txt b/LayoutTests/css1/box_properties/border_color-expected.txt
index d2204c1..d74b8d8 100644
--- a/LayoutTests/css1/box_properties/border_color-expected.txt
+++ b/LayoutTests/css1/box_properties/border_color-expected.txt
@@ -11,36 +11,36 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x24 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x24 [bgcolor=#000000] [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 357x18
           text run at (3,3) width 357: "This element should have a purple border surrounding it."
-      RenderBlock {P} at (0,150) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,150) size 784x24 [bgcolor=#000000] [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 453x18
           text run at (3,3) width 453: "This element should have a medium-width purple border surrounding it."
-      RenderBlock {P} at (0,190) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,190) size 784x42 [bgcolor=#000000] [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
         RenderText {TEXT} at (3,3) size 763x36
           text run at (3,3) width 763: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the"
           text run at (3,21) width 222: "bottom, and yellow on the left side."
-      RenderTable {TABLE} at (0,248) size 784x158 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,248) size 784x158 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x156
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,78) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,78) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x130 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x24
+            RenderTableCell {TD} at (12,26) size 770x130 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x24 [border: (3px solid #800080)]
                 RenderText {TEXT} at (3,3) size 357x18
                   text run at (3,3) width 357: "This element should have a purple border surrounding it."
-              RenderBlock {P} at (4,44) size 762x24
+              RenderBlock {P} at (4,44) size 762x24 [border: (3px solid #800080)]
                 RenderText {TEXT} at (3,3) size 453x18
                   text run at (3,3) width 453: "This element should have a medium-width purple border surrounding it."
-              RenderBlock {P} at (4,84) size 762x42
+              RenderBlock {P} at (4,84) size 762x42 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
                 RenderText {TEXT} at (3,3) size 740x36
                   text run at (3,3) width 740: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on"
                   text run at (3,21) width 245: "the bottom, and yellow on the left side."
diff --git a/LayoutTests/css1/box_properties/border_color_inline-expected.txt b/LayoutTests/css1/box_properties/border_color_inline-expected.txt
index 7636255..fb832ff 100644
--- a/LayoutTests/css1/box_properties/border_color_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_color_inline-expected.txt
@@ -11,22 +11,22 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 63x24 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 63x24 [bgcolor=#000000] [border: (3px solid #800080)]
           RenderText {TEXT} at (680,0) size 57x18
             text run at (680,0) width 57: "class one"
         RenderText {TEXT} at (740,0) size 8x18
           text run at (740,0) width 8: ", "
-        RenderInline {SPAN} at (0,0) size 781x42 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 781x42 [bgcolor=#000000] [border: (3px solid #800080)]
           RenderText {TEXT} at (751,0) size 781x36
             text run at (751,0) width 30: "class"
             text run at (0,18) width 24: "two"
         RenderText {TEXT} at (27,18) size 35x18
           text run at (27,18) width 35: ", and "
-        RenderInline {SPAN} at (0,0) size 71x24 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 71x24 [bgcolor=#000000] [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
           RenderText {TEXT} at (65,18) size 65x18
             text run at (65,18) width 65: "class three"
         RenderText {TEXT} at (133,18) size 764x54
@@ -35,32 +35,32 @@ layer at (0,0) size 800x322
           text run at (0,36) width 569: "and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
           text run at (569,36) width 179: "The line-height of the parent"
           text run at (0,54) width 284: "element should not change at all, on any line."
-      RenderTable {TABLE} at (0,198) size 784x108 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,198) size 784x108 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x106
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,53) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,53) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x80 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x72 [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 "
-                RenderInline {SPAN} at (0,0) size 63x24 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 63x24 [bgcolor=#000000] [border: (3px solid #800080)]
                   RenderText {TEXT} at (680,0) size 57x18
                     text run at (680,0) width 57: "class one"
                 RenderText {TEXT} at (740,0) size 4x18
                   text run at (740,0) width 4: ","
-                RenderInline {SPAN} at (0,0) size 64x24 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 64x24 [bgcolor=#000000] [border: (3px solid #800080)]
                   RenderText {TEXT} at (3,18) size 58x18
                     text run at (3,18) width 58: "class two"
                 RenderText {TEXT} at (64,18) size 35x18
                   text run at (64,18) width 35: ", and "
-                RenderInline {SPAN} at (0,0) size 71x24 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 71x24 [bgcolor=#000000] [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
                   RenderText {TEXT} at (102,18) size 65x18
                     text run at (102,18) width 65: "class three"
                 RenderText {TEXT} at (170,18) size 756x54
diff --git a/LayoutTests/css1/box_properties/border_inline-expected.txt b/LayoutTests/css1/box_properties/border_inline-expected.txt
index 57fbe99..a9bf68f 100644
--- a/LayoutTests/css1/box_properties/border_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_inline-expected.txt
@@ -12,47 +12,47 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 77x38 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 77x38 [bgcolor=#000000] [border: (10px outset #008080)]
           RenderText {TEXT} at (687,0) size 57x18
             text run at (687,0) width 57: "class one"
         RenderText {TEXT} at (754,0) size 758x36
           text run at (754,0) width 4: ","
           text run at (0,18) width 175: "which should result in a 10-"
           text run at (175,18) width 178: "pixel outset teal border; and "
-        RenderInline {SPAN} at (0,0) size 78x38 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 78x38 [bgcolor=#000000] [border: (10px inset #808000)]
           RenderText {TEXT} at (363,18) size 58x18
             text run at (363,18) width 58: "class two"
         RenderText {TEXT} at (431,18) size 762x36
           text run at (431,18) width 183: ", which should result in a 10-"
           text run at (614,18) width 148: "pixel inset olive border."
           text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
-      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 "
-                RenderInline {SPAN} at (0,0) size 77x38 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 77x38 [bgcolor=#000000] [border: (10px outset #008080)]
                   RenderText {TEXT} at (687,0) size 57x18
                     text run at (687,0) width 57: "class one"
                 RenderText {TEXT} at (754,0) size 758x36
                   text run at (754,0) width 4: ","
                   text run at (0,18) width 175: "which should result in a 10-"
                   text run at (175,18) width 178: "pixel outset teal border; and "
-                RenderInline {SPAN} at (0,0) size 78x38 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 78x38 [bgcolor=#000000] [border: (10px inset #808000)]
                   RenderText {TEXT} at (363,18) size 58x18
                     text run at (363,18) width 58: "class two"
                 RenderText {TEXT} at (431,18) size 762x36
diff --git a/LayoutTests/css1/box_properties/border_left-expected.txt b/LayoutTests/css1/box_properties/border_left-expected.txt
index 3a8ddaa..b1b0f0f 100644
--- a/LayoutTests/css1/box_properties/border_left-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left-expected.txt
@@ -18,44 +18,44 @@ 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (634,0) width 121: "This border applies"
           text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-      RenderBlock {P} at (20,222) size 764x18 [bgcolor=#000000]
+      RenderBlock {P} at (20,222) size 764x18 [bgcolor=#000000] [border: (10px double #800080)]
         RenderText {TEXT} at (10,0) size 414x18
           text run at (10,0) width 310: "This paragraph should have a purple, double, 10-"
           text run at (320,0) width 104: "pixel left border."
-      RenderBlock {P} at (20,256) size 764x18 [bgcolor=#000000]
+      RenderBlock {P} at (20,256) size 764x18 [bgcolor=#000000] [border: (1px solid #800080)]
         RenderText {TEXT} at (1,0) size 331x18
           text run at (1,0) width 331: "This paragraph should have a thin purple left border."
-      RenderTable {TABLE} at (0,290) size 784x107 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,290) size 784x107 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x105
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,5) size 772x40 [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (5,5) size 772x40 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               RenderText {TEXT} at (3,2) size 735x36
                 text run at (3,2) width 248: "Every cell in this table should have a 2-"
                 text run at (251,2) width 181: "pixel solid green left border. "
                 text run at (432,2) width 306: "This is also true of the table-testing section in the"
                 text run at (3,20) width 175: "second half of the test page."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,64) size 197x22 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (5,64) size 197x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (3,2) size 53x18
                 text run at (3,2) width 53: "Cell one"
-            RenderTableCell {TD} at (207,50) size 570x50 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (207,50) size 570x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (3,2) size 565x18
                 RenderText {TEXT} at (0,0) size 54x18
                   text run at (0,0) width 54: "Cell two"
-              RenderTable {TABLE} at (3,20) size 162x28
+              RenderTable {TABLE} at (3,20) size 162x28 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x26
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 156x22 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 156x22 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (3,2) size 151x18
                         text run at (3,2) width 151: "Nested single-cell table!"
       RenderBlock {UL} at (0,413) size 784x144 [bgcolor=#000000]
-        RenderListItem {LI} at (40,0) size 744x72
+        RenderListItem {LI} at (40,0) size 744x72 [border: (3px solid #000000)]
           RenderBlock (anonymous) at (3,0) size 741x18
             RenderListMarker at (0,0) size 0x14
             RenderText {TEXT} at (0,0) size 118x18
@@ -73,66 +73,66 @@ layer at (0,0) size 800x1028
               RenderListMarker at (0,0) size 0x14
               RenderText {TEXT} at (0,0) size 176x18
                 text run at (0,0) width 176: "...nested within the list item."
-        RenderListItem {LI} at (40,72) size 744x18
+        RenderListItem {LI} at (40,72) size 744x18 [border: (3px solid #800080)]
           RenderListMarker at (3,0) size 0x14
           RenderText {TEXT} at (3,0) size 158x18
             text run at (3,0) width 158: "This is a second list item."
-        RenderListItem {LI} at (40,90) size 744x54
+        RenderListItem {LI} at (40,90) size 744x54 [border: (3px solid #0000FF)]
           RenderListMarker at (3,0) size 0x14
           RenderText {TEXT} at (3,0) size 720x54
             text run at (3,0) width 695: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors. "
             text run at (698,0) width 25: "The"
             text run at (3,18) width 719: "first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within"
             text run at (3,36) width 490: "the list item.\"), even though the nested list does not have any border styles set."
-      RenderTable {TABLE} at (0,573) size 784x439 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,573) size 784x439 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x437
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (5,4) size 163x18
                   text run at (5,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,218) size 13x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,218) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (5,4) size 4x18
                 text run at (5,4) width 4: " "
-            RenderTableCell {TD} at (13,26) size 769x411 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (13,26) size 769x411 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (25,4) size 740x36
                 RenderText {TEXT} at (0,0) size 707x36
                   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. "
                   text run at (634,0) width 73: "This border"
                   text run at (0,18) width 365: "applies only to the cells, not the rows which contain them."
-              RenderBlock {P} at (25,56) size 740x18
+              RenderBlock {P} at (25,56) size 740x18 [border: (10px double #800080)]
                 RenderText {TEXT} at (10,0) size 414x18
                   text run at (10,0) width 310: "This paragraph should have a purple, double, 10-"
                   text run at (320,0) width 104: "pixel left border."
-              RenderBlock {P} at (25,90) size 740x18
+              RenderBlock {P} at (25,90) size 740x18 [border: (1px solid #800080)]
                 RenderText {TEXT} at (1,0) size 331x18
                   text run at (1,0) width 331: "This paragraph should have a thin purple left border."
-              RenderTable {TABLE} at (5,124) size 760x107
+              RenderTable {TABLE} at (5,124) size 760x107 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x105
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,5) size 748x40 [r=0 c=0 rs=1 cs=2]
+                    RenderTableCell {TD} at (5,5) size 748x40 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
                       RenderText {TEXT} at (3,2) size 735x36
                         text run at (3,2) width 248: "Every cell in this table should have a 2-"
                         text run at (251,2) width 181: "pixel solid green left border. "
                         text run at (432,2) width 306: "This is also true of the table-testing section in the"
                         text run at (3,20) width 175: "second half of the test page."
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,64) size 191x22 [r=1 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (5,64) size 191x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (3,2) size 53x18
                         text run at (3,2) width 53: "Cell one"
-                    RenderTableCell {TD} at (201,50) size 552x50 [r=1 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (201,50) size 552x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                       RenderBlock (anonymous) at (3,2) size 547x18
                         RenderText {TEXT} at (0,0) size 54x18
                           text run at (0,0) width 54: "Cell two"
-                      RenderTable {TABLE} at (3,20) size 162x28
+                      RenderTable {TABLE} at (3,20) size 162x28 [border: (1px outset #808080)]
                         RenderTableSection {TBODY} at (1,1) size 0x26
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 156x22 [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 156x22 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
                               RenderText {TEXT} at (3,2) size 151x18
                                 text run at (3,2) width 151: "Nested single-cell table!"
               RenderBlock {UL} at (5,247) size 760x144
-                RenderListItem {LI} at (40,0) size 720x72
+                RenderListItem {LI} at (40,0) size 720x72 [border: (3px solid #000000)]
                   RenderBlock (anonymous) at (3,0) size 717x18
                     RenderListMarker at (0,0) size 0x14
                     RenderText {TEXT} at (0,0) size 118x18
@@ -150,11 +150,11 @@ layer at (0,0) size 800x1028
                       RenderListMarker at (0,0) size 0x14
                       RenderText {TEXT} at (0,0) size 176x18
                         text run at (0,0) width 176: "...nested within the list item."
-                RenderListItem {LI} at (40,72) size 720x18
+                RenderListItem {LI} at (40,72) size 720x18 [border: (3px solid #800080)]
                   RenderListMarker at (3,0) size 0x14
                   RenderText {TEXT} at (3,0) size 158x18
                     text run at (3,0) width 158: "This is a second list item."
-                RenderListItem {LI} at (40,90) size 720x54
+                RenderListItem {LI} at (40,90) size 720x54 [border: (3px solid #0000FF)]
                   RenderListMarker at (3,0) size 0x14
                   RenderText {TEXT} at (3,0) size 704x54
                     text run at (3,0) width 691: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors."
diff --git a/LayoutTests/css1/box_properties/border_left_inline-expected.txt b/LayoutTests/css1/box_properties/border_left_inline-expected.txt
index be627ed..690194f 100644
--- a/LayoutTests/css1/box_properties/border_left_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left_inline-expected.txt
@@ -13,48 +13,48 @@ 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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-"
           text run at (364,0) width 396: "pixel left margin, and it contains inline elements with classes of"
-        RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000] [border: (10px double #800080)]
           RenderText {TEXT} at (10,18) size 57x18
             text run at (10,18) width 57: "class one"
         RenderText {TEXT} at (67,18) size 389x18
           text run at (67,18) width 163: ", which should have a 10-"
           text run at (230,18) width 226: "pixel purple double left border; and "
-        RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000] [border: (1px solid #800080)]
           RenderText {TEXT} at (457,18) size 58x18
             text run at (457,18) width 58: "class two"
         RenderText {TEXT} at (515,18) size 759x36
           text run at (515,18) width 244: ", which should have a thin solid purple"
           text run at (0,36) width 73: "left border. "
           text run at (73,36) width 429: "The line-height of the parent element should not change on any line."
-      RenderTable {TABLE} at (0,195) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,195) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (24,4) size 742x54 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 696x36
                   text run at (0,0) width 364: "This paragraph has a background color of silver and a 20-"
                   text run at (364,0) width 332: "pixel left margin, and it contains inline elements with"
                   text run at (0,18) width 64: "classes of "
-                RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000] [border: (10px double #800080)]
                   RenderText {TEXT} at (74,18) size 57x18
                     text run at (74,18) width 57: "class one"
                 RenderText {TEXT} at (131,18) size 389x18
                   text run at (131,18) width 163: ", which should have a 10-"
                   text run at (294,18) width 226: "pixel purple double left border; and "
-                RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000] [border: (1px solid #800080)]
                   RenderText {TEXT} at (521,18) size 58x18
                     text run at (521,18) width 58: "class two"
                 RenderText {TEXT} at (579,18) size 717x36
diff --git a/LayoutTests/css1/box_properties/border_left_width-expected.txt b/LayoutTests/css1/box_properties/border_left_width-expected.txt
index d6c802f..379c956 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,18 +28,18 @@ layer at (0,0) size 800x805
       RenderBlock {P} at (0,189) 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."
-      RenderBlock {P} at (0,223) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,223) size 784x42 [bgcolor=#000000] [border: (3px solid #000000) (50px solid #000000)]
         RenderText {TEXT} at (50,3) size 713x36
           text run at (50,3) width 713: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more than"
           text run at (50,21) width 86: "one line long."
-      RenderBlock {P} at (0,281) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,281) size 784x24 [bgcolor=#000000] [border: (3px solid #000000) (5px solid #000000)]
         RenderText {TEXT} at (5,3) size 760x18
           text run at (5,3) width 760: "This element should have a thick left border width, which will be more obvious if the element is more than one line long."
-      RenderBlock {P} at (0,321) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,321) size 784x42 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 744x36
           text run at (3,3) width 744: "This element should have a medium left border width, which will be more obvious if the element is more than one line"
           text run at (3,21) width 32: "long."
-      RenderBlock {P} at (0,379) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,379) size 784x24 [bgcolor=#000000] [border: (3px solid #000000) (1px solid #000000)]
         RenderText {TEXT} at (1,3) size 753x18
           text run at (1,3) width 753: "This element should have a thin left border width, which will be more obvious if the element is more than one line long."
       RenderBlock {P} at (0,419) size 784x18 [bgcolor=#000000]
@@ -50,18 +50,18 @@ layer at (0,0) size 800x805
             text run at (513,2) width 96: "border-style"
         RenderText {TEXT} at (609,0) size 54x18
           text run at (609,0) width 54: " was set."
-      RenderTable {TABLE} at (0,453) size 784x336 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,453) size 784x336 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x334
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,167) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,167) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x308 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x308 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 RenderText {TEXT} at (0,0) size 157x18
                   text run at (0,0) width 157: "(These will only work if "
@@ -73,19 +73,19 @@ layer at (0,0) size 800x805
               RenderBlock {P} at (4,38) size 762x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 203x18
                   text run at (0,0) width 203: "This element has a class of zero."
-              RenderBlock {P} at (4,72) size 762x42
+              RenderBlock {P} at (4,72) size 762x42 [border: (3px solid #000000) (50px solid #000000)]
                 RenderText {TEXT} at (50,3) size 682x36
                   text run at (50,3) width 682: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more"
                   text run at (50,21) width 117: "than one line long."
-              RenderBlock {P} at (4,130) size 762x42
+              RenderBlock {P} at (4,130) size 762x42 [border: (3px solid #000000) (5px solid #000000)]
                 RenderText {TEXT} at (5,3) size 724x36
                   text run at (5,3) width 724: "This element should have a thick left border width, which will be more obvious if the element is more than one line"
                   text run at (5,21) width 32: "long."
-              RenderBlock {P} at (4,188) size 762x42
+              RenderBlock {P} at (4,188) size 762x42 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 744x36
                   text run at (3,3) width 744: "This element should have a medium left border width, which will be more obvious if the element is more than one line"
                   text run at (3,21) width 32: "long."
-              RenderBlock {P} at (4,246) size 762x24
+              RenderBlock {P} at (4,246) size 762x24 [border: (3px solid #000000) (1px solid #000000)]
                 RenderText {TEXT} at (1,3) size 753x18
                   text run at (1,3) width 753: "This element should have a thin left border width, which will be more obvious if the element is more than one line long."
               RenderBlock {P} at (4,286) size 762x18
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 162d9db..81a1fb6 100644
--- a/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_left_width_inline-expected.txt
@@ -13,8 +13,8 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000] [border: (3px solid #000000) (25px solid #000000)]
         RenderText {TEXT} at (25,3) size 172x18
           text run at (25,3) width 172: "This element has a class of "
         RenderInline {TT} at (0,0) size 24x15
@@ -23,7 +23,7 @@ layer at (0,0) size 800x334
         RenderText {TEXT} at (221,3) size 162x18
           text run at (221,3) width 8: ". "
           text run at (229,3) width 154: "However, it contains an "
-        RenderInline {SPAN} at (0,0) size 171x24
+        RenderInline {SPAN} at (0,0) size 171x24 [border: (3px solid #000000) (1px solid #000000)]
           RenderText {TEXT} at (384,3) size 143x18
             text run at (384,3) width 143: "inline element of class "
           RenderInline {TT} at (0,0) size 24x15
@@ -48,19 +48,19 @@ layer at (0,0) size 800x334
         RenderText {TEXT} at (270,39) size 727x36
           text run at (270,39) width 482: ", which should have no left border width or visible border because no border"
           text run at (25,57) width 83: "style was set."
-      RenderTable {TABLE} at (0,204) size 784x114 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,204) size 784x114 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x112
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x86 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x78
+            RenderTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000)]
                 RenderText {TEXT} at (25,3) size 172x18
                   text run at (25,3) width 172: "This element has a class of "
                 RenderInline {TT} at (0,0) size 24x15
@@ -69,7 +69,7 @@ layer at (0,0) size 800x334
                 RenderText {TEXT} at (221,3) size 162x18
                   text run at (221,3) width 8: ". "
                   text run at (229,3) width 154: "However, it contains an "
-                RenderInline {SPAN} at (0,0) size 171x24
+                RenderInline {SPAN} at (0,0) size 171x24 [border: (3px solid #000000) (1px solid #000000)]
                   RenderText {TEXT} at (384,3) size 143x18
                     text run at (384,3) width 143: "inline element of class "
                   RenderInline {TT} at (0,0) size 24x15
diff --git a/LayoutTests/css1/box_properties/border_right-expected.txt b/LayoutTests/css1/box_properties/border_right-expected.txt
index 36604ff..ebe1bec 100644
--- a/LayoutTests/css1/box_properties/border_right-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right-expected.txt
@@ -13,49 +13,49 @@ 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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-"
           text run at (364,0) width 388: "pixel right margin, and it contains inline elements with classes"
           text run at (0,18) width 17: "of "
-        RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000] [border: (10px double #800080) none]
           RenderText {TEXT} at (17,18) size 57x18
             text run at (17,18) width 57: "class one"
         RenderText {TEXT} at (84,18) size 398x18
           text run at (84,18) width 163: ", which should have a 10-"
           text run at (247,18) width 235: "pixel purple double right border; and "
-        RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000] [border: (1px solid #800080) none]
           RenderText {TEXT} at (482,18) size 58x18
             text run at (482,18) width 58: "class two"
         RenderText {TEXT} at (541,18) size 741x36
           text run at (541,18) width 200: ", which should have a thin solid"
           text run at (0,36) width 126: "purple right border. "
           text run at (126,36) width 429: "The line-height of the parent element should not change on any line."
-      RenderTable {TABLE} at (0,195) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,195) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 742x54 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 705x36
                   text run at (0,0) width 364: "This paragraph has a background color of silver and a 20-"
                   text run at (364,0) width 341: "pixel right margin, and it contains inline elements with"
                   text run at (0,18) width 64: "classes of "
-                RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 67x18 [bgcolor=#000000] [border: (10px double #800080) none]
                   RenderText {TEXT} at (64,18) size 57x18
                     text run at (64,18) width 57: "class one"
                 RenderText {TEXT} at (131,18) size 398x18
                   text run at (131,18) width 163: ", which should have a 10-"
                   text run at (294,18) width 235: "pixel purple double right border; and "
-                RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 59x18 [bgcolor=#000000] [border: (1px solid #800080) none]
                   RenderText {TEXT} at (529,18) size 58x18
                     text run at (529,18) width 58: "class two"
                 RenderText {TEXT} at (588,18) size 726x36
diff --git a/LayoutTests/css1/box_properties/border_right_inline-expected.txt b/LayoutTests/css1/box_properties/border_right_inline-expected.txt
index 6479767..0e654b6 100644
--- a/LayoutTests/css1/box_properties/border_right_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right_inline-expected.txt
@@ -18,44 +18,44 @@ 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (643,0) width 121: "This border applies"
           text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-      RenderBlock {P} at (0,222) size 764x18 [bgcolor=#000000]
+      RenderBlock {P} at (0,222) size 764x18 [bgcolor=#000000] [border: (10px double #800080) none]
         RenderText {TEXT} at (0,0) size 423x18
           text run at (0,0) width 310: "This paragraph should have a purple, double, 10-"
           text run at (310,0) width 113: "pixel right border."
-      RenderBlock {P} at (0,256) size 764x18 [bgcolor=#000000]
+      RenderBlock {P} at (0,256) size 764x18 [bgcolor=#000000] [border: (1px solid #800080) none]
         RenderText {TEXT} at (0,0) size 340x18
           text run at (0,0) width 340: "This paragraph should have a thin purple right border."
-      RenderTable {TABLE} at (0,290) size 784x107 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,290) size 784x107 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x105
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,5) size 772x40 [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (5,5) size 772x40 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderText {TEXT} at (2,2) size 744x36
                 text run at (2,2) width 248: "Every cell in this table should have a 2-"
                 text run at (250,2) width 190: "pixel solid green right border. "
                 text run at (440,2) width 306: "This is also true of the table-testing section in the"
                 text run at (2,20) width 175: "second half of the test page."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,64) size 196x22 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (5,64) size 196x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 53x18
                 text run at (2,2) width 53: "Cell one"
-            RenderTableCell {TD} at (206,50) size 571x50 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (206,50) size 571x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (2,2) size 566x18
                 RenderText {TEXT} at (0,0) size 54x18
                   text run at (0,0) width 54: "Cell two"
-              RenderTable {TABLE} at (2,20) size 162x28
+              RenderTable {TABLE} at (2,20) size 162x28 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x26
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 156x22 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 156x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 151x18
                         text run at (2,2) width 151: "Nested single-cell table!"
       RenderBlock {UL} at (0,413) size 784x162 [bgcolor=#000000]
-        RenderListItem {LI} at (40,0) size 744x72
+        RenderListItem {LI} at (40,0) size 744x72 [border: (3px solid #000000) none]
           RenderBlock (anonymous) at (0,0) size 741x18
             RenderListMarker at (0,0) size 0x14
             RenderText {TEXT} at (0,0) size 118x18
@@ -73,11 +73,11 @@ layer at (0,0) size 800x1064
               RenderListMarker at (0,0) size 0x14
               RenderText {TEXT} at (0,0) size 176x18
                 text run at (0,0) width 176: "...nested within the list item."
-        RenderListItem {LI} at (40,72) size 744x18
+        RenderListItem {LI} at (40,72) size 744x18 [border: (3px solid #800080) none]
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 158x18
             text run at (0,0) width 158: "This is a second list item."
-        RenderListItem {LI} at (40,90) size 744x72
+        RenderListItem {LI} at (40,90) size 744x72 [border: (3px solid #0000FF) none]
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 733x72
             text run at (0,0) width 704: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors. "
@@ -86,55 +86,55 @@ layer at (0,0) size 800x1064
             text run at (0,36) width 494: "the list item.\"), even though the nested list does not have any border styles set. "
             text run at (494,36) width 239: "The borders should line up together at"
             text run at (0,54) width 551: "the right edge of the document's body, as each list element has a default width of 100%."
-      RenderTable {TABLE} at (0,591) size 784x457 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,591) size 784x457 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x455
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,227) size 13x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,227) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (13,26) size 769x429 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (13,26) size 769x429 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 740x36
                 RenderText {TEXT} at (0,0) size 716x36
                   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. "
                   text run at (643,0) width 73: "This border"
                   text run at (0,18) width 365: "applies only to the cells, not the rows which contain them."
-              RenderBlock {P} at (4,56) size 740x18
+              RenderBlock {P} at (4,56) size 740x18 [border: (10px double #800080) none]
                 RenderText {TEXT} at (0,0) size 423x18
                   text run at (0,0) width 310: "This paragraph should have a purple, double, 10-"
                   text run at (310,0) width 113: "pixel right border."
-              RenderBlock {P} at (4,90) size 740x18
+              RenderBlock {P} at (4,90) size 740x18 [border: (1px solid #800080) none]
                 RenderText {TEXT} at (0,0) size 340x18
                   text run at (0,0) width 340: "This paragraph should have a thin purple right border."
-              RenderTable {TABLE} at (4,124) size 760x107
+              RenderTable {TABLE} at (4,124) size 760x107 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x105
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,5) size 748x40 [r=0 c=0 rs=1 cs=2]
+                    RenderTableCell {TD} at (5,5) size 748x40 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       RenderText {TEXT} at (2,2) size 721x36
                         text run at (2,2) width 248: "Every cell in this table should have a 2-"
                         text run at (250,2) width 190: "pixel solid green right border. "
                         text run at (440,2) width 283: "This is also true of the table-testing section in"
                         text run at (2,20) width 198: "the second half of the test page."
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,64) size 190x22 [r=1 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (5,64) size 190x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 53x18
                         text run at (2,2) width 53: "Cell one"
-                    RenderTableCell {TD} at (200,50) size 553x50 [r=1 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (200,50) size 553x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                       RenderBlock (anonymous) at (2,2) size 548x18
                         RenderText {TEXT} at (0,0) size 54x18
                           text run at (0,0) width 54: "Cell two"
-                      RenderTable {TABLE} at (2,20) size 162x28
+                      RenderTable {TABLE} at (2,20) size 162x28 [border: (1px outset #808080)]
                         RenderTableSection {TBODY} at (1,1) size 0x26
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 156x22 [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 156x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                               RenderText {TEXT} at (2,2) size 151x18
                                 text run at (2,2) width 151: "Nested single-cell table!"
               RenderBlock {UL} at (4,247) size 760x162
-                RenderListItem {LI} at (40,0) size 720x72
+                RenderListItem {LI} at (40,0) size 720x72 [border: (3px solid #000000) none]
                   RenderBlock (anonymous) at (0,0) size 717x18
                     RenderListMarker at (0,0) size 0x14
                     RenderText {TEXT} at (0,0) size 118x18
@@ -152,11 +152,11 @@ layer at (0,0) size 800x1064
                       RenderListMarker at (0,0) size 0x14
                       RenderText {TEXT} at (0,0) size 176x18
                         text run at (0,0) width 176: "...nested within the list item."
-                RenderListItem {LI} at (40,72) size 720x18
+                RenderListItem {LI} at (40,72) size 720x18 [border: (3px solid #800080) none]
                   RenderListMarker at (0,0) size 0x14
                   RenderText {TEXT} at (0,0) size 158x18
                     text run at (0,0) width 158: "This is a second list item."
-                RenderListItem {LI} at (40,90) size 720x72
+                RenderListItem {LI} at (40,90) size 720x72 [border: (3px solid #0000FF) none]
                   RenderListMarker at (0,0) size 0x14
                   RenderText {TEXT} at (0,0) size 707x72
                     text run at (0,0) width 700: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors."
diff --git a/LayoutTests/css1/box_properties/border_right_width-expected.txt b/LayoutTests/css1/box_properties/border_right_width-expected.txt
index 4bad138..13d493f 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,18 +28,18 @@ layer at (0,0) size 800x823
       RenderBlock {P} at (0,189) 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."
-      RenderBlock {P} at (0,223) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,223) size 784x42 [bgcolor=#000000] [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 749x36
           text run at (3,3) width 749: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than one"
           text run at (3,21) width 59: "line long."
-      RenderBlock {P} at (0,281) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,281) size 784x24 [bgcolor=#000000] [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 769x18
           text run at (3,3) width 769: "This element should have a thick right border width, which will be more obvious if the element is more than one line long."
-      RenderBlock {P} at (0,321) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,321) size 784x42 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 753x36
           text run at (3,3) width 753: "This element should have a medium right border width, which will be more obvious if the element is more than one line"
           text run at (3,21) width 32: "long."
-      RenderBlock {P} at (0,379) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,379) size 784x24 [bgcolor=#000000] [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 762x18
           text run at (3,3) width 762: "This element should have a thin right border width, which will be more obvious if the element is more than one line long."
       RenderBlock {P} at (0,419) size 784x18 [bgcolor=#000000]
@@ -50,18 +50,18 @@ layer at (0,0) size 800x823
             text run at (522,2) width 96: "border-style"
         RenderText {TEXT} at (618,0) size 54x18
           text run at (618,0) width 54: " was set."
-      RenderTable {TABLE} at (0,453) size 784x354 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,453) size 784x354 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x352
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x326 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x326 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 RenderText {TEXT} at (0,0) size 157x18
                   text run at (0,0) width 157: "(These will only work if "
@@ -73,19 +73,19 @@ layer at (0,0) size 800x823
               RenderBlock {P} at (4,38) size 762x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 203x18
                   text run at (0,0) width 203: "This element has a class of zero."
-              RenderBlock {P} at (4,72) size 762x42
+              RenderBlock {P} at (4,72) size 762x42 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 722x36
                   text run at (3,3) width 722: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than"
                   text run at (3,21) width 86: "one line long."
-              RenderBlock {P} at (4,130) size 762x42
+              RenderBlock {P} at (4,130) size 762x42 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 733x36
                   text run at (3,3) width 733: "This element should have a thick right border width, which will be more obvious if the element is more than one line"
                   text run at (3,21) width 32: "long."
-              RenderBlock {P} at (4,188) size 762x42
+              RenderBlock {P} at (4,188) size 762x42 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 753x36
                   text run at (3,3) width 753: "This element should have a medium right border width, which will be more obvious if the element is more than one line"
                   text run at (3,21) width 32: "long."
-              RenderBlock {P} at (4,246) size 762x42
+              RenderBlock {P} at (4,246) size 762x42 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 726x36
                   text run at (3,3) width 726: "This element should have a thin right border width, which will be more obvious if the element is more than one line"
                   text run at (3,21) width 32: "long."
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 dba7153..1c430e2 100644
--- a/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_right_width_inline-expected.txt
@@ -13,8 +13,8 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x78 [bgcolor=#000000] [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 172x18
           text run at (3,3) width 172: "This element has a class of "
         RenderInline {TT} at (0,0) size 24x15
@@ -23,7 +23,7 @@ layer at (0,0) size 800x334
         RenderText {TEXT} at (199,3) size 162x18
           text run at (199,3) width 8: ". "
           text run at (207,3) width 154: "However, it contains an "
-        RenderInline {SPAN} at (0,0) size 171x24
+        RenderInline {SPAN} at (0,0) size 171x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
           RenderText {TEXT} at (364,3) size 143x18
             text run at (364,3) width 143: "inline element of class "
           RenderInline {TT} at (0,0) size 24x15
@@ -48,19 +48,19 @@ layer at (0,0) size 800x334
         RenderText {TEXT} at (248,39) size 736x36
           text run at (248,39) width 491: ", which should have no right border width or visible border because no border"
           text run at (3,57) width 83: "style was set."
-      RenderTable {TABLE} at (0,204) size 784x114 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,204) size 784x114 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x112
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x86 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x78
+            RenderTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 172x18
                   text run at (3,3) width 172: "This element has a class of "
                 RenderInline {TT} at (0,0) size 24x15
@@ -69,7 +69,7 @@ layer at (0,0) size 800x334
                 RenderText {TEXT} at (199,3) size 162x18
                   text run at (199,3) width 8: ". "
                   text run at (207,3) width 154: "However, it contains an "
-                RenderInline {SPAN} at (0,0) size 171x24
+                RenderInline {SPAN} at (0,0) size 171x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                   RenderText {TEXT} at (364,3) size 143x18
                     text run at (364,3) width 143: "inline element of class "
                   RenderInline {TT} at (0,0) size 24x15
diff --git a/LayoutTests/css1/box_properties/border_style-expected.txt b/LayoutTests/css1/box_properties/border_style-expected.txt
index ac3c661..bc8d58b 100644
--- a/LayoutTests/css1/box_properties/border_style-expected.txt
+++ b/LayoutTests/css1/box_properties/border_style-expected.txt
@@ -20,37 +20,37 @@ 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 (0,227) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,245) size 784x28 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,245) size 784x28 [bgcolor=#000000] [border: (5px dotted #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."
-      RenderBlock {P} at (0,289) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,289) size 784x28 [bgcolor=#000000] [border: (5px dashed #000000)]
         RenderText {TEXT} at (5,5) size 477x18
           text run at (5,5) width 477: "This paragraph should have a thick black dashed border all the way around."
-      RenderBlock {P} at (0,333) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,333) size 784x28 [bgcolor=#000000] [border: (5px solid #000000)]
         RenderText {TEXT} at (5,5) size 463x18
           text run at (5,5) width 463: "This paragraph should have a thick black solid border all the way around."
-      RenderBlock {P} at (0,377) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,377) size 784x28 [bgcolor=#000000] [border: (5px double #000000)]
         RenderText {TEXT} at (5,5) size 476x18
           text run at (5,5) width 476: "This paragraph should have a thick black double border all the way around."
-      RenderBlock {P} at (0,421) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,421) size 784x28 [bgcolor=#000000] [border: (5px groove #808000)]
         RenderText {TEXT} at (5,5) size 474x18
           text run at (5,5) width 474: "This paragraph should have a thick olive groove border all the way around."
-      RenderBlock {P} at (0,465) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,465) size 784x28 [bgcolor=#000000] [border: (5px ridge #808000)]
         RenderText {TEXT} at (5,5) size 462x18
           text run at (5,5) width 462: "This paragraph should have a thick olive ridge border all the way around."
-      RenderBlock {P} at (0,509) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,509) size 784x28 [bgcolor=#000000] [border: (5px inset #808000)]
         RenderText {TEXT} at (5,5) size 459x18
           text run at (5,5) width 459: "This paragraph should have a thick olive inset border all the way around."
-      RenderBlock {P} at (0,553) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,553) size 784x28 [bgcolor=#000000] [border: (5px outset #808000)]
         RenderText {TEXT} at (5,5) size 467x18
           text run at (5,5) width 467: "This paragraph should have a thick olive outset border all the way around."
-      RenderBlock {P} at (0,597) size 784x46 [bgcolor=#000000]
+      RenderBlock {P} at (0,597) size 784x46 [bgcolor=#000000] [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
         RenderText {TEXT} at (5,5) size 744x36
           text run at (5,5) width 617: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
           text run at (622,5) width 127: "The color of all four"
           text run at (5,23) width 204: "sides should be based on purple."
-      RenderBlock {P} at (0,659) size 784x46 [bgcolor=#000000]
+      RenderBlock {P} at (0,659) size 784x46 [bgcolor=#000000] [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
         RenderText {TEXT} at (5,5) size 763x36
           text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
           text run at (707,5) width 61: "The color"
@@ -58,48 +58,48 @@ layer at (0,0) size 800x1301
       RenderBlock {P} at (0,721) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 278x18
           text run at (0,0) width 278: "This paragraph should have no border at all."
-      RenderTable {TABLE} at (0,755) size 784x530 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,755) size 784x530 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x528
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,264) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,264) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x502 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x28
+            RenderTableCell {TD} at (12,26) size 770x502 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x28 [border: (5px dotted #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."
-              RenderBlock {P} at (4,48) size 762x28
+              RenderBlock {P} at (4,48) size 762x28 [border: (5px dashed #000000)]
                 RenderText {TEXT} at (5,5) size 477x18
                   text run at (5,5) width 477: "This paragraph should have a thick black dashed border all the way around."
-              RenderBlock {P} at (4,92) size 762x28
+              RenderBlock {P} at (4,92) size 762x28 [border: (5px solid #000000)]
                 RenderText {TEXT} at (5,5) size 463x18
                   text run at (5,5) width 463: "This paragraph should have a thick black solid border all the way around."
-              RenderBlock {P} at (4,136) size 762x28
+              RenderBlock {P} at (4,136) size 762x28 [border: (5px double #000000)]
                 RenderText {TEXT} at (5,5) size 476x18
                   text run at (5,5) width 476: "This paragraph should have a thick black double border all the way around."
-              RenderBlock {P} at (4,180) size 762x28
+              RenderBlock {P} at (4,180) size 762x28 [border: (5px groove #808000)]
                 RenderText {TEXT} at (5,5) size 474x18
                   text run at (5,5) width 474: "This paragraph should have a thick olive groove border all the way around."
-              RenderBlock {P} at (4,224) size 762x28
+              RenderBlock {P} at (4,224) size 762x28 [border: (5px ridge #808000)]
                 RenderText {TEXT} at (5,5) size 462x18
                   text run at (5,5) width 462: "This paragraph should have a thick olive ridge border all the way around."
-              RenderBlock {P} at (4,268) size 762x28
+              RenderBlock {P} at (4,268) size 762x28 [border: (5px inset #808000)]
                 RenderText {TEXT} at (5,5) size 459x18
                   text run at (5,5) width 459: "This paragraph should have a thick olive inset border all the way around."
-              RenderBlock {P} at (4,312) size 762x28
+              RenderBlock {P} at (4,312) size 762x28 [border: (5px outset #808000)]
                 RenderText {TEXT} at (5,5) size 467x18
                   text run at (5,5) width 467: "This paragraph should have a thick olive outset border all the way around."
-              RenderBlock {P} at (4,356) size 762x46
+              RenderBlock {P} at (4,356) size 762x46 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
                 RenderText {TEXT} at (5,5) size 744x36
                   text run at (5,5) width 617: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
                   text run at (622,5) width 127: "The color of all four"
                   text run at (5,23) width 204: "sides should be based on purple."
-              RenderBlock {P} at (4,418) size 762x46
+              RenderBlock {P} at (4,418) size 762x46 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
                 RenderText {TEXT} at (5,5) size 727x36
                   text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
                   text run at (707,5) width 25: "The"
diff --git a/LayoutTests/css1/box_properties/border_style_inline-expected.txt b/LayoutTests/css1/box_properties/border_style_inline-expected.txt
index 46a3af9..a1aef28 100644
--- a/LayoutTests/css1/box_properties/border_style_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_style_inline-expected.txt
@@ -11,17 +11,17 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 67x28 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 67x28 [bgcolor=#000000] [border: (5px dashed #000000)]
           RenderText {TEXT} at (669,0) size 57x18
             text run at (669,0) width 57: "class one"
         RenderText {TEXT} at (731,0) size 778x36
           text run at (731,0) width 47: ", which"
           text run at (0,18) width 263: "will result in a dashed thick black border; "
-        RenderInline {SPAN} at (0,0) size 68x28 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 68x28 [bgcolor=#000000] [border: (5px groove #FF0000)]
           RenderText {TEXT} at (268,18) size 58x18
             text run at (268,18) width 58: "class two"
         RenderText {TEXT} at (331,18) size 373x18
@@ -33,28 +33,28 @@ layer at (0,0) size 800x286
           text run at (769,18) width 4: ","
           text run at (0,36) width 246: "which should result in no border at all. "
           text run at (246,36) width 433: "The line-height of the parent element should not change, on any line."
-      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 "
-                RenderInline {SPAN} at (0,0) size 67x28 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 67x28 [bgcolor=#000000] [border: (5px dashed #000000)]
                   RenderText {TEXT} at (669,0) size 57x18
                     text run at (669,0) width 57: "class one"
                 RenderText {TEXT} at (731,0) size 735x36
                   text run at (731,0) width 4: ","
                   text run at (0,18) width 306: "which will result in a dashed thick black border; "
-                RenderInline {SPAN} at (0,0) size 68x28 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 68x28 [bgcolor=#000000] [border: (5px groove #FF0000)]
                   RenderText {TEXT} at (311,18) size 58x18
                     text run at (311,18) width 58: "class two"
                 RenderText {TEXT} at (374,18) size 369x18
diff --git a/LayoutTests/css1/box_properties/border_top-expected.txt b/LayoutTests/css1/box_properties/border_top-expected.txt
index 93a87b6..afaed4a 100644
--- a/LayoutTests/css1/box_properties/border_top-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top-expected.txt
@@ -14,44 +14,44 @@ 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (634,0) width 121: "This border applies"
           text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-      RenderBlock {P} at (0,177) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,177) size 784x28 [bgcolor=#000000] [border: (10px double #800080) none]
         RenderText {TEXT} at (0,10) size 414x18
           text run at (0,10) width 310: "This paragraph should have a purple, double, 10-"
           text run at (310,10) width 104: "pixel top border."
-      RenderBlock {P} at (0,221) size 784x19 [bgcolor=#000000]
+      RenderBlock {P} at (0,221) size 784x19 [bgcolor=#000000] [border: (1px solid #800080) none]
         RenderText {TEXT} at (0,1) size 331x18
           text run at (0,1) width 331: "This paragraph should have a thin purple top border."
-      RenderTable {TABLE} at (0,256) size 784x110 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,256) size 784x110 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x108
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,5) size 772x41 [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (5,5) size 772x41 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderText {TEXT} at (2,3) size 735x36
                 text run at (2,3) width 248: "Every cell in this table should have a 2-"
                 text run at (250,3) width 181: "pixel solid green top border. "
                 text run at (431,3) width 306: "This is also true of the table-testing section in the"
                 text run at (2,21) width 175: "second half of the test page."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (5,65) size 196x23 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (5,65) size 196x23 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,3) size 53x18
                 text run at (2,3) width 53: "Cell one"
-            RenderTableCell {TD} at (206,51) size 571x52 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (206,51) size 571x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (2,3) size 567x18
                 RenderText {TEXT} at (0,0) size 54x18
                   text run at (0,0) width 54: "Cell two"
-              RenderTable {TABLE} at (2,21) size 161x29
+              RenderTable {TABLE} at (2,21) size 161x29 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x27
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 155x23 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 155x23 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,3) size 151x18
                         text run at (2,3) width 151: "Nested single-cell table!"
       RenderBlock {UL} at (0,382) size 784x117 [bgcolor=#000000]
-        RenderListItem {LI} at (40,0) size 744x75
+        RenderListItem {LI} at (40,0) size 744x75 [border: (3px solid #000000) none]
           RenderBlock (anonymous) at (0,3) size 744x18
             RenderListMarker at (0,0) size 0x14
             RenderText {TEXT} at (0,0) size 118x18
@@ -69,63 +69,63 @@ layer at (0,0) size 800x959
               RenderListMarker at (0,0) size 0x14
               RenderText {TEXT} at (0,0) size 176x18
                 text run at (0,0) width 176: "...nested within the list item."
-        RenderListItem {LI} at (40,75) size 744x21
+        RenderListItem {LI} at (40,75) size 744x21 [border: (3px solid #000000) none]
           RenderListMarker at (0,3) size 0x14
           RenderText {TEXT} at (0,3) size 158x18
             text run at (0,3) width 158: "This is a second list item."
-        RenderListItem {LI} at (40,96) size 744x21
+        RenderListItem {LI} at (40,96) size 744x21 [border: (3px solid #000000) none]
           RenderListMarker at (0,3) size 0x14
           RenderText {TEXT} at (0,3) size 480x18
             text run at (0,3) width 480: "Each list item in this list should have a medium-width black border at its top."
-      RenderTable {TABLE} at (0,515) size 784x428 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,515) size 784x428 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x426
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x27 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,5) size 163x18
                   text run at (4,5) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,213) size 12x27 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,213) size 12x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,5) size 4x18
                 text run at (4,5) width 4: " "
-            RenderTableCell {TD} at (12,27) size 770x399 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,27) size 770x399 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,5) size 762x36
                 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. "
                   text run at (634,0) width 121: "This border applies"
                   text run at (0,18) width 317: "only to the cells, not the rows which contain them."
-              RenderBlock {P} at (4,57) size 762x28
+              RenderBlock {P} at (4,57) size 762x28 [border: (10px double #800080) none]
                 RenderText {TEXT} at (0,10) size 414x18
                   text run at (0,10) width 310: "This paragraph should have a purple, double, 10-"
                   text run at (310,10) width 104: "pixel top border."
-              RenderBlock {P} at (4,101) size 762x19
+              RenderBlock {P} at (4,101) size 762x19 [border: (1px solid #800080) none]
                 RenderText {TEXT} at (0,1) size 331x18
                   text run at (0,1) width 331: "This paragraph should have a thin purple top border."
-              RenderTable {TABLE} at (4,136) size 762x110
+              RenderTable {TABLE} at (4,136) size 762x110 [border: (1px outset #808080)]
                 RenderTableSection {TBODY} at (1,1) size 0x108
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,5) size 750x41 [r=0 c=0 rs=1 cs=2]
+                    RenderTableCell {TD} at (5,5) size 750x41 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       RenderText {TEXT} at (2,3) size 735x36
                         text run at (2,3) width 248: "Every cell in this table should have a 2-"
                         text run at (250,3) width 181: "pixel solid green top border. "
                         text run at (431,3) width 306: "This is also true of the table-testing section in the"
                         text run at (2,21) width 175: "second half of the test page."
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (5,65) size 190x23 [r=1 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (5,65) size 190x23 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,3) size 53x18
                         text run at (2,3) width 53: "Cell one"
-                    RenderTableCell {TD} at (200,51) size 555x52 [r=1 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (200,51) size 555x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                       RenderBlock (anonymous) at (2,3) size 551x18
                         RenderText {TEXT} at (0,0) size 54x18
                           text run at (0,0) width 54: "Cell two"
-                      RenderTable {TABLE} at (2,21) size 161x29
+                      RenderTable {TABLE} at (2,21) size 161x29 [border: (1px outset #808080)]
                         RenderTableSection {TBODY} at (1,1) size 0x27
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 155x23 [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 155x23 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                               RenderText {TEXT} at (2,3) size 151x18
                                 text run at (2,3) width 151: "Nested single-cell table!"
               RenderBlock {UL} at (4,262) size 762x117
-                RenderListItem {LI} at (40,0) size 722x75
+                RenderListItem {LI} at (40,0) size 722x75 [border: (3px solid #000000) none]
                   RenderBlock (anonymous) at (0,3) size 722x18
                     RenderListMarker at (0,0) size 0x14
                     RenderText {TEXT} at (0,0) size 118x18
@@ -143,11 +143,11 @@ layer at (0,0) size 800x959
                       RenderListMarker at (0,0) size 0x14
                       RenderText {TEXT} at (0,0) size 176x18
                         text run at (0,0) width 176: "...nested within the list item."
-                RenderListItem {LI} at (40,75) size 722x21
+                RenderListItem {LI} at (40,75) size 722x21 [border: (3px solid #000000) none]
                   RenderListMarker at (0,3) size 0x14
                   RenderText {TEXT} at (0,3) size 158x18
                     text run at (0,3) width 158: "This is a second list item."
-                RenderListItem {LI} at (40,96) size 722x21
+                RenderListItem {LI} at (40,96) size 722x21 [border: (3px solid #000000) none]
                   RenderListMarker at (0,3) size 0x14
                   RenderText {TEXT} at (0,3) size 480x18
                     text run at (0,3) width 480: "Each list item in this list should have a medium-width black border at its top."
diff --git a/LayoutTests/css1/box_properties/border_top_inline-expected.txt b/LayoutTests/css1/box_properties/border_top_inline-expected.txt
index 25e53df..ed25934 100644
--- a/LayoutTests/css1/box_properties/border_top_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top_inline-expected.txt
@@ -11,47 +11,47 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000] [border: (10px double #800080) none]
           RenderText {TEXT} at (666,0) size 57x18
             text run at (666,0) width 57: "class one"
         RenderText {TEXT} at (723,0) size 770x36
           text run at (723,0) width 47: ", which"
           text run at (0,18) width 112: "should have a 10-"
           text run at (112,18) width 226: "pixel purple double top border; and "
-        RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000]
+        RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000] [border: (1px solid #800080) none]
           RenderText {TEXT} at (338,18) size 58x18
             text run at (338,18) width 58: "class two"
         RenderText {TEXT} at (396,18) size 742x36
           text run at (396,18) width 321: ", which should have a thin solid purple top border. "
           text run at (717,18) width 25: "The"
           text run at (0,36) width 400: "line-height of the parent element should not change on any line."
-      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,180) size 784x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 "
-                RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 57x28 [bgcolor=#000000] [border: (10px double #800080) none]
                   RenderText {TEXT} at (666,0) size 57x18
                     text run at (666,0) width 57: "class one"
                 RenderText {TEXT} at (723,0) size 727x36
                   text run at (723,0) width 4: ","
                   text run at (0,18) width 155: "which should have a 10-"
                   text run at (155,18) width 226: "pixel purple double top border; and "
-                RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 58x19 [bgcolor=#000000] [border: (1px solid #800080) none]
                   RenderText {TEXT} at (381,18) size 58x18
                     text run at (381,18) width 58: "class two"
                 RenderText {TEXT} at (439,18) size 756x36
diff --git a/LayoutTests/css1/box_properties/border_top_width-expected.txt b/LayoutTests/css1/box_properties/border_top_width-expected.txt
index 399ffe3..a8a5ef0 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,16 +28,16 @@ layer at (0,0) size 800x759
       RenderBlock {P} at (0,189) 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."
-      RenderBlock {P} at (0,223) size 784x46 [bgcolor=#000000]
+      RenderBlock {P} at (0,223) size 784x46 [bgcolor=#000000] [border: (25px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,25) size 377x18
           text run at (3,25) width 377: "This paragraph should have a top border width of 25 pixels."
-      RenderBlock {P} at (0,285) size 784x26 [bgcolor=#000000]
+      RenderBlock {P} at (0,285) size 784x26 [bgcolor=#000000] [border: (5px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,5) size 334x18
           text run at (3,5) width 334: "This paragraph should have a thick top border width."
-      RenderBlock {P} at (0,327) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,327) size 784x24 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 354x18
           text run at (3,3) width 354: "This paragraph should have a medium top border width."
-      RenderBlock {P} at (0,367) size 784x22 [bgcolor=#000000]
+      RenderBlock {P} at (0,367) size 784x22 [bgcolor=#000000] [border: (1px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,1) size 327x18
           text run at (3,1) width 327: "This paragraph should have a thin top border width."
       RenderBlock {P} at (0,405) size 784x18 [bgcolor=#000000]
@@ -48,18 +48,18 @@ layer at (0,0) size 800x759
             text run at (527,2) width 96: "border-style"
         RenderText {TEXT} at (623,0) size 54x18
           text run at (623,0) width 54: " was set."
-      RenderTable {TABLE} at (0,439) size 699x304 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,439) size 699x304 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x302
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 697x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 697x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,151) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,151) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 685x276 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 685x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 677x18
                 RenderText {TEXT} at (0,0) size 157x18
                   text run at (0,0) width 157: "(These will only work if "
@@ -71,16 +71,16 @@ layer at (0,0) size 800x759
               RenderBlock {P} at (4,38) size 677x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 203x18
                   text run at (0,0) width 203: "This element has a class of zero."
-              RenderBlock {P} at (4,72) size 677x46
+              RenderBlock {P} at (4,72) size 677x46 [border: (25px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,25) size 377x18
                   text run at (3,25) width 377: "This paragraph should have a top border width of 25 pixels."
-              RenderBlock {P} at (4,134) size 677x26
+              RenderBlock {P} at (4,134) size 677x26 [border: (5px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,5) size 334x18
                   text run at (3,5) width 334: "This paragraph should have a thick top border width."
-              RenderBlock {P} at (4,176) size 677x24
+              RenderBlock {P} at (4,176) size 677x24 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 354x18
                   text run at (3,3) width 354: "This paragraph should have a medium top border width."
-              RenderBlock {P} at (4,216) size 677x22
+              RenderBlock {P} at (4,216) size 677x22 [border: (1px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,1) size 327x18
                   text run at (3,1) width 327: "This paragraph should have a thin top border width."
               RenderBlock {P} at (4,254) size 677x18
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 03f8dc5..7c4a8dc 100644
--- a/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_top_width_inline-expected.txt
@@ -13,8 +13,8 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x82 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x82 [bgcolor=#000000] [border: (25px solid #000000) (3px solid #000000)]
         RenderText {TEXT} at (3,25) size 172x18
           text run at (3,25) width 172: "This element has a class of "
         RenderInline {TT} at (0,0) size 24x15
@@ -23,7 +23,7 @@ layer at (0,0) size 800x360
         RenderText {TEXT} at (199,25) size 162x18
           text run at (199,25) width 8: ". "
           text run at (207,25) width 154: "However, it contains an "
-        RenderInline {SPAN} at (0,0) size 173x22
+        RenderInline {SPAN} at (0,0) size 173x22 [border: (1px solid #000000) (3px solid #000000)]
           RenderText {TEXT} at (364,25) size 143x18
             text run at (364,25) width 143: "inline element of class "
           RenderInline {TT} at (0,0) size 24x15
@@ -42,19 +42,19 @@ layer at (0,0) size 800x360
               text run at (165,63) width 40: "three"
         RenderText {TEXT} at (205,61) size 569x18
           text run at (205,61) width 569: ", which should have no top border width or visible border because no border style was set."
-      RenderTable {TABLE} at (0,208) size 784x136 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,208) size 784x136 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x134
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x108 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x100
+            RenderTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x100 [border: (25px solid #000000) (3px solid #000000)]
                 RenderText {TEXT} at (3,25) size 172x18
                   text run at (3,25) width 172: "This element has a class of "
                 RenderInline {TT} at (0,0) size 24x15
@@ -63,7 +63,7 @@ layer at (0,0) size 800x360
                 RenderText {TEXT} at (199,25) size 162x18
                   text run at (199,25) width 8: ". "
                   text run at (207,25) width 154: "However, it contains an "
-                RenderInline {SPAN} at (0,0) size 173x22
+                RenderInline {SPAN} at (0,0) size 173x22 [border: (1px solid #000000) (3px solid #000000)]
                   RenderText {TEXT} at (364,25) size 143x18
                     text run at (364,25) width 143: "inline element of class "
                   RenderInline {TT} at (0,0) size 24x15
diff --git a/LayoutTests/css1/box_properties/border_width-expected.txt b/LayoutTests/css1/box_properties/border_width-expected.txt
index fd0d9f2..a5231a7 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,16 +28,16 @@ layer at (0,0) size 800x903
       RenderBlock {P} at (0,189) 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."
-      RenderBlock {P} at (0,223) size 784x118 [bgcolor=#000000]
+      RenderBlock {P} at (0,223) size 784x118 [bgcolor=#000000] [border: (50px solid #000000)]
         RenderText {TEXT} at (50,50) size 394x18
           text run at (50,50) width 394: "This element should have an overall border width of 50 pixels."
-      RenderBlock {P} at (0,357) size 784x28 [bgcolor=#000000]
+      RenderBlock {P} at (0,357) size 784x28 [bgcolor=#000000] [border: (5px solid #000000)]
         RenderText {TEXT} at (5,5) size 343x18
           text run at (5,5) width 343: "This element should have a thick overall border width."
-      RenderBlock {P} at (0,401) size 784x24 [bgcolor=#000000]
+      RenderBlock {P} at (0,401) size 784x24 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This element should have a medium overall border width."
-      RenderBlock {P} at (0,441) size 784x20 [bgcolor=#000000]
+      RenderBlock {P} at (0,441) size 784x20 [bgcolor=#000000] [border: (1px solid #000000)]
         RenderText {TEXT} at (1,1) size 336x18
           text run at (1,1) width 336: "This element should have a thin overall border width."
       RenderBlock {P} at (0,477) size 784x18 [bgcolor=#000000]
@@ -48,18 +48,18 @@ layer at (0,0) size 800x903
             text run at (498,2) width 96: "border-style"
         RenderText {TEXT} at (594,0) size 54x18
           text run at (594,0) width 54: " was set."
-      RenderTable {TABLE} at (0,511) size 670x376 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,511) size 670x376 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x374
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 668x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 668x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,187) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,187) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 656x348 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 656x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 648x18
                 RenderText {TEXT} at (0,0) size 157x18
                   text run at (0,0) width 157: "(These will only work if "
@@ -71,16 +71,16 @@ layer at (0,0) size 800x903
               RenderBlock {P} at (4,38) size 648x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (0,0) size 203x18
                   text run at (0,0) width 203: "This element has a class of zero."
-              RenderBlock {P} at (4,72) size 648x118
+              RenderBlock {P} at (4,72) size 648x118 [border: (50px solid #000000)]
                 RenderText {TEXT} at (50,50) size 394x18
                   text run at (50,50) width 394: "This element should have an overall border width of 50 pixels."
-              RenderBlock {P} at (4,206) size 648x28
+              RenderBlock {P} at (4,206) size 648x28 [border: (5px solid #000000)]
                 RenderText {TEXT} at (5,5) size 343x18
                   text run at (5,5) width 343: "This element should have a thick overall border width."
-              RenderBlock {P} at (4,250) size 648x24
+              RenderBlock {P} at (4,250) size 648x24 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 363x18
                   text run at (3,3) width 363: "This element should have a medium overall border width."
-              RenderBlock {P} at (4,290) size 648x20
+              RenderBlock {P} at (4,290) size 648x20 [border: (1px solid #000000)]
                 RenderText {TEXT} at (1,1) size 336x18
                   text run at (1,1) width 336: "This element should have a thin overall border width."
               RenderBlock {P} at (4,326) size 648x18
diff --git a/LayoutTests/css1/box_properties/border_width_inline-expected.txt b/LayoutTests/css1/box_properties/border_width_inline-expected.txt
index 361d9d1..b8073a6 100644
--- a/LayoutTests/css1/box_properties/border_width_inline-expected.txt
+++ b/LayoutTests/css1/box_properties/border_width_inline-expected.txt
@@ -13,8 +13,8 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
-      RenderBlock {P} at (0,110) size 784x104 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {P} at (0,110) size 784x104 [bgcolor=#000000] [border: (25px solid #000000)]
         RenderText {TEXT} at (25,25) size 172x18
           text run at (25,25) width 172: "This element has a class of "
         RenderInline {TT} at (0,0) size 24x15
@@ -23,7 +23,7 @@ layer at (0,0) size 800x386
         RenderText {TEXT} at (221,25) size 162x18
           text run at (221,25) width 8: ". "
           text run at (229,25) width 154: "However, it contains an "
-        RenderInline {SPAN} at (0,0) size 169x20
+        RenderInline {SPAN} at (0,0) size 169x20 [border: (1px solid #000000)]
           RenderText {TEXT} at (384,25) size 143x18
             text run at (384,25) width 143: "inline element of class "
           RenderInline {TT} at (0,0) size 24x15
@@ -42,19 +42,19 @@ layer at (0,0) size 800x386
         RenderText {TEXT} at (685,43) size 707x36
           text run at (685,43) width 47: ", which"
           text run at (25,61) width 387: "should have no border width because no border style was set."
-      RenderTable {TABLE} at (0,230) size 784x140 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,230) size 784x140 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x138
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x112 [r=1 c=1 rs=1 cs=1]
-              RenderBlock {P} at (4,4) size 762x104
+            RenderTableCell {TD} at (12,26) size 770x112 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x104 [border: (25px solid #000000)]
                 RenderText {TEXT} at (25,25) size 172x18
                   text run at (25,25) width 172: "This element has a class of "
                 RenderInline {TT} at (0,0) size 24x15
@@ -63,7 +63,7 @@ layer at (0,0) size 800x386
                 RenderText {TEXT} at (221,25) size 162x18
                   text run at (221,25) width 8: ". "
                   text run at (229,25) width 154: "However, it contains an "
-                RenderInline {SPAN} at (0,0) size 169x20
+                RenderInline {SPAN} at (0,0) size 169x20 [border: (1px solid #000000)]
                   RenderText {TEXT} at (384,25) size 143x18
                     text run at (384,25) width 143: "inline element of class "
                   RenderInline {TT} at (0,0) size 24x15
diff --git a/LayoutTests/css1/box_properties/clear-expected.txt b/LayoutTests/css1/box_properties/clear-expected.txt
index 23a9f43..2fef6a5 100644
--- a/LayoutTests/css1/box_properties/clear-expected.txt
+++ b/LayoutTests/css1/box_properties/clear-expected.txt
@@ -12,28 +12,28 @@ 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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
           text run at (18,0) width 595: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
       RenderBlock (anonymous) at (0,159) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderImage {IMG} at (0,177) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,227) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 649x18
           text run at (0,0) width 649: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
       RenderBlock (anonymous) at (0,261) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderImage {IMG} at (769,279) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,329) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 658x18
           text run at (0,0) width 658: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
       RenderBlock (anonymous) at (0,363) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderImage {IMG} at (0,381) size 15x50 [bgcolor=#000000]
       RenderImage {IMG} at (769,381) size 15x50 [bgcolor=#000000]
       RenderBlock {P} at (0,431) size 784x18 [bgcolor=#000000]
@@ -46,19 +46,19 @@ layer at (0,0) size 800x961
           text run at (18,0) width 390: "This paragraph should be between both tall orange rectangles."
       RenderBlock (anonymous) at (0,499) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
-      RenderTable {TABLE} at (0,517) size 680x428 [bgcolor=#000000]
+        RenderText {TEXT} at (0,0) size 0x0
+      RenderTable {TABLE} at (0,517) size 680x428 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x426
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 678x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 678x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,213) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,213) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 666x400 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 666x400 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderImage {IMG} at (4,4) size 15x50
               RenderBlock (anonymous) at (4,4) size 658x0
                 RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/css1/box_properties/clear_float-expected.txt b/LayoutTests/css1/box_properties/clear_float-expected.txt
index 1b7da5a..95824c3 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 (0,179) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,179) size 784x2 [bgcolor=#000000] [border: (1px inset #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
@@ -91,18 +91,18 @@ layer at (0,0) size 800x777
           RenderText {TEXT} at (0,0) size 512x36
             text run at (0,0) width 512: "The top of the yellow rectangle (to which this paragraph belongs) should be"
             text run at (0,18) width 331: "vertically aligned with the top of the green rectangle."
-      RenderTable {TABLE} at (192,414) size 592x347 [bgcolor=#000000]
+      RenderTable {TABLE} at (192,414) size 592x347 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x345
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 590x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 590x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,172) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,172) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 578x319 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 578x319 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (floating) {DIV} at (4,4) 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 8623284..c5019bc 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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,25 +19,25 @@ 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 (0,192) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,192) size 784x2 [bgcolor=#000000] [border: (1px inset #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
           text run at (0,0) width 608: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
           text run at (608,0) width 123: "In this case, it is the"
           text run at (0,18) width 263: "image which has been floated to the right."
-      RenderTable {TABLE} at (0,262) size 784x182 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,262) size 784x182 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x180
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,90) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,90) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x154 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x154 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderImage {IMG} at (4,4) size 15x50
               RenderBlock (anonymous) at (4,4) size 762x0
                 RenderText {TEXT} at (0,0) size 0x0
@@ -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 (4,86) size 762x2
+              RenderBlock {HR} at (4,86) size 762x2 [border: (1px inset #000000)]
               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 af27cf6..f3d88e1 100644
--- a/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt
+++ b/LayoutTests/css1/box_properties/float_elements_in_series-expected.txt
@@ -26,25 +26,25 @@ 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 (0,239) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,239) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
           text run at (0,18) width 405: "indicates how the DIV elements should be laid out horizontally. "
           text run at (405,18) width 219: "They should align with each other."
-      RenderBlock (floating) {DIV} at (0,299) size 140x98 [bgcolor=#FFFF00]
+      RenderBlock (floating) {DIV} at (0,299) size 140x98 [bgcolor=#FFFF00] [border: (20px solid #000000)]
         RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 47x18
             text run at (0,0) width 47: "Yellow"
-      RenderBlock (floating) {DIV} at (160,299) size 140x98 [color=#FFFFFF] [bgcolor=#0000FF]
+      RenderBlock (floating) {DIV} at (160,299) size 140x98 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
         RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 30x18
             text run at (0,0) width 30: "Blue"
-      RenderBlock (floating) {DIV} at (320,299) size 140x98 [bgcolor=#FF0000]
+      RenderBlock (floating) {DIV} at (320,299) size 140x98 [bgcolor=#FF0000] [border: (20px solid #000000)]
         RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 26x18
             text run at (0,0) width 26: "Red"
-      RenderBlock (floating) {DIV} at (480,299) size 140x98 [color=#FFFFFF] [bgcolor=#008000]
+      RenderBlock (floating) {DIV} at (480,299) size 140x98 [color=#FFFFFF] [bgcolor=#008000] [border: (20px solid #000000)]
         RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 39x18
             text run at (0,0) width 39: "Green"
@@ -84,36 +84,36 @@ layer at (0,0) size 800x703
                 RenderImage {IMG} at (0,0) size 100x1 [bgcolor=#000000]
               RenderTableCell {TD} at (600,9) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                 RenderImage {IMG} at (0,0) size 20x1 [bgcolor=#000000]
-      RenderTable {TABLE} at (0,446) size 784x229 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,446) size 784x229 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x227
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,113) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,113) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x201 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x201 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 762x36
                   text run at (0,0) width 762: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
                   text run at (0,18) width 405: "indicates how the DIV elements should be laid out horizontally. "
                   text run at (405,18) width 219: "They should align with each other."
-              RenderBlock (floating) {DIV} at (4,50) size 140x98 [bgcolor=#FFFF00]
+              RenderBlock (floating) {DIV} at (4,50) size 140x98 [bgcolor=#FFFF00] [border: (20px solid #000000)]
                 RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 47x18
                     text run at (0,0) width 47: "Yellow"
-              RenderBlock (floating) {DIV} at (164,50) size 140x98 [color=#FFFFFF] [bgcolor=#0000FF]
+              RenderBlock (floating) {DIV} at (164,50) size 140x98 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
                 RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 30x18
                     text run at (0,0) width 30: "Blue"
-              RenderBlock (floating) {DIV} at (324,50) size 140x98 [bgcolor=#FF0000]
+              RenderBlock (floating) {DIV} at (324,50) size 140x98 [bgcolor=#FF0000] [border: (20px solid #000000)]
                 RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 26x18
                     text run at (0,0) width 26: "Red"
-              RenderBlock (floating) {DIV} at (484,50) size 140x98 [color=#FFFFFF] [bgcolor=#008000]
+              RenderBlock (floating) {DIV} at (484,50) size 140x98 [color=#FFFFFF] [bgcolor=#008000] [border: (20px solid #000000)]
                 RenderBlock {P} at (40,40) size 60x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 39x18
                     text run at (0,0) width 39: "Green"
diff --git a/LayoutTests/css1/box_properties/float_margin-expected.txt b/LayoutTests/css1/box_properties/float_margin-expected.txt
index 923714e..1d167fd 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 (0,182) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -90,18 +90,18 @@ layer at (0,0) size 800x1902
           text run at (0,92) width 397: "which extends to the edges of the element's box. "
           text run at (397,92) width 335: "There is no padding set on this paragraph"
           text run at (0,115) width 97: "whatsoever."
-      RenderTable {TABLE} at (0,1037) size 784x849 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1037) size 784x849 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x847
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,423) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,423) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x821 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (34,4) size 722x92 [bgcolor=#FFFFFF]
                 RenderText {TEXT} at (0,0) size 708x92
                   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 f49837e..316d441 100644
--- a/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt
+++ b/LayoutTests/css1/box_properties/float_on_text_elements-expected.txt
@@ -8,7 +8,7 @@ layer at (0,0) size 800x2822
           text run at (0,0) width 392: "This paragraph is of class \"one\". It has a width of 50% and is"
           text run at (0,18) width 110: "floated to the left."
       RenderBlock (anonymous) at (0,0) size 784x0 [bgcolor=#000000]
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,0) size 784x72 [bgcolor=#000000]
         RenderText {TEXT} at (392,0) size 784x72
           text run at (392,0) width 392: "This paragraph should start on the right side of a yellow box"
@@ -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 (0,102) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,102) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -26,10 +26,10 @@ layer at (0,0) size 800x2822
           text run at (0,54) width 217: "paragraph for diagnostic purposes."
       RenderBlock (anonymous) at (0,116) size 784x91 [bgcolor=#000000]
         RenderImage {IMG} at (0,72) size 15x15
-        RenderText {TEXT} at (15,73) size 4x18 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (15,73) size 4x18
           text run at (15,73) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (0,219) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,219) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -40,10 +40,10 @@ layer at (0,0) size 800x2822
           text run at (0,90) width 79: "undernearth."
       RenderBlock (anonymous) at (0,233) size 784x108 [bgcolor=#000000]
         RenderImage {IMG} at (392,0) size 15x15
-        RenderText {TEXT} at (407,1) size 4x18 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (407,1) size 4x18
           text run at (407,1) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (0,353) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,353) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -54,10 +54,10 @@ layer at (0,0) size 800x2822
           text run at (0,90) width 157: "of the yellow box above."
       RenderBlock (anonymous) at (0,367) size 784x108 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 15x15
-        RenderText {TEXT} at (15,1) size 4x18 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (15,1) size 4x18
           text run at (15,1) width 4: " "
         RenderBR {BR} at (0,0) size 0x0
-      RenderBlock {HR} at (0,487) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,487) size 784x2 [bgcolor=#000000] [border: (1px inset #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,8 +70,8 @@ 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 (0,585) size 784x2 [bgcolor=#000000]
-      RenderBlock (floating) {P} at (438,609) size 336x196 [bgcolor=#FFFF00]
+      RenderBlock {HR} at (0,585) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock (floating) {P} at (438,609) size 336x196 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
         RenderText {TEXT} at (8,8) size 320x180
           text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
           text run at (8,26) width 320: "of like a 'sidebar' in a magazine article. Its width is"
@@ -106,8 +106,8 @@ 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 (0,827) size 784x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (0,841) size 784x26 [bgcolor=#66CCFF]
+      RenderBlock {HR} at (0,827) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (0,841) size 784x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
         RenderBlock (floating) {DIV} at (440,14) size 330x226 [bgcolor=#FFFF00]
           RenderBlock {P} at (5,5) size 320x216 [bgcolor=#000000]
             RenderText {TEXT} at (0,0) size 320x216
@@ -127,13 +127,13 @@ layer at (0,0) size 800x2822
               text run at (0,180) width 320: "border. I.e., the bottom red border will appear"
               text run at (0,198) width 318: "broken where it's overlaid by the yellow rectangle."
         RenderBlock (anonymous) at (4,4) size 776x0 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
+          RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {P} at (4,4) size 776x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 268x18
             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 (0,1103) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1103) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,1201) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1201) size 784x2 [bgcolor=#000000] [border: (1px inset #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]
@@ -162,7 +162,7 @@ layer at (0,0) size 800x2822
               text run at (0,0) width 147: "See description in the"
               text run at (0,18) width 124: "box on the left side."
         RenderBlock (anonymous) at (0,0) size 588x0 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
+          RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {P} at (0,0) size 588x126 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 588x126
             text run at (0,0) width 431: "This paragraph is inside a DIV which is floated left. The"
@@ -181,19 +181,19 @@ 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 (0,1353) size 784x2 [bgcolor=#000000]
-      RenderTable {TABLE} at (0,1367) size 784x1439 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1353) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderTable {TABLE} at (0,1367) size 784x1439 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1437
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,718) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,718) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1411 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1411 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (floating) {P} at (4,4) size 381x36 [bgcolor=#FFFF00]
                 RenderText {TEXT} at (0,0) size 381x36
                   text run at (0,0) width 381: "This paragraph is of class \"one\". It has a width of 50% and"
@@ -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 (4,124) size 762x2
+              RenderBlock {HR} at (4,124) size 762x2 [border: (1px inset #000000)]
               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 (4,241) size 762x2
+              RenderBlock {HR} at (4,241) size 762x2 [border: (1px inset #000000)]
               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 (4,375) size 762x2
+              RenderBlock {HR} at (4,375) size 762x2 [border: (1px inset #000000)]
               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 (4,509) size 762x2
+              RenderBlock {HR} at (4,509) size 762x2 [border: (1px inset #000000)]
               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,8 +262,8 @@ 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 (4,607) size 762x2
-              RenderBlock (floating) {P} at (420,631) size 336x196 [bgcolor=#FFFF00]
+              RenderBlock {HR} at (4,607) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {P} at (420,631) size 336x196 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
                 RenderText {TEXT} at (8,8) size 320x180
                   text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
                   text run at (8,26) width 320: "of like a 'sidebar' in a magazine article. Its width is"
@@ -299,8 +299,8 @@ 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 (4,867) size 762x2
-              RenderBlock {DIV} at (4,881) size 762x26 [bgcolor=#66CCFF]
+              RenderBlock {HR} at (4,867) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (4,881) size 762x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
                 RenderBlock (floating) {DIV} at (418,14) size 330x226 [bgcolor=#FFFF00]
                   RenderBlock {P} at (5,5) size 320x216 [bgcolor=#000000]
                     RenderText {TEXT} at (0,0) size 320x216
@@ -320,13 +320,13 @@ layer at (0,0) size 800x2822
                       text run at (0,180) width 320: "border. I.e., the bottom red border will appear"
                       text run at (0,198) width 318: "broken where it's overlaid by the yellow rectangle."
                 RenderBlock (anonymous) at (4,4) size 754x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {P} at (4,4) size 754x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 268x18
                     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 (4,1143) size 762x2
+              RenderBlock {HR} at (4,1143) size 762x2 [border: (1px inset #000000)]
               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 (4,1241) size 762x2
+              RenderBlock {HR} at (4,1241) size 762x2 [border: (1px inset #000000)]
               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]
@@ -356,7 +356,7 @@ layer at (0,0) size 800x2822
                       text run at (0,0) width 142: "See description in the"
                       text run at (0,18) width 124: "box on the left side."
                 RenderBlock (anonymous) at (0,0) size 571x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {P} at (0,0) size 571x126 [bgcolor=#000000]
                   RenderText {TEXT} at (0,0) size 571x126
                     text run at (0,0) width 419: "This paragraph is inside a DIV which is floated left. The"
@@ -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 (4,1393) size 762x2
+              RenderBlock {HR} at (4,1393) size 762x2 [border: (1px inset #000000)]
diff --git a/LayoutTests/css1/box_properties/height-expected.txt b/LayoutTests/css1/box_properties/height-expected.txt
index 9ef237a..74ee1ba 100644
--- a/LayoutTests/css1/box_properties/height-expected.txt
+++ b/LayoutTests/css1/box_properties/height-expected.txt
@@ -12,22 +12,22 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,172) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 275x18
           text run at (0,0) width 275: "The square above should be fifty pixels tall."
       RenderBlock (anonymous) at (0,206) size 784x100 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 100x100
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,322) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 335x18
           text run at (0,0) width 335: "The square above should be 100 pixels tall and wide."
       RenderBlock (anonymous) at (0,356) size 784x100 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 30x100
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,472) size 784x36 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 784x36
           text run at (0,0) width 619: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50"
@@ -38,18 +38,18 @@ layer at (0,0) size 800x978
             text run at (116,20) width 48: "height"
         RenderText {TEXT} at (164,18) size 66x18
           text run at (164,18) width 66: " property)."
-      RenderTable {TABLE} at (0,524) size 784x438 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,524) size 784x438 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x436
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,218) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,218) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x410 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x410 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (4,4) size 762x50
                 RenderImage {IMG} at (0,0) size 50x50
                 RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/css1/box_properties/margin-expected.txt b/LayoutTests/css1/box_properties/margin-expected.txt
index d7689aa..018eea6 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -87,18 +87,18 @@ layer at (0,0) size 802x2608
       RenderBlock {P} at (0,1342) 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."
-      RenderTable {TABLE} at (0,1360) size 784x1232 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1360) size 784x1232 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1230
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,615) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,615) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1204 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1204 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 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 d5f7988..9d2d42b 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 (0,182) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -80,18 +80,18 @@ layer at (0,0) size 800x1740
       RenderBlock {P} at (0,927) size 784x18 [bgcolor=#C0C0C0]
         RenderText {TEXT} at (0,0) size 232x18
           text run at (0,0) width 232: "This element also has a class of zero."
-      RenderTable {TABLE} at (0,945) size 784x779 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,945) size 784x779 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x777
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,388) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,388) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x751 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x751 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 f95af06..08b118f 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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.. "
@@ -49,18 +49,18 @@ layer at (0,0) size 800x411
           text run at (250,18) width 8: ". "
           text run at (258,18) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
           text run at (0,36) width 289: "this element should have the same line-height."
-      RenderTable {TABLE} at (0,235) size 784x160 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,235) size 784x160 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x158
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x132 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 ae5d6c1..0dc1256 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -67,18 +67,18 @@ layer at (0,0) size 800x700
       RenderBlock {P} at (0,350) 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."
-      RenderTable {TABLE} at (0,368) size 784x316 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,368) size 784x316 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x314
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x288 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 d160805..957c7ca 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -62,18 +62,18 @@ layer at (0,0) size 800x987
           text run at (83,18) width 386: "In all other respects, however, the element should be normal. "
           text run at (469,18) width 278: "No styles have been applied to it besides the"
           text run at (0,36) width 294: "negative left margin and the background color."
-      RenderTable {TABLE} at (0,553) size 784x418 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,553) size 784x418 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x416
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,208) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,208) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x390 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x390 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 cdff8de..983c4ce 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -51,18 +51,18 @@ layer at (0,0) size 800x339
             text run at (284,18) width 27: "first"
         RenderText {TEXT} at (311,18) size 232x18
           text run at (311,18) width 232: " line in which the inline box appears."
-      RenderTable {TABLE} at (0,199) size 784x124 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,199) size 784x124 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x122
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x96 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36 [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 1df19d7..7440c6b 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -62,18 +62,18 @@ layer at (0,0) size 802x1005
           text run at (114,18) width 386: "In all other respects, however, the element should be normal. "
           text run at (500,18) width 278: "No styles have been applied to it besides the"
           text run at (0,36) width 303: "negative right margin and the background color."
-      RenderTable {TABLE} at (0,553) size 784x436 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,553) size 784x436 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x434
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x408 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [bgcolor=#C0C0C0]
                 RenderText {TEXT} at (559,0) size 203x18
                   text run at (559,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 5e48f79..f783084 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -51,18 +51,18 @@ layer at (0,0) size 800x339
             text run at (293,18) width 23: "last"
         RenderText {TEXT} at (316,18) size 232x18
           text run at (316,18) width 232: " line in which the inline box appears."
-      RenderTable {TABLE} at (0,199) size 784x124 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,199) size 784x124 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x122
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x96 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36 [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 2f25c05..232102f 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 (0,164) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,164) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -74,18 +74,18 @@ layer at (0,0) size 800x1650
           text run at (0,18) width 488: "No other styles have been applied to it besides a light blue background color. "
           text run at (488,18) width 267: "In all other respects, the element should be"
           text run at (0,36) width 48: "normal."
-      RenderTable {TABLE} at (0,891) size 784x743 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,891) size 784x743 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x741
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,370) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,370) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x715 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x715 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 30b1892..5930298 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -50,18 +50,18 @@ layer at (0,0) size 800x441
           text run at (332,18) width 8: ". "
           text run at (340,18) width 443: "Margins on inline elements do not affect line-height calculations, so all"
           text run at (0,36) width 338: "lines in this element should have the same line-height."
-      RenderTable {TABLE} at (0,265) size 784x160 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,265) size 784x160 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x158
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x132 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 1cb62b3..263eafe 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -46,18 +46,18 @@ layer at (0,0) size 800x2235
           text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
           text run at (541,0) width 233: "Both the content background and the"
           text run at (0,18) width 275: "normal padding should be aqua (light blue)."
-      RenderTable {TABLE} at (0,1183) size 784x1036 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1183) size 784x1036 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1034
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,517) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,517) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1008 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1008 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 f069582..67d3683 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -51,18 +51,18 @@ layer at (0,0) size 800x1539
           text run at (0,0) width 589: "This element should have no bottom padding, since negative padding values are not allowed. "
           text run at (589,0) width 183: "Both the content background"
           text run at (0,18) width 325: "and the normal padding should be aqua (light blue)."
-      RenderTable {TABLE} at (0,832) size 784x691 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,832) size 784x691 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x689
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,344) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,344) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x663 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x663 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 4f09867..d1cd1b6 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -50,18 +50,18 @@ layer at (0,0) size 800x462
           text run at (522,18) width 8: ". "
           text run at (530,18) width 227: "Padding on inline elements does not"
           text run at (0,36) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
-      RenderTable {TABLE} at (0,268) size 784x178 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,268) size 784x178 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x176
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x150 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x72 [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 430a5ae..ee7b643 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -65,18 +65,18 @@ layer at (0,0) size 800x753
       RenderBlock {P} at (0,387) 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."
-      RenderTable {TABLE} at (0,421) size 784x316 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,421) size 784x316 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x314
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x288 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 2e8a9ba..cbae4b6 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -60,18 +60,18 @@ layer at (0,0) size 800x991
           text run at (0,0) width 565: "This element should have no left padding, since negative padding values are not allowed. "
           text run at (565,0) width 210: "Both the content background and"
           text run at (0,18) width 298: "the normal padding should be aqua (light blue)."
-      RenderTable {TABLE} at (0,555) size 784x420 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,555) size 784x420 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x418
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,209) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,209) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x392 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x392 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 3672345..07b771c 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -52,18 +52,18 @@ layer at (0,0) size 800x408
             text run at (512,18) width 27: "first"
         RenderText {TEXT} at (539,18) size 232x18
           text run at (539,18) width 232: " line in which the inline box appears."
-      RenderTable {TABLE} at (0,232) size 784x160 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,232) size 784x160 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x158
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x132 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 9e8d28f..06c48ff 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -68,18 +68,18 @@ layer at (0,0) size 800x1153
           text run at (22,18) width 302: "the normal padding should be aqua (light blue). "
           text run at (324,18) width 460: "The text has been right-aligned in order to make the lack of right padding"
           text run at (704,36) width 80: "easier to see."
-      RenderTable {TABLE} at (0,627) size 784x510 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,627) size 784x510 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x508
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,254) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,254) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x482 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x482 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 4aadfae..b4b6861 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -51,18 +51,18 @@ layer at (0,0) size 800x408
         RenderText {TEXT} at (571,18) size 747x36
           text run at (571,18) width 176: " line in which the inline box"
           text run at (0,36) width 52: "appears."
-      RenderTable {TABLE} at (0,232) size 784x160 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,232) size 784x160 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x158
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x132 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54 [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 b79a3f4..06396b0 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -48,18 +48,18 @@ layer at (0,0) size 800x1471
           text run at (0,0) width 565: "This element should have no top padding, since negative padding values are not allowed. "
           text run at (565,0) width 210: "Both the content background and"
           text run at (0,18) width 298: "the normal padding should be aqua (light blue)."
-      RenderTable {TABLE} at (0,798) size 784x657 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,798) size 784x657 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x655
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,327) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,327) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x629 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x629 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 723e0f0..6aa1207 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -50,18 +50,18 @@ layer at (0,0) size 800x462
           text run at (498,18) width 8: ". "
           text run at (506,18) width 266: "Padding on inline elements does not affect"
           text run at (0,36) width 528: "line-height calculations, so all lines in this element should have the same line-height."
-      RenderTable {TABLE} at (0,268) size 784x178 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,268) size 784x178 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x176
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x150 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x72 [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 74d83da..5ab7d11 100644
--- a/LayoutTests/css1/box_properties/width-expected.txt
+++ b/LayoutTests/css1/box_properties/width-expected.txt
@@ -12,16 +12,16 @@ 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,172) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 287x18
           text run at (0,0) width 287: "The square above should be fifty pixels wide."
       RenderBlock (anonymous) at (0,206) size 784x392 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 392x392
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,614) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 671x18
           text run at (0,0) width 671: "The square above should be half as wide as the image's parent element (either the BODY or the table cell)."
@@ -38,18 +38,18 @@ layer at (0,0) size 800x1357
         RenderText {TEXT} at (286,54) size 374x36
           text run at (286,54) width 57: " property"
           text run at (0,72) width 374: "without the need for the user to resize the viewing window."
-      RenderTable {TABLE} at (0,754) size 392x587 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,754) size 392x587 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x585
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 390x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 390x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,292) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,292) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 378x559 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 378x559 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock (anonymous) at (4,4) size 370x50
                 RenderImage {IMG} at (0,0) size 50x50
                 RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/css1/cascade/cascade_order-expected.txt b/LayoutTests/css1/cascade/cascade_order-expected.txt
index 524ad99..1ed0e06 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 (0,212) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000] [border: (1px inset #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
@@ -68,18 +68,18 @@ layer at (0,0) size 800x790
       RenderBlock {P} at (0,458) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 683x18
           text run at (0,0) width 683: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
-      RenderTable {TABLE} at (0,492) size 705x282 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,492) size 705x282 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x280
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 703x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 703x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,140) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,140) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 691x254 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 691x254 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {UL} at (4,4) size 683x144
                 RenderListItem {LI} at (40,0) size 643x18 [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 a60d33f..3d9b2b5 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -31,18 +31,18 @@ layer at (0,0) size 800x473
           text run at (0,0) width 604: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
           text run at (604,0) width 175: "This is because declarations"
           text run at (0,18) width 566: "marked important have more weight than normal declarations given in a STYLE attribute."
-      RenderTable {TABLE} at (0,281) size 784x176 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,281) size 784x176 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x174
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x148 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x148 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36 [color=#008000]
                 RenderText {TEXT} at (0,0) size 745x36
                   text run at (0,0) width 745: "This sentence should be green, because the declaration marked important should override any other normal declaration"
diff --git a/LayoutTests/css1/classification/display-expected.txt b/LayoutTests/css1/classification/display-expected.txt
index 97ea3b5..895a827 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 (0,122) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -34,7 +34,7 @@ layer at (0,0) size 800x816
               text run at (286,38) width 48: "inline"
           RenderText {TEXT} at (334,36) size 109x18
             text run at (334,36) width 109: " is being ignored."
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderListItem {P} at (48,244) size 736x54 [bgcolor=#000000]
         RenderListMarker at (0,0) size 0x14
         RenderText {TEXT} at (0,0) size 733x18
@@ -64,18 +64,18 @@ layer at (0,0) size 800x816
         RenderBlock (anonymous) at (0,36) size 784x18
           RenderText {TEXT} at (0,0) size 203x18
             text run at (0,0) width 203: "should be a block-level element."
-      RenderTable {TABLE} at (0,452) size 784x348 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,452) size 784x348 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x346
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,173) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,173) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x320 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x320 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 f280a7c..95c8337 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {UL} at (0,95) size 784x36 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x36
           RenderListMarker at (0,0) size 20x14
@@ -24,18 +24,18 @@ layer at (0,0) size 800x357
             text run at (0,1) width 476: "The text in this item have an orange square for its bullet; failing that, a disc. "
             text run at (476,1) width 260: "Also, the bullet should be outside the text"
             text run at (0,19) width 256: "block, as the list has been set to 'outside'."
-      RenderTable {TABLE} at (0,200) size 784x141 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,200) size 784x141 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x139
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x113 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x113 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {UL} at (4,4) size 762x36
                 RenderListItem {LI} at (40,0) size 722x36
                   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 a40dd48..d8cea57 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {UL} at (0,110) size 784x57 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x19
           RenderListMarker at (0,0) size 0x15
@@ -37,18 +37,18 @@ layer at (0,0) size 800x448
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 231x18
             text run at (0,0) width 231: "...standard list markers for each item."
-      RenderTable {TABLE} at (0,253) size 293x179 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,253) size 293x179 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x177
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 291x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 291x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 279x151 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 279x151 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {UL} at (4,4) size 271x57
                 RenderListItem {LI} at (40,0) size 231x19
                   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 5ee1c30..124269d 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {UL} at (0,110) size 784x36 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x36
           RenderListMarker at (0,0) size 0x14
@@ -23,18 +23,18 @@ layer at (0,0) size 800x370
           RenderText {TEXT} at (14,0) size 702x36
             text run at (14,0) width 688: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,"
             text run at (0,18) width 263: "leaving no blank space beneath the bullet."
-      RenderTable {TABLE} at (0,214) size 784x140 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,214) size 784x140 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x138
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x112 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x112 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {UL} at (4,4) size 762x36
                 RenderListItem {LI} at (40,0) size 722x36
                   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 2ac897c..45613c2 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 (0,197) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,197) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {UL} at (0,215) size 784x54 [bgcolor=#000000]
         RenderListItem {LI} at (40,0) size 744x18
           RenderListMarker at (0,0) size 0x14
@@ -132,18 +132,18 @@ layer at (0,0) size 800x1527
         RenderListItem {LI} at (40,36) size 744x18
           RenderText {TEXT} at (0,0) size 150x18
             text run at (0,0) width 150: "...nothing for each item."
-      RenderTable {TABLE} at (0,845) size 338x666 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,845) size 338x666 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x664
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 336x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 336x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,332) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,332) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 324x638 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 324x638 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {UL} at (4,4) size 316x54
                 RenderListItem {LI} at (40,0) size 276x18
                   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 d0c0765..d3c425b 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -30,18 +30,18 @@ layer at (0,0) size 921x473
             text run at (380,0) width 72: "second half"
         RenderText {TEXT} at (452,0) size 4x18
           text run at (452,0) width 4: "."
-      RenderTable {TABLE} at (0,281) size 913x176 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,281) size 913x176 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x174
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 911x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 911x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 899x148 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 899x148 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 891x72
                 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 917970d..738ca50 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -42,18 +42,18 @@ layer at (0,0) size 800x721
           text run at (0,18) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
           text run at (0,36) width 119: "these declarations. "
           text run at (119,36) width 308: "Hey, I didn't say the page would be pretty, did I?"
-      RenderTable {TABLE} at (0,405) size 784x300 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,405) size 784x300 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x298
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,149) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,149) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x272 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x272 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54
                 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 63a360f..0319746 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,235) size 784x2 [bgcolor=#000000]
-      RenderBlock {HR} at (0,249) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,235) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {HR} at (0,249) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {H4} at (0,272) size 784x18 [bgcolor=#000000]
         RenderInline {A} at (0,0) size 220x18
           RenderText {TEXT} at (0,0) size 220x18
@@ -86,18 +86,18 @@ layer at (0,0) size 880x1201
           text run at (72,0) width 671: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
           text run at (0,18) width 767: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support"
           text run at (0,36) width 42: "'fixed'."
-      RenderTable {TABLE} at (0,630) size 784x555 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,630) size 784x555 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x553
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,276) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,276) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x527 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x527 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x90
                 RenderText {TEXT} at (0,0) size 747x90
                   text run at (0,0) width 730: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which"
@@ -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 (4,144) size 762x2
-              RenderBlock {HR} at (4,158) size 762x2
+              RenderBlock {HR} at (4,144) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {HR} at (4,158) size 762x2 [border: (1px inset #000000)]
               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 5a24fa2..7920983 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -39,18 +39,18 @@ layer at (0,0) size 800x505
         RenderText {TEXT} at (0,0) size 744x18
           text run at (0,0) width 462: "This element should allow the document background to \"shine through.\" "
           text run at (462,0) width 282: "There should be no green backgrounds here!"
-      RenderTable {TABLE} at (0,297) size 784x192 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,297) size 784x192 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x190
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x164 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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 2d9e873..4dd2e80 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -44,18 +44,18 @@ layer at (0,0) size 800x530
         RenderText {TEXT} at (0,0) size 765x36
           text run at (0,0) width 765: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\""
           text run at (0,18) width 48: "instead."
-      RenderTable {TABLE} at (0,302) size 784x212 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,302) size 784x212 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x210
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x184 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 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 bf75ee1..5dcdae8 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 (0,302) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,302) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -73,18 +73,18 @@ layer at (0,0) size 800x1440
           text run at (0,36) width 57: "element. "
           text run at (57,36) width 725: "The background color will make it easier to determine the edges of the paragraph, which should assist in evaluating"
           text run at (0,54) width 51: "this test."
-      RenderTable {TABLE} at (0,862) size 784x562 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,862) size 784x562 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x560
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,280) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,280) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x534 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x534 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 9386d3a..1d0222f 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 (0,272) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,272) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -149,18 +149,18 @@ layer at (0,0) size 888x1838
           text run at (116,72) width 241: "This ought to be enough text, though. "
           text run at (357,72) width 395: "A background color is present, although if it is visible, then the"
           text run at (0,90) width 255: "image may not have been tiled correctly."
-      RenderTable {TABLE} at (0,1046) size 784x776 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1046) size 784x776 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x774
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,387) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,387) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x748 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x748 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54
                 RenderText {TEXT} at (0,0) size 762x36
                   text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default"
diff --git a/LayoutTests/css1/color_and_background/color-expected.txt b/LayoutTests/css1/color_and_background/color-expected.txt
index 1459066..aa3f3e0 100644
--- a/LayoutTests/css1/color_and_background/color-expected.txt
+++ b/LayoutTests/css1/color_and_background/color-expected.txt
@@ -9,25 +9,25 @@ 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 (0,77) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
       RenderBlock {P} at (0,129) 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."
-      RenderTable {TABLE} at (0,163) size 216x88 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,163) size 216x88 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x86
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 202x60 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 202x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 194x18 [color=#008000]
                 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 2af1408..b57e96e 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 (0,857) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,857) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -89,23 +89,23 @@ layer at (0,0) size 800x4035
       RenderBlock {P} at (0,1063) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 526x18
           text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
-      RenderBlock {P} at (0,1097) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,1097) size 784x42 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 756x36
           text run at (3,3) width 643: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
           text run at (646,3) width 113: "This should cause"
           text run at (3,21) width 318: "the user agent to use the default value of 'medium'."
-      RenderBlock {P} at (0,1155) size 784x42 [bgcolor=#000000]
+      RenderBlock {P} at (0,1155) size 784x42 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 740x36
           text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
           text run at (3,21) width 228: "because the border-width is invalid. "
           text run at (231,21) width 435: "This should cause the user agent to use the default value of 'medium'."
-      RenderBlock {P} at (0,1213) size 784x60 [bgcolor=#000000]
+      RenderBlock {P} at (0,1213) size 784x60 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 754x54
           text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
           text run at (3,21) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
           text run at (591,21) width 166: "This should cause the user"
           text run at (3,39) width 265: "agent to use the default value of 'medium'."
-      RenderBlock {P} at (0,1289) size 784x60 [bgcolor=#000000]
+      RenderBlock {P} at (0,1289) size 784x60 [bgcolor=#000000] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 767x54
           text run at (3,3) width 743: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
           text run at (3,21) width 547: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
@@ -271,18 +271,18 @@ layer at (0,0) size 800x4035
         RenderText {TEXT} at (0,0) size 751x36
           text run at (0,0) width 751: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
           text run at (0,18) width 616: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
-      RenderTable {TABLE} at (0,2437) size 784x1582 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,2437) size 784x1582 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1580
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,790) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,790) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1554 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1554 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [color=#008000]
                 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."
@@ -307,23 +307,23 @@ layer at (0,0) size 800x4035
               RenderBlock {P} at (4,192) size 762x18
                 RenderText {TEXT} at (0,0) size 526x18
                   text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
-              RenderBlock {P} at (4,226) size 762x42
+              RenderBlock {P} at (4,226) size 762x42 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 756x36
                   text run at (3,3) width 643: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
                   text run at (646,3) width 113: "This should cause"
                   text run at (3,21) width 318: "the user agent to use the default value of 'medium'."
-              RenderBlock {P} at (4,284) size 762x42
+              RenderBlock {P} at (4,284) size 762x42 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 740x36
                   text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
                   text run at (3,21) width 228: "because the border-width is invalid. "
                   text run at (231,21) width 435: "This should cause the user agent to use the default value of 'medium'."
-              RenderBlock {P} at (4,342) size 762x60
+              RenderBlock {P} at (4,342) size 762x60 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 754x54
                   text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
                   text run at (3,21) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
                   text run at (591,21) width 166: "This should cause the user"
                   text run at (3,39) width 265: "agent to use the default value of 'medium'."
-              RenderBlock {P} at (4,418) size 762x60
+              RenderBlock {P} at (4,418) size 762x60 [border: (3px solid #000000)]
                 RenderText {TEXT} at (3,3) size 751x54
                   text run at (3,3) width 743: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
                   text run at (3,21) width 547: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
diff --git a/LayoutTests/css1/font_properties/font-expected.txt b/LayoutTests/css1/font_properties/font-expected.txt
index 2902cf0..82a7263 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 (0,206) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,206) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -133,18 +133,18 @@ layer at (0,0) size 800x4169
             text run at (51,124) width 730: "px, respectively). The text should have a silver background. The background color has been set"
             text run at (0,178) width 679: "on an inline element and should therefore only cover the text, not the interline spacing."
         RenderText {TEXT} at (0,0) size 0x0
-      RenderTable {TABLE} at (0,1759) size 784x2394 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1759) size 784x2394 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x2392
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,1196) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,1196) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x2366 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x2366 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 732x36
                   text run at (0,0) width 379: "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 c62de48..33d66a1 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 (0,182) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,412) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,412) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,498) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,498) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,513) size 784x211 [bgcolor=#000000]
         RenderBlock {P} at (0,0) size 784x30
           RenderText {TEXT} at (0,0) size 768x30
@@ -65,18 +65,18 @@ layer at (0,0) size 800x1313
         RenderBlock {P} at (0,196) size 784x15
           RenderText {TEXT} at (0,0) size 352x15
             text run at (0,0) width 352: "This sentence should be in a monospace font."
-      RenderTable {TABLE} at (0,737) size 784x560 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,737) size 784x560 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x558
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,279) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,279) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x532 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x532 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {DIV} at (4,4) size 762x199
                 RenderBlock {P} at (0,0) size 762x18
                   RenderText {TEXT} at (0,0) size 638x18
@@ -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 (4,216) size 762x2
+              RenderBlock {HR} at (4,216) size 762x2 [border: (1px inset #000000)]
               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 (4,302) size 762x2
+              RenderBlock {HR} at (4,302) size 762x2 [border: (1px inset #000000)]
               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 9beb9df..e2f0cb3 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 (0,347) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,347) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -133,18 +133,18 @@ layer at (0,0) size 800x2734
       RenderBlock {P} at (0,1470) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 673x18
           text run at (0,0) width 673: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
-      RenderTable {TABLE} at (0,1504) size 784x1214 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1504) size 784x1214 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1212
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,606) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,606) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1186 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1186 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 780df52..6ac7120 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
@@ -28,18 +28,18 @@ layer at (0,0) size 800x365
           RenderText {TEXT} at (0,0) size 212x18
             text run at (0,0) width 212: "This paragraph should be normal."
         RenderText {TEXT} at (0,0) size 0x0
-      RenderTable {TABLE} at (0,227) size 571x122 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,227) size 571x122 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x120
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 569x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 569x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 557x94 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 557x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 549x18
                 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 b68a9e4..61f37ce 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 (0,92) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,92) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -22,18 +22,18 @@ layer at (0,0) size 800x282
             text run at (574,0) width 48: "Normal"
         RenderText {TEXT} at (622,0) size 4x18
           text run at (622,0) width 4: "."
-      RenderTable {TABLE} at (0,178) size 648x88 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,178) size 648x88 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x86
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 646x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 646x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 634x60 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 634x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 626x18
                 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 bdf598a..9e34b92 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 (0,212) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -59,18 +59,18 @@ layer at (0,0) size 800x1044
             text run at (493,0) width 44: "normal"
         RenderText {TEXT} at (537,0) size 4x18
           text run at (537,0) width 4: "."
-      RenderTable {TABLE} at (0,619) size 563x409 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,619) size 563x409 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x407
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 561x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 561x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,203) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,203) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 549x381 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 549x381 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 541x18
                 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 fec9664..a25e6bf 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 (0,77) size 750x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,77) size 750x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -19,18 +19,18 @@ layer at (0,0) size 800x305
           text run at (0,18) width 432: "background set for the HTML element should surround the BODY. "
           text run at (432,18) width 307: "If the BODY content is significantly shorter than"
           text run at (0,36) width 519: "the browser's window height, then the bottom border may be larger than 25 pixels."
-      RenderTable {TABLE} at (0,165) size 750x90 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,165) size 750x90 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 748x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 748x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 736x62 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 736x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 728x54
                 RenderText {TEXT} at (0,0) size 708x54
                   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 448b264..fcd2267 100644
--- a/LayoutTests/css1/formatting_model/floating_elements-expected.txt
+++ b/LayoutTests/css1/formatting_model/floating_elements-expected.txt
@@ -23,21 +23,21 @@ 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 (0,182) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,182) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
           text run at (681,0) width 90: "Other than the"
           text run at (0,18) width 728: "substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
-      RenderBlock {HR} at (24,260) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,286) size 780x100 [bgcolor=#000000]
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+      RenderBlock {HR} at (24,260) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,286) size 780x100 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 112: "paragraph (first in"
             text run at (17,53) width 50: "source)."
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {P} at (581,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (581,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -49,28 +49,28 @@ 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 (371,398) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,412) size 780x46 [bgcolor=#000000]
-        RenderImage {IMG} at (5,5) size 15x36
+      RenderBlock {HR} at (371,398) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,412) size 780x46 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (0,0) size 0x0
-        RenderImage {IMG} at (760,5) size 15x36
+        RenderImage {IMG} at (760,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (20,5) size 730x36
           text run at (20,5) width 177: "This is text within the DIV. "
           text run at (197,5) width 553: "The floating images within this DIV should not go beyond the left or right inner edge of"
           text run at (20,23) width 729: "this DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
-      RenderBlock {HR} at (24,482) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,508) size 442x226 [bgcolor=#000000]
-        RenderBlock (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0]
+      RenderBlock {HR} at (24,482) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,508) size 442x226 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 144x36
             text run at (17,17) width 93: "This is the first"
             text run at (17,35) width 144: "left-floating paragraph."
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 144x36
             text run at (17,17) width 113: "This is the second"
             text run at (17,35) width 144: "left-floating paragraph."
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 144x36
             text run at (17,17) width 98: "This is the third"
             text run at (17,35) width 144: "left-floating paragraph."
@@ -89,13 +89,13 @@ 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 (371,746) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,760) size 360x190 [bgcolor=#000000]
-        RenderImage {IMG} at (5,5) size 156x36
+      RenderBlock {HR} at (371,746) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,760) size 360x190 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (0,0) size 0x0
-        RenderImage {IMG} at (161,5) size 156x36
+        RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (0,0) size 0x0
-        RenderImage {IMG} at (5,41) size 156x36
+        RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (317,5) size 350x180
           text run at (317,5) width 28: "This"
           text run at (317,23) width 37: "is text"
@@ -110,15 +110,15 @@ layer at (0,0) size 800x6376
           text run at (5,149) width 40: "other. "
           text run at (45,149) width 307: "The first two should be side by side, whereas the"
           text run at (5,167) width 213: "third should be on the next \"line.\""
-      RenderBlock {HR} at (24,974) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,1000) size 314x352 [bgcolor=#000000]
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+      RenderBlock {HR} at (24,974) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1000) size 314x352 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 112: "paragraph (first in"
             text run at (17,53) width 50: "source)."
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -145,11 +145,11 @@ 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 (371,1364) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,1378) size 410x226 [bgcolor=#000000]
-        RenderImage {IMG} at (5,5) size 256x36
+      RenderBlock {HR} at (371,1364) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1378) size 410x226 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (0,0) size 0x0
-        RenderImage {IMG} at (149,41) size 256x36
+        RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (261,5) size 392x216
           text run at (261,5) width 136: "This is text within the"
           text run at (261,23) width 37: "DIV. "
@@ -166,15 +166,15 @@ layer at (0,0) size 800x6376
           text run at (5,167) width 382: "the floated images should not be side-by-side, but instead the"
           text run at (5,185) width 381: "first should be floated left, and the second floated to the right"
           text run at (5,203) width 94: "below the first."
-      RenderBlock {HR} at (24,1628) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,1654) size 780x118 [bgcolor=#000000]
-        RenderBlock (floating) {P} at (581,5) size 194x88 [bgcolor=#C0C0C0]
+      RenderBlock {HR} at (24,1628) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1654) size 780x118 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (581,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 112: "paragraph (first in"
             text run at (17,53) width 50: "source)."
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 132x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -187,22 +187,22 @@ 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 (371,1784) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,1798) size 780x64 [bgcolor=#000000]
-        RenderImage {IMG} at (5,5) size 15x36
+      RenderBlock {HR} at (371,1784) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1798) size 780x64 [bgcolor=#000000] [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (0,0) size 0x0
-        RenderImage {IMG} at (760,5) size 15x36
+        RenderImage {IMG} at (760,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (20,5) size 755x54
           text run at (20,5) width 177: "This is text within the DIV. "
           text run at (197,5) width 525: "The floating images within this DIV should not go beyond the top side of this DIV,"
           text run at (20,23) width 740: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any way."
           text run at (5,41) width 661: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-      RenderBlock {HR} at (24,1886) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,1912) size 780x118 [bgcolor=#000000]
+      RenderBlock {HR} at (24,1886) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1912) size 780x118 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (199,5) size 185x18
           text run at (199,5) width 177: "This is text within the DIV. "
           text run at (376,5) width 8: "*"
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 112: "paragraph (first in"
@@ -211,7 +211,7 @@ layer at (0,0) size 800x6376
           text run at (384,5) width 360: " The floating elements within this DIV should not go any"
           text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
           text run at (676,23) width 12: "* "
-        RenderBlock (floating) {P} at (581,41) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (581,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -223,28 +223,28 @@ 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 (371,2042) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,2056) size 780x82 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2042) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2056) size 780x82 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (20,5) size 185x18
           text run at (20,5) width 177: "This is text within the DIV. "
           text run at (197,5) width 8: "*"
-        RenderImage {IMG} at (5,5) size 15x36
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (205,5) size 688x36
           text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
           text run at (20,23) width 323: "containing the inline content which precedes them. "
           text run at (343,23) width 12: "* "
-        RenderImage {IMG} at (760,23) size 15x36
+        RenderImage {IMG} at (760,23) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (355,23) size 738x54
           text run at (355,23) width 376: "This means that the top side of each float can be, at most, as"
           text run at (5,41) width 725: "high as the top edge of the inline element containing the content just before the floating images occur in the source. "
           text run at (730,41) width 13: "In"
           text run at (5,59) width 591: "order to mark these points clearly, an asterisk has been inserted just before each floated image."
-      RenderBlock {HR} at (24,2162) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,2188) size 780x262 [bgcolor=#000000]
+      RenderBlock {HR} at (24,2162) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2188) size 780x262 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (199,5) size 185x18
           text run at (199,5) width 177: "This is text within the DIV. "
           text run at (376,5) width 8: "*"
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 112: "paragraph (first in"
@@ -253,7 +253,7 @@ layer at (0,0) size 800x6376
           text run at (384,5) width 360: " The floating elements within this DIV should not go any"
           text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
           text run at (676,23) width 12: "* "
-        RenderBlock (floating) {P} at (581,41) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (581,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -261,7 +261,7 @@ layer at (0,0) size 800x6376
         RenderText {TEXT} at (688,23) size 561x36
           text run at (688,23) width 72: "This means"
           text run at (199,41) width 238: "that the top side of each float can be,*"
-        RenderBlock (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 117: "paragraph (third in"
@@ -273,7 +273,7 @@ layer at (0,0) size 800x6376
           text run at (393,95) width 174: "before the floating elements"
           text run at (393,113) width 127: "occur in the source. "
           text run at (520,113) width 8: "*"
-        RenderBlock (floating) {P} at (393,131) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (393,131) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 126: "paragraph (fourth in"
@@ -289,44 +289,44 @@ 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 (371,2462) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,2476) size 780x118 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2462) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2476) size 780x118 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (20,5) size 185x18
           text run at (20,5) width 177: "This is text within the DIV. "
           text run at (197,5) width 8: "*"
-        RenderImage {IMG} at (5,5) size 15x36
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (205,5) size 673x36
           text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
           text run at (35,23) width 323: "containing the inline content which precedes them. "
           text run at (358,23) width 12: "* "
-        RenderImage {IMG} at (760,23) size 15x36
+        RenderImage {IMG} at (760,23) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (370,23) size 318x18
           text run at (370,23) width 310: "This means that the top side of each float can be, "
           text run at (680,23) width 8: "*"
-        RenderImage {IMG} at (20,23) size 15x36
+        RenderImage {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (688,23) size 738x54
           text run at (688,23) width 70: " at most, as"
           text run at (35,41) width 721: "high as the top edge of the inline element containing the content just before the floating images occur in the source."
           text run at (20,59) width 8: "*"
-        RenderImage {IMG} at (5,59) size 15x36
+        RenderImage {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (28,59) size 770x54
           text run at (28,59) width 616: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
           text run at (644,59) width 110: "If a line has room"
           text run at (20,77) width 755: "for a floated image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk"
           text run at (5,95) width 56: "appears. "
           text run at (61,95) width 402: "Otherwise, its top should align with the top of the next line-box."
-      RenderBlock {HR} at (24,2618) size 590x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,2644) size 490x298 [bgcolor=#000000]
+      RenderBlock {HR} at (24,2618) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2644) size 490x298 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (199,5) size 54x18
           text run at (199,5) width 54: "This is *"
-        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 130x54
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,35) width 112: "paragraph (first in"
             text run at (17,53) width 50: "source)."
         RenderText {TEXT} at (253,5) size 12x18
           text run at (253,5) width 12: " *"
-        RenderBlock (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0]
+        RenderBlock (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           RenderText {TEXT} at (17,17) size 139x54
             text run at (17,17) width 139: "This is a right-floating"
             text run at (17,35) width 132: "paragraph (second in"
@@ -348,14 +348,14 @@ 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 (371,2954) size 41x2 [bgcolor=#000000]
-      RenderBlock {DIV} at (2,2968) size 490x226 [bgcolor=#000000]
+      RenderBlock {HR} at (371,2954) size 41x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2968) size 490x226 [bgcolor=#000000] [border: (5px solid #800080)]
         RenderText {TEXT} at (20,5) size 54x18
           text run at (20,5) width 54: "This is *"
-        RenderImage {IMG} at (5,5) size 15x36
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (74,5) size 12x18
           text run at (74,5) width 12: " *"
-        RenderImage {IMG} at (470,5) size 15x36
+        RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
         RenderText {TEXT} at (86,5) size 480x216
           text run at (86,5) width 135: " text within the DIV. "
           text run at (221,5) width 226: "Under CSS1, the left floating image"
@@ -371,33 +371,33 @@ layer at (0,0) size 800x6376
           text run at (5,167) width 429: "line-box following the insertion point of the floated element to avoid"
           text run at (5,185) width 442: "floating elements appearing before text which precedes it in the source"
           text run at (5,203) width 66: "document."
-      RenderBlock {HR} at (24,3218) size 590x2 [bgcolor=#000000]
-      RenderTable {TABLE} at (0,3244) size 784x3116 [bgcolor=#000000]
+      RenderBlock {HR} at (24,3218) size 590x2 [bgcolor=#000000] [border: (1px inset #000000)]
+      RenderTable {TABLE} at (0,3244) size 784x3116 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x3114
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,1557) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,1557) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x3088 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x3088 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 751x36
                   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. "
                   text run at (681,0) width 67: "Other than"
                   text run at (0,18) width 751: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
-              RenderBlock {HR} at (28,64) size 573x2
-              RenderBlock {DIV} at (6,90) size 758x100
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+              RenderBlock {HR} at (28,64) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,90) size 758x100 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 112: "paragraph (first in"
                     text run at (17,53) width 50: "source)."
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderBlock (floating) {P} at (559,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (559,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -409,29 +409,29 @@ 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 (365,202) size 40x2
-              RenderBlock {DIV} at (6,216) size 758x64
-                RenderImage {IMG} at (5,5) size 15x36
+              RenderBlock {HR} at (365,202) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,216) size 758x64 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderImage {IMG} at (738,5) size 15x36
+                RenderImage {IMG} at (738,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (20,5) size 728x54
                   text run at (20,5) width 177: "This is text within the DIV. "
                   text run at (197,5) width 536: "The floating images within this DIV should not go beyond the left or right inner edge"
                   text run at (20,23) width 709: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
                   text run at (5,41) width 33: "DIV."
-              RenderBlock {HR} at (28,304) size 573x2
-              RenderBlock {DIV} at (6,330) size 442x226
-                RenderBlock (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0]
+              RenderBlock {HR} at (28,304) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,330) size 442x226 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 144x36
                     text run at (17,17) width 93: "This is the first"
                     text run at (17,35) width 144: "left-floating paragraph."
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderBlock (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 144x36
                     text run at (17,17) width 113: "This is the second"
                     text run at (17,35) width 144: "left-floating paragraph."
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderBlock (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 144x36
                     text run at (17,17) width 98: "This is the third"
                     text run at (17,35) width 144: "left-floating paragraph."
@@ -450,13 +450,13 @@ 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 (365,568) size 40x2
-              RenderBlock {DIV} at (6,582) size 360x190
-                RenderImage {IMG} at (5,5) size 156x36
+              RenderBlock {HR} at (365,568) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,582) size 360x190 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderImage {IMG} at (161,5) size 156x36
+                RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderImage {IMG} at (5,41) size 156x36
+                RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (317,5) size 350x180
                   text run at (317,5) width 28: "This"
                   text run at (317,23) width 37: "is text"
@@ -471,15 +471,15 @@ layer at (0,0) size 800x6376
                   text run at (5,149) width 40: "other. "
                   text run at (45,149) width 307: "The first two should be side by side, whereas the"
                   text run at (5,167) width 213: "third should be on the next \"line.\""
-              RenderBlock {HR} at (28,796) size 573x2
-              RenderBlock {DIV} at (6,822) size 314x352
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+              RenderBlock {HR} at (28,796) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,822) size 314x352 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 112: "paragraph (first in"
                     text run at (17,53) width 50: "source)."
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderBlock (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -506,11 +506,11 @@ 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 (365,1186) size 40x2
-              RenderBlock {DIV} at (6,1200) size 410x226
-                RenderImage {IMG} at (5,5) size 256x36
+              RenderBlock {HR} at (365,1186) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1200) size 410x226 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderImage {IMG} at (149,41) size 256x36
+                RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (261,5) size 392x216
                   text run at (261,5) width 136: "This is text within the"
                   text run at (261,23) width 37: "DIV. "
@@ -527,15 +527,15 @@ layer at (0,0) size 800x6376
                   text run at (5,167) width 382: "the floated images should not be side-by-side, but instead the"
                   text run at (5,185) width 381: "first should be floated left, and the second floated to the right"
                   text run at (5,203) width 94: "below the first."
-              RenderBlock {HR} at (28,1450) size 573x2
-              RenderBlock {DIV} at (6,1476) size 758x118
-                RenderBlock (floating) {P} at (559,5) size 194x88 [bgcolor=#C0C0C0]
+              RenderBlock {HR} at (28,1450) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1476) size 758x118 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (559,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 112: "paragraph (first in"
                     text run at (17,53) width 50: "source)."
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 132x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -549,23 +549,23 @@ 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 (365,1606) size 40x2
-              RenderBlock {DIV} at (6,1620) size 758x64
-                RenderImage {IMG} at (5,5) size 15x36
+              RenderBlock {HR} at (365,1606) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1620) size 758x64 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderImage {IMG} at (738,5) size 15x36
+                RenderImage {IMG} at (738,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (20,5) size 720x54
                   text run at (20,5) width 177: "This is text within the DIV. "
                   text run at (197,5) width 525: "The floating images within this DIV should not go beyond the top side of this DIV,"
                   text run at (20,23) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
                   text run at (5,41) width 35: "way. "
                   text run at (40,41) width 661: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-              RenderBlock {HR} at (28,1708) size 573x2
-              RenderBlock {DIV} at (6,1734) size 758x136
+              RenderBlock {HR} at (28,1708) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1734) size 758x136 [border: (5px solid #800080)]
                 RenderText {TEXT} at (199,5) size 185x18
                   text run at (199,5) width 177: "This is text within the DIV. "
                   text run at (376,5) width 8: "*"
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 112: "paragraph (first in"
@@ -574,7 +574,7 @@ layer at (0,0) size 800x6376
                   text run at (384,5) width 360: " The floating elements within this DIV should not go any"
                   text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
                   text run at (676,23) width 12: "* "
-                RenderBlock (floating) {P} at (559,41) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (559,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -587,27 +587,27 @@ 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 (365,1882) size 40x2
-              RenderBlock {DIV} at (6,1896) size 758x82
+              RenderBlock {HR} at (365,1882) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1896) size 758x82 [border: (5px solid #800080)]
                 RenderText {TEXT} at (20,5) size 185x18
                   text run at (20,5) width 177: "This is text within the DIV. "
                   text run at (197,5) width 8: "*"
-                RenderImage {IMG} at (5,5) size 15x36
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (205,5) size 688x36
                   text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
                   text run at (20,23) width 323: "containing the inline content which precedes them. "
                   text run at (343,23) width 12: "* "
-                RenderImage {IMG} at (738,23) size 15x36
+                RenderImage {IMG} at (738,23) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (355,23) size 726x54
                   text run at (355,23) width 376: "This means that the top side of each float can be, at most, as"
                   text run at (5,41) width 721: "high as the top edge of the inline element containing the content just before the floating images occur in the source."
                   text run at (5,59) width 608: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
-              RenderBlock {HR} at (28,2002) size 573x2
-              RenderBlock {DIV} at (6,2028) size 758x262
+              RenderBlock {HR} at (28,2002) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2028) size 758x262 [border: (5px solid #800080)]
                 RenderText {TEXT} at (199,5) size 185x18
                   text run at (199,5) width 177: "This is text within the DIV. "
                   text run at (376,5) width 8: "*"
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 112: "paragraph (first in"
@@ -616,7 +616,7 @@ layer at (0,0) size 800x6376
                   text run at (384,5) width 360: " The floating elements within this DIV should not go any"
                   text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
                   text run at (676,23) width 12: "* "
-                RenderBlock (floating) {P} at (559,41) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (559,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -624,7 +624,7 @@ layer at (0,0) size 800x6376
                 RenderText {TEXT} at (688,23) size 517x36
                   text run at (688,23) width 28: "This"
                   text run at (199,41) width 282: "means that the top side of each float can be,*"
-                RenderBlock (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 117: "paragraph (third in"
@@ -637,7 +637,7 @@ layer at (0,0) size 800x6376
                   text run at (393,113) width 162: "floating elements occur in"
                   text run at (587,131) width 72: "the source. "
                   text run at (659,131) width 8: "*"
-                RenderBlock (floating) {P} at (393,131) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (393,131) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 126: "paragraph (fourth in"
@@ -652,45 +652,45 @@ 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 (365,2302) size 40x2
-              RenderBlock {DIV} at (6,2316) size 758x118
+              RenderBlock {HR} at (365,2302) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2316) size 758x118 [border: (5px solid #800080)]
                 RenderText {TEXT} at (20,5) size 185x18
                   text run at (20,5) width 177: "This is text within the DIV. "
                   text run at (197,5) width 8: "*"
-                RenderImage {IMG} at (5,5) size 15x36
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (205,5) size 673x36
                   text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
                   text run at (35,23) width 323: "containing the inline content which precedes them. "
                   text run at (358,23) width 12: "* "
-                RenderImage {IMG} at (738,23) size 15x36
+                RenderImage {IMG} at (738,23) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (370,23) size 318x18
                   text run at (370,23) width 310: "This means that the top side of each float can be, "
                   text run at (680,23) width 8: "*"
-                RenderImage {IMG} at (20,23) size 15x36
+                RenderImage {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (688,23) size 703x54
                   text run at (688,23) width 15: " at"
                   text run at (35,41) width 688: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
                   text run at (20,59) width 88: "in the source. "
                   text run at (108,59) width 8: "*"
-                RenderImage {IMG} at (5,59) size 15x36
+                RenderImage {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (116,59) size 748x54
                   text run at (116,59) width 616: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
                   text run at (732,59) width 21: "If a"
                   text run at (20,77) width 727: "line has room for a floated image, then the image should float so that its top is aligned with the top of the line-box in"
                   text run at (5,95) width 173: "which the asterisk appears. "
                   text run at (178,95) width 402: "Otherwise, its top should align with the top of the next line-box."
-              RenderBlock {HR} at (28,2458) size 573x2
-              RenderBlock {DIV} at (6,2484) size 490x298
+              RenderBlock {HR} at (28,2458) size 573x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2484) size 490x298 [border: (5px solid #800080)]
                 RenderText {TEXT} at (199,5) size 54x18
                   text run at (199,5) width 54: "This is *"
-                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 130x54
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,35) width 112: "paragraph (first in"
                     text run at (17,53) width 50: "source)."
                 RenderText {TEXT} at (253,5) size 12x18
                   text run at (253,5) width 12: " *"
-                RenderBlock (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0]
+                RenderBlock (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   RenderText {TEXT} at (17,17) size 139x54
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,35) width 132: "paragraph (second in"
@@ -712,14 +712,14 @@ 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 (365,2794) size 40x2
-              RenderBlock {DIV} at (6,2808) size 490x226
+              RenderBlock {HR} at (365,2794) size 40x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2808) size 490x226 [border: (5px solid #800080)]
                 RenderText {TEXT} at (20,5) size 54x18
                   text run at (20,5) width 54: "This is *"
-                RenderImage {IMG} at (5,5) size 15x36
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (74,5) size 12x18
                   text run at (74,5) width 12: " *"
-                RenderImage {IMG} at (470,5) size 15x36
+                RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
                 RenderText {TEXT} at (86,5) size 480x216
                   text run at (86,5) width 135: " text within the DIV. "
                   text run at (221,5) width 226: "Under CSS1, the left floating image"
@@ -735,4 +735,4 @@ layer at (0,0) size 800x6376
                   text run at (5,167) width 429: "line-box following the insertion point of the floated element to avoid"
                   text run at (5,185) width 442: "floating elements appearing before text which precedes it in the source"
                   text run at (5,203) width 66: "document."
-              RenderBlock {HR} at (28,3058) size 573x2
+              RenderBlock {HR} at (28,3058) size 573x2 [border: (1px inset #000000)]
diff --git a/LayoutTests/css1/formatting_model/height_of_lines-expected.txt b/LayoutTests/css1/formatting_model/height_of_lines-expected.txt
index b3d88fe..a3a7a6d 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 (0,317) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,317) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -76,10 +76,10 @@ layer at (0,0) size 800x2295
           text run at (0,183) width 60: "border (10"
           text run at (60,183) width 115: "px) and margins (15"
           text run at (175,183) width 182: "px) within the line box, such as "
-        RenderImage {IMG} at (372,55) size 130x130
+        RenderImage {IMG} at (372,55) size 130x130 [border: (10px solid #000000)]
         RenderText {TEXT} at (517,183) size 28x20
           text run at (517,183) width 28: " and "
-        RenderImage {IMG} at (560,197) size 130x130
+        RenderImage {IMG} at (560,197) size 130x130 [border: (10px solid #000000)]
         RenderText {TEXT} at (705,183) size 780x259
           text run at (705,183) width 8: ". "
           text run at (713,183) width 38: "This is"
@@ -89,24 +89,24 @@ layer at (0,0) size 800x2295
           text run at (206,383) width 506: "px above the bottom of the text, and for the second image the top border should begin 15"
           text run at (712,383) width 52: "px below"
           text run at (0,422) width 105: "the top of the text "
-        RenderImage {IMG} at (95,392) size 80x80
+        RenderImage {IMG} at (95,392) size 80x80 [border: (10px solid #000000)]
         RenderText {TEXT} at (165,422) size 749x61
           text run at (165,422) width 8: ". "
           text run at (173,422) width 227: "The last image in this paragraph has -10"
           text run at (400,422) width 349: "px margins set on it, so that should pull the text in toward the"
           text run at (0,463) width 379: "image in the vertical direction, and also in the horizontal direction."
-      RenderTable {TABLE} at (0,1285) size 784x994 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1285) size 784x994 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x992
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,496) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,496) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x966 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x966 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x462
                 RenderText {TEXT} at (0,1) size 729x242
                   text run at (0,1) width 252: "This paragraph should have a font size of 14"
@@ -136,10 +136,10 @@ layer at (0,0) size 800x2295
                   text run at (61,183) width 87: "px), border (10"
                   text run at (148,183) width 115: "px) and margins (15"
                   text run at (263,183) width 182: "px) within the line box, such as "
-                RenderImage {IMG} at (460,55) size 130x130
+                RenderImage {IMG} at (460,55) size 130x130 [border: (10px solid #000000)]
                 RenderText {TEXT} at (605,183) size 28x20
                   text run at (605,183) width 28: " and "
-                RenderImage {IMG} at (15,217) size 130x130
+                RenderImage {IMG} at (15,217) size 130x130 [border: (10px solid #000000)]
                 RenderText {TEXT} at (160,203) size 755x239
                   text run at (160,203) width 8: ". "
                   text run at (168,203) width 587: "This is additional text to make sure that there is enough room left below the image so that this line does"
@@ -149,7 +149,7 @@ layer at (0,0) size 800x2295
                   text run at (458,383) width 290: "px above the bottom of the text, and for the second"
                   text run at (0,422) width 212: "image the top border should begin 15"
                   text run at (212,422) width 161: "px below the top of the text "
-                RenderImage {IMG} at (363,392) size 80x80
+                RenderImage {IMG} at (363,392) size 80x80 [border: (10px solid #000000)]
                 RenderText {TEXT} at (433,422) size 750x61
                   text run at (433,422) width 8: ". "
                   text run at (441,422) width 227: "The last image in this paragraph has -10"
diff --git a/LayoutTests/css1/formatting_model/inline_elements-expected.txt b/LayoutTests/css1/formatting_model/inline_elements-expected.txt
index 2a7c703..362d2bc 100644
--- a/LayoutTests/css1/formatting_model/inline_elements-expected.txt
+++ b/LayoutTests/css1/formatting_model/inline_elements-expected.txt
@@ -21,11 +21,11 @@ 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #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 "
-        RenderInline {SPAN} at (0,0) size 773x170
+        RenderInline {SPAN} at (0,0) size 773x170 [border: (10px solid #FF0000)]
           RenderText {TEXT} at (239,7) size 773x160
             text run at (239,7) width 264: "very long span in it, and the span has a 10"
             text run at (503,7) width 258: "px red border separated from the span by"
@@ -44,7 +44,7 @@ layer at (0,0) size 800x792
       RenderBlock {P} at (0,378) size 784x64 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 159x16
           text run at (0,0) width 159: "This is a paragraph that has a "
-        RenderInline {SPAN} at (0,0) size 782x91
+        RenderInline {SPAN} at (0,0) size 782x91 [border: (12px solid #FF0000)]
           RenderText {TEXT} at (173,0) size 782x64
             text run at (173,0) width 226: "very long span in it, and the span has a 12"
             text run at (399,0) width 229: "px red border separated from the span by 2"
@@ -58,22 +58,22 @@ layer at (0,0) size 800x792
           text run at (41,48) width 290: "The line spacing in the whole paragraph should be 12"
           text run at (331,48) width 108: "pt, with font-size 10"
           text run at (439,48) width 14: "pt."
-      RenderTable {TABLE} at (0,455) size 784x321 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,455) size 784x321 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x319
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,159) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,159) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x293 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x293 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x192
                 RenderText {TEXT} at (0,7) size 187x32
                   text run at (0,7) width 187: "This is a paragraph that has a "
-                RenderInline {SPAN} at (0,0) size 761x170
+                RenderInline {SPAN} at (0,0) size 761x170 [border: (10px solid #FF0000)]
                   RenderText {TEXT} at (239,7) size 761x160
                     text run at (239,7) width 264: "very long span in it, and the span has a 10"
                     text run at (503,7) width 258: "px red border separated from the span by"
@@ -92,7 +92,7 @@ layer at (0,0) size 800x792
               RenderBlock {P} at (4,212) size 762x64
                 RenderText {TEXT} at (0,0) size 159x16
                   text run at (0,0) width 159: "This is a paragraph that has a "
-                RenderInline {SPAN} at (0,0) size 760x91
+                RenderInline {SPAN} at (0,0) size 760x91 [border: (12px solid #FF0000)]
                   RenderText {TEXT} at (173,0) size 760x64
                     text run at (173,0) width 226: "very long span in it, and the span has a 12"
                     text run at (399,0) width 229: "px red border separated from the span by 2"
diff --git a/LayoutTests/css1/formatting_model/replaced_elements-expected.txt b/LayoutTests/css1/formatting_model/replaced_elements-expected.txt
index a63b0cb..0b4596c 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 (0,167) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {P} at (0,185) size 784x19 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 15x15
         RenderText {TEXT} at (15,1) size 434x18
@@ -44,18 +44,18 @@ layer at (0,0) size 800x2369
           text run at (0,0) width 758: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of the"
           text run at (0,18) width 100: "parent element: "
           text run at (100,18) width 395: "the document body in the first half, and the table in the second."
-      RenderTable {TABLE} at (0,1270) size 784x1083 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1270) size 784x1083 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1081
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,540) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,540) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1055 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1055 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x19
                 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 47690a3..a0d6a35 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 (0,347) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,347) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -102,18 +102,18 @@ layer at (0,0) size 800x2471
       RenderBlock {P} at (0,1329) size 784x55 [bgcolor=#000000]
         RenderText {TEXT} at (0,37) size 167x18
           text run at (0,37) width 167: "This is the next paragraph."
-      RenderTable {TABLE} at (0,1400) size 784x1055 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1400) size 784x1055 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1053
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,526) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,526) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1027 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1027 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 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 4ac524b..9ad6644 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 (0,137) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,137) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -78,18 +78,18 @@ layer at (0,0) size 800x683
           text run at (540,0) width 192: "It's a named anchor, and styles"
           text run at (0,18) width 350: "declared for the A tag are applied to them under CSS1. "
           text run at (350,18) width 326: "It also should NOT turn orange when clicked upon."
-      RenderTable {TABLE} at (0,401) size 784x266 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,401) size 784x266 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x264
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x238 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x238 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 ada7e42..37d46c2 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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
@@ -45,18 +45,18 @@ layer at (0,0) size 800x711
           text run at (0,64) width 578: "mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
           text run at (578,64) width 178: "Note that this is not required"
           text run at (0,82) width 228: "under CSS1, but it is recommended."
-      RenderTable {TABLE} at (0,400) size 784x295 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,400) size 784x295 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x293
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,146) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,146) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x267 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x267 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54
                 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 0a84534..9f9d067 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -38,18 +38,18 @@ layer at (0,0) size 800x655
           text run at (245,36) width 225: " is not supported by your browser). "
           text run at (470,36) width 284: "This is extra text included for the purposes of"
           text run at (0,54) width 395: "making the paragraph long enough to have more than one line."
-      RenderTable {TABLE} at (0,372) size 784x267 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,372) size 784x267 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x265
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x239 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x239 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54
                 RenderText {TEXT} at (0,0) size 761x54
                   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 ab6005c..b05cf57 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 (0,152) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,152) size 784x2 [bgcolor=#000000] [border: (1px inset #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
@@ -50,18 +50,18 @@ layer at (0,0) size 800x1012
           text run at (0,82) width 718: "that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
           text run at (0,100) width 97: "recommended. "
           text run at (97,100) width 450: "In addition, the entire first line should be in a small-caps font and green."
-      RenderTable {TABLE} at (0,573) size 784x423 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,573) size 784x423 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x421
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,210) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,210) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x395 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x395 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x54
                 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 1452cd2..62233f7 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 (0,107) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,107) size 784x2 [bgcolor=#000000] [border: (1px inset #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. "
@@ -35,18 +35,18 @@ layer at (0,0) size 800x545
           text run at (431,18) width 335: "If neither is the case, then the user agent has correctly"
           text run at (0,36) width 750: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
           text run at (0,54) width 87: "failed the test."
-      RenderTable {TABLE} at (0,317) size 784x212 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,317) size 784x212 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x210
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x184 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 718x36
                   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 3a8cd13..38012c7 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 (0,212) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -76,18 +76,18 @@ layer at (0,0) size 800x1378
       RenderBlock {P} at (0,752) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 638x18
           text run at (0,0) width 638: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
-      RenderTable {TABLE} at (0,786) size 784x576 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,786) size 784x576 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x574
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,287) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,287) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x548 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x548 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x72
                 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 9d4d648..d587214 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 (0,257) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,257) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -70,7 +70,7 @@ layer at (0,0) size 800x2623
           text run at (0,5) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
       RenderBlock {DIV} at (0,695) size 784x168 [bgcolor=#C0C0C0]
         RenderBlock (anonymous) at (0,0) size 784x24 [bgcolor=#000000]
-          RenderText {TEXT} at (0,5) size 592x24 [bgcolor=#C0C0C0]
+          RenderText {TEXT} at (0,5) size 592x24
             text run at (0,5) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
         RenderBlock {P} at (0,48) size 784x72 [bgcolor=#000000]
           RenderText {TEXT} at (0,-2) size 763x72
@@ -79,14 +79,14 @@ layer at (0,0) size 800x2623
             text run at (0,22) width 763: "this should not cause extra spacing between the lines, since the line-height and"
             text run at (0,46) width 364: "font-size should have the same value."
         RenderBlock (anonymous) at (0,144) size 784x24 [bgcolor=#000000]
-          RenderText {TEXT} at (0,5) size 606x24 [bgcolor=#C0C0C0]
+          RenderText {TEXT} at (0,5) size 606x24
             text run at (0,5) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
       RenderBlock {P} at (0,875) size 784x24 [bgcolor=#000000]
         RenderText {TEXT} at (0,5) size 537x24
           text run at (0,5) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
       RenderBlock {DIV} at (0,911) size 784x240 [bgcolor=#C0C0C0]
         RenderBlock (anonymous) at (0,0) size 784x24 [bgcolor=#000000]
-          RenderText {TEXT} at (0,5) size 592x24 [bgcolor=#C0C0C0]
+          RenderText {TEXT} at (0,5) size 592x24
             text run at (0,5) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
         RenderBlock {P} at (0,48) size 784x144 [bgcolor=#000000]
           RenderText {TEXT} at (0,10) size 749x144
@@ -96,7 +96,7 @@ layer at (0,0) size 800x2623
             text run at (308,106) width 316: "px and the line-height will be 56"
             text run at (624,106) width 30: "px."
         RenderBlock (anonymous) at (0,216) size 784x24 [bgcolor=#000000]
-          RenderText {TEXT} at (0,5) size 606x24 [bgcolor=#C0C0C0]
+          RenderText {TEXT} at (0,5) size 606x24
             text run at (0,5) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
       RenderBlock {P} at (0,1163) size 784x100 [bgcolor=#000000]
         RenderText {TEXT} at (0,18) size 774x100
@@ -112,18 +112,18 @@ layer at (0,0) size 800x2623
             text run at (0,30) width 758: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but no"
             text run at (0,105) width 663: "padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
         RenderText {TEXT} at (0,0) size 0x0
-      RenderTable {TABLE} at (0,1463) size 784x1144 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,1463) size 784x1144 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x1142
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,571) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,571) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x1116 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x1116 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x48
                 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."
@@ -150,7 +150,7 @@ layer at (0,0) size 800x2623
                   text run at (0,5) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
               RenderBlock {DIV} at (4,428) size 762x168 [bgcolor=#C0C0C0]
                 RenderBlock (anonymous) at (0,0) size 762x24 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,5) size 592x24 [bgcolor=#C0C0C0]
+                  RenderText {TEXT} at (0,5) size 592x24
                     text run at (0,5) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
                 RenderBlock {P} at (0,48) size 762x72 [bgcolor=#000000]
                   RenderText {TEXT} at (0,-2) size 748x72
@@ -159,14 +159,14 @@ layer at (0,0) size 800x2623
                     text run at (0,22) width 722: "this should not cause extra spacing between the lines, since the line-height"
                     text run at (0,46) width 405: "and font-size should have the same value."
                 RenderBlock (anonymous) at (0,144) size 762x24 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,5) size 606x24 [bgcolor=#C0C0C0]
+                  RenderText {TEXT} at (0,5) size 606x24
                     text run at (0,5) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
               RenderBlock {P} at (4,608) size 762x24
                 RenderText {TEXT} at (0,5) size 537x24
                   text run at (0,5) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
               RenderBlock {DIV} at (4,644) size 762x240 [bgcolor=#C0C0C0]
                 RenderBlock (anonymous) at (0,0) size 762x24 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,5) size 592x24 [bgcolor=#C0C0C0]
+                  RenderText {TEXT} at (0,5) size 592x24
                     text run at (0,5) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
                 RenderBlock {P} at (0,48) size 762x144 [bgcolor=#000000]
                   RenderText {TEXT} at (0,10) size 749x144
@@ -176,7 +176,7 @@ layer at (0,0) size 800x2623
                     text run at (308,106) width 316: "px and the line-height will be 56"
                     text run at (624,106) width 30: "px."
                 RenderBlock (anonymous) at (0,216) size 762x24 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,5) size 606x24 [bgcolor=#C0C0C0]
+                  RenderText {TEXT} at (0,5) size 606x24
                     text run at (0,5) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
               RenderBlock {P} at (4,896) size 762x28
                 RenderText {TEXT} at (0,0) size 745x28
diff --git a/LayoutTests/css1/text_properties/text-transform-expected.txt b/LayoutTests/css1/text_properties/text-transform-expected.txt
index 4b46ab3..ee74710 100644
--- a/LayoutTests/css1/text_properties/text-transform-expected.txt
+++ b/LayoutTests/css1/text_properties/text-transform-expected.txt
@@ -29,10 +29,10 @@ layer at (0,0) size 800x2962
         RenderLineEdit {INPUT} at (439,30) size 128x19
         RenderText {TEXT} at (569,30) size 4x18
           text run at (569,30) width 4: " "
-        RenderBlock {BUTTON} at (573,18) size 45x26 [bgcolor=#C0C0C0]
+        RenderBlock {BUTTON} at (573,18) size 45x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
           RenderText {TEXT} at (4,4) size 37x18
             text run at (4,4) width 37: "Apply"
-      RenderBlock {HR} at (0,213) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,213) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,939) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,939) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,1359) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1359) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,1563) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1563) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,1965) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,1965) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,2205) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2205) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,2409) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2409) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,2649) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2649) size 784x2 [bgcolor=#000000] [border: (1px inset #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 (0,2889) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,2889) size 784x2 [bgcolor=#000000] [border: (1px inset #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 911f668..2ed2d93 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 (0,122) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -27,18 +27,18 @@ layer at (0,0) size 800x520
           text run at (0,0) width 784: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no"
           text run at (0,18) width 784: "matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western"
           text run at (0,36) width 67: "languages."
-      RenderTable {TABLE} at (0,312) size 784x192 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,312) size 784x192 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x190
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x164 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 2aab3d8..0f89b59 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 (0,167) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,167) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -96,18 +96,18 @@ layer at (0,0) size 800x1151
         RenderText {TEXT} at (561,0) size 738x36
           text run at (561,0) width 177: " (that is, the first word in the"
           text run at (0,18) width 213: "sentence, which should be black)."
-      RenderTable {TABLE} at (0,650) size 784x485 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,650) size 784x485 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x483
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,241) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,241) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x457 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x457 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 2b24dd3..8ee5a7f 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 (0,212) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -59,10 +59,10 @@ layer at (0,0) size 800x1246
       RenderBlock {P} at (0,572) size 784x54 [bgcolor=#00FFFF]
         RenderText {TEXT} at (48,0) size 416x18
           text run at (48,0) width 416: "Only the first line of this sentence should be indented half an inch,"
-        RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+        RenderBR {BR} at (0,0) size 0x0
         RenderText {TEXT} at (0,18) size 259x18
           text run at (0,18) width 259: "no matter where the lines might start, and"
-        RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+        RenderBR {BR} at (0,0) size 0x0
         RenderText {TEXT} at (0,0) size 0x0
         RenderInline {EM} at (0,0) size 199x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,36) size 199x18
@@ -74,18 +74,18 @@ layer at (0,0) size 800x1246
           text run at (392,0) width 221: "In the first half of the test page, this"
           text run at (0,18) width 646: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
           text run at (0,36) width 513: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
-      RenderTable {TABLE} at (0,712) size 784x518 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,712) size 784x518 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x516
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,258) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,258) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x490 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x490 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18 [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."
@@ -118,10 +118,10 @@ layer at (0,0) size 800x1246
               RenderBlock {P} at (4,346) size 762x54 [bgcolor=#00FFFF]
                 RenderText {TEXT} at (48,0) size 416x18
                   text run at (48,0) width 416: "Only the first line of this sentence should be indented half an inch,"
-                RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+                RenderBR {BR} at (0,0) size 0x0
                 RenderText {TEXT} at (0,18) size 259x18
                   text run at (0,18) width 259: "no matter where the lines might start, and"
-                RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+                RenderBR {BR} at (0,0) size 0x0
                 RenderText {TEXT} at (0,0) size 0x0
                 RenderInline {EM} at (0,0) size 199x18 [bgcolor=#000000]
                   RenderText {TEXT} at (0,36) size 199x18
diff --git a/LayoutTests/css1/text_properties/text_transform-expected.txt b/LayoutTests/css1/text_properties/text_transform-expected.txt
index 0d920e3..a7aa592 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 (0,122) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -49,18 +49,18 @@ layer at (0,0) size 800x714
       RenderBlock {P} at (0,366) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 726x18
           text run at (0,0) width 726: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
-      RenderTable {TABLE} at (0,400) size 784x298 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,400) size 784x298 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x296
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,148) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,148) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x270 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x270 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 RenderText {TEXT} at (0,0) size 718x36
                   text run at (0,0) width 718: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear"
diff --git a/LayoutTests/css1/text_properties/vertical_align-expected.txt b/LayoutTests/css1/text_properties/vertical_align-expected.txt
index 77c9b77..9e5b325 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 (0,317) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,317) size 784x2 [bgcolor=#000000] [border: (1px inset #000000)]
       RenderBlock {P} at (0,335) size 784x76 [bgcolor=#000000]
         RenderImage {IMG} at (0,0) size 15x50
         RenderInline {SPAN} at (0,0) size 126x18
@@ -372,18 +372,18 @@ layer at (0,0) size 800x4445
           text run at (171,111) width 4: " "
         RenderImage {IMG} at (175,111) size 27x90
         RenderText {TEXT} at (0,0) size 0x0
-      RenderTable {TABLE} at (0,2371) size 784x2058 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,2371) size 784x2058 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x2056
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,1028) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,1028) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x2030 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x2030 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x76
                 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 8e36617..1abd704 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 (0,227) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -64,18 +64,18 @@ layer at (0,0) size 800x997
       RenderBlock {P} at (0,569) size 784x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 707x18
           text run at (0,0) width 707: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
-      RenderTable {TABLE} at (0,603) size 784x378 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,603) size 784x378 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x376
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,188) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,188) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x350 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x350 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 29faf52..4639a95 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 (0,227) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,227) size 784x2 [bgcolor=#000000] [border: (1px inset #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."
@@ -116,18 +116,18 @@ layer at (0,0) size 800x1699
             text run at (281,2) width 40: "style"
         RenderText {TEXT} at (321,0) size 59x18
           text run at (321,0) width 59: " attribute."
-      RenderTable {TABLE} at (0,945) size 784x738 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,945) size 784x738 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x736
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,368) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,368) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x710 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x710 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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 321b923..41b6837 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 (0,212) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,212) size 784x2 [bgcolor=#000000] [border: (1px inset #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"
@@ -71,7 +71,7 @@ layer at (0,0) size 800x1592
       RenderBlock {P} at (48,554) size 736x18 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 591x18
           text run at (0,0) width 591: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
-      RenderBlock {P} at (0,612) size 784x230 [bgcolor=#00FFFF]
+      RenderBlock {P} at (0,612) size 784x230 [bgcolor=#00FFFF] [border: (20px solid #800080)]
         RenderText {TEXT} at (20,0) size 310x46
           text run at (20,0) width 310: "This element has a "
         RenderInline {CODE} at (0,0) size 216x46 [bgcolor=#000000]
@@ -100,18 +100,18 @@ layer at (0,0) size 800x1592
           text run at (20,92) width 673: "This should make the left border the same"
           text run at (20,138) width 711: "number of pixels as the lower-case 'x' in this"
           text run at (20,184) width 611: "element's font, as well as solid purple."
-      RenderTable {TABLE} at (0,882) size 784x694 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,882) size 784x694 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x692
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,346) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,346) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x666 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x666 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x36
                 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"
@@ -152,7 +152,7 @@ layer at (0,0) size 800x1592
               RenderBlock {P} at (52,328) size 714x18
                 RenderText {TEXT} at (0,0) size 591x18
                   text run at (0,0) width 591: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
-              RenderBlock {P} at (4,386) size 762x276 [bgcolor=#00FFFF]
+              RenderBlock {P} at (4,386) size 762x276 [bgcolor=#00FFFF] [border: (20px solid #800080)]
                 RenderText {TEXT} at (20,0) size 310x46
                   text run at (20,0) width 310: "This element has a "
                 RenderInline {CODE} at (0,0) size 216x46 [bgcolor=#000000]
diff --git a/LayoutTests/css1/units/percentage_units-expected.txt b/LayoutTests/css1/units/percentage_units-expected.txt
index 0ae3f00..a4117b0 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 (0,122) size 784x2 [bgcolor=#000000]
+      RenderBlock {HR} at (0,122) size 784x2 [bgcolor=#000000] [border: (1px inset #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]
@@ -30,18 +30,18 @@ layer at (0,0) size 800x560
         RenderText {TEXT} at (0,0) size 549x36
           text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
           text run at (0,18) width 357: "should require some extra text in order to test effectively."
-      RenderTable {TABLE} at (0,332) size 784x212 [bgcolor=#000000]
+      RenderTable {TABLE} at (0,332) size 784x212 [bgcolor=#000000] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x210
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x184 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {DIV} at (4,4) size 762x124 [bgcolor=#FFFF00]
                 RenderBlock {DIV} at (190,0) size 382x54 [bgcolor=#FFFFFF]
                   RenderBlock {P} at (0,0) size 382x54 [bgcolor=#000000]
diff --git a/LayoutTests/css1/units/urls-expected.txt b/LayoutTests/css1/units/urls-expected.txt
index bc77bcf..1bc93d6 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 (0,107) size 784x2
+      RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
       RenderBlock {P} at (0,125) size 784x18
         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."
@@ -27,18 +27,18 @@ layer at (0,0) size 800x509
           text run at (620,0) width 159: "If an image, in this case a"
           text run at (0,18) width 756: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
           text run at (0,36) width 274: "document's URL, not the stylesheet's URL."
-      RenderTable {TABLE} at (0,299) size 784x194
+      RenderTable {TABLE} at (0,299) size 784x194 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x192
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               RenderInline {STRONG} at (0,0) size 163x18 [bgcolor=#000000]
                 RenderText {TEXT} at (4,4) size 163x18
                   text run at (4,4) width 163: "TABLE Testing Section"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,96) size 12x26 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,96) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,26) size 770x166 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,26) size 770x166 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {P} at (4,4) size 762x18
                 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/block/basic/001-expected.txt b/LayoutTests/fast/block/basic/001-expected.txt
index aaa25d0..52e1158 100644
--- a/LayoutTests/fast/block/basic/001-expected.txt
+++ b/LayoutTests/fast/block/basic/001-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x206
   RenderBlock {HTML} at (0,0) size 800x206
     RenderBody {BODY} at (8,8) size 784x182
-      RenderBlock {P} at (0,0) size 784x182
+      RenderBlock {P} at (0,0) size 784x182 [border: (2px solid #FF0000)]
         RenderBlock (anonymous) at (2,2) size 780x18
           RenderInline {I} at (0,0) size 230x18
             RenderText {TEXT} at (0,0) size 93x18
diff --git a/LayoutTests/fast/block/basic/002-expected.txt b/LayoutTests/fast/block/basic/002-expected.txt
index 53fb47f..dd7f54b 100644
--- a/LayoutTests/fast/block/basic/002-expected.txt
+++ b/LayoutTests/fast/block/basic/002-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x38
   RenderBlock {HTML} at (0,0) size 800x38
     RenderBody {BODY} at (8,8) size 784x22
-      RenderBlock {DIV} at (0,0) size 784x22
+      RenderBlock {DIV} at (0,0) size 784x22 [border: (2px solid #FF0000)]
         RenderInline {A} at (0,0) size 28x18 [color=#008000]
           RenderText {TEXT} at (2,2) size 28x18
             text run at (2,2) width 28: "First"
diff --git a/LayoutTests/fast/block/basic/003-expected.txt b/LayoutTests/fast/block/basic/003-expected.txt
index 15487d0..e0f4955 100644
--- a/LayoutTests/fast/block/basic/003-expected.txt
+++ b/LayoutTests/fast/block/basic/003-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x56
   RenderBlock {HTML} at (0,0) size 800x56
     RenderBody {BODY} at (8,8) size 784x40
-      RenderBlock {DIV} at (0,0) size 204x40
+      RenderBlock {DIV} at (0,0) size 204x40 [border: (2px solid #FF0000)]
         RenderText {TEXT} at (2,2) size 184x36
           text run at (2,2) width 162: "This is some text. What is"
           text run at (2,20) width 184: "going on here. Does it work?"
diff --git a/LayoutTests/fast/block/basic/004-expected.txt b/LayoutTests/fast/block/basic/004-expected.txt
index 196710d..ad453f0 100644
--- a/LayoutTests/fast/block/basic/004-expected.txt
+++ b/LayoutTests/fast/block/basic/004-expected.txt
@@ -7,5 +7,5 @@ layer at (0,0) size 800x90
         RenderText {TEXT} at (0,0) size 544x18
           text run at (0,0) width 544: "The following two DIVs should be the same width (resulting in a single 4 by 2 block)."
       RenderBlock {DIV} at (0,34) size 48x16 [bgcolor=#000080]
-        RenderBlock {DIV} at (0,0) size 64x16
+        RenderBlock {DIV} at (0,0) size 64x16 [border: none (32px solid #000000) none (32px solid #000000)]
       RenderBlock {DIV} at (0,50) size 64x16 [bgcolor=#000080]
diff --git a/LayoutTests/fast/block/basic/007-expected.txt b/LayoutTests/fast/block/basic/007-expected.txt
index 376db77..761f2fd 100644
--- a/LayoutTests/fast/block/basic/007-expected.txt
+++ b/LayoutTests/fast/block/basic/007-expected.txt
@@ -7,5 +7,5 @@ layer at (0,0) size 800x90
         RenderText {TEXT} at (0,0) size 544x18
           text run at (0,0) width 544: "The following two DIVs should be the same width (resulting in a single 5 by 2 block)."
       RenderBlock {DIV} at (0,34) size 80x16 [bgcolor=#000080]
-        RenderBlock {DIV} at (0,0) size 80x16
+        RenderBlock {DIV} at (0,0) size 80x16 [border: none (32px solid #000000) none (32px solid #000000)]
       RenderBlock {DIV} at (0,50) size 80x16 [bgcolor=#000080]
diff --git a/LayoutTests/fast/block/basic/011-expected.txt b/LayoutTests/fast/block/basic/011-expected.txt
index 77cd018..22de09a 100644
--- a/LayoutTests/fast/block/basic/011-expected.txt
+++ b/LayoutTests/fast/block/basic/011-expected.txt
@@ -2,15 +2,15 @@ layer at (0,0) size 800x600
   RenderCanvas at (0,0) size 800x600
 layer at (0,0) size 800x420
   RenderBlock {HTML} at (0,0) size 800x420 [color=#FFFFFF] [bgcolor=#0000FF]
-    RenderBody {BODY} at (15,15) size 490x390 [bgcolor=#FFFFFF]
+    RenderBody {BODY} at (15,15) size 490x390 [bgcolor=#FFFFFF] [border: (5px solid #000000)]
       RenderBlock {DL} at (5,5) size 480x10 [bgcolor=#000000]
-        RenderBlock (floating) {DT} at (5,5) size 77x310 [bgcolor=#CC0000]
+        RenderBlock (floating) {DT} at (5,5) size 77x310 [bgcolor=#CC0000] [border: (5px solid #000000)]
           RenderText {TEXT} at (15,14) size 31x10
             text run at (15,14) width 31: "toggle"
         RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock (floating) {DD} at (95,5) size 380x310
+        RenderBlock (floating) {DD} at (95,5) size 380x310 [border: (10px solid #000000)]
           RenderBlock {UL} at (20,20) size 340x0
-            RenderBlock (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00]
+            RenderBlock (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
               RenderText {TEXT} at (15,14) size 40x10
                 text run at (15,14) width 40: "the way"
             RenderText {TEXT} at (0,0) size 0x0
@@ -34,9 +34,9 @@ layer at (0,0) size 800x420
                   RenderText {TEXT} at (0,0) size 0x0
               RenderBlock (anonymous) at (10,58) size 139x0 [bgcolor=#000000]
                 RenderInline {FORM} at (0,0) size 0x0
-                RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#000000]
+                RenderText {TEXT} at (0,0) size 0x0
             RenderText {TEXT} at (0,0) size 0x0
-            RenderBlock (floating) {LI} at (259,0) size 80x120 [color=#000000] [bgcolor=#FFCC00]
+            RenderBlock (floating) {LI} at (259,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
               RenderText {TEXT} at (15,14) size 50x10
                 text run at (15,14) width 50: "i grow old"
             RenderText {TEXT} at (0,0) size 0x0
@@ -44,7 +44,7 @@ layer at (0,0) size 800x420
               RenderText {TEXT} at (10,9) size 30x10
                 text run at (10,9) width 30: "pluot?"
             RenderText {TEXT} at (0,0) size 0x0
-          RenderBlock (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00]
+          RenderBlock (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00] [border: (10px solid #000000) (15px solid #000000) (20px solid #000000) (5px solid #000000)]
             RenderBlock {ADDRESS} at (5,20) size 50x20 [bgcolor=#000000]
               RenderText {TEXT} at (0,-1) size 34x20
                 text run at (0,-1) width 16: "bar"
diff --git a/LayoutTests/fast/block/basic/015-expected.txt b/LayoutTests/fast/block/basic/015-expected.txt
index a8f00e9..db4abe0 100644
--- a/LayoutTests/fast/block/basic/015-expected.txt
+++ b/LayoutTests/fast/block/basic/015-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x423
       RenderBlock {H1} at (0,0) size 784x37
         RenderText {TEXT} at (0,0) size 457x37
           text run at (0,0) width 457: "Minimum and Maximum Widths"
-      RenderBlock {DIV} at (0,58) size 784x24
+      RenderBlock {DIV} at (0,58) size 784x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -14,7 +14,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 408x18
           text run at (59,3) width 408: " should have a medium solid purple border, as should all the rest."
-      RenderBlock {DIV} at (0,82) size 319x60
+      RenderBlock {DIV} at (0,82) size 319x60 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -34,7 +34,7 @@ layer at (0,0) size 800x423
             text run at (269,23) width 40: "width"
         RenderText {TEXT} at (3,39) size 43x18
           text run at (3,39) width 43: "works."
-      RenderBlock {DIV} at (0,142) size 319x24
+      RenderBlock {DIV} at (0,142) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -42,7 +42,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,166) size 319x24
+      RenderBlock {DIV} at (0,166) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -50,7 +50,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,190) size 319x24
+      RenderBlock {DIV} at (0,190) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -58,7 +58,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,214) size 319x24
+      RenderBlock {DIV} at (0,214) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -66,7 +66,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,238) size 319x24
+      RenderBlock {DIV} at (0,238) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -74,7 +74,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,262) size 319x24
+      RenderBlock {DIV} at (0,262) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -82,7 +82,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,286) size 319x24
+      RenderBlock {DIV} at (0,286) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
@@ -90,7 +90,7 @@ layer at (0,0) size 800x423
             text run at (35,5) width 24: "div"
         RenderText {TEXT} at (59,3) size 185x18
           text run at (59,3) width 185: " should have a width of 40%."
-      RenderBlock {DIV} at (0,310) size 319x24
+      RenderBlock {DIV} at (0,310) size 319x24 [border: (3px solid #800080)]
         RenderText {TEXT} at (3,3) size 32x18
           text run at (3,3) width 32: "This "
         RenderInline {CODE} at (0,0) size 24x15
diff --git a/LayoutTests/fast/block/basic/016-expected.txt b/LayoutTests/fast/block/basic/016-expected.txt
index fc72326..d37fad2 100644
--- a/LayoutTests/fast/block/basic/016-expected.txt
+++ b/LayoutTests/fast/block/basic/016-expected.txt
@@ -6,281 +6,281 @@ layer at (0,0) size 800x7588
       RenderBlock (anonymous) at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 445x18
           text run at (0,0) width 445: "This is a test of all the various HTML alignments using LTR direction."
-      RenderBlock {DIV} at (0,18) size 784x226
-        RenderBlock {DIV} at (6,6) size 772x26
+      RenderBlock {DIV} at (0,18) size 784x226 [border: (4px solid #008000)]
+        RenderBlock {DIV} at (6,6) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 185x18
             text run at (4,4) width 185: "Normal div inside normal div"
-        RenderBlock {DIV} at (6,32) size 772x26
+        RenderBlock {DIV} at (6,32) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 163x18
             text run at (4,4) width 163: "Left div inside normal div"
-        RenderBlock {DIV} at (6,58) size 772x26
+        RenderBlock {DIV} at (6,58) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (296,4) size 179x18
             text run at (296,4) width 179: "Center div inside normal div"
-        RenderBlock {DIV} at (6,84) size 772x26
+        RenderBlock {DIV} at (6,84) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (596,4) size 172x18
             text run at (596,4) width 172: "Right div inside normal div"
-        RenderBlock {CENTER} at (6,110) size 772x26
+        RenderBlock {CENTER} at (6,110) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (297,4) size 178x18
             text run at (297,4) width 178: "Center tag inside normal div"
-        RenderTable {TABLE} at (6,136) size 96x28
+        RenderTable {TABLE} at (6,136) size 96x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (322,164) size 140x28
+        RenderTable {TABLE} at (322,164) size 140x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (8,192) size 190x28
+        RenderTable {TABLE} at (8,192) size 190x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,244) size 784x226
-        RenderBlock {DIV} at (6,6) size 408x26
+      RenderBlock {DIV} at (0,244) size 784x226 [border: (4px solid #800080)]
+        RenderBlock {DIV} at (6,6) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 261x18
             text run at (4,4) width 261: "Normal fixed width div inside normal div"
-        RenderBlock {DIV} at (6,32) size 408x26
+        RenderBlock {DIV} at (6,32) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 239x18
             text run at (4,4) width 239: "Left fixed width div inside normal div"
-        RenderBlock {DIV} at (6,58) size 408x26
+        RenderBlock {DIV} at (6,58) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (76,4) size 255x18
             text run at (76,4) width 255: "Center fixed width div inside normal div"
-        RenderBlock {DIV} at (6,84) size 408x26
+        RenderBlock {DIV} at (6,84) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (156,4) size 248x18
             text run at (156,4) width 248: "Right fixed width div inside normal div"
-        RenderBlock {CENTER} at (6,110) size 408x26
+        RenderBlock {CENTER} at (6,110) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (72,4) size 264x18
             text run at (72,4) width 264: "Center tag (fixed width) inside normal div"
-        RenderTable {TABLE} at (6,136) size 400x28
+        RenderTable {TABLE} at (6,136) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (192,164) size 400x28
+        RenderTable {TABLE} at (192,164) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (8,192) size 400x28
+        RenderTable {TABLE} at (8,192) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,470) size 784x226
-        RenderBlock {DIV} at (6,6) size 772x26
+      RenderBlock {DIV} at (0,470) size 784x226 [border: (4px solid #008000)]
+        RenderBlock {DIV} at (6,6) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 201x18
             text run at (4,4) width 201: "Normal div inside align=left div"
-        RenderBlock {DIV} at (6,32) size 772x26
+        RenderBlock {DIV} at (6,32) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 179x18
             text run at (4,4) width 179: "Left div inside align=left div"
-        RenderBlock {DIV} at (6,58) size 772x26
+        RenderBlock {DIV} at (6,58) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (288,4) size 195x18
             text run at (288,4) width 195: "Center div inside align=left div"
-        RenderBlock {DIV} at (6,84) size 772x26
+        RenderBlock {DIV} at (6,84) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (580,4) size 188x18
             text run at (580,4) width 188: "Right div inside align=left div"
-        RenderBlock {CENTER} at (6,110) size 772x26
+        RenderBlock {CENTER} at (6,110) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (289,4) size 194x18
             text run at (289,4) width 194: "Center tag inside align=left div"
-        RenderTable {TABLE} at (6,136) size 96x28
+        RenderTable {TABLE} at (6,136) size 96x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (322,164) size 140x28
+        RenderTable {TABLE} at (322,164) size 140x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (8,192) size 190x28
+        RenderTable {TABLE} at (8,192) size 190x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,696) size 784x226
-        RenderBlock {DIV} at (6,6) size 408x26
+      RenderBlock {DIV} at (0,696) size 784x226 [border: (4px solid #800080)]
+        RenderBlock {DIV} at (6,6) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 277x18
             text run at (4,4) width 277: "Normal fixed width div inside align=left div"
-        RenderBlock {DIV} at (6,32) size 408x26
+        RenderBlock {DIV} at (6,32) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 255x18
             text run at (4,4) width 255: "Left fixed width div inside align=left div"
-        RenderBlock {DIV} at (6,58) size 408x26
+        RenderBlock {DIV} at (6,58) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (68,4) size 271x18
             text run at (68,4) width 271: "Center fixed width div inside align=left div"
-        RenderBlock {DIV} at (6,84) size 408x26
+        RenderBlock {DIV} at (6,84) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (140,4) size 264x18
             text run at (140,4) width 264: "Right fixed width div inside align=left div"
-        RenderBlock {CENTER} at (6,110) size 408x26
+        RenderBlock {CENTER} at (6,110) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (64,4) size 280x18
             text run at (64,4) width 280: "Center tag (fixed width) inside align=left div"
-        RenderTable {TABLE} at (6,136) size 400x28
+        RenderTable {TABLE} at (6,136) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (192,164) size 400x28
+        RenderTable {TABLE} at (192,164) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (8,192) size 400x28
+        RenderTable {TABLE} at (8,192) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,922) size 784x226
-        RenderBlock {DIV} at (6,6) size 772x26
+      RenderBlock {DIV} at (0,922) size 784x226 [border: (4px solid #008000)]
+        RenderBlock {DIV} at (6,6) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (274,4) size 223x18
             text run at (274,4) width 223: "Normal div inside align= center div"
-        RenderBlock {DIV} at (6,32) size 772x26
+        RenderBlock {DIV} at (6,32) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 197x18
             text run at (4,4) width 197: "Left div inside align=center div"
-        RenderBlock {DIV} at (6,58) size 772x26
+        RenderBlock {DIV} at (6,58) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (279,4) size 213x18
             text run at (279,4) width 213: "Center div inside align=center div"
-        RenderBlock {DIV} at (6,84) size 772x26
+        RenderBlock {DIV} at (6,84) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (562,4) size 206x18
             text run at (562,4) width 206: "Right div inside align=center div"
-        RenderBlock {CENTER} at (6,110) size 772x26
+        RenderBlock {CENTER} at (6,110) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (280,4) size 212x18
             text run at (280,4) width 212: "Center tag inside align=center div"
-        RenderTable {TABLE} at (344,136) size 96x28
+        RenderTable {TABLE} at (344,136) size 96x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (322,164) size 140x28
+        RenderTable {TABLE} at (322,164) size 140x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (297,192) size 190x28
+        RenderTable {TABLE} at (297,192) size 190x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,1148) size 784x314
-        RenderBlock {DIV} at (188,6) size 408x26
+      RenderBlock {DIV} at (0,1148) size 784x314 [border: (4px solid #800080)]
+        RenderBlock {DIV} at (188,6) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (56,4) size 295x18
             text run at (56,4) width 295: "Normal fixed width div inside align=center div"
-        RenderBlock {DIV} at (370,32) size 408x44
+        RenderBlock {DIV} at (370,32) size 408x44 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (12,4) size 384x36
             text run at (12,4) width 384: "Normal fixed width div (auto left margin) inside align=center"
             text run at (194,22) width 20: "div"
-        RenderBlock {DIV} at (6,76) size 408x44
+        RenderBlock {DIV} at (6,76) size 408x44 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (7,4) size 393x36
             text run at (7,4) width 393: "Normal fixed width div (auto right margin) inside align=center"
             text run at (194,22) width 20: "div"
-        RenderBlock {DIV} at (188,120) size 408x26
+        RenderBlock {DIV} at (188,120) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 273x18
             text run at (4,4) width 273: "Left fixed width div inside align=center div"
-        RenderBlock {DIV} at (188,146) size 408x26
+        RenderBlock {DIV} at (188,146) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (59,4) size 289x18
             text run at (59,4) width 289: "Center fixed width div inside align=center div"
-        RenderBlock {DIV} at (188,172) size 408x26
+        RenderBlock {DIV} at (188,172) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (122,4) size 282x18
             text run at (122,4) width 282: "Right fixed width div inside align=center div"
-        RenderBlock {CENTER} at (188,198) size 408x26
+        RenderBlock {CENTER} at (188,198) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (55,4) size 298x18
             text run at (55,4) width 298: "Center tag (fixed width) inside align=center div"
-        RenderTable {TABLE} at (192,224) size 400x28
+        RenderTable {TABLE} at (192,224) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (192,252) size 400x28
+        RenderTable {TABLE} at (192,252) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (192,280) size 400x28
+        RenderTable {TABLE} at (192,280) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,1462) size 784x226
-        RenderBlock {DIV} at (6,6) size 772x26
+      RenderBlock {DIV} at (0,1462) size 784x226 [border: (4px solid #008000)]
+        RenderBlock {DIV} at (6,6) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (558,4) size 210x18
             text run at (558,4) width 210: "Normal div inside align=right div"
-        RenderBlock {DIV} at (6,32) size 772x26
+        RenderBlock {DIV} at (6,32) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 188x18
             text run at (4,4) width 188: "Left div inside align=right div"
-        RenderBlock {DIV} at (6,58) size 772x26
+        RenderBlock {DIV} at (6,58) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (284,4) size 204x18
             text run at (284,4) width 204: "Center div inside align=right div"
-        RenderBlock {DIV} at (6,84) size 772x26
+        RenderBlock {DIV} at (6,84) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (571,4) size 197x18
             text run at (571,4) width 197: "Right div inside align=right div"
-        RenderBlock {CENTER} at (6,110) size 772x26
+        RenderBlock {CENTER} at (6,110) size 772x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (284,4) size 203x18
             text run at (284,4) width 203: "Center tag inside align=right div"
-        RenderTable {TABLE} at (682,136) size 96x28
+        RenderTable {TABLE} at (682,136) size 96x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (322,164) size 140x28
+        RenderTable {TABLE} at (322,164) size 140x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (586,192) size 190x28
+        RenderTable {TABLE} at (586,192) size 190x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 180x18
                   text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderBlock {DIV} at (0,1688) size 784x226
-        RenderBlock {DIV} at (370,6) size 408x26
+      RenderBlock {DIV} at (0,1688) size 784x226 [border: (4px solid #800080)]
+        RenderBlock {DIV} at (370,6) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (118,4) size 286x18
             text run at (118,4) width 286: "Normal fixed width div inside align=right div"
-        RenderBlock {DIV} at (370,32) size 408x26
+        RenderBlock {DIV} at (370,32) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (4,4) size 264x18
             text run at (4,4) width 264: "Left fixed width div inside align=right div"
-        RenderBlock {DIV} at (370,58) size 408x26
+        RenderBlock {DIV} at (370,58) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (64,4) size 280x18
             text run at (64,4) width 280: "Center fixed width div inside align=right div"
-        RenderBlock {DIV} at (370,84) size 408x26
+        RenderBlock {DIV} at (370,84) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (131,4) size 273x18
             text run at (131,4) width 273: "Right fixed width div inside align=right div"
-        RenderBlock {CENTER} at (370,110) size 408x26
+        RenderBlock {CENTER} at (370,110) size 408x26 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (59,4) size 289x18
             text run at (59,4) width 289: "Center tag (fixed width) inside align=right div"
-        RenderTable {TABLE} at (378,136) size 400x28
+        RenderTable {TABLE} at (378,136) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 86x18
                   text run at (1,1) width 86: "Normal table."
-        RenderTable {TABLE} at (192,164) size 400x28
+        RenderTable {TABLE} at (192,164) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (1,1) size 130x18
                   text run at (1,1) width 130: "Center aligned table."
-        RenderTable {TABLE} at (376,192) size 400x28
+        RenderTable {TABLE} at (376,192) size 400x28 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
@@ -289,297 +289,297 @@ layer at (0,0) size 800x7588
       RenderBlock {P} at (0,1930) size 784x18
         RenderText {TEXT} at (0,0) size 371x18
           text run at (0,0) width 371: "This is a test using TABLE cells (all in the LTR direction)."
-      RenderTable {TABLE} at (0,1964) size 784x232
+      RenderTable {TABLE} at (0,1964) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 766x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 177x18
                   text run at (4,4) width 177: "Normal div inside normal td"
-              RenderBlock {DIV} at (5,31) size 766x26
+              RenderBlock {DIV} at (5,31) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 155x18
                   text run at (4,4) width 155: "Left div inside normal td"
-              RenderBlock {DIV} at (5,57) size 766x26
+              RenderBlock {DIV} at (5,57) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (297,4) size 171x18
                   text run at (297,4) width 171: "Center div inside normal td"
-              RenderBlock {DIV} at (5,83) size 766x26
+              RenderBlock {DIV} at (5,83) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (598,4) size 164x18
                   text run at (598,4) width 164: "Right div inside normal td"
-              RenderBlock {CENTER} at (5,109) size 766x26
+              RenderBlock {CENTER} at (5,109) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (298,4) size 170x18
                   text run at (298,4) width 170: "Center tag inside normal td"
-              RenderTable {TABLE} at (5,135) size 96x28
+              RenderTable {TABLE} at (5,135) size 96x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (318,163) size 140x28
+              RenderTable {TABLE} at (318,163) size 140x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (7,191) size 190x28
+              RenderTable {TABLE} at (7,191) size 190x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,2196) size 784x232
+      RenderTable {TABLE} at (0,2196) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 408x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 253x18
                   text run at (4,4) width 253: "Normal fixed width div inside normal td"
-              RenderBlock {DIV} at (5,31) size 408x26
+              RenderBlock {DIV} at (5,31) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 231x18
                   text run at (4,4) width 231: "Left fixed width div inside normal td"
-              RenderBlock {DIV} at (5,57) size 408x26
+              RenderBlock {DIV} at (5,57) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (80,4) size 247x18
                   text run at (80,4) width 247: "Center fixed width div inside normal td"
-              RenderBlock {DIV} at (5,83) size 408x26
+              RenderBlock {DIV} at (5,83) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (164,4) size 240x18
                   text run at (164,4) width 240: "Right fixed width div inside normal td"
-              RenderBlock {CENTER} at (5,109) size 408x26
+              RenderBlock {CENTER} at (5,109) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (76,4) size 256x18
                   text run at (76,4) width 256: "Center tag (fixed width) inside normal td"
-              RenderTable {TABLE} at (5,135) size 400x28
+              RenderTable {TABLE} at (5,135) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (188,163) size 400x28
+              RenderTable {TABLE} at (188,163) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (7,191) size 400x28
+              RenderTable {TABLE} at (7,191) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,2428) size 784x232
+      RenderTable {TABLE} at (0,2428) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 766x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 193x18
                   text run at (4,4) width 193: "Normal div inside align=left td"
-              RenderBlock {DIV} at (5,31) size 766x26
+              RenderBlock {DIV} at (5,31) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 171x18
                   text run at (4,4) width 171: "Left div inside align=left td"
-              RenderBlock {DIV} at (5,57) size 766x26
+              RenderBlock {DIV} at (5,57) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (289,4) size 187x18
                   text run at (289,4) width 187: "Center div inside align=left td"
-              RenderBlock {DIV} at (5,83) size 766x26
+              RenderBlock {DIV} at (5,83) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (582,4) size 180x18
                   text run at (582,4) width 180: "Right div inside align=left td"
-              RenderBlock {CENTER} at (5,109) size 766x26
+              RenderBlock {CENTER} at (5,109) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (290,4) size 186x18
                   text run at (290,4) width 186: "Center tag inside align=left td"
-              RenderTable {TABLE} at (5,135) size 96x28
+              RenderTable {TABLE} at (5,135) size 96x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (318,163) size 140x28
+              RenderTable {TABLE} at (318,163) size 140x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (7,191) size 190x28
+              RenderTable {TABLE} at (7,191) size 190x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,2660) size 784x232
+      RenderTable {TABLE} at (0,2660) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 408x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 269x18
                   text run at (4,4) width 269: "Normal fixed width div inside align=left td"
-              RenderBlock {DIV} at (5,31) size 408x26
+              RenderBlock {DIV} at (5,31) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 247x18
                   text run at (4,4) width 247: "Left fixed width div inside align=left td"
-              RenderBlock {DIV} at (5,57) size 408x26
+              RenderBlock {DIV} at (5,57) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (72,4) size 263x18
                   text run at (72,4) width 263: "Center fixed width div inside align=left td"
-              RenderBlock {DIV} at (5,83) size 408x26
+              RenderBlock {DIV} at (5,83) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (148,4) size 256x18
                   text run at (148,4) width 256: "Right fixed width div inside align=left td"
-              RenderBlock {CENTER} at (5,109) size 408x26
+              RenderBlock {CENTER} at (5,109) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (68,4) size 272x18
                   text run at (68,4) width 272: "Center tag (fixed width) inside align=left td"
-              RenderTable {TABLE} at (5,135) size 400x28
+              RenderTable {TABLE} at (5,135) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (188,163) size 400x28
+              RenderTable {TABLE} at (188,163) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (7,191) size 400x28
+              RenderTable {TABLE} at (7,191) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,2892) size 784x232
+      RenderTable {TABLE} at (0,2892) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 766x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (275,4) size 215x18
                   text run at (275,4) width 215: "Normal div inside align= center td"
-              RenderBlock {DIV} at (5,31) size 766x26
+              RenderBlock {DIV} at (5,31) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 189x18
                   text run at (4,4) width 189: "Left div inside align=center td"
-              RenderBlock {DIV} at (5,57) size 766x26
+              RenderBlock {DIV} at (5,57) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (280,4) size 205x18
                   text run at (280,4) width 205: "Center div inside align=center td"
-              RenderBlock {DIV} at (5,83) size 766x26
+              RenderBlock {DIV} at (5,83) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (564,4) size 198x18
                   text run at (564,4) width 198: "Right div inside align=center td"
-              RenderBlock {CENTER} at (5,109) size 766x26
+              RenderBlock {CENTER} at (5,109) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (281,4) size 204x18
                   text run at (281,4) width 204: "Center tag inside align=center td"
-              RenderTable {TABLE} at (340,135) size 96x28
+              RenderTable {TABLE} at (340,135) size 96x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (318,163) size 140x28
+              RenderTable {TABLE} at (318,163) size 140x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (293,191) size 190x28
+              RenderTable {TABLE} at (293,191) size 190x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,3124) size 784x232
+      RenderTable {TABLE} at (0,3124) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (184,5) size 408x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (184,5) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (60,4) size 287x18
                   text run at (60,4) width 287: "Normal fixed width div inside align=center td"
-              RenderBlock {DIV} at (184,31) size 408x26
+              RenderBlock {DIV} at (184,31) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 265x18
                   text run at (4,4) width 265: "Left fixed width div inside align=center td"
-              RenderBlock {DIV} at (184,57) size 408x26
+              RenderBlock {DIV} at (184,57) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (63,4) size 281x18
                   text run at (63,4) width 281: "Center fixed width div inside align=center td"
-              RenderBlock {DIV} at (184,83) size 408x26
+              RenderBlock {DIV} at (184,83) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (130,4) size 274x18
                   text run at (130,4) width 274: "Right fixed width div inside align=center td"
-              RenderBlock {CENTER} at (184,109) size 408x26
+              RenderBlock {CENTER} at (184,109) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (59,4) size 290x18
                   text run at (59,4) width 290: "Center tag (fixed width) inside align=center td"
-              RenderTable {TABLE} at (188,135) size 400x28
+              RenderTable {TABLE} at (188,135) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (188,163) size 400x28
+              RenderTable {TABLE} at (188,163) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (188,191) size 400x28
+              RenderTable {TABLE} at (188,191) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,3356) size 784x232
+      RenderTable {TABLE} at (0,3356) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (5,5) size 766x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (5,5) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (560,4) size 202x18
                   text run at (560,4) width 202: "Normal div inside align=right td"
-              RenderBlock {DIV} at (5,31) size 766x26
+              RenderBlock {DIV} at (5,31) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 180x18
                   text run at (4,4) width 180: "Left div inside align=right td"
-              RenderBlock {DIV} at (5,57) size 766x26
+              RenderBlock {DIV} at (5,57) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (285,4) size 196x18
                   text run at (285,4) width 196: "Center div inside align=right td"
-              RenderBlock {DIV} at (5,83) size 766x26
+              RenderBlock {DIV} at (5,83) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (573,4) size 189x18
                   text run at (573,4) width 189: "Right div inside align=right td"
-              RenderBlock {CENTER} at (5,109) size 766x26
+              RenderBlock {CENTER} at (5,109) size 766x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (285,4) size 195x18
                   text run at (285,4) width 195: "Center tag inside align=right td"
-              RenderTable {TABLE} at (675,135) size 96x28
+              RenderTable {TABLE} at (675,135) size 96x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (318,163) size 140x28
+              RenderTable {TABLE} at (318,163) size 140x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (579,191) size 190x28
+              RenderTable {TABLE} at (579,191) size 190x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 180x18
                         text run at (1,1) width 180: "Center table (fixed margins)."
-      RenderTable {TABLE} at (0,3588) size 784x232
+      RenderTable {TABLE} at (0,3588) size 784x232 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x228
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 776x224 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (363,5) size 408x26
+            RenderTableCell {TD} at (2,2) size 776x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (363,5) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (126,4) size 278x18
                   text run at (126,4) width 278: "Normal fixed width div inside align=right td"
-              RenderBlock {DIV} at (363,31) size 408x26
+              RenderBlock {DIV} at (363,31) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (4,4) size 256x18
                   text run at (4,4) width 256: "Left fixed width div inside align=right td"
-              RenderBlock {DIV} at (363,57) size 408x26
+              RenderBlock {DIV} at (363,57) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (68,4) size 272x18
                   text run at (68,4) width 272: "Center fixed width div inside align=right td"
-              RenderBlock {DIV} at (363,83) size 408x26
+              RenderBlock {DIV} at (363,83) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (139,4) size 265x18
                   text run at (139,4) width 265: "Right fixed width div inside align=right td"
-              RenderBlock {CENTER} at (363,109) size 408x26
+              RenderBlock {CENTER} at (363,109) size 408x26 [border: (2px solid #0000FF)]
                 RenderText {TEXT} at (63,4) size 281x18
                   text run at (63,4) width 281: "Center tag (fixed width) inside align=right td"
-              RenderTable {TABLE} at (371,135) size 400x28
+              RenderTable {TABLE} at (371,135) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 86x18
                         text run at (1,1) width 86: "Normal table."
-              RenderTable {TABLE} at (188,163) size 400x28
+              RenderTable {TABLE} at (188,163) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 130x18
                         text run at (1,1) width 130: "Center aligned table."
-              RenderTable {TABLE} at (369,191) size 400x28
+              RenderTable {TABLE} at (369,191) size 400x28 [border: (2px solid #0000FF)]
                 RenderTableSection {TBODY} at (2,2) size 0x24
                   RenderTableRow {TR} at (0,0) size 0x0
                     RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
@@ -590,296 +590,296 @@ layer at (0,0) size 800x7588
           RenderText {TEXT} at (335,0) size 445x18
             text run at (335,0) width 4: "."
             text run at (339,0) width 441: "This is a test of all the various HTML alignments using RTL direction"
-        RenderBlock {DIV} at (2,20) size 780x226
-          RenderBlock {DIV} at (6,6) size 768x26
+        RenderBlock {DIV} at (2,20) size 780x226 [border: (4px solid #008000)]
+          RenderBlock {DIV} at (6,6) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (579,4) size 185x18
               text run at (579,4) width 185: "Normal div inside normal div"
-          RenderBlock {DIV} at (6,32) size 768x26
+          RenderBlock {DIV} at (6,32) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 163x18
               text run at (4,4) width 163: "Left div inside normal div"
-          RenderBlock {DIV} at (6,58) size 768x26
+          RenderBlock {DIV} at (6,58) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (294,4) size 179x18
               text run at (294,4) width 179: "Center div inside normal div"
-          RenderBlock {DIV} at (6,84) size 768x26
+          RenderBlock {DIV} at (6,84) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (592,4) size 172x18
               text run at (592,4) width 172: "Right div inside normal div"
-          RenderBlock {CENTER} at (6,110) size 768x26
+          RenderBlock {CENTER} at (6,110) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (295,4) size 178x18
               text run at (295,4) width 178: "Center tag inside normal div"
-          RenderTable {TABLE} at (678,136) size 96x28
+          RenderTable {TABLE} at (678,136) size 96x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 86x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 82: "Normal table"
-          RenderTable {TABLE} at (320,164) size 140x28
+          RenderTable {TABLE} at (320,164) size 140x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 130x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (582,192) size 190x28
+          RenderTable {TABLE} at (582,192) size 190x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 180x18
                     text run at (1,1) width 9: ")."
                     text run at (10,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,246) size 780x226
-          RenderBlock {DIV} at (366,6) size 408x26
+        RenderBlock {DIV} at (2,246) size 780x226 [border: (4px solid #800080)]
+          RenderBlock {DIV} at (366,6) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (143,4) size 261x18
               text run at (143,4) width 261: "Normal fixed width div inside normal div"
-          RenderBlock {DIV} at (366,32) size 408x26
+          RenderBlock {DIV} at (366,32) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 239x18
               text run at (4,4) width 239: "Left fixed width div inside normal div"
-          RenderBlock {DIV} at (366,58) size 408x26
+          RenderBlock {DIV} at (366,58) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (76,4) size 255x18
               text run at (76,4) width 255: "Center fixed width div inside normal div"
-          RenderBlock {DIV} at (366,84) size 408x26
+          RenderBlock {DIV} at (366,84) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (156,4) size 248x18
               text run at (156,4) width 248: "Right fixed width div inside normal div"
-          RenderBlock {CENTER} at (366,110) size 408x26
+          RenderBlock {CENTER} at (366,110) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (72,4) size 264x18
               text run at (72,4) width 264: "Center tag (fixed width) inside normal div"
-          RenderTable {TABLE} at (374,136) size 400x28
+          RenderTable {TABLE} at (374,136) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (305,1) size 86x18
                     text run at (305,1) width 4: "."
                     text run at (309,1) width 82: "Normal table"
-          RenderTable {TABLE} at (190,164) size 400x28
+          RenderTable {TABLE} at (190,164) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (261,1) size 130x18
                     text run at (261,1) width 4: "."
                     text run at (265,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (372,192) size 400x28
+          RenderTable {TABLE} at (372,192) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (211,1) size 180x18
                     text run at (211,1) width 9: ")."
                     text run at (220,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,472) size 780x226
-          RenderBlock {DIV} at (6,6) size 768x26
+        RenderBlock {DIV} at (2,472) size 780x226 [border: (4px solid #008000)]
+          RenderBlock {DIV} at (6,6) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 201x18
               text run at (4,4) width 201: "Normal div inside align=left div"
-          RenderBlock {DIV} at (6,32) size 768x26
+          RenderBlock {DIV} at (6,32) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 179x18
               text run at (4,4) width 179: "Left div inside align=left div"
-          RenderBlock {DIV} at (6,58) size 768x26
+          RenderBlock {DIV} at (6,58) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (286,4) size 195x18
               text run at (286,4) width 195: "Center div inside align=left div"
-          RenderBlock {DIV} at (6,84) size 768x26
+          RenderBlock {DIV} at (6,84) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (576,4) size 188x18
               text run at (576,4) width 188: "Right div inside align=left div"
-          RenderBlock {CENTER} at (6,110) size 768x26
+          RenderBlock {CENTER} at (6,110) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (287,4) size 194x18
               text run at (287,4) width 194: "Center tag inside align=left div"
-          RenderTable {TABLE} at (6,136) size 96x28
+          RenderTable {TABLE} at (6,136) size 96x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 86x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 82: "Normal table"
-          RenderTable {TABLE} at (320,164) size 140x28
+          RenderTable {TABLE} at (320,164) size 140x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 130x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (8,192) size 190x28
+          RenderTable {TABLE} at (8,192) size 190x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 180x18
                     text run at (1,1) width 9: ")."
                     text run at (10,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,698) size 780x226
-          RenderBlock {DIV} at (6,6) size 408x26
+        RenderBlock {DIV} at (2,698) size 780x226 [border: (4px solid #800080)]
+          RenderBlock {DIV} at (6,6) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 277x18
               text run at (4,4) width 277: "Normal fixed width div inside align=left div"
-          RenderBlock {DIV} at (6,32) size 408x26
+          RenderBlock {DIV} at (6,32) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 255x18
               text run at (4,4) width 255: "Left fixed width div inside align=left div"
-          RenderBlock {DIV} at (6,58) size 408x26
+          RenderBlock {DIV} at (6,58) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (68,4) size 271x18
               text run at (68,4) width 271: "Center fixed width div inside align=left div"
-          RenderBlock {DIV} at (6,84) size 408x26
+          RenderBlock {DIV} at (6,84) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (140,4) size 264x18
               text run at (140,4) width 264: "Right fixed width div inside align=left div"
-          RenderBlock {CENTER} at (6,110) size 408x26
+          RenderBlock {CENTER} at (6,110) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (64,4) size 280x18
               text run at (64,4) width 280: "Center tag (fixed width) inside align=left div"
-          RenderTable {TABLE} at (6,136) size 400x28
+          RenderTable {TABLE} at (6,136) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (305,1) size 86x18
                     text run at (305,1) width 4: "."
                     text run at (309,1) width 82: "Normal table"
-          RenderTable {TABLE} at (190,164) size 400x28
+          RenderTable {TABLE} at (190,164) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (261,1) size 130x18
                     text run at (261,1) width 4: "."
                     text run at (265,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (8,192) size 400x28
+          RenderTable {TABLE} at (8,192) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (211,1) size 180x18
                     text run at (211,1) width 9: ")."
                     text run at (220,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,924) size 780x226
-          RenderBlock {DIV} at (6,6) size 768x26
+        RenderBlock {DIV} at (2,924) size 780x226 [border: (4px solid #008000)]
+          RenderBlock {DIV} at (6,6) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (272,4) size 223x18
               text run at (272,4) width 223: "Normal div inside align= center div"
-          RenderBlock {DIV} at (6,32) size 768x26
+          RenderBlock {DIV} at (6,32) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 197x18
               text run at (4,4) width 197: "Left div inside align=center div"
-          RenderBlock {DIV} at (6,58) size 768x26
+          RenderBlock {DIV} at (6,58) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (277,4) size 213x18
               text run at (277,4) width 213: "Center div inside align=center div"
-          RenderBlock {DIV} at (6,84) size 768x26
+          RenderBlock {DIV} at (6,84) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (558,4) size 206x18
               text run at (558,4) width 206: "Right div inside align=center div"
-          RenderBlock {CENTER} at (6,110) size 768x26
+          RenderBlock {CENTER} at (6,110) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (278,4) size 212x18
               text run at (278,4) width 212: "Center tag inside align=center div"
-          RenderTable {TABLE} at (342,136) size 96x28
+          RenderTable {TABLE} at (342,136) size 96x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 86x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 82: "Normal table"
-          RenderTable {TABLE} at (320,164) size 140x28
+          RenderTable {TABLE} at (320,164) size 140x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 130x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (295,192) size 190x28
+          RenderTable {TABLE} at (295,192) size 190x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 180x18
                     text run at (1,1) width 9: ")."
                     text run at (10,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,1150) size 780x226
-          RenderBlock {DIV} at (186,6) size 408x26
+        RenderBlock {DIV} at (2,1150) size 780x226 [border: (4px solid #800080)]
+          RenderBlock {DIV} at (186,6) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (56,4) size 295x18
               text run at (56,4) width 295: "Normal fixed width div inside align=center div"
-          RenderBlock {DIV} at (186,32) size 408x26
+          RenderBlock {DIV} at (186,32) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 273x18
               text run at (4,4) width 273: "Left fixed width div inside align=center div"
-          RenderBlock {DIV} at (186,58) size 408x26
+          RenderBlock {DIV} at (186,58) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (59,4) size 289x18
               text run at (59,4) width 289: "Center fixed width div inside align=center div"
-          RenderBlock {DIV} at (186,84) size 408x26
+          RenderBlock {DIV} at (186,84) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (122,4) size 282x18
               text run at (122,4) width 282: "Right fixed width div inside align=center div"
-          RenderBlock {CENTER} at (186,110) size 408x26
+          RenderBlock {CENTER} at (186,110) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (55,4) size 298x18
               text run at (55,4) width 298: "Center tag (fixed width) inside align=center div"
-          RenderTable {TABLE} at (190,136) size 400x28
+          RenderTable {TABLE} at (190,136) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (305,1) size 86x18
                     text run at (305,1) width 4: "."
                     text run at (309,1) width 82: "Normal table"
-          RenderTable {TABLE} at (190,164) size 400x28
+          RenderTable {TABLE} at (190,164) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (261,1) size 130x18
                     text run at (261,1) width 4: "."
                     text run at (265,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (190,192) size 400x28
+          RenderTable {TABLE} at (190,192) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (211,1) size 180x18
                     text run at (211,1) width 9: ")."
                     text run at (220,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,1376) size 780x226
-          RenderBlock {DIV} at (6,6) size 768x26
+        RenderBlock {DIV} at (2,1376) size 780x226 [border: (4px solid #008000)]
+          RenderBlock {DIV} at (6,6) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (554,4) size 210x18
               text run at (554,4) width 210: "Normal div inside align=right div"
-          RenderBlock {DIV} at (6,32) size 768x26
+          RenderBlock {DIV} at (6,32) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 188x18
               text run at (4,4) width 188: "Left div inside align=right div"
-          RenderBlock {DIV} at (6,58) size 768x26
+          RenderBlock {DIV} at (6,58) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (282,4) size 204x18
               text run at (282,4) width 204: "Center div inside align=right div"
-          RenderBlock {DIV} at (6,84) size 768x26
+          RenderBlock {DIV} at (6,84) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (567,4) size 197x18
               text run at (567,4) width 197: "Right div inside align=right div"
-          RenderBlock {CENTER} at (6,110) size 768x26
+          RenderBlock {CENTER} at (6,110) size 768x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (282,4) size 203x18
               text run at (282,4) width 203: "Center tag inside align=right div"
-          RenderTable {TABLE} at (678,136) size 96x28
+          RenderTable {TABLE} at (678,136) size 96x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 86x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 82: "Normal table"
-          RenderTable {TABLE} at (320,164) size 140x28
+          RenderTable {TABLE} at (320,164) size 140x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 130x18
                     text run at (1,1) width 4: "."
                     text run at (5,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (582,192) size 190x28
+          RenderTable {TABLE} at (582,192) size 190x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 180x18
                     text run at (1,1) width 9: ")."
                     text run at (10,1) width 171: "Center table (fixed margins"
-        RenderBlock {DIV} at (2,1602) size 780x226
-          RenderBlock {DIV} at (366,6) size 408x26
+        RenderBlock {DIV} at (2,1602) size 780x226 [border: (4px solid #800080)]
+          RenderBlock {DIV} at (366,6) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (118,4) size 286x18
               text run at (118,4) width 286: "Normal fixed width div inside align=right div"
-          RenderBlock {DIV} at (366,32) size 408x26
+          RenderBlock {DIV} at (366,32) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (4,4) size 264x18
               text run at (4,4) width 264: "Left fixed width div inside align=right div"
-          RenderBlock {DIV} at (366,58) size 408x26
+          RenderBlock {DIV} at (366,58) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (64,4) size 280x18
               text run at (64,4) width 280: "Center fixed width div inside align=right div"
-          RenderBlock {DIV} at (366,84) size 408x26
+          RenderBlock {DIV} at (366,84) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (131,4) size 273x18
               text run at (131,4) width 273: "Right fixed width div inside align=right div"
-          RenderBlock {CENTER} at (366,110) size 408x26
+          RenderBlock {CENTER} at (366,110) size 408x26 [border: (2px solid #0000FF)]
             RenderText {TEXT} at (59,4) size 289x18
               text run at (59,4) width 289: "Center tag (fixed width) inside align=right div"
-          RenderTable {TABLE} at (374,136) size 400x28
+          RenderTable {TABLE} at (374,136) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (305,1) size 86x18
                     text run at (305,1) width 4: "."
                     text run at (309,1) width 82: "Normal table"
-          RenderTable {TABLE} at (190,164) size 400x28
+          RenderTable {TABLE} at (190,164) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                   RenderText {TEXT} at (261,1) size 130x18
                     text run at (261,1) width 4: "."
                     text run at (265,1) width 126: "Center aligned table"
-          RenderTable {TABLE} at (372,192) size 400x28
+          RenderTable {TABLE} at (372,192) size 400x28 [border: (2px solid #0000FF)]
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
@@ -890,320 +890,320 @@ layer at (0,0) size 800x7588
           RenderText {TEXT} at (409,0) size 371x18
             text run at (409,0) width 9: ")."
             text run at (418,0) width 362: "This is a test using TABLE cells (all in the RTL direction"
-        RenderTable {TABLE} at (2,1878) size 780x232
+        RenderTable {TABLE} at (2,1878) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (5,5) size 762x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (5,5) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (581,4) size 177x18
                     text run at (581,4) width 177: "Normal div inside normal td"
-                RenderBlock {DIV} at (5,31) size 762x26
+                RenderBlock {DIV} at (5,31) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 155x18
                     text run at (4,4) width 155: "Left div inside normal td"
-                RenderBlock {DIV} at (5,57) size 762x26
+                RenderBlock {DIV} at (5,57) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (295,4) size 171x18
                     text run at (295,4) width 171: "Center div inside normal td"
-                RenderBlock {DIV} at (5,83) size 762x26
+                RenderBlock {DIV} at (5,83) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (594,4) size 164x18
                     text run at (594,4) width 164: "Right div inside normal td"
-                RenderBlock {CENTER} at (5,109) size 762x26
+                RenderBlock {CENTER} at (5,109) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (296,4) size 170x18
                     text run at (296,4) width 170: "Center tag inside normal td"
-                RenderTable {TABLE} at (671,135) size 96x28
+                RenderTable {TABLE} at (671,135) size 96x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 86x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 82: "Normal table"
-                RenderTable {TABLE} at (316,163) size 140x28
+                RenderTable {TABLE} at (316,163) size 140x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 130x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (575,191) size 190x28
+                RenderTable {TABLE} at (575,191) size 190x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 180x18
                           text run at (1,1) width 9: ")."
                           text run at (10,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,2110) size 780x232
+        RenderTable {TABLE} at (2,2110) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (359,5) size 408x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (359,5) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (151,4) size 253x18
                     text run at (151,4) width 253: "Normal fixed width div inside normal td"
-                RenderBlock {DIV} at (359,31) size 408x26
+                RenderBlock {DIV} at (359,31) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 231x18
                     text run at (4,4) width 231: "Left fixed width div inside normal td"
-                RenderBlock {DIV} at (359,57) size 408x26
+                RenderBlock {DIV} at (359,57) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (80,4) size 247x18
                     text run at (80,4) width 247: "Center fixed width div inside normal td"
-                RenderBlock {DIV} at (359,83) size 408x26
+                RenderBlock {DIV} at (359,83) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (164,4) size 240x18
                     text run at (164,4) width 240: "Right fixed width div inside normal td"
-                RenderBlock {CENTER} at (359,109) size 408x26
+                RenderBlock {CENTER} at (359,109) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (76,4) size 256x18
                     text run at (76,4) width 256: "Center tag (fixed width) inside normal td"
-                RenderTable {TABLE} at (367,135) size 400x28
+                RenderTable {TABLE} at (367,135) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (305,1) size 86x18
                           text run at (305,1) width 4: "."
                           text run at (309,1) width 82: "Normal table"
-                RenderTable {TABLE} at (186,163) size 400x28
+                RenderTable {TABLE} at (186,163) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (261,1) size 130x18
                           text run at (261,1) width 4: "."
                           text run at (265,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (365,191) size 400x28
+                RenderTable {TABLE} at (365,191) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (211,1) size 180x18
                           text run at (211,1) width 9: ")."
                           text run at (220,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,2342) size 780x232
+        RenderTable {TABLE} at (2,2342) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (5,5) size 762x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (5,5) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 193x18
                     text run at (4,4) width 193: "Normal div inside align=left td"
-                RenderBlock {DIV} at (5,31) size 762x26
+                RenderBlock {DIV} at (5,31) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 171x18
                     text run at (4,4) width 171: "Left div inside align=left td"
-                RenderBlock {DIV} at (5,57) size 762x26
+                RenderBlock {DIV} at (5,57) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (287,4) size 187x18
                     text run at (287,4) width 187: "Center div inside align=left td"
-                RenderBlock {DIV} at (5,83) size 762x26
+                RenderBlock {DIV} at (5,83) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (578,4) size 180x18
                     text run at (578,4) width 180: "Right div inside align=left td"
-                RenderBlock {CENTER} at (5,109) size 762x26
+                RenderBlock {CENTER} at (5,109) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (288,4) size 186x18
                     text run at (288,4) width 186: "Center tag inside align=left td"
-                RenderTable {TABLE} at (5,135) size 96x28
+                RenderTable {TABLE} at (5,135) size 96x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 86x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 82: "Normal table"
-                RenderTable {TABLE} at (316,163) size 140x28
+                RenderTable {TABLE} at (316,163) size 140x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 130x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (7,191) size 190x28
+                RenderTable {TABLE} at (7,191) size 190x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 180x18
                           text run at (1,1) width 9: ")."
                           text run at (10,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,2574) size 780x232
+        RenderTable {TABLE} at (2,2574) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (5,5) size 408x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (5,5) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 269x18
                     text run at (4,4) width 269: "Normal fixed width div inside align=left td"
-                RenderBlock {DIV} at (5,31) size 408x26
+                RenderBlock {DIV} at (5,31) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 247x18
                     text run at (4,4) width 247: "Left fixed width div inside align=left td"
-                RenderBlock {DIV} at (5,57) size 408x26
+                RenderBlock {DIV} at (5,57) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (72,4) size 263x18
                     text run at (72,4) width 263: "Center fixed width div inside align=left td"
-                RenderBlock {DIV} at (5,83) size 408x26
+                RenderBlock {DIV} at (5,83) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (148,4) size 256x18
                     text run at (148,4) width 256: "Right fixed width div inside align=left td"
-                RenderBlock {CENTER} at (5,109) size 408x26
+                RenderBlock {CENTER} at (5,109) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (68,4) size 272x18
                     text run at (68,4) width 272: "Center tag (fixed width) inside align=left td"
-                RenderTable {TABLE} at (5,135) size 400x28
+                RenderTable {TABLE} at (5,135) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (305,1) size 86x18
                           text run at (305,1) width 4: "."
                           text run at (309,1) width 82: "Normal table"
-                RenderTable {TABLE} at (186,163) size 400x28
+                RenderTable {TABLE} at (186,163) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (261,1) size 130x18
                           text run at (261,1) width 4: "."
                           text run at (265,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (7,191) size 400x28
+                RenderTable {TABLE} at (7,191) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (211,1) size 180x18
                           text run at (211,1) width 9: ")."
                           text run at (220,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,2806) size 780x232
+        RenderTable {TABLE} at (2,2806) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (5,5) size 762x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (5,5) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (273,4) size 215x18
                     text run at (273,4) width 215: "Normal div inside align= center td"
-                RenderBlock {DIV} at (5,31) size 762x26
+                RenderBlock {DIV} at (5,31) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 189x18
                     text run at (4,4) width 189: "Left div inside align=center td"
-                RenderBlock {DIV} at (5,57) size 762x26
+                RenderBlock {DIV} at (5,57) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (278,4) size 205x18
                     text run at (278,4) width 205: "Center div inside align=center td"
-                RenderBlock {DIV} at (5,83) size 762x26
+                RenderBlock {DIV} at (5,83) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (560,4) size 198x18
                     text run at (560,4) width 198: "Right div inside align=center td"
-                RenderBlock {CENTER} at (5,109) size 762x26
+                RenderBlock {CENTER} at (5,109) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (279,4) size 204x18
                     text run at (279,4) width 204: "Center tag inside align=center td"
-                RenderTable {TABLE} at (338,135) size 96x28
+                RenderTable {TABLE} at (338,135) size 96x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 86x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 82: "Normal table"
-                RenderTable {TABLE} at (316,163) size 140x28
+                RenderTable {TABLE} at (316,163) size 140x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 130x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (291,191) size 190x28
+                RenderTable {TABLE} at (291,191) size 190x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 180x18
                           text run at (1,1) width 9: ")."
                           text run at (10,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,3038) size 780x232
+        RenderTable {TABLE} at (2,3038) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (182,5) size 408x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (182,5) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (60,4) size 287x18
                     text run at (60,4) width 287: "Normal fixed width div inside align=center td"
-                RenderBlock {DIV} at (182,31) size 408x26
+                RenderBlock {DIV} at (182,31) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 265x18
                     text run at (4,4) width 265: "Left fixed width div inside align=center td"
-                RenderBlock {DIV} at (182,57) size 408x26
+                RenderBlock {DIV} at (182,57) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (63,4) size 281x18
                     text run at (63,4) width 281: "Center fixed width div inside align=center td"
-                RenderBlock {DIV} at (182,83) size 408x26
+                RenderBlock {DIV} at (182,83) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (130,4) size 274x18
                     text run at (130,4) width 274: "Right fixed width div inside align=center td"
-                RenderBlock {CENTER} at (182,109) size 408x26
+                RenderBlock {CENTER} at (182,109) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (59,4) size 290x18
                     text run at (59,4) width 290: "Center tag (fixed width) inside align=center td"
-                RenderTable {TABLE} at (186,135) size 400x28
+                RenderTable {TABLE} at (186,135) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (305,1) size 86x18
                           text run at (305,1) width 4: "."
                           text run at (309,1) width 82: "Normal table"
-                RenderTable {TABLE} at (186,163) size 400x28
+                RenderTable {TABLE} at (186,163) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (261,1) size 130x18
                           text run at (261,1) width 4: "."
                           text run at (265,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (186,191) size 400x28
+                RenderTable {TABLE} at (186,191) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (211,1) size 180x18
                           text run at (211,1) width 9: ")."
                           text run at (220,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,3270) size 780x232
+        RenderTable {TABLE} at (2,3270) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (5,5) size 762x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (5,5) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (556,4) size 202x18
                     text run at (556,4) width 202: "Normal div inside align=right td"
-                RenderBlock {DIV} at (5,31) size 762x26
+                RenderBlock {DIV} at (5,31) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 180x18
                     text run at (4,4) width 180: "Left div inside align=right td"
-                RenderBlock {DIV} at (5,57) size 762x26
+                RenderBlock {DIV} at (5,57) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (283,4) size 196x18
                     text run at (283,4) width 196: "Center div inside align=right td"
-                RenderBlock {DIV} at (5,83) size 762x26
+                RenderBlock {DIV} at (5,83) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (569,4) size 189x18
                     text run at (569,4) width 189: "Right div inside align=right td"
-                RenderBlock {CENTER} at (5,109) size 762x26
+                RenderBlock {CENTER} at (5,109) size 762x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (283,4) size 195x18
                     text run at (283,4) width 195: "Center tag inside align=right td"
-                RenderTable {TABLE} at (671,135) size 96x28
+                RenderTable {TABLE} at (671,135) size 96x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 88x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 86x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 82: "Normal table"
-                RenderTable {TABLE} at (316,163) size 140x28
+                RenderTable {TABLE} at (316,163) size 140x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 132x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 130x18
                           text run at (1,1) width 4: "."
                           text run at (5,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (575,191) size 190x28
+                RenderTable {TABLE} at (575,191) size 190x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 182x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (1,1) size 180x18
                           text run at (1,1) width 9: ")."
                           text run at (10,1) width 171: "Center table (fixed margins"
-        RenderTable {TABLE} at (2,3502) size 780x232
+        RenderTable {TABLE} at (2,3502) size 780x232 [border: (2px solid #0000FF)]
           RenderTableSection {TBODY} at (2,2) size 0x228
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 772x224 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (359,5) size 408x26
+              RenderTableCell {TD} at (2,2) size 772x224 [border: (4px solid #800080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (359,5) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (126,4) size 278x18
                     text run at (126,4) width 278: "Normal fixed width div inside align=right td"
-                RenderBlock {DIV} at (359,31) size 408x26
+                RenderBlock {DIV} at (359,31) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (4,4) size 256x18
                     text run at (4,4) width 256: "Left fixed width div inside align=right td"
-                RenderBlock {DIV} at (359,57) size 408x26
+                RenderBlock {DIV} at (359,57) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (68,4) size 272x18
                     text run at (68,4) width 272: "Center fixed width div inside align=right td"
-                RenderBlock {DIV} at (359,83) size 408x26
+                RenderBlock {DIV} at (359,83) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (139,4) size 265x18
                     text run at (139,4) width 265: "Right fixed width div inside align=right td"
-                RenderBlock {CENTER} at (359,109) size 408x26
+                RenderBlock {CENTER} at (359,109) size 408x26 [border: (2px solid #0000FF)]
                   RenderText {TEXT} at (63,4) size 281x18
                     text run at (63,4) width 281: "Center tag (fixed width) inside align=right td"
-                RenderTable {TABLE} at (367,135) size 400x28
+                RenderTable {TABLE} at (367,135) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (305,1) size 86x18
                           text run at (305,1) width 4: "."
                           text run at (309,1) width 82: "Normal table"
-                RenderTable {TABLE} at (186,163) size 400x28
+                RenderTable {TABLE} at (186,163) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (261,1) size 130x18
                           text run at (261,1) width 4: "."
                           text run at (265,1) width 126: "Center aligned table"
-                RenderTable {TABLE} at (365,191) size 400x28
+                RenderTable {TABLE} at (365,191) size 400x28 [border: (2px solid #0000FF)]
                   RenderTableSection {TBODY} at (2,2) size 0x24
                     RenderTableRow {TR} at (0,0) size 0x0
                       RenderTableCell {TD} at (2,2) size 392x20 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/block/basic/017-expected.txt b/LayoutTests/fast/block/basic/017-expected.txt
index 42acd8c..23a3df9 100644
--- a/LayoutTests/fast/block/basic/017-expected.txt
+++ b/LayoutTests/fast/block/basic/017-expected.txt
@@ -3,6 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x43
   RenderBlock {HTML} at (0,0) size 800x43
     RenderBody {BODY} at (8,8) size 784x19
-      RenderBlock {P} at (0,0) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [border: (1px solid #FF0000) none]
         RenderText {TEXT} at (0,0) size 265x18
           text run at (0,0) width 265: "Nothing should appear below the red line."
diff --git a/LayoutTests/fast/block/basic/018-expected.txt b/LayoutTests/fast/block/basic/018-expected.txt
index a207b21..a7949a6 100644
--- a/LayoutTests/fast/block/basic/018-expected.txt
+++ b/LayoutTests/fast/block/basic/018-expected.txt
@@ -6,19 +6,19 @@ layer at (0,0) size 800x258
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 281x18
           text run at (0,0) width 281: "This <hr width=\"25%\"> should be centered:"
-      RenderBlock {HR} at (293,34) size 198x2
+      RenderBlock {HR} at (293,34) size 198x2 [border: (1px inset #000000)]
       RenderBlock {P} at (0,52) size 784x18
         RenderText {TEXT} at (0,0) size 199x18
           text run at (0,0) width 199: "This one should be left-aligned."
-      RenderBlock {HR} at (0,86) size 198x2
+      RenderBlock {HR} at (0,86) size 198x2 [border: (1px inset #000000)]
       RenderBlock {P} at (0,104) size 784x18
         RenderText {TEXT} at (0,0) size 208x18
           text run at (0,0) width 208: "This one should be right-aligned."
-      RenderBlock {HR} at (586,138) size 198x2
+      RenderBlock {HR} at (586,138) size 198x2 [border: (1px inset #000000)]
       RenderBlock {P} at (0,156) size 784x18
         RenderText {TEXT} at (0,0) size 181x18
           text run at (0,0) width 181: "This one should be centered."
-      RenderBlock {HR} at (293,190) size 198x2
+      RenderBlock {HR} at (293,190) size 198x2 [border: (1px inset #000000)]
       RenderBlock {P} at (0,208) size 784x18
         RenderText {TEXT} at (0,0) size 54x18
           text run at (0,0) width 54: "(W3C: \x{201C}"
diff --git a/LayoutTests/fast/block/basic/019-expected.txt b/LayoutTests/fast/block/basic/019-expected.txt
index 6892c65..1ff590d 100644
--- a/LayoutTests/fast/block/basic/019-expected.txt
+++ b/LayoutTests/fast/block/basic/019-expected.txt
@@ -6,10 +6,10 @@ layer at (0,0) size 800x285
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 245x18
           text run at (0,0) width 245: "These <h1>s should all be left-aligned:"
-      RenderBlock {H1} at (0,39) size 784x43
+      RenderBlock {H1} at (0,39) size 784x43 [border: (3px solid #FF0000)]
         RenderText {TEXT} at (3,3) size 96x37
           text run at (3,3) width 96: "sample"
-      RenderBlock {H1} at (0,103) size 326x43
+      RenderBlock {H1} at (0,103) size 326x43 [border: (3px solid #FF0000)]
         RenderText {TEXT} at (3,3) size 96x37
           text run at (3,3) width 96: "sample"
       RenderBlock {P} at (0,167) size 784x18
diff --git a/LayoutTests/fast/block/float/004-expected.txt b/LayoutTests/fast/block/float/004-expected.txt
index 178bce3..0c53aa9 100644
--- a/LayoutTests/fast/block/float/004-expected.txt
+++ b/LayoutTests/fast/block/float/004-expected.txt
@@ -11,12 +11,12 @@ layer at (0,0) size 800x232
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 298x18
           text run at (0,0) width 298: "The following two boxes should look identical."
-      RenderBlock {DIV} at (32,84) size 38x38 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (32,84) size 38x38 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 32x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 32x32
             text run at (0,0) width 32: "x"
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (32,154) size 38x38 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (32,154) size 38x38 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 32x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 32x32
             text run at (0,0) width 32: "x"
diff --git a/LayoutTests/fast/block/float/005-expected.txt b/LayoutTests/fast/block/float/005-expected.txt
index f977739..56540a2 100644
--- a/LayoutTests/fast/block/float/005-expected.txt
+++ b/LayoutTests/fast/block/float/005-expected.txt
@@ -11,12 +11,12 @@ layer at (0,0) size 800x232
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 298x18
           text run at (0,0) width 298: "The following two boxes should look identical."
-      RenderBlock {DIV} at (32,84) size 70x38 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (32,84) size 70x38 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 64x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 64x32
             text run at (0,0) width 64: "xx"
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (32,154) size 70x38 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (32,154) size 70x38 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 64x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 64x32
             text run at (0,0) width 64: "xx"
diff --git a/LayoutTests/fast/block/float/006-expected.txt b/LayoutTests/fast/block/float/006-expected.txt
index fa746d4..1223c0b 100644
--- a/LayoutTests/fast/block/float/006-expected.txt
+++ b/LayoutTests/fast/block/float/006-expected.txt
@@ -11,12 +11,12 @@ layer at (0,0) size 800x232
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 298x18
           text run at (0,0) width 298: "The following two boxes should look identical."
-      RenderBlock {DIV} at (32,84) size 102x38 [bgcolor=#FFFFFF]
+      RenderBlock {DIV} at (32,84) size 102x38 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 96x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 96x32
             text run at (0,0) width 96: "x x"
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (32,154) size 102x38 [bgcolor=#FFFFFF]
+      RenderBlock {DIV} at (32,154) size 102x38 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         RenderBlock (floating) {DIV} at (3,3) size 96x32 [color=#008000] [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 96x32
             text run at (0,0) width 96: "x x"
diff --git a/LayoutTests/fast/block/float/007-expected.txt b/LayoutTests/fast/block/float/007-expected.txt
index bf86825..778b918 100644
--- a/LayoutTests/fast/block/float/007-expected.txt
+++ b/LayoutTests/fast/block/float/007-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,8) size 402x20
+      RenderBlock (floating) {DIV} at (0,8) size 402x20 [border: (1px solid #000000)]
         RenderText {TEXT} at (1,1) size 173x18
           text run at (1,1) width 173: "this div disappears in Safari"
       RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/float/012-expected.txt b/LayoutTests/fast/block/float/012-expected.txt
index b415cdf..66bee0c 100644
--- a/LayoutTests/fast/block/float/012-expected.txt
+++ b/LayoutTests/fast/block/float/012-expected.txt
@@ -3,15 +3,15 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,0) size 314x22
-        RenderInline {SPAN} at (0,0) size 310x18
+      RenderBlock (floating) {DIV} at (0,0) size 314x22 [border: (2px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 310x18 [border: (50px solid #0000FF) none (50px solid #0000FF)]
           RenderText {TEXT} at (102,2) size 110x18
             text run at (102,2) width 110: "This is some text."
       RenderBlock (anonymous) at (0,0) size 784x0
         RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,0) size 784x0
-      RenderBlock (floating) {DIV} at (696,0) size 88x40
-        RenderInline {SPAN} at (0,0) size 84x36
+      RenderBlock (floating) {DIV} at (696,0) size 88x40 [border: (2px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 84x36 [border: (10px solid #008000) none (10px solid #008000)]
           RenderText {TEXT} at (12,2) size 74x36
             text run at (12,2) width 55: "First line"
             text run at (2,20) width 74: "Second line"
diff --git a/LayoutTests/fast/block/float/013-expected.txt b/LayoutTests/fast/block/float/013-expected.txt
index 144b05d..db6f01d 100644
--- a/LayoutTests/fast/block/float/013-expected.txt
+++ b/LayoutTests/fast/block/float/013-expected.txt
@@ -7,8 +7,8 @@ layer at (0,0) size 800x8
 layer at (8,64) size 800x123
   RenderBlock (positioned) {DIV} at (8,64) size 800x108 [bgcolor=#0000FF]
     RenderBlock (anonymous) at (0,8) size 800x0 [bgcolor=#000000]
-      RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#0000FF]
-    RenderBlock {DIV} at (38,8) size 723x57 [bgcolor=#008000]
+      RenderText {TEXT} at (0,0) size 0x0
+    RenderBlock {DIV} at (38,8) size 723x57 [bgcolor=#008000] [border: (2px solid #888878) none]
       RenderText {TEXT} at (0,0) size 182x18
         text run at (0,0) width 182: "some other macromedia logo"
     RenderBlock (floating) {DIV} at (0,65) size 132x50 [bgcolor=#FFFF00]
diff --git a/LayoutTests/fast/block/float/015-expected.txt b/LayoutTests/fast/block/float/015-expected.txt
index 9d94dca..625248c 100644
--- a/LayoutTests/fast/block/float/015-expected.txt
+++ b/LayoutTests/fast/block/float/015-expected.txt
@@ -3,13 +3,13 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x164
   RenderBlock {HTML} at (0,0) size 800x164
     RenderBody {BODY} at (8,8) size 784x148
-      RenderTable {TABLE} at (0,0) size 671x148
+      RenderTable {TABLE} at (0,0) size 671x148 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x146
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 4x18
                 text run at (4,4) width 4: " "
-            RenderTableCell {TD} at (12,0) size 657x146 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (12,0) size 657x146 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderImage {IMG} at (4,4) size 102x50 [bgcolor=#FFA500]
               RenderBlock (anonymous) at (4,4) size 649x0
                 RenderText {TEXT} at (0,0) size 0x0
@@ -18,7 +18,7 @@ layer at (0,0) size 800x164
                   text run at (105,0) width 535: "This text should be flowing past a tall orange rectangle on the left side of the browser"
                   text run at (105,18) width 56: "window."
               RenderBlock {DIV} at (4,56) size 649x18 [bgcolor=#008000]
-                RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+                RenderBR {BR} at (0,0) size 0x0
               RenderImage {IMG} at (4,74) size 102x50 [bgcolor=#FFA500]
               RenderBlock {DIV} at (4,124) size 649x18
                 RenderText {TEXT} at (0,0) size 649x18
diff --git a/LayoutTests/fast/block/float/016-expected.txt b/LayoutTests/fast/block/float/016-expected.txt
index 2271e60..8e32a10 100644
--- a/LayoutTests/fast/block/float/016-expected.txt
+++ b/LayoutTests/fast/block/float/016-expected.txt
@@ -6,8 +6,8 @@ layer at (0,0) size 800x516
       RenderBlock {UL} at (186,0) size 412x192
         RenderListItem {LI} at (0,48) size 283x71
           RenderBlock {A} at (123,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderInline {ABBR} at (0,0) size 34x18
                 RenderText {TEXT} at (18,0) size 34x18
@@ -17,16 +17,16 @@ layer at (0,0) size 800x516
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (0,119) size 246x71
           RenderBlock {A} at (0,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderText {TEXT} at (41,0) size 61x18
                 text run at (41,0) width 61: "Favelets"
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (246,119) size 160x71
           RenderBlock {A} at (0,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderInline {ABBR} at (0,0) size 23x18
                 RenderText {TEXT} at (60,0) size 23x18
@@ -34,16 +34,16 @@ layer at (0,0) size 800x516
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (0,190) size 283x71
           RenderBlock {A} at (123,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderText {TEXT} at (61,0) size 22x18
                 text run at (61,0) width 22: "log"
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (0,261) size 246x71
           RenderBlock {A} at (0,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderText {TEXT} at (0,0) size 51x18
                 text run at (0,0) width 51: "simple "
@@ -55,16 +55,16 @@ layer at (0,0) size 800x516
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (246,261) size 160x71
           RenderBlock {A} at (0,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderText {TEXT} at (37,0) size 70x18
                 text run at (37,0) width 70: "entrances"
         RenderText {TEXT} at (0,0) size 0x0
         RenderListItem {LI} at (0,332) size 283x71
           RenderBlock {A} at (123,0) size 160x138 [color=#CCCCCC]
-            RenderBlock {B} at (0,0) size 160x70
-            RenderBlock {B} at (0,70) size 160x70
+            RenderBlock {B} at (0,0) size 160x70 [border: (40px solid #000000) (69px solid #CCCCCC) (40px solid #000000)]
+            RenderBlock {B} at (0,70) size 160x70 [border: (69px solid #CCCCCC) (40px solid #000000) none (40px solid #000000)]
             RenderBlock {SPAN} at (8,61) size 144x18 [color=#000000]
               RenderText {TEXT} at (59,0) size 25x18
                 text run at (59,0) width 25: "exit"
diff --git a/LayoutTests/fast/block/float/017-expected.txt b/LayoutTests/fast/block/float/017-expected.txt
index 460e3be..6ca48f8 100644
--- a/LayoutTests/fast/block/float/017-expected.txt
+++ b/LayoutTests/fast/block/float/017-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x231
   RenderBlock {HTML} at (0,0) size 800x231
     RenderBody {BODY} at (8,8) size 784x215
-      RenderBlock {DIV} at (0,0) size 454x159
+      RenderBlock {DIV} at (0,0) size 454x159 [border: (2px solid #008000)]
         RenderImage {IMG} at (2,2) size 450x29 [bgcolor=#FFFF00]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBR {BR} at (0,0) size 0x0
@@ -18,7 +18,7 @@ layer at (0,0) size 800x231
           text run at (255,121) width 184: "and its transition from the PC"
           text run at (255,139) width 69: "to the PS2."
       RenderBlock {P} at (0,175) size 784x0
-      RenderBlock {DIV} at (0,175) size 304x40
+      RenderBlock {DIV} at (0,175) size 304x40 [border: (2px solid #008000)]
         RenderImage {IMG} at (197,5) size 105x70 [bgcolor=#800080]
         RenderText {TEXT} at (2,2) size 147x18
           text run at (2,2) width 147: "First non-breaking line."
diff --git a/LayoutTests/fast/block/float/019-expected.txt b/LayoutTests/fast/block/float/019-expected.txt
index 2e13e2b..814ae7c 100644
--- a/LayoutTests/fast/block/float/019-expected.txt
+++ b/LayoutTests/fast/block/float/019-expected.txt
@@ -4,7 +4,7 @@ layer at (0,0) size 2008x170
   RenderBlock {HTML} at (0,0) size 800x170
     RenderBody {BODY} at (8,8) size 784x154
       RenderBlock {DIV} at (0,0) size 784x154
-        RenderBlock (floating) {DIV} at (700,0) size 84x104 [bgcolor=#008000]
+        RenderBlock (floating) {DIV} at (700,0) size 84x104 [bgcolor=#008000] [border: (2px solid #808000)]
         RenderText {TEXT} at (0,0) size 0x0
         RenderImage {IMG} at (0,104) size 2000x50 [bgcolor=#FFA500]
         RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/float/021-expected.txt b/LayoutTests/fast/block/float/021-expected.txt
index 34664c0..0675d5e 100644
--- a/LayoutTests/fast/block/float/021-expected.txt
+++ b/LayoutTests/fast/block/float/021-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 1518x3166
           text run at (750,0) width 33: "They"
           text run at (0,18) width 89: "should be 100"
           text run at (89,18) width 476: "px tall and not overlap one another at all. They should be stacked vertically."
-      RenderBlock {DIV} at (0,52) size 720x240
+      RenderBlock {DIV} at (0,52) size 720x240 [border: (10px solid #000000)]
         RenderText {TEXT} at (10,10) size 309x18
           text run at (10,10) width 309: "You should see blue and green rectangles below."
         RenderBR {BR} at (0,0) size 0x0
@@ -18,7 +18,7 @@ layer at (0,0) size 1518x3166
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,128) size 1500x100 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (0,308) size 720x240
+      RenderBlock {DIV} at (0,308) size 720x240 [border: (10px solid #000000)]
         RenderText {TEXT} at (10,10) size 160x18
           text run at (10,10) width 160: "You should see blue and "
         RenderBlock (floating) {DIV} at (10,28) size 1500x100 [bgcolor=#0000FF]
@@ -26,26 +26,26 @@ layer at (0,0) size 1518x3166
         RenderBlock (floating) {DIV} at (10,128) size 1500x100 [bgcolor=#008000]
         RenderText {TEXT} at (170,10) size 149x18
           text run at (170,10) width 149: "green rectangles below."
-      RenderBlock {DIV} at (0,564) size 720x240
+      RenderBlock {DIV} at (0,564) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 1500x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,110) size 1500x100 [bgcolor=#008000]
         RenderBR {BR} at (0,0) size 0x0
         RenderText {TEXT} at (10,210) size 308x18
           text run at (10,210) width 308: "You should see blue and green rectangles above."
-      RenderBlock {DIV} at (0,820) size 720x240
+      RenderBlock {DIV} at (0,820) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 1500x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,110) size 1500x100 [bgcolor=#008000]
         RenderText {TEXT} at (10,210) size 308x18
           text run at (10,210) width 308: "You should see blue and green rectangles above."
-      RenderBlock {DIV} at (0,1076) size 720x240
+      RenderBlock {DIV} at (0,1076) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 1500x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (10,110) size 284x18
           text run at (10,110) width 284: "You should see blue above and green below."
         RenderBlock (floating) {DIV} at (10,128) size 1500x100 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (0,1332) size 720x240
+      RenderBlock {DIV} at (0,1332) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 1500x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (10,110) size 284x18
           text run at (10,110) width 284: "You should see blue above and green below."
@@ -56,7 +56,7 @@ layer at (0,0) size 1518x3166
       RenderBlock (anonymous) at (0,1588) size 784x18
         RenderText {TEXT} at (0,0) size 583x18
           text run at (0,0) width 583: "The next examples should have blue and green rectangles that snugly fit without spilling out."
-      RenderBlock {DIV} at (0,1622) size 720x240
+      RenderBlock {DIV} at (0,1622) size 720x240 [border: (10px solid #000000)]
         RenderText {TEXT} at (10,10) size 309x18
           text run at (10,10) width 309: "You should see blue and green rectangles below."
         RenderBR {BR} at (0,0) size 0x0
@@ -65,33 +65,33 @@ layer at (0,0) size 1518x3166
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,128) size 698x100 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (0,1878) size 720x240
+      RenderBlock {DIV} at (0,1878) size 720x240 [border: (10px solid #000000)]
         RenderText {TEXT} at (10,10) size 309x18
           text run at (10,10) width 309: "You should see blue and green rectangles below."
         RenderBlock (floating) {DIV} at (10,28) size 698x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,128) size 698x100 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (0,2134) size 720x240
+      RenderBlock {DIV} at (0,2134) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 698x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,110) size 698x100 [bgcolor=#008000]
         RenderBR {BR} at (0,0) size 0x0
         RenderText {TEXT} at (10,210) size 308x18
           text run at (10,210) width 308: "You should see blue and green rectangles above."
-      RenderBlock {DIV} at (0,2390) size 720x240
+      RenderBlock {DIV} at (0,2390) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 698x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (0,0) size 0x0
         RenderBlock (floating) {DIV} at (10,110) size 698x100 [bgcolor=#008000]
         RenderText {TEXT} at (10,210) size 308x18
           text run at (10,210) width 308: "You should see blue and green rectangles above."
-      RenderBlock {DIV} at (0,2646) size 720x240
+      RenderBlock {DIV} at (0,2646) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 698x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (10,110) size 284x18
           text run at (10,110) width 284: "You should see blue above and green below."
         RenderBlock (floating) {DIV} at (10,128) size 698x100 [bgcolor=#008000]
         RenderText {TEXT} at (0,0) size 0x0
-      RenderBlock {DIV} at (0,2902) size 720x240
+      RenderBlock {DIV} at (0,2902) size 720x240 [border: (10px solid #000000)]
         RenderBlock (floating) {DIV} at (10,10) size 698x100 [bgcolor=#0000FF]
         RenderText {TEXT} at (10,110) size 284x18
           text run at (10,110) width 284: "You should see blue above and green below."
diff --git a/LayoutTests/fast/block/float/022-expected.txt b/LayoutTests/fast/block/float/022-expected.txt
index 23258fa..c71649c 100644
--- a/LayoutTests/fast/block/float/022-expected.txt
+++ b/LayoutTests/fast/block/float/022-expected.txt
@@ -8,11 +8,11 @@ layer at (0,0) size 800x34
       RenderText {TEXT} at (0,0) size 0x0
       RenderText {TEXT} at (0,0) size 0x0
 layer at (8,50) size 204x54
-  RenderBlock (positioned) {DIV} at (8,50) size 204x54
+  RenderBlock (positioned) {DIV} at (8,50) size 204x54 [border: (2px solid #000000)]
     RenderBlock (floating) {DIV} at (2,2) size 50x50 [bgcolor=#008000]
     RenderBlock {DIV} at (152,2) size 50x50 [bgcolor=#008000]
 layer at (8,116) size 204x54
-  RenderBlock (positioned) {DIV} at (8,116) size 204x54
+  RenderBlock (positioned) {DIV} at (8,116) size 204x54 [border: (2px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
 layer at (10,118) size 50x50
diff --git a/LayoutTests/fast/block/float/024-expected.txt b/LayoutTests/fast/block/float/024-expected.txt
index 41a22c9..2410f7f 100644
--- a/LayoutTests/fast/block/float/024-expected.txt
+++ b/LayoutTests/fast/block/float/024-expected.txt
@@ -3,28 +3,28 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x345
   RenderBlock {HTML} at (0,0) size 800x345
     RenderBody {BODY} at (0,0) size 800x345
-      RenderBlock {DIV} at (0,0) size 800x121 [bgcolor=#008000]
+      RenderBlock {DIV} at (0,0) size 800x121 [bgcolor=#008000] [border: (1px solid #FFFFFF) none]
         RenderBlock {H1} at (0,51) size 800x70 [color=#FFFFFF] [bgcolor=#000000]
         RenderBlock {DIV} at (0,171) size 800x0 [bgcolor=#000000]
           RenderBlock {UL} at (0,0) size 800x0
-            RenderBlock (floating) {LI} at (0,0) size 455x22
+            RenderBlock (floating) {LI} at (0,0) size 455x22 [border: (2px solid #0000FF)]
               RenderText {TEXT} at (2,2) size 451x18
                 text run at (2,2) width 451: "There should be a gap between this float and the green rectangle above."
-      RenderBlock {DIV} at (0,221) size 800x54 [bgcolor=#DDDDDD]
+      RenderBlock {DIV} at (0,221) size 800x54 [bgcolor=#DDDDDD] [border: (2px solid #000000)]
         RenderBlock (floating) {DIV} at (2,2) size 32x32 [bgcolor=#FFFFFF]
         RenderBlock (anonymous) at (2,2) size 796x0 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#DDDDDD]
+          RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {DIV} at (2,34) size 796x0 [bgcolor=#000000]
         RenderBlock (anonymous) at (2,34) size 796x18 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 483x18 [bgcolor=#DDDDDD]
+          RenderText {TEXT} at (0,0) size 483x18
             text run at (0,0) width 376: "This text should be inside a black rectangle and below the 2"
             text run at (376,0) width 107: "em white square."
-      RenderBlock {DIV} at (0,291) size 800x54 [bgcolor=#DDDDDD]
+      RenderBlock {DIV} at (0,291) size 800x54 [bgcolor=#DDDDDD] [border: (2px solid #000000)]
         RenderBlock (floating) {DIV} at (2,2) size 32x32 [bgcolor=#FFFFFF]
         RenderBlock (anonymous) at (2,2) size 796x0 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#DDDDDD]
+          RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {DIV} at (2,34) size 796x0 [bgcolor=#000000]
         RenderBlock (anonymous) at (2,34) size 796x18 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 512x18 [bgcolor=#DDDDDD]
+          RenderText {TEXT} at (0,0) size 512x18
             text run at (0,0) width 405: "This text should also be inside a black rectangle and below the 2"
             text run at (405,0) width 107: "em white square."
diff --git a/LayoutTests/fast/block/float/025-expected.txt b/LayoutTests/fast/block/float/025-expected.txt
index 78a6189..e1ce525 100644
--- a/LayoutTests/fast/block/float/025-expected.txt
+++ b/LayoutTests/fast/block/float/025-expected.txt
@@ -7,7 +7,7 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (200,0) size 584x46
+        RenderTable {TABLE} at (200,0) size 584x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
@@ -22,12 +22,12 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (200,0) size 584x2
+        RenderBlock {HR} at (200,0) size 584x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,612) size 784x200
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (200,0) size 392x46
+        RenderTable {TABLE} at (200,0) size 392x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
@@ -42,19 +42,19 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (200,0) size 294x2
+        RenderBlock {HR} at (200,0) size 294x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,1224) size 784x200
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
         RenderImage {IMG} at (200,0) size 292x50 [bgcolor=#008000]
 layer at (208,208) size 584x55 clip at (210,210) size 565x36
-  RenderBlock {DIV} at (200,0) size 584x55
+  RenderBlock {DIV} at (200,0) size 584x55 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (2,2) size 543x36
       text run at (2,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
       text run at (2,20) width 283: "needed to fit within the remaining line width."
 layer at (208,820) size 296x91 clip at (210,822) size 277x72
-  RenderBlock {DIV} at (200,0) size 296x91
+  RenderBlock {DIV} at (200,0) size 296x91 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (2,2) size 272x72
       text run at (2,2) width 267: "This is an overflow:scroll region. It should"
       text run at (2,20) width 272: "sit on the same line as the float and wrap as"
diff --git a/LayoutTests/fast/block/float/026-expected.txt b/LayoutTests/fast/block/float/026-expected.txt
index ad1bd7d..afc3968 100644
--- a/LayoutTests/fast/block/float/026-expected.txt
+++ b/LayoutTests/fast/block/float/026-expected.txt
@@ -7,7 +7,7 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (0,0) size 584x46
+        RenderTable {TABLE} at (0,0) size 584x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
@@ -23,12 +23,12 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (0,0) size 584x2
+        RenderBlock {HR} at (0,0) size 584x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,612) size 784x200
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (192,0) size 392x46
+        RenderTable {TABLE} at (192,0) size 392x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
@@ -44,20 +44,20 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (290,0) size 294x2
+        RenderBlock {HR} at (290,0) size 294x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,1224) size 784x200
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
         RenderImage {IMG} at (292,0) size 292x50 [bgcolor=#008000]
 layer at (8,208) size 584x55 clip at (10,210) size 565x36
-  RenderBlock {DIV} at (0,0) size 584x55
+  RenderBlock {DIV} at (0,0) size 584x55 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (24,2) size 543x36
       text run at (24,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
       text run at (284,20) width 4: "."
       text run at (288,20) width 279: "needed to fit within the remaining line width"
 layer at (296,820) size 296x91 clip at (298,822) size 277x72
-  RenderBlock {DIV} at (288,0) size 296x91
+  RenderBlock {DIV} at (288,0) size 296x91 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (12,2) size 272x72
       text run at (12,2) width 267: "This is an overflow:scroll region. It should"
       text run at (7,20) width 272: "sit on the same line as the float and wrap as"
diff --git a/LayoutTests/fast/block/float/027-expected.txt b/LayoutTests/fast/block/float/027-expected.txt
index 773f618..8f292f0 100644
--- a/LayoutTests/fast/block/float/027-expected.txt
+++ b/LayoutTests/fast/block/float/027-expected.txt
@@ -7,7 +7,7 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (200,0) size 584x46
+        RenderTable {TABLE} at (200,0) size 584x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
@@ -22,12 +22,12 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (200,0) size 584x2
+        RenderBlock {HR} at (200,0) size 584x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,612) size 784x200
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (200,0) size 392x46
+        RenderTable {TABLE} at (200,0) size 392x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
@@ -42,19 +42,19 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (200,0) size 294x2
+        RenderBlock {HR} at (200,0) size 294x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,1224) size 784x200
         RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
         RenderImage {IMG} at (200,0) size 392x50 [bgcolor=#008000]
 layer at (208,208) size 584x55 clip at (210,210) size 565x36
-  RenderBlock {DIV} at (200,0) size 584x55
+  RenderBlock {DIV} at (200,0) size 584x55 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (2,2) size 543x36
       text run at (2,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
       text run at (2,20) width 283: "needed to fit within the remaining line width."
 layer at (208,820) size 396x73 clip at (210,822) size 377x54
-  RenderBlock {DIV} at (200,0) size 396x73
+  RenderBlock {DIV} at (200,0) size 396x73 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (2,2) size 364x54
       text run at (2,2) width 364: "This is an overflow:scroll region. It should sit on the same"
       text run at (2,20) width 324: "line as the float and wrap as needed to fit within the"
diff --git a/LayoutTests/fast/block/float/028-expected.txt b/LayoutTests/fast/block/float/028-expected.txt
index 4bb2264..f42ae79 100644
--- a/LayoutTests/fast/block/float/028-expected.txt
+++ b/LayoutTests/fast/block/float/028-expected.txt
@@ -7,7 +7,7 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (0,0) size 584x46
+        RenderTable {TABLE} at (0,0) size 584x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
@@ -23,12 +23,12 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (0,0) size 584x2
+        RenderBlock {HR} at (0,0) size 584x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,612) size 784x200
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderTable {TABLE} at (192,0) size 392x46
+        RenderTable {TABLE} at (192,0) size 392x46 [border: (2px solid #008000)]
           RenderTableSection {TBODY} at (2,2) size 0x42
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
@@ -44,20 +44,20 @@ layer at (0,0) size 800x1440
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderBlock {HR} at (290,0) size 294x2
+        RenderBlock {HR} at (290,0) size 294x2 [border: (1px inset #000000)]
       RenderBlock {DIV} at (0,1224) size 784x200
         RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
         RenderBlock (anonymous) at (0,0) size 784x0
           RenderText {TEXT} at (0,0) size 0x0
         RenderImage {IMG} at (192,0) size 392x50 [bgcolor=#008000]
 layer at (8,208) size 584x55 clip at (10,210) size 565x36
-  RenderBlock {DIV} at (0,0) size 584x55
+  RenderBlock {DIV} at (0,0) size 584x55 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (24,2) size 543x36
       text run at (24,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
       text run at (284,20) width 4: "."
       text run at (288,20) width 279: "needed to fit within the remaining line width"
 layer at (196,820) size 396x73 clip at (198,822) size 377x54
-  RenderBlock {DIV} at (188,0) size 396x73
+  RenderBlock {DIV} at (188,0) size 396x73 [border: (2px solid #0000FF)]
     RenderText {TEXT} at (15,2) size 364x54
       text run at (15,2) width 364: "This is an overflow:scroll region. It should sit on the same"
       text run at (55,20) width 324: "line as the float and wrap as needed to fit within the"
diff --git a/LayoutTests/fast/block/margin-collapse/001-expected.txt b/LayoutTests/fast/block/margin-collapse/001-expected.txt
index affb4a6..d915cd5 100644
--- a/LayoutTests/fast/block/margin-collapse/001-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/001-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x483
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,34) size 78x383
+      RenderTable {TABLE} at (0,34) size 78x383 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x377
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 36x377 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
@@ -24,7 +24,7 @@ layer at (0,0) size 800x483
                   RenderBlock {DIV} at (0,0) size 36x59 [bgcolor=#00FF00]
                     RenderBlock {DIV} at (0,0) size 36x0 [bgcolor=#FF0000]
                     RenderBlock (anonymous) at (0,0) size 36x59 [bgcolor=#000000]
-                      RenderText {TEXT} at (0,0) size 33x59 [bgcolor=#00FF00]
+                      RenderText {TEXT} at (0,0) size 33x59
                         text run at (0,0) width 33: "B"
                 RenderBlock {DIV} at (0,218) size 36x59 [bgcolor=#00FFFF]
                   RenderText {TEXT} at (0,0) size 33x59
diff --git a/LayoutTests/fast/block/margin-collapse/005-expected.txt b/LayoutTests/fast/block/margin-collapse/005-expected.txt
index cb18c2c..85a85b7 100644
--- a/LayoutTests/fast/block/margin-collapse/005-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/005-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x483
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,34) size 78x383
+      RenderTable {TABLE} at (0,34) size 78x383 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x377
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 36x377 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
@@ -44,7 +44,7 @@ layer at (11,212) size 36x59
 layer at (11,212) size 36x59
   RenderBlock (relative positioned) {DIV} at (0,0) size 36x59 [bgcolor=#00FF00]
     RenderBlock (anonymous) at (0,0) size 36x59 [bgcolor=#000000]
-      RenderText {TEXT} at (0,0) size 33x59 [bgcolor=#00FF00]
+      RenderText {TEXT} at (0,0) size 33x59
         text run at (0,0) width 33: "B"
 layer at (11,321) size 36x59
   RenderBlock (relative positioned) {DIV} at (0,218) size 36x59 [bgcolor=#00FFFF]
diff --git a/LayoutTests/fast/block/margin-collapse/006-expected.txt b/LayoutTests/fast/block/margin-collapse/006-expected.txt
index bd5b12e..304c635 100644
--- a/LayoutTests/fast/block/margin-collapse/006-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/006-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x412
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,68) size 106x256 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,68) size 106x256 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
@@ -22,13 +22,13 @@ layer at (0,0) size 800x412
                 RenderText {TEXT} at (0,0) size 50x50
                   text run at (0,0) width 50: "X"
             RenderTableCell {TD} at (50,0) size 50x250 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x50
-              RenderBlock {DIV} at (0,100) size 50x50
-              RenderBlock {DIV} at (0,150) size 50x50
-              RenderBlock {DIV} at (0,200) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFA500) none]
+              RenderBlock {DIV} at (0,50) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,100) size 50x50 [border: (50px solid #FFA500) none]
+              RenderBlock {DIV} at (0,150) size 50x50 [border: (50px solid #00FF00) none]
+              RenderBlock {DIV} at (0,200) size 50x50 [border: (50px solid #FFA500) none]
       RenderBlock {P} at (0,340) size 784x18
         RenderText {TEXT} at (0,0) size 562x18
           text run at (0,0) width 562: "Control: This test is meaningless if you see any red below. (You should only see orange.)"
-      RenderBlock {DIV} at (0,374) size 166x22 [bgcolor=#FF0000]
-        RenderBlock {DIV} at (3,3) size 160x16 [bgcolor=#000000]
+      RenderBlock {DIV} at (0,374) size 166x22 [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 160x16 [bgcolor=#000000] [border: (16px solid #FFA500) none]
diff --git a/LayoutTests/fast/block/margin-collapse/010-expected.txt b/LayoutTests/fast/block/margin-collapse/010-expected.txt
index 21cfab0..6da62fa 100644
--- a/LayoutTests/fast/block/margin-collapse/010-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/010-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x356
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 579x18
           text run at (0,0) width 579: "The square should consist of exactly five equal bands, orange, lime, orange, yellow, orange."
-      RenderTable {TABLE} at (0,34) size 256x256 [bgcolor=#FFA500]
+      RenderTable {TABLE} at (0,34) size 256x256 [bgcolor=#FFA500] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/block/margin-collapse/011-expected.txt b/LayoutTests/fast/block/margin-collapse/011-expected.txt
index 89033a4..7e6f974 100644
--- a/LayoutTests/fast/block/margin-collapse/011-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/011-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x356
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 579x18
           text run at (0,0) width 579: "The square should consist of exactly five equal bands, orange, lime, orange, yellow, orange."
-      RenderTable {TABLE} at (0,34) size 256x256 [bgcolor=#FFA500]
+      RenderTable {TABLE} at (0,34) size 256x256 [bgcolor=#FFA500] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/block/margin-collapse/012-expected.txt b/LayoutTests/fast/block/margin-collapse/012-expected.txt
index a7a9317..a550764 100644
--- a/LayoutTests/fast/block/margin-collapse/012-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/012-expected.txt
@@ -6,18 +6,18 @@ layer at (0,0) size 800x356
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (0,50) size 50x50 [bgcolor=#FFFF00]
               RenderBlock {DIV} at (0,150) size 50x50 [bgcolor=#00FF00]
             RenderTableCell {TD} at (50,0) size 50x250 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x50
-              RenderBlock {DIV} at (0,100) size 50x50
-              RenderBlock {DIV} at (0,150) size 50x50
-              RenderBlock {DIV} at (0,200) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFA500) none]
+              RenderBlock {DIV} at (0,50) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,100) size 50x50 [border: (50px solid #FFA500) none]
+              RenderBlock {DIV} at (0,150) size 50x50 [border: (50px solid #00FF00) none]
+              RenderBlock {DIV} at (0,200) size 50x50 [border: (50px solid #FFA500) none]
       RenderBlock {P} at (0,306) size 784x18
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This test is meaningless if you don't pass "
diff --git a/LayoutTests/fast/block/margin-collapse/015-expected.txt b/LayoutTests/fast/block/margin-collapse/015-expected.txt
index fad71c8..9b0b9ed 100644
--- a/LayoutTests/fast/block/margin-collapse/015-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/015-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x356
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
@@ -15,10 +15,10 @@ layer at (0,0) size 800x356
                 RenderText {TEXT} at (0,0) size 0x0
               RenderBlock {DIV} at (0,200) size 50x50 [bgcolor=#00FFFF]
             RenderTableCell {TD} at (50,0) size 50x250 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x100
-              RenderBlock {DIV} at (0,150) size 50x50
-              RenderBlock {DIV} at (0,200) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,50) size 50x100 [border: (100px solid #FFA500) none]
+              RenderBlock {DIV} at (0,150) size 50x50 [border: (50px solid #00FF00) none]
+              RenderBlock {DIV} at (0,200) size 50x50 [border: (50px solid #00FFFF) none]
       RenderBlock {P} at (0,306) size 784x18
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This test is meaningless if you don't pass "
diff --git a/LayoutTests/fast/block/margin-collapse/016-expected.txt b/LayoutTests/fast/block/margin-collapse/016-expected.txt
index 7bfafd2..43c2c4f 100644
--- a/LayoutTests/fast/block/margin-collapse/016-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/016-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x356
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 504x18
           text run at (0,0) width 504: "The following two columns should be pixel perfect identical with no red visible."
-      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 106x256 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x250 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x250 [r=0 c=0 rs=1 cs=1]
@@ -16,10 +16,10 @@ layer at (0,0) size 800x356
                   RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,150) size 50x50 [bgcolor=#00FFFF]
             RenderTableCell {TD} at (50,0) size 50x250 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x100
-              RenderBlock {DIV} at (0,150) size 50x50
-              RenderBlock {DIV} at (0,200) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,50) size 50x100 [border: (100px solid #FFA500) none]
+              RenderBlock {DIV} at (0,150) size 50x50 [border: (50px solid #00FFFF) none]
+              RenderBlock {DIV} at (0,200) size 50x50 [border: (50px solid #00FF00) none]
       RenderBlock {P} at (0,306) size 784x18
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This test is meaningless if you don't pass "
diff --git a/LayoutTests/fast/block/margin-collapse/017-expected.txt b/LayoutTests/fast/block/margin-collapse/017-expected.txt
index 30f4ea4..1da9879 100644
--- a/LayoutTests/fast/block/margin-collapse/017-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/017-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x206
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 618x18
           text run at (0,0) width 618: "The following square should contain exactly two bands, one yellow, one lime, with no red visible."
-      RenderTable {TABLE} at (0,34) size 106x106 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 106x106 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x100 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x100 [r=0 c=0 rs=1 cs=1]
@@ -14,8 +14,8 @@ layer at (0,0) size 800x206
                 RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#FFFF00]
               RenderBlock {DIV} at (0,50) size 50x50 [bgcolor=#00FF00]
             RenderTableCell {TD} at (50,0) size 50x100 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,50) size 50x50 [border: (50px solid #00FF00) none]
       RenderBlock {P} at (0,156) size 784x18
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This test is meaningless if you don't pass "
diff --git a/LayoutTests/fast/block/margin-collapse/018-expected.txt b/LayoutTests/fast/block/margin-collapse/018-expected.txt
index 297d0c5..a964f1e 100644
--- a/LayoutTests/fast/block/margin-collapse/018-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/018-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x232
             text run at (0,18) width 42: "visible"
         RenderText {TEXT} at (42,18) size 4x18
           text run at (42,18) width 4: "."
-      RenderTable {TABLE} at (0,52) size 106x156 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,52) size 106x156 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x150 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x150 [r=0 c=0 rs=1 cs=1]
@@ -21,6 +21,6 @@ layer at (0,0) size 800x232
                   RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#FFFF00]
                 RenderBlock {DIV} at (0,100) size 50x50 [bgcolor=#00FF00]
             RenderTableCell {TD} at (50,0) size 50x150 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 50x50
-              RenderBlock {DIV} at (0,50) size 50x50
-              RenderBlock {DIV} at (0,100) size 50x50
+              RenderBlock {DIV} at (0,0) size 50x50 [border: (50px solid #FFFF00) none]
+              RenderBlock {DIV} at (0,50) size 50x50 [border: (50px solid #FFA500) none]
+              RenderBlock {DIV} at (0,100) size 50x50 [border: (50px solid #00FF00) none]
diff --git a/LayoutTests/fast/block/margin-collapse/019-expected.txt b/LayoutTests/fast/block/margin-collapse/019-expected.txt
index aa5a6f3..da1a863 100644
--- a/LayoutTests/fast/block/margin-collapse/019-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/019-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x206
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 230x18
           text run at (0,0) width 230: "There should be no red on this page."
-      RenderTable {TABLE} at (0,34) size 156x106 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 156x106 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x100 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x100 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/block/margin-collapse/020-expected.txt b/LayoutTests/fast/block/margin-collapse/020-expected.txt
index 9470661..e8398f7 100644
--- a/LayoutTests/fast/block/margin-collapse/020-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/020-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x256
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 230x18
           text run at (0,0) width 230: "There should be no red on this page."
-      RenderTable {TABLE} at (0,34) size 156x156 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,34) size 156x156 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x150 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 50x150 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/block/margin-collapse/021-expected.txt b/LayoutTests/fast/block/margin-collapse/021-expected.txt
index 5561d35..707e152 100644
--- a/LayoutTests/fast/block/margin-collapse/021-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/021-expected.txt
@@ -9,13 +9,13 @@ layer at (0,0) size 800x224
       RenderTable {TABLE} at (0,34) size 316x166
         RenderTableSection {TBODY} at (0,0) size 0x166
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x128 [bgcolor=#00FF00]
                 RenderBlock (floating) {DIV} at (0,0) size 64x64 [bgcolor=#00FFFF]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
-                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                  RenderText {TEXT} at (0,0) size 0x0
+                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000] [border: (32px solid #FFFF00)]
+            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (3,3) size 128x128 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x128
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/margin-collapse/022-expected.txt b/LayoutTests/fast/block/margin-collapse/022-expected.txt
index 5561d35..707e152 100644
--- a/LayoutTests/fast/block/margin-collapse/022-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/022-expected.txt
@@ -9,13 +9,13 @@ layer at (0,0) size 800x224
       RenderTable {TABLE} at (0,34) size 316x166
         RenderTableSection {TBODY} at (0,0) size 0x166
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x128 [bgcolor=#00FF00]
                 RenderBlock (floating) {DIV} at (0,0) size 64x64 [bgcolor=#00FFFF]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
-                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                  RenderText {TEXT} at (0,0) size 0x0
+                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000] [border: (32px solid #FFFF00)]
+            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (3,3) size 128x128 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x128
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/margin-collapse/024-expected.txt b/LayoutTests/fast/block/margin-collapse/024-expected.txt
index 6cecf1c..2e6d3e9 100644
--- a/LayoutTests/fast/block/margin-collapse/024-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/024-expected.txt
@@ -9,14 +9,14 @@ layer at (0,0) size 800x224
       RenderTable {TABLE} at (0,34) size 316x166
         RenderTableSection {TBODY} at (0,0) size 0x166
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x128 [bgcolor=#00FF00]
                 RenderBlock (floating) {DIV} at (0,0) size 64x64 [bgcolor=#00FFFF]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,64) size 128x0 [bgcolor=#FF0000]
-                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000] [border: (32px solid #FFFF00)]
+            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (3,3) size 128x128 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x128
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/margin-collapse/025-expected.txt b/LayoutTests/fast/block/margin-collapse/025-expected.txt
index 6cecf1c..2e6d3e9 100644
--- a/LayoutTests/fast/block/margin-collapse/025-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/025-expected.txt
@@ -9,14 +9,14 @@ layer at (0,0) size 800x224
       RenderTable {TABLE} at (0,34) size 316x166
         RenderTableSection {TBODY} at (0,0) size 0x166
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x128 [bgcolor=#00FF00]
                 RenderBlock (floating) {DIV} at (0,0) size 64x64 [bgcolor=#00FFFF]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,64) size 128x0 [bgcolor=#FF0000]
-                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#000000] [border: (32px solid #FFFF00)]
+            RenderTableCell {TD} at (166,16) size 134x134 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (3,3) size 128x128 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x128
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/margin-collapse/026-expected.txt b/LayoutTests/fast/block/margin-collapse/026-expected.txt
index 97f10e3..b9d197a 100644
--- a/LayoutTests/fast/block/margin-collapse/026-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/026-expected.txt
@@ -6,5 +6,5 @@ layer at (0,0) size 800x90
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000]
-        RenderBlock {DIV} at (0,0) size 784x16 [bgcolor=#000000]
+      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000] [border: (16px solid #FF0000) none (16px solid #00FF00) none]
+        RenderBlock {DIV} at (0,0) size 784x16 [bgcolor=#000000] [border: (16px solid #00FF00) none]
diff --git a/LayoutTests/fast/block/margin-collapse/027-expected.txt b/LayoutTests/fast/block/margin-collapse/027-expected.txt
index 2c6ec74..65f481c 100644
--- a/LayoutTests/fast/block/margin-collapse/027-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/027-expected.txt
@@ -6,6 +6,6 @@ layer at (0,0) size 800x106
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,34) size 784x48 [bgcolor=#FF0000]
-        RenderBlock {DIV} at (0,16) size 784x16 [bgcolor=#000000]
-        RenderBlock {DIV} at (0,16) size 784x16 [bgcolor=#000000]
+      RenderBlock {DIV} at (0,34) size 784x48 [bgcolor=#FF0000] [border: (16px solid #00FF00) none (16px solid #00FF00) none]
+        RenderBlock {DIV} at (0,16) size 784x16 [bgcolor=#000000] [border: (16px solid #FF0000) none]
+        RenderBlock {DIV} at (0,16) size 784x16 [bgcolor=#000000] [border: (16px solid #00FF00) none]
diff --git a/LayoutTests/fast/block/margin-collapse/028-expected.txt b/LayoutTests/fast/block/margin-collapse/028-expected.txt
index 4ce5b78..87083ac 100644
--- a/LayoutTests/fast/block/margin-collapse/028-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/028-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x90
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000] [border: (16px solid #00FF00)]
         RenderBlock {DIV} at (16,32) size 752x0 [bgcolor=#000000]
           RenderBlock {DIV} at (0,0) size 752x0
           RenderBlock {DIV} at (0,0) size 752x0
diff --git a/LayoutTests/fast/block/margin-collapse/029-expected.txt b/LayoutTests/fast/block/margin-collapse/029-expected.txt
index bb4d923..37b9fbf 100644
--- a/LayoutTests/fast/block/margin-collapse/029-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/029-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x90
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000] [border: (16px solid #00FF00)]
         RenderBlock {DIV} at (16,16) size 752x0 [bgcolor=#000000]
           RenderBlock {DIV} at (0,0) size 752x0
           RenderBlock {DIV} at (0,0) size 752x0
diff --git a/LayoutTests/fast/block/margin-collapse/030-expected.txt b/LayoutTests/fast/block/margin-collapse/030-expected.txt
index b1d648d..3cf42dc 100644
--- a/LayoutTests/fast/block/margin-collapse/030-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/030-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x122
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,68) size 86x38 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (0,68) size 86x38 [bgcolor=#FF0000] [border: (3px solid #000000)]
         RenderBlock {P} at (3,3) size 80x0 [color=#00FF00]
           RenderText {TEXT} at (0,0) size 80x16
             text run at (0,0) width 80: "XXXXX"
diff --git a/LayoutTests/fast/block/margin-collapse/032-expected.txt b/LayoutTests/fast/block/margin-collapse/032-expected.txt
index 7ef3756..4c124ba 100644
--- a/LayoutTests/fast/block/margin-collapse/032-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/032-expected.txt
@@ -9,12 +9,12 @@ layer at (0,0) size 800x144
       RenderTable {TABLE} at (0,34) size 316x86
         RenderTableSection {TBODY} at (0,0) size 0x86
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x54 [bgcolor=#00FF00] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x54 [bgcolor=#00FF00] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,35) size 128x16 [bgcolor=#FF0000]
                 RenderBlock (floating) {DIV} at (0,0) size 128x16 [bgcolor=#FFFF00]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FF0000]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,0) size 128x16
-            RenderTableCell {TD} at (166,16) size 134x54 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (3,3) size 128x32 [bgcolor=#000000]
-              RenderBlock {DIV} at (3,35) size 128x16 [bgcolor=#000000]
+            RenderTableCell {TD} at (166,16) size 134x54 [bgcolor=#00FF00] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (3,3) size 128x32 [bgcolor=#000000] [border: (32px solid #00FF00) none]
+              RenderBlock {DIV} at (3,35) size 128x16 [bgcolor=#000000] [border: (16px solid #FFFF00) none]
diff --git a/LayoutTests/fast/block/margin-collapse/033-expected.txt b/LayoutTests/fast/block/margin-collapse/033-expected.txt
index 0cc3dba..2ced02b 100644
--- a/LayoutTests/fast/block/margin-collapse/033-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/033-expected.txt
@@ -9,14 +9,14 @@ layer at (0,0) size 800x160
       RenderTable {TABLE} at (0,34) size 316x102
         RenderTableSection {TBODY} at (0,0) size 0x102
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x70 [bgcolor=#00FF00] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x70 [bgcolor=#00FF00] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x16 [bgcolor=#FFFF00]
               RenderBlock {DIV} at (3,51) size 128x16 [bgcolor=#FF0000]
                 RenderBlock (floating) {DIV} at (0,0) size 128x16 [bgcolor=#FFFF00]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FF0000]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,0) size 128x16
-            RenderTableCell {TD} at (166,16) size 134x70 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (3,3) size 128x16 [bgcolor=#000000]
-              RenderBlock {DIV} at (3,19) size 128x32 [bgcolor=#000000]
-              RenderBlock {DIV} at (3,51) size 128x16 [bgcolor=#000000]
+            RenderTableCell {TD} at (166,16) size 134x70 [bgcolor=#00FF00] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (3,3) size 128x16 [bgcolor=#000000] [border: (16px solid #FFFF00) none]
+              RenderBlock {DIV} at (3,19) size 128x32 [bgcolor=#000000] [border: (32px solid #00FF00) none]
+              RenderBlock {DIV} at (3,51) size 128x16 [bgcolor=#000000] [border: (16px solid #FFFF00) none]
diff --git a/LayoutTests/fast/block/margin-collapse/034-expected.txt b/LayoutTests/fast/block/margin-collapse/034-expected.txt
index bfa4da0..345c1c1 100644
--- a/LayoutTests/fast/block/margin-collapse/034-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/034-expected.txt
@@ -9,16 +9,16 @@ layer at (0,0) size 800x214
       RenderTable {TABLE} at (0,34) size 316x156
         RenderTableSection {TBODY} at (0,0) size 0x156
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x54 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x54 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x48 [bgcolor=#FFFF00]
-                RenderBlock {DIV} at (0,0) size 128x16 [bgcolor=#000000]
-                RenderBlock {DIV} at (0,32) size 128x16 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x54 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                RenderBlock {DIV} at (0,0) size 128x16 [bgcolor=#000000] [border: (16px solid #00FF00) none]
+                RenderBlock {DIV} at (0,32) size 128x16 [bgcolor=#000000] [border: (16px solid #008000) none]
+            RenderTableCell {TD} at (166,16) size 134x54 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x16 [bgcolor=#00FF00]
               RenderBlock {DIV} at (3,19) size 128x16 [bgcolor=#FFFF00]
               RenderBlock {DIV} at (3,35) size 128x16 [bgcolor=#008000]
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,86) size 134x54 [bgcolor=#FF0000] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,86) size 134x54 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=1 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x16 [bgcolor=#00FF00]
               RenderBlock {DIV} at (3,19) size 128x16 [bgcolor=#FFFF00]
               RenderBlock {DIV} at (3,35) size 128x16 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/margin-collapse/035-expected.txt b/LayoutTests/fast/block/margin-collapse/035-expected.txt
index 4ce5b78..87083ac 100644
--- a/LayoutTests/fast/block/margin-collapse/035-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/035-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x90
       RenderBlock {P} at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 193x18
           text run at (0,0) width 193: "There should be no red below."
-      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000]
+      RenderBlock {DIV} at (0,34) size 784x32 [bgcolor=#FF0000] [border: (16px solid #00FF00)]
         RenderBlock {DIV} at (16,32) size 752x0 [bgcolor=#000000]
           RenderBlock {DIV} at (0,0) size 752x0
           RenderBlock {DIV} at (0,0) size 752x0
diff --git a/LayoutTests/fast/block/margin-collapse/041-expected.txt b/LayoutTests/fast/block/margin-collapse/041-expected.txt
index e723e2f..1794a07 100644
--- a/LayoutTests/fast/block/margin-collapse/041-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/041-expected.txt
@@ -10,15 +10,15 @@ layer at (0,0) size 800x118
         RenderTableSection {TBODY} at (0,0) size 0x60
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 104x56 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 102x54 [bgcolor=#00FFFF]
+              RenderBlock {DIV} at (1,1) size 102x54 [bgcolor=#00FFFF] [border: (3px solid #000000)]
                 RenderBlock {DIV} at (3,3) size 96x16 [bgcolor=#FF00FF]
                 RenderBlock {DIV} at (3,35) size 96x16 [bgcolor=#FF0000]
                   RenderBlock (floating) {DIV} at (0,0) size 48x16 [bgcolor=#FFA500]
                   RenderBlock (anonymous) at (0,0) size 96x0 [bgcolor=#000000]
-                    RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FF0000]
+                    RenderText {TEXT} at (0,0) size 0x0
                   RenderBlock {DIV} at (0,0) size 96x16 [bgcolor=#FFFF00]
             RenderTableCell {TD} at (108,2) size 104x56 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 102x54
-                RenderBlock {DIV} at (3,3) size 96x16
-                RenderBlock {DIV} at (3,19) size 96x16
-                RenderBlock {DIV} at (3,35) size 96x16
+              RenderBlock {DIV} at (1,1) size 102x54 [border: (3px solid #000000)]
+                RenderBlock {DIV} at (3,3) size 96x16 [border: (16px solid #FF00FF) none]
+                RenderBlock {DIV} at (3,19) size 96x16 [border: (16px solid #00FFFF) none]
+                RenderBlock {DIV} at (3,35) size 96x16 [border: (48px solid #FFFF00) none (48px solid #FFA500)]
diff --git a/LayoutTests/fast/block/margin-collapse/042-expected.txt b/LayoutTests/fast/block/margin-collapse/042-expected.txt
index 50bb707..236ce03 100644
--- a/LayoutTests/fast/block/margin-collapse/042-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/042-expected.txt
@@ -9,14 +9,14 @@ layer at (0,0) size 800x352
       RenderTable {TABLE} at (0,34) size 316x294
         RenderTableSection {TBODY} at (0,0) size 0x294
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,16) size 134x262 [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,16) size 134x262 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (3,3) size 128x256 [bgcolor=#00FF00]
                 RenderBlock (floating) {DIV} at (0,0) size 64x64 [bgcolor=#00FFFF]
                 RenderBlock (anonymous) at (0,0) size 128x0 [bgcolor=#000000]
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,64) size 128x64 [bgcolor=#FFFF00]
-                RenderBlock {DIV} at (0,192) size 128x64 [bgcolor=#000000]
-            RenderTableCell {TD} at (166,16) size 134x262 [bgcolor=#FF0000] [r=0 c=1 rs=1 cs=1]
+                RenderBlock {DIV} at (0,192) size 128x64 [bgcolor=#000000] [border: (32px solid #AAFFAA)]
+            RenderTableCell {TD} at (166,16) size 134x262 [bgcolor=#FF0000] [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (3,3) size 128x256 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x256
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/margin-collapse/043-expected.txt b/LayoutTests/fast/block/margin-collapse/043-expected.txt
index a2b2e91..43821cc 100644
--- a/LayoutTests/fast/block/margin-collapse/043-expected.txt
+++ b/LayoutTests/fast/block/margin-collapse/043-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x69
   RenderBlock {HTML} at (0,0) size 800x69
     RenderBody {BODY} at (8,8) size 784x53 [color=#FFFFFF]
-      RenderBlock {DIV} at (0,0) size 784x35 [bgcolor=#008000]
+      RenderBlock {DIV} at (0,0) size 784x35 [bgcolor=#008000] [border: (1px solid #000000) none]
         RenderBlock {P} at (0,0) size 784x18 [bgcolor=#000000]
           RenderText {TEXT} at (0,0) size 400x18
             text run at (0,0) width 129: "This div should be 2"
diff --git a/LayoutTests/fast/block/positioning/048-expected.txt b/LayoutTests/fast/block/positioning/048-expected.txt
index 5714fe2..6c8f34a 100644
--- a/LayoutTests/fast/block/positioning/048-expected.txt
+++ b/LayoutTests/fast/block/positioning/048-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x8
       RenderText {TEXT} at (0,0) size 0x0
       RenderText {TEXT} at (0,0) size 0x0
 layer at (8,8) size 79x79
-  RenderBlock (positioned) {DIV} at (8,8) size 79x79
+  RenderBlock (positioned) {DIV} at (8,8) size 79x79 [border: (2px solid #0000FF)]
     RenderBlock (anonymous) at (2,2) size 75x0
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock (anonymous) at (2,2) size 75x0
@@ -17,15 +17,15 @@ layer at (8,8) size 79x79
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock {DIV} at (2,2) size 75x75 [bgcolor=#808080]
 layer at (10,10) size 33x33
-  RenderBlock (positioned) {DIV} at (2,2) size 33x33
+  RenderBlock (positioned) {DIV} at (2,2) size 33x33 [border: (2px solid #008000)]
 layer at (52,10) size 33x33
-  RenderBlock (positioned) {DIV} at (44,2) size 33x33
+  RenderBlock (positioned) {DIV} at (44,2) size 33x33 [border: (2px solid #008000)]
 layer at (52,52) size 33x33
-  RenderBlock (positioned) {DIV} at (44,44) size 33x33
+  RenderBlock (positioned) {DIV} at (44,44) size 33x33 [border: (2px solid #008000)]
 layer at (10,52) size 33x33
-  RenderBlock (positioned) {DIV} at (2,44) size 33x33
+  RenderBlock (positioned) {DIV} at (2,44) size 33x33 [border: (2px solid #008000)]
 layer at (100,0) size 99x99
-  RenderBlock (positioned) {DIV} at (100,0) size 99x99
+  RenderBlock (positioned) {DIV} at (100,0) size 99x99 [border: (2px solid #0000FF)]
     RenderBlock (anonymous) at (12,12) size 75x0
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock (anonymous) at (12,12) size 75x0
@@ -36,10 +36,10 @@ layer at (100,0) size 99x99
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock {DIV} at (12,12) size 75x75 [bgcolor=#808080]
 layer at (102,2) size 33x33
-  RenderBlock (positioned) {DIV} at (2,2) size 33x33
+  RenderBlock (positioned) {DIV} at (2,2) size 33x33 [border: (2px solid #008000)]
 layer at (164,2) size 33x33
-  RenderBlock (positioned) {DIV} at (64,2) size 33x33
+  RenderBlock (positioned) {DIV} at (64,2) size 33x33 [border: (2px solid #008000)]
 layer at (164,64) size 33x33
-  RenderBlock (positioned) {DIV} at (64,64) size 33x33
+  RenderBlock (positioned) {DIV} at (64,64) size 33x33 [border: (2px solid #008000)]
 layer at (102,64) size 33x33
-  RenderBlock (positioned) {DIV} at (2,64) size 33x33
+  RenderBlock (positioned) {DIV} at (2,64) size 33x33 [border: (2px solid #008000)]
diff --git a/LayoutTests/fast/block/positioning/049-expected.txt b/LayoutTests/fast/block/positioning/049-expected.txt
index ee7b133..094f6ef 100644
--- a/LayoutTests/fast/block/positioning/049-expected.txt
+++ b/LayoutTests/fast/block/positioning/049-expected.txt
@@ -6,8 +6,8 @@ layer at (0,0) size 800x8
       RenderText {TEXT} at (0,0) size 0x0
       RenderText {TEXT} at (0,0) size 0x0
 layer at (10,10) size 160x170
-  RenderBlock (positioned) {DIV} at (10,10) size 120x120 [bgcolor=#FF0000]
+  RenderBlock (positioned) {DIV} at (10,10) size 120x120 [bgcolor=#FF0000] [border: (10px solid #000000)]
     RenderBlock {DIV} at (10,10) size 150x150 [bgcolor=#008000]
 layer at (200,10) size 120x120 clip at (210,20) size 100x100
-  RenderBlock (positioned) {DIV} at (200,10) size 120x120 [bgcolor=#FF0000]
+  RenderBlock (positioned) {DIV} at (200,10) size 120x120 [bgcolor=#FF0000] [border: (10px solid #000000)]
     RenderBlock {DIV} at (10,10) size 150x150 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/050-expected.txt b/LayoutTests/fast/block/positioning/050-expected.txt
index 66b79f5..2f293ae 100644
--- a/LayoutTests/fast/block/positioning/050-expected.txt
+++ b/LayoutTests/fast/block/positioning/050-expected.txt
@@ -5,13 +5,13 @@ layer at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
       RenderText {TEXT} at (0,0) size 0x0
 layer at (8,8) size 124x124
-  RenderBlock (positioned) {DIV} at (8,8) size 124x124
+  RenderBlock (positioned) {DIV} at (8,8) size 124x124 [border: (2px solid #0000FF)]
     RenderBlock (anonymous) at (12,12) size 100x0
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock (anonymous) at (12,12) size 100x0
       RenderText {TEXT} at (0,0) size 0x0
     RenderBlock {DIV} at (12,12) size 100x100 [bgcolor=#808080]
 layer at (10,10) size 120x108
-  RenderBlock (positioned) {DIV} at (2,2) size 120x108
+  RenderBlock (positioned) {DIV} at (2,2) size 120x108 [border: (2px solid #008000)]
 layer at (10,10) size 108x120
-  RenderBlock (positioned) {DIV} at (2,2) size 108x120
+  RenderBlock (positioned) {DIV} at (2,2) size 108x120 [border: (2px solid #008000)]
diff --git a/LayoutTests/fast/block/positioning/051-expected.txt b/LayoutTests/fast/block/positioning/051-expected.txt
index 397f534..76cbb14 100644
--- a/LayoutTests/fast/block/positioning/051-expected.txt
+++ b/LayoutTests/fast/block/positioning/051-expected.txt
@@ -98,7 +98,7 @@ layer at (0,0) size 800x5269 layerType: foreground only
         RenderText {TEXT} at (0,0) size 349x18
           text run at (0,0) width 349: "Using assumed default value of z-index (may not pass):"
 layer at (24,147) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,126) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,126) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -140,7 +140,7 @@ layer at (234,157) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "1"
 layer at (24,783) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,762) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,762) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -154,7 +154,7 @@ layer at (234,1193) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "5"
 layer at (24,1419) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,1398) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,1398) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -168,7 +168,7 @@ layer at (234,1829) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "5"
 layer at (24,2055) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,2034) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,2034) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -187,7 +187,7 @@ layer at (434,2265) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "3"
 layer at (24,2691) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,2670) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,2670) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -209,7 +209,7 @@ layer at (384,3051) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "4"
 layer at (24,3327) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,3306) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,3306) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -235,7 +235,7 @@ layer at (384,3687) size 200x200
     RenderText zI: 9 {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "4"
 layer at (24,3963) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,3942) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,3942) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -252,7 +252,7 @@ layer at (234,4373) size 200x200
     RenderText {TEXT} at (71,42) size 57x80
       text run at (71,42) width 57: "5"
 layer at (24,4633) size 620x620
-  RenderBlock (relative positioned) {DIV} at (16,4612) size 620x620
+  RenderBlock (relative positioned) {DIV} at (16,4612) size 620x620 [border: (10px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/positioning/056-expected.txt b/LayoutTests/fast/block/positioning/056-expected.txt
index 3cb94d9..d1fdbf6 100644
--- a/LayoutTests/fast/block/positioning/056-expected.txt
+++ b/LayoutTests/fast/block/positioning/056-expected.txt
@@ -13,7 +13,7 @@ layer at (8,26) size 96x370
           text run at (0,0) width 46: "A"
       RenderText {TEXT} at (0,74) size 46x74
         text run at (0,74) width 46: "A"
-      RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+      RenderBR {BR} at (0,0) size 0x0
       RenderInline {SPAN} at (0,0) size 46x74 [bgcolor=#000000]
         RenderText {TEXT} at (0,148) size 46x74
           text run at (0,148) width 46: "A"
diff --git a/LayoutTests/fast/block/positioning/057-expected.txt b/LayoutTests/fast/block/positioning/057-expected.txt
index befb6e9..cbbddcc 100644
--- a/LayoutTests/fast/block/positioning/057-expected.txt
+++ b/LayoutTests/fast/block/positioning/057-expected.txt
@@ -4,7 +4,7 @@ layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
 layer at (8,25) size 566x22
-  RenderBlock (positioned) {DIV} at (8,25) size 566x22
+  RenderBlock (positioned) {DIV} at (8,25) size 566x22 [border: (2px solid #008000)]
     RenderInline {SPAN} at (0,0) size 0x0
       RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/positioning/058-expected.txt b/LayoutTests/fast/block/positioning/058-expected.txt
index efe02ff..8089a1c 100644
--- a/LayoutTests/fast/block/positioning/058-expected.txt
+++ b/LayoutTests/fast/block/positioning/058-expected.txt
@@ -21,4 +21,4 @@ layer at (8,42) size 782x36
       text run at (0,18) width 27: "text "
     RenderText {TEXT} at (0,0) size 0x0
 layer at (236,42) size 42x42
-  RenderImage {IMG} at (0,0) size 42x42 [bgcolor=#000000]
+  RenderImage {IMG} at (0,0) size 42x42 [bgcolor=#000000] [border: (1px solid #000000)]
diff --git a/LayoutTests/fast/block/positioning/auto/001-expected.txt b/LayoutTests/fast/block/positioning/auto/001-expected.txt
index 8a8a985..85d9163 100644
--- a/LayoutTests/fast/block/positioning/auto/001-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/001-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x78
           text run at (614,18) width 163: "x100, and there should be"
           text run at (0,36) width 325: "50 pixels of padding on either side of the box stack."
 layer at (8,78) size 240x340
-  RenderBlock (positioned) {DIV} at (8,78) size 240x340
+  RenderBlock (positioned) {DIV} at (8,78) size 240x340 [border: (20px solid #000000)]
     RenderBlock {DIV} at (70,70) size 100x0
 layer at (78,198) size 100x100
   RenderBlock (positioned) {SPAN} at (70,120) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/auto/002-expected.txt b/LayoutTests/fast/block/positioning/auto/002-expected.txt
index 5ba991e..2ae6990 100644
--- a/LayoutTests/fast/block/positioning/auto/002-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/002-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x78
           text run at (559,18) width 191: "x100, and there should be 100"
           text run at (0,36) width 322: "pixels of padding on the right side of the box stack."
 layer at (8,78) size 240x340
-  RenderBlock (positioned) {DIV} at (8,78) size 240x340
+  RenderBlock (positioned) {DIV} at (8,78) size 240x340 [border: (20px solid #000000)]
     RenderBlock {DIV} at (20,70) size 100x0
 layer at (128,198) size 100x100
   RenderBlock (positioned) {DIV} at (120,120) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/auto/003-expected.txt b/LayoutTests/fast/block/positioning/auto/003-expected.txt
index ae935a0..4010e8b 100644
--- a/LayoutTests/fast/block/positioning/auto/003-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/003-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x78
           text run at (559,18) width 191: "x100, and there should be 100"
           text run at (0,36) width 322: "pixels of padding on the right side of the box stack."
 layer at (8,78) size 240x340
-  RenderBlock (positioned) {DIV} at (8,78) size 240x340
+  RenderBlock (positioned) {DIV} at (8,78) size 240x340 [border: (20px solid #000000)]
     RenderBlock {DIV} at (120,70) size 100x0
 layer at (128,198) size 100x100
   RenderBlock (positioned) {DIV} at (120,120) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/auto/004-expected.txt b/LayoutTests/fast/block/positioning/auto/004-expected.txt
index ae935a0..4010e8b 100644
--- a/LayoutTests/fast/block/positioning/auto/004-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/004-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x78
           text run at (559,18) width 191: "x100, and there should be 100"
           text run at (0,36) width 322: "pixels of padding on the right side of the box stack."
 layer at (8,78) size 240x340
-  RenderBlock (positioned) {DIV} at (8,78) size 240x340
+  RenderBlock (positioned) {DIV} at (8,78) size 240x340 [border: (20px solid #000000)]
     RenderBlock {DIV} at (120,70) size 100x0
 layer at (128,198) size 100x100
   RenderBlock (positioned) {DIV} at (120,120) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/auto/005-expected.txt b/LayoutTests/fast/block/positioning/auto/005-expected.txt
index 2b95afd..dcb2f78 100644
--- a/LayoutTests/fast/block/positioning/auto/005-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/005-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x88
       RenderText {TEXT} at (474,54) size 4x18
         text run at (474,54) width 4: " "
 layer at (478,62) size 240x340
-  RenderBlock (positioned) {SPAN} at (478,62) size 240x340
+  RenderBlock (positioned) {SPAN} at (478,62) size 240x340 [border: (20px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/block/positioning/auto/006-expected.txt b/LayoutTests/fast/block/positioning/auto/006-expected.txt
index a78b20e..928ed81 100644
--- a/LayoutTests/fast/block/positioning/auto/006-expected.txt
+++ b/LayoutTests/fast/block/positioning/auto/006-expected.txt
@@ -19,7 +19,7 @@ layer at (0,0) size 800x130
         RenderText {TEXT} at (625,18) size 4x18
           text run at (625,18) width 4: " "
 layer at (397,96) size 240x340
-  RenderBlock (positioned) {SPAN} at (397,96) size 240x340
+  RenderBlock (positioned) {SPAN} at (397,96) size 240x340 [border: (20px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/clip/013-expected.txt b/LayoutTests/fast/clip/013-expected.txt
index 93afdf1..5112f4f 100644
--- a/LayoutTests/fast/clip/013-expected.txt
+++ b/LayoutTests/fast/clip/013-expected.txt
@@ -10,4 +10,4 @@ layer at (0,0) size 800x52
         text run at (541,0) width 239: "This test is checking to make sure clip"
         text run at (0,18) width 377: "applies to the element itself and starts from the border edge. "
 layer at (8,44) size 120x120 backgroundClip at (18,54) size 100x100 clip at (18,54) size 100x100
-  RenderBlock (positioned) {DIV} at (8,44) size 120x120 [bgcolor=#008000]
+  RenderBlock (positioned) {DIV} at (8,44) size 120x120 [bgcolor=#008000] [border: (10px solid #FF0000)]
diff --git a/LayoutTests/fast/clip/014-expected.txt b/LayoutTests/fast/clip/014-expected.txt
index 1d6d2d6..e0ffa8e 100644
--- a/LayoutTests/fast/clip/014-expected.txt
+++ b/LayoutTests/fast/clip/014-expected.txt
@@ -12,5 +12,5 @@ layer at (0,0) size 800x70
         text run at (617,18) width 113: "The bottom of the"
         text run at (0,36) width 252: "scrolling mechanism should be clipped. "
 layer at (8,62) size 120x220 backgroundClip at (18,72) size 100x100 clip at (18,72) size 85x100
-  RenderBlock (positioned) {DIV} at (8,62) size 120x220 [bgcolor=#008000]
+  RenderBlock (positioned) {DIV} at (8,62) size 120x220 [bgcolor=#008000] [border: (10px solid #FF0000)]
     RenderBlock {DIV} at (10,10) size 85x1000 [bgcolor=#000000]
diff --git a/LayoutTests/fast/css/003-expected.txt b/LayoutTests/fast/css/003-expected.txt
index b0c7fc0..ab243f4 100644
--- a/LayoutTests/fast/css/003-expected.txt
+++ b/LayoutTests/fast/css/003-expected.txt
@@ -13,13 +13,13 @@ layer at (0,0) size 800x376
               RenderBlock (anonymous) at (1,59) size 240x18
                 RenderText {TEXT} at (0,0) size 142x18
                   text run at (0,0) width 142: "Background color first"
-              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
               RenderBlock (anonymous) at (1,207) size 240x18
                 RenderText {TEXT} at (0,0) size 93x18
                   text run at (0,0) width 93: "Text color first"
-              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
             RenderTableCell {TD} at (246,2) size 242x356 [r=0 c=1 rs=1 cs=1]
@@ -29,13 +29,13 @@ layer at (0,0) size 800x376
               RenderBlock (anonymous) at (1,59) size 240x18
                 RenderText {TEXT} at (0,0) size 142x18
                   text run at (0,0) width 142: "Background color first"
-              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#FF0000]
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#FF0000] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
               RenderBlock (anonymous) at (1,207) size 240x18
                 RenderText {TEXT} at (0,0) size 93x18
                   text run at (0,0) width 93: "Text color first"
-              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#FF0000]
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#FF0000] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
             RenderTableCell {TD} at (490,2) size 242x356 [r=0 c=2 rs=1 cs=1]
@@ -45,12 +45,12 @@ layer at (0,0) size 800x376
               RenderBlock (anonymous) at (1,59) size 240x18
                 RenderText {TEXT} at (0,0) size 142x18
                   text run at (0,0) width 142: "Background color first"
-              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
               RenderBlock (anonymous) at (1,207) size 240x18
                 RenderText {TEXT} at (0,0) size 93x18
                   text run at (0,0) width 93: "Text color first"
-              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 RenderText {TEXT} at (20,1) size 58x58
                   text run at (20,1) width 58: "Az"
diff --git a/LayoutTests/fast/css/004-expected.txt b/LayoutTests/fast/css/004-expected.txt
index c12a52e..5b922d9 100644
--- a/LayoutTests/fast/css/004-expected.txt
+++ b/LayoutTests/fast/css/004-expected.txt
@@ -10,15 +10,15 @@ layer at (0,0) size 800x273
         RenderText {TEXT} at (0,0) size 501x18
           text run at (0,0) width 403: "This test was written to test a point I mentioned to Tantek \x{C7}elik "
           text run at (403,0) width 98: "on 2000-07-13."
-      RenderBlock {P} at (0,92) size 784x24 [color=#008000]
+      RenderBlock {P} at (0,92) size 784x24 [color=#008000] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 274x18
           text run at (3,3) width 274: "This paragraph should have a green border."
-      RenderBlock {P} at (0,132) size 784x24 [color=#008000]
+      RenderBlock {P} at (0,132) size 784x24 [color=#008000] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 274x18
           text run at (3,3) width 274: "This paragraph should have a green border."
-      RenderBlock {P} at (0,172) size 784x24 [color=#008000]
+      RenderBlock {P} at (0,172) size 784x24 [color=#008000] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 274x18
           text run at (3,3) width 274: "This paragraph should have a green border."
-      RenderBlock {P} at (0,212) size 784x24 [color=#008000]
+      RenderBlock {P} at (0,212) size 784x24 [color=#008000] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 274x18
           text run at (3,3) width 274: "This paragraph should have a green border."
diff --git a/LayoutTests/fast/css/005-expected.txt b/LayoutTests/fast/css/005-expected.txt
index 11033b9..cb35289 100644
--- a/LayoutTests/fast/css/005-expected.txt
+++ b/LayoutTests/fast/css/005-expected.txt
@@ -6,16 +6,16 @@ layer at (0,0) size 800x735
       RenderBlock {H1} at (0,0) size 784x37
         RenderText {TEXT} at (0,0) size 378x37
           text run at (0,0) width 378: "Shorthand border property"
-      RenderBlock {P} at (0,58) size 784x24 [color=#008000] [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,58) size 784x24 [color=#008000] [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,98) size 784x24 [color=#008000] [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,98) size 784x24 [color=#008000] [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
       RenderBlock {P} at (0,138) size 784x18 [bgcolor=#FFFFFF]
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This paragraph should not have a border."
-      RenderBlock {P} at (0,172) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,172) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 279x18
           text run at (3,3) width 279: "This paragraph should have a medium solid "
         RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
@@ -29,7 +29,7 @@ layer at (0,0) size 800x735
       RenderBlock {P} at (0,246) size 784x18 [bgcolor=#FFFFFF]
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This paragraph should not have a border."
-      RenderBlock {P} at (0,280) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,280) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 279x18
           text run at (3,3) width 279: "This paragraph should have a medium solid "
         RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
@@ -37,7 +37,7 @@ layer at (0,0) size 800x735
             text run at (282,3) width 34: "black"
         RenderText {TEXT} at (316,3) size 49x18
           text run at (316,3) width 49: " border."
-      RenderBlock {P} at (0,320) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,320) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         RenderText {TEXT} at (3,3) size 279x18
           text run at (3,3) width 279: "This paragraph should have a medium solid "
         RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
@@ -45,30 +45,30 @@ layer at (0,0) size 800x735
             text run at (282,3) width 34: "black"
         RenderText {TEXT} at (316,3) size 49x18
           text run at (316,3) width 49: " border."
-      RenderBlock {P} at (0,360) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,360) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,400) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,400) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
       RenderBlock {P} at (0,440) size 784x18 [bgcolor=#FFFFFF]
         RenderText {TEXT} at (0,0) size 259x18
           text run at (0,0) width 259: "This paragraph should not have a border."
-      RenderBlock {P} at (0,474) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,474) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,514) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,514) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,554) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,554) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,594) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,594) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,634) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,634) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
-      RenderBlock {P} at (0,674) size 784x24 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,674) size 784x24 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
         RenderText {TEXT} at (3,3) size 363x18
           text run at (3,3) width 363: "This paragraph should have a medium solid green border."
diff --git a/LayoutTests/fast/dynamic/002-expected.txt b/LayoutTests/fast/dynamic/002-expected.txt
index d0e253a..a4a0c80 100644
--- a/LayoutTests/fast/dynamic/002-expected.txt
+++ b/LayoutTests/fast/dynamic/002-expected.txt
@@ -4,7 +4,7 @@ layer at (0,0) size 800x100
   RenderBlock {HTML} at (0,0) size 800x100
     RenderBody {BODY} at (8,8) size 784x84
       RenderBlock {DIV} at (0,0) size 784x18
-        RenderBlock (floating) {DIV} at (522,0) size 262x104
+        RenderBlock (floating) {DIV} at (522,0) size 262x104 [border: (2px solid #FF0000)]
           RenderText {TEXT} at (2,2) size 258x18
             text run at (2,2) width 258: "I should become a right-floating element."
         RenderBlock (anonymous) at (0,0) size 784x18
@@ -13,7 +13,7 @@ layer at (0,0) size 800x100
             text run at (195,0) width 198: "The float should be to the right."
       RenderBlock {DIV} at (0,18) size 784x30
       RenderBlock {DIV} at (0,48) size 784x36
-        RenderBlock (floating) {SPAN} at (0,0) size 253x104
+        RenderBlock (floating) {SPAN} at (0,0) size 253x104 [border: (2px solid #FF0000)]
           RenderText {TEXT} at (2,2) size 249x18
             text run at (2,2) width 249: "I should become a left-floating element."
         RenderText {TEXT} at (253,0) size 261x36
diff --git a/LayoutTests/fast/dynamic/004-expected.txt b/LayoutTests/fast/dynamic/004-expected.txt
index 011eec9..c5a16b4 100644
--- a/LayoutTests/fast/dynamic/004-expected.txt
+++ b/LayoutTests/fast/dynamic/004-expected.txt
@@ -3,6 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x62
   RenderBlock {HTML} at (0,0) size 800x62
     RenderBody {BODY} at (8,8) size 784x38
-      RenderBlock {P} at (0,0) size 784x38
+      RenderBlock {P} at (0,0) size 784x38 [border: (10px solid #008000)]
         RenderText {TEXT} at (10,10) size 299x18
           text run at (10,10) width 299: "I should be surrounded by a thick green border."
diff --git a/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt b/LayoutTests/fast/encoding/utf-16-big-endian-expected.txt
index 2bf1147..e5cc250 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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       RenderBlock (anonymous) at (0,463) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -161,39 +161,39 @@ layer at (0,0) size 800x1264
                     text run at (0,108) width 45: "Seats:"
                   RenderBR {BR} at (0,0) size 0x0
                   RenderText {TEXT} at (0,0) size 0x0
-                RenderTable {TABLE} at (1,127) size 604x46
+                RenderTable {TABLE} at (1,127) size 604x46 [border: (1px outset #808080)]
                   RenderTableSection {TBODY} at (1,1) size 0x44
                     RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 43x18
                           text run at (2,2) width 43: "Name"
-                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 33x18
                           text run at (2,2) width 33: "Seat"
-                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 45x18
                           text run at (2,2) width 45: "Status"
-                      RenderTableCell {TD} at (213,0) size 316x22 [bgcolor=#000000] [r=0 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,0) size 316x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 36x18
                           text run at (2,2) width 36: "Type"
-                      RenderTableCell {TD} at (529,0) size 73x22 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (529,0) size 73x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 69x18
                           text run at (2,2) width 69: "Comment"
                     RenderTableRow {TR} at (0,0) size 0x0
-                      RenderTableCell {TD} at (0,22) size 98x22 [r=1 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,22) size 98x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 94x18
                           text run at (2,2) width 94: "HAO,SCOTT"
-                      RenderTableCell {TD} at (98,22) size 37x22 [r=1 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,22) size 37x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 29x18
                           text run at (2,2) width 18: "08"
                           text run at (20,2) width 11: "A"
-                      RenderTableCell {TD} at (135,22) size 78x22 [r=1 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,22) size 78x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 74x18
                           text run at (2,2) width 74: "confirmed "
-                      RenderTableCell {TD} at (213,22) size 316x22 [r=1 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,22) size 316x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 312x18
                           text run at (2,2) width 312: "Non-Smoking, Window Seat, Preferred Seat"
-                      RenderTableCell {TD} at (529,22) size 73x22 [r=1 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (529,22) size 73x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 4x18
                           text run at (2,2) width 4: " "
                 RenderBlock (anonymous) at (1,173) size 604x18
@@ -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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       RenderBlock (anonymous) at (0,685) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -254,39 +254,39 @@ layer at (0,0) size 800x1264
                     text run at (0,108) width 45: "Seats:"
                   RenderBR {BR} at (0,0) size 0x0
                   RenderText {TEXT} at (0,0) size 0x0
-                RenderTable {TABLE} at (1,127) size 493x46
+                RenderTable {TABLE} at (1,127) size 493x46 [border: (1px outset #808080)]
                   RenderTableSection {TBODY} at (1,1) size 0x44
                     RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 43x18
                           text run at (2,2) width 43: "Name"
-                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 33x18
                           text run at (2,2) width 33: "Seat"
-                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 45x18
                           text run at (2,2) width 45: "Status"
-                      RenderTableCell {TD} at (213,0) size 205x22 [bgcolor=#000000] [r=0 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,0) size 205x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 36x18
                           text run at (2,2) width 36: "Type"
-                      RenderTableCell {TD} at (418,0) size 73x22 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (418,0) size 73x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 69x18
                           text run at (2,2) width 69: "Comment"
                     RenderTableRow {TR} at (0,0) size 0x0
-                      RenderTableCell {TD} at (0,22) size 98x22 [r=1 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,22) size 98x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 94x18
                           text run at (2,2) width 94: "HAO,SCOTT"
-                      RenderTableCell {TD} at (98,22) size 37x22 [r=1 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,22) size 37x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 28x18
                           text run at (2,2) width 18: "13"
                           text run at (20,2) width 10: "F"
-                      RenderTableCell {TD} at (135,22) size 78x22 [r=1 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,22) size 78x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 74x18
                           text run at (2,2) width 74: "confirmed "
-                      RenderTableCell {TD} at (213,22) size 205x22 [r=1 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,22) size 205x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 201x18
                           text run at (2,2) width 201: "Non-Smoking, Window Seat"
-                      RenderTableCell {TD} at (418,22) size 73x22 [r=1 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (418,22) size 73x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 4x18
                           text run at (2,2) width 4: " "
                 RenderBlock (anonymous) at (1,173) size 493x18
@@ -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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
         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. "
@@ -460,27 +460,27 @@ layer at (23,235) size 24x12
     RenderImage {IMG} at (0,24) size 24x24
     RenderText {TEXT} at (0,0) size 0x0
 layer at (28,268) size 529x52
-  RenderTable {TABLE} at (0,0) size 529x52
+  RenderTable {TABLE} at (0,0) size 529x52 [border: (1px outset #808080)]
     RenderTableSection {TBODY} at (1,1) size 0x50
       RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-        RenderTableCell {TD} at (2,2) size 95x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+        RenderTableCell {TD} at (2,2) size 95x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 36x18
             text run at (2,2) width 36: "Type"
-        RenderTableCell {TD} at (99,2) size 45x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+        RenderTableCell {TD} at (99,2) size 45x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 28x18
             text run at (2,2) width 28: "City"
-        RenderTableCell {TD} at (146,2) size 379x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+        RenderTableCell {TD} at (146,2) size 379x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 47x18
             text run at (2,2) width 47: "Phone"
       RenderTableRow {TR} at (0,0) size 0x0
       RenderTableRow {TR} at (0,0) size 0x0
-        RenderTableCell {TD} at (2,26) size 95x22 [r=2 c=0 rs=1 cs=1]
+        RenderTableCell {TD} at (2,26) size 95x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 91x18
             text run at (2,2) width 91: "Travel Agent"
-        RenderTableCell {TD} at (99,26) size 45x22 [r=2 c=1 rs=1 cs=1]
+        RenderTableCell {TD} at (99,26) size 45x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        RenderTableCell {TD} at (146,26) size 379x22 [r=2 c=2 rs=1 cs=1]
+        RenderTableCell {TD} at (146,26) size 379x22 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 375x18
             text run at (2,2) width 141: "RQ0/818 990-4053-"
             text run at (143,2) width 210: "PLAZA TRAVEL - 05838276-"
diff --git a/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt b/LayoutTests/fast/encoding/utf-16-little-endian-expected.txt
index 2bf1147..e5cc250 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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       RenderBlock (anonymous) at (0,463) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -161,39 +161,39 @@ layer at (0,0) size 800x1264
                     text run at (0,108) width 45: "Seats:"
                   RenderBR {BR} at (0,0) size 0x0
                   RenderText {TEXT} at (0,0) size 0x0
-                RenderTable {TABLE} at (1,127) size 604x46
+                RenderTable {TABLE} at (1,127) size 604x46 [border: (1px outset #808080)]
                   RenderTableSection {TBODY} at (1,1) size 0x44
                     RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 43x18
                           text run at (2,2) width 43: "Name"
-                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 33x18
                           text run at (2,2) width 33: "Seat"
-                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 45x18
                           text run at (2,2) width 45: "Status"
-                      RenderTableCell {TD} at (213,0) size 316x22 [bgcolor=#000000] [r=0 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,0) size 316x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 36x18
                           text run at (2,2) width 36: "Type"
-                      RenderTableCell {TD} at (529,0) size 73x22 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (529,0) size 73x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 69x18
                           text run at (2,2) width 69: "Comment"
                     RenderTableRow {TR} at (0,0) size 0x0
-                      RenderTableCell {TD} at (0,22) size 98x22 [r=1 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,22) size 98x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 94x18
                           text run at (2,2) width 94: "HAO,SCOTT"
-                      RenderTableCell {TD} at (98,22) size 37x22 [r=1 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,22) size 37x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 29x18
                           text run at (2,2) width 18: "08"
                           text run at (20,2) width 11: "A"
-                      RenderTableCell {TD} at (135,22) size 78x22 [r=1 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,22) size 78x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 74x18
                           text run at (2,2) width 74: "confirmed "
-                      RenderTableCell {TD} at (213,22) size 316x22 [r=1 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,22) size 316x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 312x18
                           text run at (2,2) width 312: "Non-Smoking, Window Seat, Preferred Seat"
-                      RenderTableCell {TD} at (529,22) size 73x22 [r=1 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (529,22) size 73x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 4x18
                           text run at (2,2) width 4: " "
                 RenderBlock (anonymous) at (1,173) size 604x18
@@ -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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       RenderBlock (anonymous) at (0,685) size 784x0 [bgcolor=#000000]
         RenderInline {SPAN} at (0,0) size 0x0
           RenderInline {SPAN} at (0,0) size 0x0
@@ -254,39 +254,39 @@ layer at (0,0) size 800x1264
                     text run at (0,108) width 45: "Seats:"
                   RenderBR {BR} at (0,0) size 0x0
                   RenderText {TEXT} at (0,0) size 0x0
-                RenderTable {TABLE} at (1,127) size 493x46
+                RenderTable {TABLE} at (1,127) size 493x46 [border: (1px outset #808080)]
                   RenderTableSection {TBODY} at (1,1) size 0x44
                     RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,0) size 98x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 43x18
                           text run at (2,2) width 43: "Name"
-                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,0) size 37x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 33x18
                           text run at (2,2) width 33: "Seat"
-                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,0) size 78x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 45x18
                           text run at (2,2) width 45: "Status"
-                      RenderTableCell {TD} at (213,0) size 205x22 [bgcolor=#000000] [r=0 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,0) size 205x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 36x18
                           text run at (2,2) width 36: "Type"
-                      RenderTableCell {TD} at (418,0) size 73x22 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (418,0) size 73x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 69x18
                           text run at (2,2) width 69: "Comment"
                     RenderTableRow {TR} at (0,0) size 0x0
-                      RenderTableCell {TD} at (0,22) size 98x22 [r=1 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (0,22) size 98x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 94x18
                           text run at (2,2) width 94: "HAO,SCOTT"
-                      RenderTableCell {TD} at (98,22) size 37x22 [r=1 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (98,22) size 37x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 28x18
                           text run at (2,2) width 18: "13"
                           text run at (20,2) width 10: "F"
-                      RenderTableCell {TD} at (135,22) size 78x22 [r=1 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (135,22) size 78x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 74x18
                           text run at (2,2) width 74: "confirmed "
-                      RenderTableCell {TD} at (213,22) size 205x22 [r=1 c=3 rs=1 cs=1]
+                      RenderTableCell {TD} at (213,22) size 205x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 201x18
                           text run at (2,2) width 201: "Non-Smoking, Window Seat"
-                      RenderTableCell {TD} at (418,22) size 73x22 [r=1 c=4 rs=1 cs=1]
+                      RenderTableCell {TD} at (418,22) size 73x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 4x18
                           text run at (2,2) width 4: " "
                 RenderBlock (anonymous) at (1,173) size 493x18
@@ -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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
       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 (0,0) size 784x2
+        RenderBlock {HR} at (0,0) size 784x2 [border: (1px inset #000000)]
         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. "
@@ -460,27 +460,27 @@ layer at (23,235) size 24x12
     RenderImage {IMG} at (0,24) size 24x24
     RenderText {TEXT} at (0,0) size 0x0
 layer at (28,268) size 529x52
-  RenderTable {TABLE} at (0,0) size 529x52
+  RenderTable {TABLE} at (0,0) size 529x52 [border: (1px outset #808080)]
     RenderTableSection {TBODY} at (1,1) size 0x50
       RenderTableRow {TR} at (0,0) size 0x0 [bgcolor=#E0E0E0]
-        RenderTableCell {TD} at (2,2) size 95x22 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+        RenderTableCell {TD} at (2,2) size 95x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 36x18
             text run at (2,2) width 36: "Type"
-        RenderTableCell {TD} at (99,2) size 45x22 [bgcolor=#000000] [r=0 c=1 rs=1 cs=1]
+        RenderTableCell {TD} at (99,2) size 45x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 28x18
             text run at (2,2) width 28: "City"
-        RenderTableCell {TD} at (146,2) size 379x22 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+        RenderTableCell {TD} at (146,2) size 379x22 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 47x18
             text run at (2,2) width 47: "Phone"
       RenderTableRow {TR} at (0,0) size 0x0
       RenderTableRow {TR} at (0,0) size 0x0
-        RenderTableCell {TD} at (2,26) size 95x22 [r=2 c=0 rs=1 cs=1]
+        RenderTableCell {TD} at (2,26) size 95x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 91x18
             text run at (2,2) width 91: "Travel Agent"
-        RenderTableCell {TD} at (99,26) size 45x22 [r=2 c=1 rs=1 cs=1]
+        RenderTableCell {TD} at (99,26) size 45x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        RenderTableCell {TD} at (146,26) size 379x22 [r=2 c=2 rs=1 cs=1]
+        RenderTableCell {TD} at (146,26) size 379x22 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
           RenderText {TEXT} at (2,2) size 375x18
             text run at (2,2) width 141: "RQ0/818 990-4053-"
             text run at (143,2) width 210: "PLAZA TRAVEL - 05838276-"
diff --git a/LayoutTests/fast/flexbox/007-expected.txt b/LayoutTests/fast/flexbox/007-expected.txt
index 5807e57..985ff3f 100644
--- a/LayoutTests/fast/flexbox/007-expected.txt
+++ b/LayoutTests/fast/flexbox/007-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x220
           text run at (0,0) width 776: "This test is checking to make sure blocks with auto height that are children of boxes will expand to encompass overhanging"
           text run at (0,18) width 38: "floats."
       RenderBlock {DIV} at (0,104) size 100x100 [bgcolor=#FF0000]
-        RenderFlexibleBox {DIV} at (0,0) size 100x100 [bgcolor=#000000]
+        RenderFlexibleBox {DIV} at (0,0) size 100x100 [bgcolor=#000000] [border: (4px solid #808000)]
           RenderBlock {DIV} at (4,4) size 92x92
             RenderBlock (floating) {DIV} at (0,0) size 92x92 [bgcolor=#008000]
             RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/flexbox/008-expected.txt b/LayoutTests/fast/flexbox/008-expected.txt
index bbb4392..6987d04 100644
--- a/LayoutTests/fast/flexbox/008-expected.txt
+++ b/LayoutTests/fast/flexbox/008-expected.txt
@@ -13,5 +13,5 @@ layer at (0,0) size 800x268
       RenderBlock {DIV} at (0,52) size 200x200 [bgcolor=#FF0000]
         RenderBlock (floating) {DIV} at (0,0) size 100x200 [bgcolor=#008000]
         RenderBlock (anonymous) at (0,0) size 200x0 [bgcolor=#000000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FF0000]
+          RenderText {TEXT} at (0,0) size 0x0
         RenderFlexibleBox {DIV} at (100,0) size 100x200 [bgcolor=#008000]
diff --git a/LayoutTests/fast/flexbox/009-expected.txt b/LayoutTests/fast/flexbox/009-expected.txt
index 3508657..356e3a0 100644
--- a/LayoutTests/fast/flexbox/009-expected.txt
+++ b/LayoutTests/fast/flexbox/009-expected.txt
@@ -12,5 +12,5 @@ layer at (0,0) size 800x172
           text run at (202,18) width 47: "px tall. "
           text run at (249,18) width 326: "If you do not see a scrollbar, then the test has failed."
 layer at (8,60) size 104x104 clip at (10,62) size 85x100
-  RenderFlexibleBox {DIV} at (0,52) size 104x104 [bgcolor=#008000]
+  RenderFlexibleBox {DIV} at (0,52) size 104x104 [bgcolor=#008000] [border: (2px solid #808000)]
     RenderBlock {DIV} at (2,2) size 0x1000 [bgcolor=#000000]
diff --git a/LayoutTests/fast/flexbox/011-expected.txt b/LayoutTests/fast/flexbox/011-expected.txt
index 57db660..e1f57ac 100644
--- a/LayoutTests/fast/flexbox/011-expected.txt
+++ b/LayoutTests/fast/flexbox/011-expected.txt
@@ -13,35 +13,35 @@ layer at (0,0) size 800x156
           text run at (0,36) width 115: "browser window. "
           text run at (115,36) width 669: "The black box should get taller when you make your window wider and get shorter when you shrink your"
           text run at (0,54) width 111: "browser window."
-      RenderFlexibleBox {DIV} at (0,88) size 784x52
-        RenderFlexibleBox {DIV} at (6,6) size 40x40
+      RenderFlexibleBox {DIV} at (0,88) size 784x52 [border: (2px solid #000000)]
+        RenderFlexibleBox {DIV} at (6,6) size 40x40 [border: (2px solid #008000)]
           RenderBlock (anonymous) at (2,2) size 36x36
             RenderText {TEXT} at (0,0) size 36x18
               text run at (0,0) width 36: "Fixed"
-        RenderFlexibleBox {DIV} at (50,6) size 196x40
+        RenderFlexibleBox {DIV} at (50,6) size 196x40 [border: (2px solid #800080)]
           RenderBlock (anonymous) at (2,2) size 192x36
             RenderText {TEXT} at (0,0) size 191x36
               text run at (0,0) width 186: "This is a flexible block, and it"
               text run at (0,18) width 191: "will shrink or grow as needed."
-        RenderFlexibleBox {DIV} at (250,6) size 40x40
+        RenderFlexibleBox {DIV} at (250,6) size 40x40 [border: (2px solid #008000)]
           RenderBlock (anonymous) at (2,2) size 36x36
             RenderText {TEXT} at (0,0) size 36x18
               text run at (0,0) width 36: "Fixed"
-        RenderFlexibleBox {DIV} at (294,6) size 196x40
+        RenderFlexibleBox {DIV} at (294,6) size 196x40 [border: (2px solid #800080)]
           RenderBlock (anonymous) at (2,2) size 192x36
             RenderText {TEXT} at (0,0) size 191x36
               text run at (0,0) width 186: "This is a flexible block, and it"
               text run at (0,18) width 191: "will shrink or grow as needed."
-        RenderFlexibleBox {DIV} at (494,6) size 40x40
+        RenderFlexibleBox {DIV} at (494,6) size 40x40 [border: (2px solid #008000)]
           RenderBlock (anonymous) at (2,2) size 36x36
             RenderText {TEXT} at (0,0) size 36x18
               text run at (0,0) width 36: "Fixed"
-        RenderFlexibleBox {DIV} at (538,6) size 196x40
+        RenderFlexibleBox {DIV} at (538,6) size 196x40 [border: (2px solid #800080)]
           RenderBlock (anonymous) at (2,2) size 192x36
             RenderText {TEXT} at (0,0) size 191x36
               text run at (0,0) width 186: "This is a flexible block, and it"
               text run at (0,18) width 191: "will shrink or grow as needed."
-        RenderFlexibleBox {DIV} at (738,6) size 40x40
+        RenderFlexibleBox {DIV} at (738,6) size 40x40 [border: (2px solid #008000)]
           RenderBlock (anonymous) at (2,2) size 36x36
             RenderText {TEXT} at (0,0) size 36x18
               text run at (0,0) width 36: "Fixed"
diff --git a/LayoutTests/fast/flexbox/016-expected.txt b/LayoutTests/fast/flexbox/016-expected.txt
index 728f50d..6989488 100644
--- a/LayoutTests/fast/flexbox/016-expected.txt
+++ b/LayoutTests/fast/flexbox/016-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 812x585
             text run at (0,18) width 254: "filled with an olive-bordered green box. "
             text run at (254,18) width 499: "It should start beneath the header, end above the footer, and fill the width of the"
             text run at (0,36) width 111: "browser window."
-        RenderPartObject {IFRAME} at (0,54) size 812x513 [bgcolor=#008000]
+        RenderPartObject {IFRAME} at (0,54) size 812x513 [bgcolor=#008000] [border: (10px solid #808000)]
           layer at (0,0) size 777x493
             RenderCanvas at (0,0) size 777x493
         RenderBlock {DIV} at (0,567) size 800x18
diff --git a/LayoutTests/fast/flexbox/017-expected.txt b/LayoutTests/fast/flexbox/017-expected.txt
index a5bc6ba..a8a92d0 100644
--- a/LayoutTests/fast/flexbox/017-expected.txt
+++ b/LayoutTests/fast/flexbox/017-expected.txt
@@ -10,82 +10,82 @@ layer at (0,0) size 800x258
           text run at (0,18) width 143: "then the test has failed."
       RenderFlexibleBox {DIV} at (0,52) size 784x190
         RenderFlexibleBox {DIV} at (0,0) size 784x38
-          RenderBlock {DIV} at (4,4) size 20x30
+          RenderBlock {DIV} at (4,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "1"
-          RenderBlock {DIV} at (32,4) size 20x30
+          RenderBlock {DIV} at (32,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "2"
-          RenderBlock {DIV} at (60,4) size 20x30
+          RenderBlock {DIV} at (60,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "3"
-          RenderBlock {DIV} at (88,4) size 20x30
+          RenderBlock {DIV} at (88,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "4"
-          RenderBlock {DIV} at (116,4) size 20x30
+          RenderBlock {DIV} at (116,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "5"
         RenderFlexibleBox {DIV} at (0,38) size 784x38
-          RenderBlock {DIV} at (116,4) size 20x30
+          RenderBlock {DIV} at (116,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "5"
-          RenderBlock {DIV} at (88,4) size 20x30
+          RenderBlock {DIV} at (88,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "4"
-          RenderBlock {DIV} at (60,4) size 20x30
+          RenderBlock {DIV} at (60,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "3"
-          RenderBlock {DIV} at (32,4) size 20x30
+          RenderBlock {DIV} at (32,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "2"
-          RenderBlock {DIV} at (4,4) size 20x30
+          RenderBlock {DIV} at (4,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "1"
         RenderFlexibleBox {DIV} at (0,76) size 784x38
-          RenderBlock {DIV} at (4,4) size 20x30
+          RenderBlock {DIV} at (4,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "1"
-          RenderBlock {DIV} at (32,4) size 20x30
+          RenderBlock {DIV} at (32,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "2"
-          RenderBlock {DIV} at (60,4) size 20x30
+          RenderBlock {DIV} at (60,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "3"
-          RenderBlock {DIV} at (88,4) size 20x30
+          RenderBlock {DIV} at (88,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "4"
-          RenderBlock {DIV} at (116,4) size 20x30
+          RenderBlock {DIV} at (116,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "5"
         RenderFlexibleBox {DIV} at (0,114) size 784x38
-          RenderBlock {DIV} at (60,4) size 20x30
+          RenderBlock {DIV} at (60,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "3"
-          RenderBlock {DIV} at (4,4) size 20x30
+          RenderBlock {DIV} at (4,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "1"
-          RenderBlock {DIV} at (88,4) size 20x30
+          RenderBlock {DIV} at (88,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "4"
-          RenderBlock {DIV} at (32,4) size 20x30
+          RenderBlock {DIV} at (32,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "2"
-          RenderBlock {DIV} at (116,4) size 20x30
+          RenderBlock {DIV} at (116,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "5"
         RenderFlexibleBox {DIV} at (0,152) size 784x38
-          RenderBlock {DIV} at (60,4) size 20x30
+          RenderBlock {DIV} at (60,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "3"
-          RenderBlock {DIV} at (4,4) size 20x30
+          RenderBlock {DIV} at (4,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "1"
-          RenderBlock {DIV} at (88,4) size 20x30
+          RenderBlock {DIV} at (88,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "4"
-          RenderBlock {DIV} at (32,4) size 20x30
+          RenderBlock {DIV} at (32,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "2"
-          RenderBlock {DIV} at (116,4) size 20x30
+          RenderBlock {DIV} at (116,4) size 20x30 [border: (2px solid #000000)]
             RenderText {TEXT} at (6,6) size 8x18
               text run at (6,6) width 8: "5"
diff --git a/LayoutTests/fast/flexbox/018-expected.txt b/LayoutTests/fast/flexbox/018-expected.txt
index 026c6d0..3e43f20 100644
--- a/LayoutTests/fast/flexbox/018-expected.txt
+++ b/LayoutTests/fast/flexbox/018-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 800x426
           text run at (137,0) width 385: "x350 pixel (7 by 7) black/white checkerboard pattern below. "
           text run at (522,0) width 248: "This test is checking to see if box-pack:"
           text run at (0,18) width 123: "justify is supported."
-      RenderFlexibleBox {DIV} at (0,52) size 358x358
+      RenderFlexibleBox {DIV} at (0,52) size 358x358 [border: (4px solid #800000)]
         RenderFlexibleBox {DIV} at (4,4) size 50x350
           RenderFlexibleBox {DIV} at (0,0) size 50x50 [bgcolor=#000000]
           RenderFlexibleBox {DIV} at (0,100) size 50x50 [bgcolor=#000000]
diff --git a/LayoutTests/fast/flexbox/019-expected.txt b/LayoutTests/fast/flexbox/019-expected.txt
index 640dd3e..7e25094 100644
--- a/LayoutTests/fast/flexbox/019-expected.txt
+++ b/LayoutTests/fast/flexbox/019-expected.txt
@@ -9,7 +9,7 @@ layer at (0,0) size 800x426
           text run at (137,0) width 385: "x350 pixel (7 by 7) black/white checkerboard pattern below. "
           text run at (522,0) width 248: "This test is checking to see if box-pack:"
           text run at (0,18) width 123: "justify is supported."
-      RenderFlexibleBox {DIV} at (0,52) size 358x358
+      RenderFlexibleBox {DIV} at (0,52) size 358x358 [border: (4px solid #800000)]
         RenderFlexibleBox {DIV} at (4,4) size 350x50
           RenderFlexibleBox {DIV} at (0,0) size 50x50 [bgcolor=#000000]
           RenderFlexibleBox {DIV} at (100,0) size 50x50 [bgcolor=#000000]
diff --git a/LayoutTests/fast/flexbox/022-expected.txt b/LayoutTests/fast/flexbox/022-expected.txt
index a86cf98..4b0db62 100644
--- a/LayoutTests/fast/flexbox/022-expected.txt
+++ b/LayoutTests/fast/flexbox/022-expected.txt
@@ -13,4 +13,4 @@ layer at (0,0) size 800x168
       RenderFlexibleBox {DIV} at (0,52) size 100x100 [bgcolor=#008000]
         RenderBlock (anonymous) at (0,0) size 0x100 [bgcolor=#000000]
           RenderInline {SPAN} at (0,0) size 0x0 [bgcolor=#FF0000]
-          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#008000]
+          RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/flexbox/025-expected.txt b/LayoutTests/fast/flexbox/025-expected.txt
index aab042b..8cc0e14 100644
--- a/LayoutTests/fast/flexbox/025-expected.txt
+++ b/LayoutTests/fast/flexbox/025-expected.txt
@@ -4,6 +4,6 @@ layer at (0,0) size 800x600
   RenderFlexibleBox {HTML} at (0,0) size 800x600 [bgcolor=#FFFFFF]
     RenderFlexibleBox {BODY} at (0,0) size 800x600 [color=#FFFFFF] [bgcolor=#008000]
       RenderBlock (anonymous) at (0,0) size 450x600 [bgcolor=#000000]
-        RenderText {TEXT} at (0,0) size 450x18 [bgcolor=#008000]
+        RenderText {TEXT} at (0,0) size 450x18
           text run at (0,0) width 450: "You should see white text on a green background that fills the window."
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#008000]
+        RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/forms/001-expected.txt b/LayoutTests/fast/forms/001-expected.txt
index ff1f5f9..090e380 100644
--- a/LayoutTests/fast/forms/001-expected.txt
+++ b/LayoutTests/fast/forms/001-expected.txt
@@ -6,45 +6,45 @@ layer at (0,0) size 800x313
       RenderBlock {H1} at (0,0) size 784x37
         RenderText {TEXT} at (0,0) size 234x37
           text run at (0,0) width 234: "Min-Width Tests"
-      RenderTable {TABLE} at (0,58) size 784x24
+      RenderTable {TABLE} at (0,58) size 784x24 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x20
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 57x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 57x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderSelect {SELECT} at (3,1) size 51x18
-            RenderTableCell {TD} at (57,9) size 723x2 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (57,9) size 723x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
       RenderBlock {P} at (0,98) size 784x24
-        RenderTable {TABLE} at (0,0) size 784x24
+        RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x20
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 20x20 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 20x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderCheckBox {INPUT} at (4,4) size 12x12
-              RenderTableCell {TD} at (20,9) size 760x2 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
       RenderBlock {P} at (0,138) size 784x25
-        RenderTable {TABLE} at (0,0) size 784x25
+        RenderTable {TABLE} at (0,0) size 784x25 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x21
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 20x21 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 20x21 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderRadioButton {INPUT} at (4,4) size 12x13
-              RenderTableCell {TD} at (20,9) size 760x2 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
       RenderBlock {P} at (0,179) size 784x28
-        RenderTable {TABLE} at (0,0) size 784x28
+        RenderTable {TABLE} at (0,0) size 784x28 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x24
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 42x24 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 42x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderSubmitButton {INPUT} at (3,3) size 36x18
-              RenderTableCell {TD} at (42,11) size 738x2 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (42,11) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
       RenderBlock {P} at (0,223) size 784x66
-        RenderTable {TABLE} at (0,0) size 784x24
+        RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x20
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 42x20 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 42x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderSubmitButton {INPUT} at (3,1) size 36x18
-              RenderTableCell {TD} at (42,9) size 738x2 [r=0 c=1 rs=1 cs=1]
-        RenderTable {TABLE} at (0,24) size 784x24
+              RenderTableCell {TD} at (42,9) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+        RenderTable {TABLE} at (0,24) size 784x24 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x20
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 93x20 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 93x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderResetButton {INPUT} at (3,1) size 87x18
-              RenderTableCell {TD} at (93,9) size 687x2 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (93,9) size 687x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
         RenderBlock (anonymous) at (0,48) size 784x18
           RenderSubmitButton {INPUT} at (2,0) size 36x18
diff --git a/LayoutTests/fast/forms/002-expected.txt b/LayoutTests/fast/forms/002-expected.txt
index 274e15e..658d0ce 100644
--- a/LayoutTests/fast/forms/002-expected.txt
+++ b/LayoutTests/fast/forms/002-expected.txt
@@ -3,6 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,0) size 156x24
+      RenderBlock (floating) {DIV} at (0,0) size 156x24 [border: (2px solid #FF0000)]
         RenderImageButton {INPUT} at (2,2) size 152x20
         RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/forms/006-expected.txt b/LayoutTests/fast/forms/006-expected.txt
index 0ab1433..24f59af 100644
--- a/LayoutTests/fast/forms/006-expected.txt
+++ b/LayoutTests/fast/forms/006-expected.txt
@@ -3,8 +3,8 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x96
   RenderBlock {HTML} at (0,0) size 800x96
     RenderBody {BODY} at (8,8) size 784x80
-      RenderBlock {DIV} at (0,0) size 784x80
-        RenderFieldSet {FIELDSET} at (7,5) size 770x70
+      RenderBlock {DIV} at (0,0) size 784x80 [border: (5px solid #000000)]
+        RenderFieldSet {FIELDSET} at (7,5) size 770x70 [border: (10px groove #FF0000)]
           RenderLegend {LEGEND} at (40,0) size 123x18
             RenderText {TEXT} at (2,0) size 119x18
               text run at (2,0) width 119: "Test without forms"
diff --git a/LayoutTests/fast/forms/007-expected.txt b/LayoutTests/fast/forms/007-expected.txt
index 646e967..6c431eb 100644
--- a/LayoutTests/fast/forms/007-expected.txt
+++ b/LayoutTests/fast/forms/007-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x100
   RenderBlock {HTML} at (0,0) size 800x100
     RenderBody {BODY} at (8,8) size 784x84
-      RenderFieldSet {FIELDSET} at (2,0) size 111x80
+      RenderFieldSet {FIELDSET} at (2,0) size 111x80 [border: (2px groove #C0C0C0)]
         RenderLegend {LEGEND} at (12,0) size 87x18
           RenderText {TEXT} at (2,0) size 83x18
             text run at (2,0) width 83: "Number One"
@@ -15,7 +15,7 @@ layer at (0,0) size 800x100
             text run at (0,18) width 80: "Hello world."
       RenderText {TEXT} at (115,66) size 4x18
         text run at (115,66) width 4: " "
-      RenderFieldSet {FIELDSET} at (121,18) size 114x62
+      RenderFieldSet {FIELDSET} at (121,18) size 114x62 [border: (2px groove #C0C0C0)]
         RenderLegend {LEGEND} at (12,0) size 90x18
           RenderText {TEXT} at (2,0) size 86x18
             text run at (2,0) width 86: "Number Two"
diff --git a/LayoutTests/fast/forms/form-element-geometry-expected.txt b/LayoutTests/fast/forms/form-element-geometry-expected.txt
index de46113..fab603e 100644
--- a/LayoutTests/fast/forms/form-element-geometry-expected.txt
+++ b/LayoutTests/fast/forms/form-element-geometry-expected.txt
@@ -16,23 +16,23 @@ layer at (0,0) size 800x621
         RenderTableSection {TBODY} at (0,0) size 0x28
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 56x22
+              RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 52x18
                   RenderSubmitButton {INPUT} at (2,2) size 52x18
             RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 66x22
+              RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 62x18
                   RenderSelect {SELECT} at (2,2) size 62x18
               RenderBlock (anonymous) at (1,23) size 66x0
                 RenderInline {FONT} at (0,0) size 0x0
             RenderTableCell {TD} at (132,4) size 18x19 [r=0 c=2 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x17
+              RenderBlock {DIV} at (1,1) size 16x17 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 12x13
                   RenderRadioButton {INPUT} at (2,2) size 12x13
               RenderBlock (anonymous) at (1,18) size 16x0
                 RenderInline {FONT} at (0,0) size 0x0
             RenderTableCell {TD} at (152,5) size 18x18 [r=0 c=3 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x16
+              RenderBlock {DIV} at (1,1) size 16x16 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 12x12
                   RenderCheckBox {INPUT} at (2,2) size 12x12
               RenderBlock (anonymous) at (1,17) size 16x0
@@ -41,50 +41,50 @@ layer at (0,0) size 800x621
         RenderTableSection {TBODY} at (0,0) size 0x28
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 56x22
+              RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
                 RenderSubmitButton {INPUT} at (2,2) size 52x18
             RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 66x22
+              RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                 RenderSelect {SELECT} at (2,2) size 62x18
             RenderTableCell {TD} at (132,4) size 18x19 [r=0 c=2 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x17
+              RenderBlock {DIV} at (1,1) size 16x17 [border: (2px solid #0000FF)]
                 RenderRadioButton {INPUT} at (2,2) size 12x13
             RenderTableCell {TD} at (152,5) size 18x18 [r=0 c=3 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x16
+              RenderBlock {DIV} at (1,1) size 16x16 [border: (2px solid #0000FF)]
                 RenderCheckBox {INPUT} at (2,2) size 12x12
       RenderTable {TABLE} at (0,198) size 172x28
         RenderTableSection {TBODY} at (0,0) size 0x28
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 56x22
+              RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 52x13
                   RenderSubmitButton {INPUT} at (2,2) size 52x18
             RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 66x22
+              RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 62x13
                   RenderSelect {SELECT} at (2,2) size 62x18
             RenderTableCell {TD} at (132,4) size 18x19 [r=0 c=2 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x17
+              RenderBlock {DIV} at (1,1) size 16x17 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 12x12
                   RenderRadioButton {INPUT} at (2,2) size 12x13
             RenderTableCell {TD} at (152,5) size 18x18 [r=0 c=3 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 16x16
+              RenderBlock {DIV} at (1,1) size 16x16 [border: (2px solid #0000FF)]
                 RenderInline {FONT} at (0,0) size 12x12
                   RenderCheckBox {INPUT} at (2,2) size 12x12
       RenderTable {TABLE} at (0,226) size 555x68
         RenderTableSection {TBODY} at (0,0) size 0x68
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 84x25 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 82x23
+              RenderBlock {DIV} at (1,1) size 82x23 [border: (2px solid #0000FF)]
                 RenderLineEdit {INPUT} at (2,2) size 78x19
             RenderTableCell {TD} at (88,2) size 44x64 [r=0 c=1 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 42x62
+              RenderBlock {DIV} at (1,1) size 42x62 [border: (2px solid #0000FF)]
                 RenderSelect {SELECT} at (2,2) size 38x58
             RenderTableCell {TD} at (134,2) size 240x24 [r=0 c=2 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 238x22
+              RenderBlock {DIV} at (1,1) size 238x22 [border: (2px solid #0000FF)]
                 RenderFileButton {INPUT} at (2,2) size 234x18
             RenderTableCell {TD} at (376,2) size 177x38 [r=0 c=3 rs=1 cs=1]
-              RenderBlock {DIV} at (1,1) size 175x36
+              RenderBlock {DIV} at (1,1) size 175x36 [border: (2px solid #0000FF)]
                 RenderTextArea {TEXTAREA} at (4,4) size 167x28
       RenderBlock {H2} at (0,313) size 784x28
         RenderText {TEXT} at (0,0) size 200x28
diff --git a/LayoutTests/fast/frames/001-expected.txt b/LayoutTests/fast/frames/001-expected.txt
index c438cdf..f47c5e2 100644
--- a/LayoutTests/fast/frames/001-expected.txt
+++ b/LayoutTests/fast/frames/001-expected.txt
@@ -5,19 +5,19 @@ layer at (0,0) size 800x208
     RenderBody {BODY} at (8,8) size 784x192 [color=#FFFFFF] [bgcolor=#000000]
       RenderText {TEXT} at (0,0) size 522x18
         text run at (0,0) width 522: "The three red squares below should all look the same and be filled only with black."
-      RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+      RenderBR {BR} at (0,0) size 0x0
       RenderText {TEXT} at (0,0) size 0x0
-      RenderPartObject {IFRAME} at (0,18) size 170x170 [bgcolor=#000000]
+      RenderPartObject {IFRAME} at (0,18) size 170x170 [bgcolor=#000000] [border: (10px solid #FF0000)]
         layer at (0,0) size 85x100
           RenderCanvas at (0,0) size 85x100
       RenderText {TEXT} at (170,174) size 4x18
         text run at (170,174) width 4: " "
-      RenderPartObject {OBJECT} at (174,18) size 170x170 [bgcolor=#000000]
+      RenderPartObject {OBJECT} at (174,18) size 170x170 [bgcolor=#000000] [border: (10px solid #FF0000)]
         layer at (0,0) size 85x100
           RenderCanvas at (0,0) size 85x100
       RenderText {TEXT} at (344,174) size 4x18
         text run at (344,174) width 4: " "
-      RenderPartObject {OBJECT} at (348,18) size 170x170 [bgcolor=#000000]
+      RenderPartObject {OBJECT} at (348,18) size 170x170 [bgcolor=#000000] [border: (10px solid #FF0000)]
         layer at (0,0) size 85x100
           RenderCanvas at (0,0) size 85x100
       RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/inline-block/001-expected.txt b/LayoutTests/fast/inline-block/001-expected.txt
index e781de6..40bb2e8 100644
--- a/LayoutTests/fast/inline-block/001-expected.txt
+++ b/LayoutTests/fast/inline-block/001-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x60
   RenderBlock {HTML} at (0,0) size 800x60
     RenderBody {BODY} at (8,8) size 784x44
-      RenderBlock {P} at (0,0) size 59x40
+      RenderBlock {P} at (0,0) size 59x40 [border: (2px solid #0000FF)]
         RenderText {TEXT} at (2,2) size 55x18
           text run at (2,2) width 55: "This text"
         RenderBR {BR} at (0,0) size 0x0
@@ -11,7 +11,7 @@ layer at (0,0) size 800x60
           text run at (2,20) width 55: "This text"
       RenderText {TEXT} at (59,26) size 4x18
         text run at (59,26) width 4: " "
-      RenderBlock {P} at (63,0) size 113x40
+      RenderBlock {P} at (63,0) size 113x40 [border: (2px solid #0000FF)]
         RenderBlock {SPAN} at (2,2) size 109x36
           RenderText {TEXT} at (0,0) size 80x18
             text run at (0,0) width 80: "should all be"
@@ -20,7 +20,7 @@ layer at (0,0) size 800x60
             text run at (0,18) width 109: "should also all be"
       RenderText {TEXT} at (176,26) size 4x18
         text run at (176,26) width 4: " "
-      RenderTable {TABLE} at (180,0) size 43x40
+      RenderTable {TABLE} at (180,0) size 43x40 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x36
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 39x18 [r=0 c=0 rs=1 cs=1]
@@ -32,7 +32,7 @@ layer at (0,0) size 800x60
                 text run at (0,0) width 39: "on the"
       RenderText {TEXT} at (223,26) size 4x18
         text run at (223,26) width 4: " "
-      RenderTable {TABLE} at (227,0) size 71x40
+      RenderTable {TABLE} at (227,0) size 71x40 [border: (2px solid #0000FF)]
         RenderTableSection {TBODY} at (2,2) size 0x36
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 67x18 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/inline-block/002-expected.txt b/LayoutTests/fast/inline-block/002-expected.txt
index cfaa454..c839478 100644
--- a/LayoutTests/fast/inline-block/002-expected.txt
+++ b/LayoutTests/fast/inline-block/002-expected.txt
@@ -12,7 +12,7 @@ layer at (0,0) size 800x50
         RenderText {TEXT} at (0,-1) size 289x16
           text run at (0,-1) width 289: "The following two blocks should be identical."
 layer at (8,75) size 204x64
-  RenderBlock (positioned) {DIV} at (8,75) size 204x64 [bgcolor=#FFFF00]
+  RenderBlock (positioned) {DIV} at (8,75) size 204x64 [bgcolor=#FFFF00] [border: (2px solid #000000)]
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
     RenderText {TEXT} at (0,0) size 0x0
@@ -23,7 +23,7 @@ layer at (10,77) size 50x50
 layer at (160,77) size 50x50
   RenderBlock (positioned) {DIV} at (152,2) size 50x50 [bgcolor=#FFA500]
 layer at (8,175) size 204x64
-  RenderBlock (positioned) {DIV} at (8,175) size 204x64 [bgcolor=#FFFF00]
+  RenderBlock (positioned) {DIV} at (8,175) size 204x64 [bgcolor=#FFFF00] [border: (2px solid #000000)]
     RenderBlock (floating) {DIV} at (2,2) size 50x50 [bgcolor=#FFA500]
     RenderText {TEXT} at (0,0) size 0x0
     RenderBlock {DIV} at (152,2) size 50x50 [bgcolor=#FFA500]
diff --git a/LayoutTests/fast/inline-block/003-expected.txt b/LayoutTests/fast/inline-block/003-expected.txt
index 0553174..29678ea 100644
--- a/LayoutTests/fast/inline-block/003-expected.txt
+++ b/LayoutTests/fast/inline-block/003-expected.txt
@@ -7,10 +7,10 @@ layer at (0,0) size 800x118
         RenderText {TEXT} at (0,0) size 527x18
           text run at (0,0) width 527: "The two divs below should be on the same line, since they are display: inline-block."
       RenderBlock {CENTER} at (0,18) size 784x22
-        RenderBlock {DIV} at (88,0) size 304x22
+        RenderBlock {DIV} at (88,0) size 304x22 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (103,2) size 97x18
             text run at (103,2) width 97: "This is div one."
-        RenderBlock {DIV} at (392,0) size 304x22
+        RenderBlock {DIV} at (392,0) size 304x22 [border: (2px solid #0000FF)]
           RenderText {TEXT} at (103,2) size 98x18
             text run at (103,2) width 98: "This is div two."
         RenderText {TEXT} at (0,0) size 0x0
@@ -21,10 +21,10 @@ layer at (0,0) size 800x118
         RenderText {TEXT} at (0,0) size 0x0
         RenderText {TEXT} at (0,0) size 0x0
 layer at (8,66) size 784x22 clip at (10,68) size 780x18
-  RenderBlock {MARQUEE} at (0,18) size 784x22
+  RenderBlock {MARQUEE} at (0,18) size 784x22 [border: (2px solid #008000)]
     RenderText {TEXT} at (2,2) size 97x18
       text run at (2,2) width 97: "This is div one."
 layer at (8,88) size 784x22 clip at (10,90) size 780x18
-  RenderBlock {MARQUEE} at (0,40) size 784x22
+  RenderBlock {MARQUEE} at (0,40) size 784x22 [border: (2px solid #008000)]
     RenderText {TEXT} at (2,2) size 98x18
       text run at (2,2) width 98: "This is div two."
diff --git a/LayoutTests/fast/inline/001-expected.txt b/LayoutTests/fast/inline/001-expected.txt
index aea67f8..0f54108 100644
--- a/LayoutTests/fast/inline/001-expected.txt
+++ b/LayoutTests/fast/inline/001-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x74
   RenderBlock {HTML} at (0,0) size 800x74
     RenderBody {BODY} at (8,8) size 784x58
-      RenderBlock {DIV} at (0,0) size 784x58
+      RenderBlock {DIV} at (0,0) size 784x58 [border: (2px solid #FF0000)]
         RenderText {TEXT} at (2,38) size 158x18
           text run at (2,38) width 158: "This image has a margin "
         RenderImage {IMG} at (210,2) size 50x50 [bgcolor=#008000]
diff --git a/LayoutTests/fast/invalid/008-expected.txt b/LayoutTests/fast/invalid/008-expected.txt
index 4adada0..bb7497e 100644
--- a/LayoutTests/fast/invalid/008-expected.txt
+++ b/LayoutTests/fast/invalid/008-expected.txt
@@ -7,6 +7,6 @@ layer at (0,0) size 800x41
         RenderText {TEXT} at (0,0) size 32x18
           text run at (0,0) width 32: "Test"
 layer at (250,50) size 243x62
-  RenderBlock (positioned) {DIV} at (250,50) size 243x62
+  RenderBlock (positioned) {DIV} at (250,50) size 243x62 [border: (2px solid #008000)]
     RenderText {TEXT} at (22,22) size 199x18
       text run at (22,22) width 199: "I should be absolute positioned."
diff --git a/LayoutTests/fast/invalid/014-expected.txt b/LayoutTests/fast/invalid/014-expected.txt
index 1e4adc8..4fd1395 100644
--- a/LayoutTests/fast/invalid/014-expected.txt
+++ b/LayoutTests/fast/invalid/014-expected.txt
@@ -14,9 +14,9 @@ layer at (0,0) size 800x64
         RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,56) size 784x0
 layer at (470,45) size 47x50
-  RenderBlock (positioned) {H2} at (470,45) size 47x50
+  RenderBlock (positioned) {H2} at (470,45) size 47x50 [border: (2px solid #008000)]
     RenderBlock {FORM} at (2,2) size 43x22
       RenderSelect {SELECT} at (2,2) size 39x18
       RenderText {TEXT} at (0,0) size 0x0
 layer at (470,42) size 4x4
-  RenderBlock (positioned) {P} at (470,42) size 4x4
+  RenderBlock (positioned) {P} at (470,42) size 4x4 [border: (2px solid #008000)]
diff --git a/LayoutTests/fast/invalid/016-expected.txt b/LayoutTests/fast/invalid/016-expected.txt
index 56c1386..9352ccd 100644
--- a/LayoutTests/fast/invalid/016-expected.txt
+++ b/LayoutTests/fast/invalid/016-expected.txt
@@ -9,5 +9,5 @@ layer at (0,0) size 800x162
           text run at (154,0) width 294: "x100 green squares with black borders below. "
           text run at (448,0) width 286: "If you see only one square, the test has failed."
       RenderBlock {P} at (0,34) size 784x104
-        RenderImage {IMG} at (0,0) size 104x104 [bgcolor=#008000]
-        RenderImage {IMG} at (104,0) size 104x104 [bgcolor=#008000]
+        RenderImage {IMG} at (0,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
+        RenderImage {IMG} at (104,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
diff --git a/LayoutTests/fast/lists/001-expected.txt b/LayoutTests/fast/lists/001-expected.txt
index 0009aaa..a750da9 100644
--- a/LayoutTests/fast/lists/001-expected.txt
+++ b/LayoutTests/fast/lists/001-expected.txt
@@ -3,20 +3,20 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x268
   RenderBlock {HTML} at (0,0) size 800x268
     RenderBody {BODY} at (8,8) size 784x244
-      RenderBlock {DIV} at (0,0) size 784x106
-        RenderBlock (floating) {DIV} at (11,11) size 122x122 [bgcolor=#FFA500]
+      RenderBlock {DIV} at (0,0) size 784x106 [border: (3px solid #FFA500)]
+        RenderBlock (floating) {DIV} at (11,11) size 122x122 [bgcolor=#FFA500] [border: (3px solid #FFA500)]
         RenderBlock (anonymous) at (11,11) size 762x0
           RenderText {TEXT} at (0,0) size 0x0
-        RenderListItem {DIV} at (11,11) size 762x84
-          RenderListItem {DIV} at (11,11) size 740x62
-            RenderListItem {DIV} at (11,11) size 718x40
+        RenderListItem {DIV} at (11,11) size 762x84 [border: (3px solid #FFA500)]
+          RenderListItem {DIV} at (11,11) size 740x62 [border: (3px solid #FFA500)]
+            RenderListItem {DIV} at (11,11) size 718x40 [border: (3px solid #FFA500)]
               RenderListMarker at (132,11) size 0x14
               RenderListMarker at (132,11) size 0x14
               RenderListMarker at (132,11) size 0x14
               RenderText {TEXT} at (132,11) size 86x18
                 text run at (132,11) width 86: "List item text."
       RenderBlock {UL} at (0,122) size 784x122
-        RenderListItem {LI} at (40,0) size 744x122
+        RenderListItem {LI} at (40,0) size 744x122 [border: (2px solid #FF0000)]
           RenderListMarker at (201,52) size 0x14
           RenderText {TEXT} at (201,52) size 491x18
             text run at (201,52) width 491: "Foo fofodfosjlkdf dslkdjlk asdlksjald djklsd klasjdkas sdajd lsadjkl asjdlksajdk"
diff --git a/LayoutTests/fast/lists/004-expected.txt b/LayoutTests/fast/lists/004-expected.txt
index acbd920..829b0de 100644
--- a/LayoutTests/fast/lists/004-expected.txt
+++ b/LayoutTests/fast/lists/004-expected.txt
@@ -3,13 +3,13 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x40
   RenderBlock {HTML} at (0,0) size 800x40
     RenderBody {BODY} at (8,8) size 784x24
-      RenderTable {TABLE} at (0,0) size 53x24
+      RenderTable {TABLE} at (0,0) size 53x24 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x20
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,2) size 16x16 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,2) size 16x16 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderListItem {LI} at (1,1) size 14x14
                 RenderListMarker at (0,0) size 14x14
                 RenderImage {IMG} at (14,14) size 0x0
-            RenderTableCell {TD} at (16,0) size 33x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (16,0) size 33x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 31x18
                 text run at (1,1) width 31: "hello"
diff --git a/LayoutTests/fast/lists/007-expected.txt b/LayoutTests/fast/lists/007-expected.txt
index ac058ae..6502398 100644
--- a/LayoutTests/fast/lists/007-expected.txt
+++ b/LayoutTests/fast/lists/007-expected.txt
@@ -3,12 +3,12 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x96
   RenderBlock {HTML} at (0,0) size 800x96
     RenderBody {BODY} at (8,8) size 784x72
-      RenderBlock {UL} at (0,0) size 784x72 [bgcolor=#808080]
+      RenderBlock {UL} at (0,0) size 784x72 [bgcolor=#808080] [border: (25px solid #008000)]
         RenderListItem {LI} at (50,0) size 734x18 [bgcolor=#000000]
           RenderListMarker at (0,0) size 0x14
           RenderText {TEXT} at (0,0) size 715x18
             text run at (0,0) width 715: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
-        RenderListItem {LI} at (50,18) size 734x54 [bgcolor=#FFFFFF]
+        RenderListItem {LI} at (50,18) size 734x54 [bgcolor=#FFFFFF] [border: (25px solid #008000)]
           RenderListMarker at (50,0) size 0x14 [bgcolor=#000000]
           RenderText {TEXT} at (50,0) size 675x54
             text run at (50,0) width 604: "Another list item might not be such a bad idea, either, considering that such things do need to be"
diff --git a/LayoutTests/fast/overflow/001-expected.txt b/LayoutTests/fast/overflow/001-expected.txt
index 01459b0..b1e5de8 100644
--- a/LayoutTests/fast/overflow/001-expected.txt
+++ b/LayoutTests/fast/overflow/001-expected.txt
@@ -14,7 +14,7 @@ layer at (0,0) size 800x256
           text run at (362,0) width 407: "Will this happen? I'm really not sure. This is a test of some of the"
           text run at (76,18) width 443: "strange behavior you will find when using overflow auto or scroll, etc."
 layer at (84,108) size 708x104 clip at (86,110) size 704x100
-  RenderBlock {DIV} at (76,100) size 708x104
+  RenderBlock {DIV} at (76,100) size 708x104 [border: (2px solid #000000)]
     RenderText {TEXT} at (2,2) size 143x18
       text run at (2,2) width 143: "Does the float intrude?"
     RenderBlock (floating) {SPAN} at (606,2) size 100x400 [bgcolor=#800080]
diff --git a/LayoutTests/fast/overflow/002-expected.txt b/LayoutTests/fast/overflow/002-expected.txt
index 2686526..78bf971 100644
--- a/LayoutTests/fast/overflow/002-expected.txt
+++ b/LayoutTests/fast/overflow/002-expected.txt
@@ -3,10 +3,10 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x328
   RenderBlock {HTML} at (0,0) size 800x328
     RenderBody {BODY} at (8,8) size 784x312
-      RenderTable {TABLE} at (0,0) size 212x312
+      RenderTable {TABLE} at (0,0) size 212x312 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x308
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 204x304 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 204x304 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
 layer at (14,14) size 200x300 clip at (14,14) size 185x300
   RenderBlock {DIV} at (2,2) size 200x300
     RenderText {TEXT} at (0,0) size 137x18
diff --git a/LayoutTests/fast/overflow/004-expected.txt b/LayoutTests/fast/overflow/004-expected.txt
index 07f2a92..a7c155a 100644
--- a/LayoutTests/fast/overflow/004-expected.txt
+++ b/LayoutTests/fast/overflow/004-expected.txt
@@ -6,8 +6,8 @@ layer at (0,0) size 800x536
       RenderBlock (anonymous) at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 704x18
           text run at (0,0) width 704: "The two green blocks below should be identical and should each take up half the width of the browser window."
-      RenderBlock (floating) {DIV} at (390,18) size 394x502 [bgcolor=#008000]
+      RenderBlock (floating) {DIV} at (390,18) size 394x502 [bgcolor=#008000] [border: (1px solid #000000)]
       RenderBlock (anonymous) at (0,18) size 784x0
         RenderText {TEXT} at (0,0) size 0x0
 layer at (8,26) size 394x502 clip at (9,27) size 392x500
-  RenderBlock {DIV} at (0,18) size 394x502 [bgcolor=#008000]
+  RenderBlock {DIV} at (0,18) size 394x502 [bgcolor=#008000] [border: (1px solid #000000)]
diff --git a/LayoutTests/fast/replaced/005-expected.txt b/LayoutTests/fast/replaced/005-expected.txt
index 5679a2a..26708b6 100644
--- a/LayoutTests/fast/replaced/005-expected.txt
+++ b/LayoutTests/fast/replaced/005-expected.txt
@@ -3,23 +3,23 @@ layer at (0,0) size 800x680
 layer at (0,0) size 800x680
   RenderBlock {HTML} at (0,0) size 800x680
     RenderBody {BODY} at (8,8) size 784x656
-      RenderTable {TABLE} at (0,0) size 784x214
+      RenderTable {TABLE} at (0,0) size 784x214 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x210
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 202x210 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 202x210 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderImage {IMG} at (1,1) size 100x100 [bgcolor=#008000]
               RenderImage {IMG} at (101,1) size 100x100 [bgcolor=#008000]
               RenderBR {BR} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 0x0
               RenderImage {IMG} at (1,105) size 100x100 [bgcolor=#008000]
               RenderImage {IMG} at (101,105) size 100x100 [bgcolor=#008000]
-            RenderTableCell {TD} at (202,95) size 578x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (202,95) size 578x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 25x18
                 text run at (1,1) width 25: "Foo"
-      RenderTable {TABLE} at (0,214) size 784x214
+      RenderTable {TABLE} at (0,214) size 784x214 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x210
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 202x210 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 202x210 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderInline {SPAN} at (0,0) size 200x18
                 RenderImage {IMG} at (1,1) size 100x100 [bgcolor=#008000]
                 RenderImage {IMG} at (101,1) size 100x100 [bgcolor=#008000]
@@ -27,10 +27,10 @@ layer at (0,0) size 800x680
               RenderText {TEXT} at (0,0) size 0x0
               RenderImage {IMG} at (1,105) size 100x100 [bgcolor=#008000]
               RenderImage {IMG} at (101,105) size 100x100 [bgcolor=#008000]
-            RenderTableCell {TD} at (202,95) size 578x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (202,95) size 578x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 25x18
                 text run at (1,1) width 25: "Foo"
-      RenderBlock {P} at (0,444) size 784x212
+      RenderBlock {P} at (0,444) size 784x212 [border: (2px solid #0000FF)]
         RenderImage {IMG} at (2,2) size 100x100 [bgcolor=#008000]
         RenderImage {IMG} at (102,2) size 100x100 [bgcolor=#008000]
         RenderBR {BR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/replaced/006-expected.txt b/LayoutTests/fast/replaced/006-expected.txt
index 9beda5b..82de1e8 100644
--- a/LayoutTests/fast/replaced/006-expected.txt
+++ b/LayoutTests/fast/replaced/006-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,0) size 210x108
+      RenderBlock (floating) {DIV} at (0,0) size 210x108 [border: (2px solid #0000FF)]
         RenderInline {SPAN} at (0,0) size 206x18
           RenderText {TEXT} at (0,0) size 0x0
           RenderImage {IMG} at (2,2) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/replaced/008-expected.txt b/LayoutTests/fast/replaced/008-expected.txt
index a7ca43b..6bb5ea3 100644
--- a/LayoutTests/fast/replaced/008-expected.txt
+++ b/LayoutTests/fast/replaced/008-expected.txt
@@ -3,6 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,0) size 20x20
+      RenderBlock (floating) {DIV} at (0,0) size 20x20 [border: (2px solid #FF0000)]
         RenderImage {IMG} at (2,2) size 16x16
       RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/selectors/009-expected.txt b/LayoutTests/fast/selectors/009-expected.txt
index acf2784..d8a2a4c 100644
--- a/LayoutTests/fast/selectors/009-expected.txt
+++ b/LayoutTests/fast/selectors/009-expected.txt
@@ -6,6 +6,6 @@ layer at (0,0) size 800x68
       RenderBlock {P} at (0,0) size 784x36 [bgcolor=#00FF00]
         RenderText {TEXT} at (0,0) size 304x18
           text run at (0,0) width 304: "This paragraph should have a green background"
-        RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+        RenderBR {BR} at (0,0) size 0x0
         RenderText {TEXT} at (0,18) size 266x18
           text run at (0,18) width 266: "because its title attribute begins with \"foo\""
diff --git a/LayoutTests/fast/selectors/014-expected.txt b/LayoutTests/fast/selectors/014-expected.txt
index 4e4330d..b80c1de 100644
--- a/LayoutTests/fast/selectors/014-expected.txt
+++ b/LayoutTests/fast/selectors/014-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x92
   RenderBlock {HTML} at (0,0) size 800x92
     RenderBody {BODY} at (8,16) size 784x60
-      RenderBlock {P} at (0,0) size 784x60 [bgcolor=#FFFFFF]
+      RenderBlock {P} at (0,0) size 784x60 [bgcolor=#FFFFFF] [border: (5px solid #00FF00)]
         RenderText {TEXT} at (21,21) size 733x18
           text run at (21,21) width 443: "This paragraph should have white background and a green thick solid "
           text run at (464,21) width 290: "border because it carries both classes t1 and t2"
diff --git a/LayoutTests/fast/selectors/032-expected.txt b/LayoutTests/fast/selectors/032-expected.txt
index d9be9d5..4a7a612 100644
--- a/LayoutTests/fast/selectors/032-expected.txt
+++ b/LayoutTests/fast/selectors/032-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (330,0) size 123x76
+        RenderTable {TABLE} at (330,0) size 123x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,2) size 24x22 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,2) size 24x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.2"
-              RenderTableCell {TD} at (95,2) size 24x22 [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,2) size 24x22 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,26) size 24x22 [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,26) size 24x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.2"
-              RenderTableCell {TD} at (95,26) size 24x22 [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,26) size 24x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,50) size 24x22 [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,50) size 24x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.2"
-              RenderTableCell {TD} at (95,50) size 24x22 [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,50) size 24x22 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.3"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/033-expected.txt b/LayoutTests/fast/selectors/033-expected.txt
index f179ee0..d1d72bb 100644
--- a/LayoutTests/fast/selectors/033-expected.txt
+++ b/LayoutTests/fast/selectors/033-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (330,0) size 123x76
+        RenderTable {TABLE} at (330,0) size 123x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 24x22 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 24x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.1"
-              RenderTableCell {TD} at (28,2) size 24x22 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,2) size 24x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.2"
-              RenderTableCell {TD} at (54,2) size 65x22 [bgcolor=#00FF00] [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (54,2) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 24x22 [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 24x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.1"
-              RenderTableCell {TD} at (28,26) size 24x22 [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,26) size 24x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.2"
-              RenderTableCell {TD} at (54,26) size 65x22 [bgcolor=#00FF00] [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (54,26) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 24x22 [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 24x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.1"
-              RenderTableCell {TD} at (28,50) size 24x22 [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,50) size 24x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.2"
-              RenderTableCell {TD} at (54,50) size 65x22 [bgcolor=#00FF00] [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (54,50) size 65x22 [bgcolor=#00FF00] [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/039-expected.txt b/LayoutTests/fast/selectors/039-expected.txt
index 567e93f..865e5b8 100644
--- a/LayoutTests/fast/selectors/039-expected.txt
+++ b/LayoutTests/fast/selectors/039-expected.txt
@@ -5,7 +5,7 @@ layer at (0,0) size 800x64
     RenderBody {BODY} at (8,16) size 784x32
       RenderBlock {P} at (0,0) size 784x32
         RenderInline (anonymous) at (0,0) size 17x32 [bgcolor=#00FF00]
-          RenderText {TEXT} at (0,0) size 17x32 [bgcolor=#000000]
+          RenderText {TEXT} at (0,0) size 17x32
             text run at (0,0) width 17: "T"
         RenderText {TEXT} at (17,11) size 481x18
           text run at (17,11) width 331: "his very long paragraph should have a big first letter "
diff --git a/LayoutTests/fast/selectors/039b-expected.txt b/LayoutTests/fast/selectors/039b-expected.txt
index 567e93f..865e5b8 100644
--- a/LayoutTests/fast/selectors/039b-expected.txt
+++ b/LayoutTests/fast/selectors/039b-expected.txt
@@ -5,7 +5,7 @@ layer at (0,0) size 800x64
     RenderBody {BODY} at (8,16) size 784x32
       RenderBlock {P} at (0,0) size 784x32
         RenderInline (anonymous) at (0,0) size 17x32 [bgcolor=#00FF00]
-          RenderText {TEXT} at (0,0) size 17x32 [bgcolor=#000000]
+          RenderText {TEXT} at (0,0) size 17x32
             text run at (0,0) width 17: "T"
         RenderText {TEXT} at (17,11) size 481x18
           text run at (17,11) width 331: "his very long paragraph should have a big first letter "
diff --git a/LayoutTests/fast/selectors/064-expected.txt b/LayoutTests/fast/selectors/064-expected.txt
index b08d41a..ac95c86 100644
--- a/LayoutTests/fast/selectors/064-expected.txt
+++ b/LayoutTests/fast/selectors/064-expected.txt
@@ -10,7 +10,7 @@ layer at (0,0) size 800x96
               text run at (0,0) width 279: "This text should turn green while it is active."
           RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {P} at (0,34) size 784x30 [color=#00FF00]
-          RenderBlock {BUTTON} at (0,0) size 287x26 [color=#000000] [bgcolor=#C0C0C0]
+          RenderBlock {BUTTON} at (0,0) size 287x26 [color=#000000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
             RenderText {TEXT} at (4,4) size 279x18
               text run at (4,4) width 279: "This text should turn green while it is active."
           RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/selectors/077-expected.txt b/LayoutTests/fast/selectors/077-expected.txt
index 3bd1caa..93a285b 100644
--- a/LayoutTests/fast/selectors/077-expected.txt
+++ b/LayoutTests/fast/selectors/077-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (310,0) size 164x76
+        RenderTable {TABLE} at (310,0) size 164x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 24x22 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 24x22 [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.1"
-              RenderTableCell {TD} at (28,2) size 65x22 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,2) size 65x22 [bgcolor=#00FF00] [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 24x22 [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 24x22 [border: (1px solid #000000)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.1"
-              RenderTableCell {TD} at (28,26) size 65x22 [bgcolor=#00FF00] [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,26) size 65x22 [bgcolor=#00FF00] [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 24x22 [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 24x22 [border: (1px solid #000000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.1"
-              RenderTableCell {TD} at (28,50) size 65x22 [bgcolor=#00FF00] [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,50) size 65x22 [bgcolor=#00FF00] [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/077b-expected.txt b/LayoutTests/fast/selectors/077b-expected.txt
index 3bd1caa..93a285b 100644
--- a/LayoutTests/fast/selectors/077b-expected.txt
+++ b/LayoutTests/fast/selectors/077b-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (310,0) size 164x76
+        RenderTable {TABLE} at (310,0) size 164x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 24x22 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 24x22 [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.1"
-              RenderTableCell {TD} at (28,2) size 65x22 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,2) size 65x22 [bgcolor=#00FF00] [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 24x22 [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 24x22 [border: (1px solid #000000)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.1"
-              RenderTableCell {TD} at (28,26) size 65x22 [bgcolor=#00FF00] [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,26) size 65x22 [bgcolor=#00FF00] [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 24x22 [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 24x22 [border: (1px solid #000000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.1"
-              RenderTableCell {TD} at (28,50) size 65x22 [bgcolor=#00FF00] [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (28,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (95,50) size 65x22 [bgcolor=#00FF00] [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (95,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/078-expected.txt b/LayoutTests/fast/selectors/078-expected.txt
index 15f6fe7..59f688c 100644
--- a/LayoutTests/fast/selectors/078-expected.txt
+++ b/LayoutTests/fast/selectors/078-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (310,0) size 164x76
+        RenderTable {TABLE} at (310,0) size 164x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,2) size 65x22 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,2) size 24x22 [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,2) size 24x22 [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,26) size 65x22 [bgcolor=#00FF00] [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,26) size 24x22 [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,26) size 24x22 [border: (1px solid #000000)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,50) size 65x22 [bgcolor=#00FF00] [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,50) size 24x22 [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,50) size 24x22 [border: (1px solid #000000)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.3"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/078b-expected.txt b/LayoutTests/fast/selectors/078b-expected.txt
index 15f6fe7..59f688c 100644
--- a/LayoutTests/fast/selectors/078b-expected.txt
+++ b/LayoutTests/fast/selectors/078b-expected.txt
@@ -4,36 +4,36 @@ layer at (0,0) size 800x134
   RenderBlock {HTML} at (0,0) size 800x134
     RenderBody {BODY} at (8,8) size 784x110
       RenderBlock {DIV} at (0,0) size 784x76
-        RenderTable {TABLE} at (310,0) size 164x76
+        RenderTable {TABLE} at (310,0) size 164x76 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x74
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,2) size 65x22 [bgcolor=#00FF00] [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,2) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,2) size 24x22 [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,2) size 24x22 [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "1.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,26) size 65x22 [bgcolor=#00FF00] [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,26) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,26) size 24x22 [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,26) size 24x22 [border: (1px solid #000000)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "2.3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (69,50) size 65x22 [bgcolor=#00FF00] [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (69,50) size 65x22 [bgcolor=#00FF00] [border: (1px solid #000000)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 61x18
                   text run at (2,2) width 61: "green cell"
-              RenderTableCell {TD} at (136,50) size 24x22 [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (136,50) size 24x22 [border: (1px solid #000000)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 20x18
                   text run at (2,2) width 20: "3.3"
       RenderBlock {P} at (0,92) size 784x18
diff --git a/LayoutTests/fast/selectors/166a-expected.txt b/LayoutTests/fast/selectors/166a-expected.txt
index 1d21a2d..a787106 100644
--- a/LayoutTests/fast/selectors/166a-expected.txt
+++ b/LayoutTests/fast/selectors/166a-expected.txt
@@ -5,7 +5,7 @@ layer at (0,0) size 800x50
     RenderBody {BODY} at (8,16) size 784x18
       RenderBlock {P} at (0,0) size 784x18
         RenderInline (anonymous) at (0,0) size 10x18 [bgcolor=#00FF00]
-          RenderText {TEXT} at (0,0) size 10x18 [bgcolor=#000000]
+          RenderText {TEXT} at (0,0) size 10x18
             text run at (0,0) width 10: "T"
         RenderText {TEXT} at (10,0) size 401x18
           text run at (10,0) width 401: "he first letter of this paragraph should have a green background."
diff --git a/LayoutTests/fast/table/003-expected.txt b/LayoutTests/fast/table/003-expected.txt
index c1a9e93..56311e4 100644
--- a/LayoutTests/fast/table/003-expected.txt
+++ b/LayoutTests/fast/table/003-expected.txt
@@ -15,26 +15,26 @@ layer at (0,0) size 800x499
             RenderTableCell {TD} at (2,29) size 780x20 [bgcolor=#FF0000] [r=1 c=0 rs=1 cs=2]
               RenderText {TEXT} at (1,1) size 253x18
                 text run at (1,1) width 253: "Alongwordtogiveyouanicebigminwidth."
-      RenderTable {TABLE} at (0,51) size 100x104 [bgcolor=#FF0000]
+      RenderTable {TABLE} at (0,51) size 100x104 [bgcolor=#FF0000] [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x100 [bgcolor=#000000]
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,48) size 92x4 [r=0 c=0 rs=1 cs=1]
-      RenderTable {TABLE} at (0,155) size 183x124
+            RenderTableCell {TD} at (2,48) size 92x4 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+      RenderTable {TABLE} at (0,155) size 183x124 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x120
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 175x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 175x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 31x18
                 text run at (2,2) width 31: "hello"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,26) size 175x22 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,26) size 175x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 67x18
                 text run at (2,2) width 67: "more hello"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,50) size 175x22 [r=2 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,50) size 175x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 37x18
                 text run at (2,2) width 37: "world"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,74) size 175x44 [r=3 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,74) size 175x44 [border: (1px inset #808080)] [r=3 c=0 rs=1 cs=1]
               RenderTextArea {TEXTAREA} at (4,2) size 167x40
       RenderTable {TABLE} at (0,279) size 106x78
         RenderTableSection {TBODY} at (0,0) size 0x78
diff --git a/LayoutTests/fast/table/004-expected.txt b/LayoutTests/fast/table/004-expected.txt
index a586637..3fa5f81 100644
--- a/LayoutTests/fast/table/004-expected.txt
+++ b/LayoutTests/fast/table/004-expected.txt
@@ -3,13 +3,13 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x244
   RenderBlock {HTML} at (0,0) size 800x244
     RenderBody {BODY} at (8,8) size 784x228
-      RenderTable {TABLE} at (0,0) size 308x228
+      RenderTable {TABLE} at (0,0) size 308x228 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x224
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 237x220 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 237x220 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (101,101) size 35x18
                 text run at (101,101) width 35: "Hello"
-            RenderTableCell {TD} at (241,102) size 61x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (241,102) size 61x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 59x18
                 text run at (1,1) width 59: "Goodbye"
       RenderBlock {DIV} at (0,228) size 784x0
diff --git a/LayoutTests/fast/table/005-expected.txt b/LayoutTests/fast/table/005-expected.txt
index b989c12..f90c7b1 100644
--- a/LayoutTests/fast/table/005-expected.txt
+++ b/LayoutTests/fast/table/005-expected.txt
@@ -29,7 +29,7 @@ layer at (0,0) size 800x106
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (131,27) size 280x18 [bgcolor=#800080] [r=1 c=2 rs=2 cs=1]
               RenderImage {IMG} at (0,0) size 280x0 [bgcolor=#000000]
-              RenderBR {BR} at (0,0) size 0x0 [bgcolor=#000000]
+              RenderBR {BR} at (0,0) size 0x0
               RenderText {TEXT} at (0,0) size 8x18
                 text run at (0,0) width 8: "3"
             RenderTableCell {TD} at (411,27) size 9x18 [bgcolor=#0000FF] [r=1 c=3 rs=2 cs=1]
diff --git a/LayoutTests/fast/table/006-expected.txt b/LayoutTests/fast/table/006-expected.txt
index 3754d5a..b16d3f8 100644
--- a/LayoutTests/fast/table/006-expected.txt
+++ b/LayoutTests/fast/table/006-expected.txt
@@ -3,9 +3,9 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x240
   RenderBlock {HTML} at (0,0) size 800x240
     RenderBody {BODY} at (8,8) size 784x224
-      RenderTable {TABLE} at (0,0) size 231x224
+      RenderTable {TABLE} at (0,0) size 231x224 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x220
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 227x220 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 227x220 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (101,101) size 25x18
                 text run at (101,101) width 25: "Foo"
diff --git a/LayoutTests/fast/table/007-expected.txt b/LayoutTests/fast/table/007-expected.txt
index 692cd8b..c817c39 100644
--- a/LayoutTests/fast/table/007-expected.txt
+++ b/LayoutTests/fast/table/007-expected.txt
@@ -3,24 +3,24 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x106
   RenderBlock {HTML} at (0,0) size 800x106
     RenderBody {BODY} at (8,8) size 784x90
-      RenderTable {TABLE} at (0,0) size 524x90
+      RenderTable {TABLE} at (0,0) size 524x90 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x88
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 27x3 [r=0 c=0 rs=3 cs=1]
+            RenderTableCell {TD} at (0,0) size 27x3 [border: (1px inset #808080)] [r=0 c=0 rs=3 cs=1]
               RenderImage {IMG} at (1,1) size 25x1
-            RenderTableCell {TD} at (27,0) size 495x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (27,0) size 495x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 21x18
                 text run at (1,1) width 21: "foo"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (27,48) size 495x20 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (27,48) size 495x20 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               RenderBlock {DIV} at (1,1) size 493x18
                 RenderText {TEXT} at (12,0) size 432x18
                   text run at (12,0) width 432: "Affordable, high-quality business services with unparalleled support."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (27,68) size 495x20 [r=2 c=1 rs=2 cs=1]
+            RenderTableCell {TD} at (27,68) size 495x20 [border: (1px inset #808080)] [r=2 c=1 rs=2 cs=1]
               RenderText {TEXT} at (1,1) size 416x18
                 text run at (1,1) width 416: "Wireless Services\x{2014}Take the Net with you when you\x{2019}re on the go"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,68) size 522x20 [r=3 c=0 rs=1 cs=2]
+            RenderTableCell {TD} at (0,68) size 522x20 [border: (1px inset #808080)] [r=3 c=0 rs=1 cs=2]
               RenderText {TEXT} at (1,1) size 24x18
                 text run at (1,1) width 24: "goo"
diff --git a/LayoutTests/fast/table/008-expected.txt b/LayoutTests/fast/table/008-expected.txt
index 5204aa5..48e0c79 100644
--- a/LayoutTests/fast/table/008-expected.txt
+++ b/LayoutTests/fast/table/008-expected.txt
@@ -7,5 +7,5 @@ layer at (0,0) size 800x154
         RenderTableSection {TBODY} at (0,0) size 0x138
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 140x138 [r=0 c=0 rs=1 cs=1]
-              RenderImage {IMG} at (0,0) size 129x104
-              RenderImage {IMG} at (0,104) size 129x34
+              RenderImage {IMG} at (0,0) size 129x104 [border: (5px solid #000000)]
+              RenderImage {IMG} at (0,104) size 129x34 [border: (5px solid #000000)]
diff --git a/LayoutTests/fast/table/009-expected.txt b/LayoutTests/fast/table/009-expected.txt
index c37d374..28b7004 100644
--- a/LayoutTests/fast/table/009-expected.txt
+++ b/LayoutTests/fast/table/009-expected.txt
@@ -4,22 +4,22 @@ layer at (0,0) size 800x238
   RenderBlock {HTML} at (0,0) size 800x238
     RenderBody {BODY} at (0,0) size 800x222 [bgcolor=#FFFFFF]
       RenderBlock {CENTER} at (0,0) size 800x222 [bgcolor=#000000]
-        RenderTable {TABLE} at (0,0) size 800x222 [bgcolor=#CCCCCC]
+        RenderTable {TABLE} at (0,0) size 800x222 [bgcolor=#CCCCCC] [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x220 [bgcolor=#000000]
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 798x220 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (82,1) size 634x54
-                  RenderTable {TABLE} at (2,2) size 630x216 [bgcolor=#CCCCCC]
+              RenderTableCell {TD} at (0,0) size 798x220 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (82,1) size 634x54 [border: (2px solid #FF0000)]
+                  RenderTable {TABLE} at (2,2) size 630x216 [bgcolor=#CCCCCC] [border: (2px outset #808080)]
                     RenderTableSection {TBODY} at (2,2) size 0x212 [bgcolor=#000000]
                       RenderTableRow {TR} at (0,0) size 0x0
-                        RenderTableCell {TD} at (15,15) size 596x182 [r=0 c=0 rs=1 cs=1]
+                        RenderTableCell {TD} at (15,15) size 596x182 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                           RenderTable {TABLE} at (249,1) size 97x180 [bgcolor=#CCCCCC]
                             RenderTableSection {TBODY} at (0,0) size 0x180 [bgcolor=#000000]
                               RenderTableRow {TR} at (0,0) size 0x0
                                 RenderTableCell {TD} at (0,0) size 97x180 [r=0 c=0 rs=1 cs=1]
                                   RenderImage {IMG} at (0,0) size 97x180
       RenderBlock {P} at (0,238) size 800x0 [bgcolor=#000000]
-      RenderBlock (floating) {DIV} at (0,238) size 104x54 [bgcolor=#000000]
+      RenderBlock (floating) {DIV} at (0,238) size 104x54 [bgcolor=#000000] [border: (2px solid #FF0000)]
         RenderText {TEXT} at (2,2) size 82x54
           text run at (2,2) width 82: "Here is some"
           text run at (2,20) width 31: "text. "
diff --git a/LayoutTests/fast/table/015-expected.txt b/LayoutTests/fast/table/015-expected.txt
index 6dc4c66..93d0266 100644
--- a/LayoutTests/fast/table/015-expected.txt
+++ b/LayoutTests/fast/table/015-expected.txt
@@ -3,13 +3,13 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x92
   RenderBlock {HTML} at (0,0) size 800x92
     RenderBody {BODY} at (8,8) size 784x76
-      RenderTable {TABLE} at (0,0) size 47x30
+      RenderTable {TABLE} at (0,0) size 47x30 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x24
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 37x20 [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 35x18
                 text run at (1,1) width 35: "Hello"
-      RenderTable {TABLE} at (0,46) size 47x30
+      RenderTable {TABLE} at (0,46) size 47x30 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x24
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 37x20 [r=0 c=0 rs=1 cs=1]
diff --git a/LayoutTests/fast/table/017-expected.txt b/LayoutTests/fast/table/017-expected.txt
index d443993..9b82005 100644
--- a/LayoutTests/fast/table/017-expected.txt
+++ b/LayoutTests/fast/table/017-expected.txt
@@ -3,10 +3,10 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x68
   RenderBlock {HTML} at (0,0) size 800x68
     RenderBody {BODY} at (8,8) size 784x52
-      RenderTable {TABLE} at (0,0) size 744x52
+      RenderTable {TABLE} at (0,0) size 744x52 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x50
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 237x46 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 237x46 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderTable {TABLE} at (2,2) size 233x42
                 RenderTableSection {TBODY} at (0,0) size 0x42
                   RenderTableRow {TR} at (0,0) size 0x0
@@ -14,7 +14,7 @@ layer at (0,0) size 800x68
                       RenderText {TEXT} at (1,1) size 223x36
                         text run at (1,1) width 223: "This is the first column. It has some"
                         text run at (1,19) width 55: "text in it."
-            RenderTableCell {TD} at (241,2) size 499x46 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (241,2) size 499x46 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (2,2) size 495x42
                 RenderTableSection {TBODY} at (0,0) size 0x42
                   RenderTableRow {TR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/table/018-expected.txt b/LayoutTests/fast/table/018-expected.txt
index c3159ca..72c579e 100644
--- a/LayoutTests/fast/table/018-expected.txt
+++ b/LayoutTests/fast/table/018-expected.txt
@@ -16,10 +16,10 @@ layer at (0,0) size 800x208
           RenderText {TEXT} at (0,0) size 231x18
             text run at (0,0) width 231: "Fixed width font -- Monaco 11 point"
       RenderBlock {P} at (0,86) size 784x64
-        RenderTable {TABLE} at (0,0) size 784x64
+        RenderTable {TABLE} at (0,0) size 784x64 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x62
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 778x58 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 778x58 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 125x18
                   text run at (2,2) width 125: "The following text: "
                 RenderInline {TT} at (0,0) size 88x15
diff --git a/LayoutTests/fast/table/020-expected.txt b/LayoutTests/fast/table/020-expected.txt
index 70fc806..5b46a9c 100644
--- a/LayoutTests/fast/table/020-expected.txt
+++ b/LayoutTests/fast/table/020-expected.txt
@@ -3,12 +3,12 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x44
   RenderBlock {HTML} at (0,0) size 800x44
     RenderBody {BODY} at (8,8) size 784x28
-      RenderTable {TABLE} at (0,0) size 500x28
+      RenderTable {TABLE} at (0,0) size 500x28 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x26
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 221x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 221x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 156x18
                 text run at (2,2) width 156: "Dell Inspiron Notebooks"
-            RenderTableCell {TD} at (225,2) size 271x22 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (225,2) size 271x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 156x18
                 text run at (2,2) width 156: "Dell Inspiron Notebooks"
diff --git a/LayoutTests/fast/table/023-expected.txt b/LayoutTests/fast/table/023-expected.txt
index 04bb834..7d4ffde 100644
--- a/LayoutTests/fast/table/023-expected.txt
+++ b/LayoutTests/fast/table/023-expected.txt
@@ -6,30 +6,30 @@ layer at (0,0) size 800x740
       RenderTable {TABLE} at (0,0) size 784x80
         RenderTableSection {TBODY} at (0,0) size 0x80
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,29) size 704x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,29) size 704x22 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 8x18
                 text run at (2,2) width 8: "1"
-            RenderTableCell {TD} at (708,2) size 60x76 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (708,2) size 60x76 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 56x72
                 text run at (2,2) width 53: "See, this"
                 text run at (2,20) width 33: "is the"
                 text run at (2,38) width 56: "problem."
                 text run at (2,56) width 49: "It will..."
-            RenderTableCell {TD} at (770,29) size 12x22 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (770,29) size 12x22 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 8x18
                 text run at (2,2) width 8: "3"
       RenderBlock {P} at (0,96) size 784x0
       RenderTable {TABLE} at (0,96) size 784x196
         RenderTableSection {TBODY} at (0,0) size 0x196
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 780x192 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 780x192 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderTable {TABLE} at (2,2) size 776x188
                 RenderTableSection {TBODY} at (0,0) size 0x188
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,83) size 696x22 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,83) size 696x22 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 8x18
                         text run at (2,2) width 8: "1"
-                    RenderTableCell {TD} at (700,2) size 60x184 [r=0 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (700,2) size 60x184 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 56x180
                         text run at (2,2) width 53: "See, this"
                         text run at (2,20) width 33: "is the"
@@ -41,21 +41,21 @@ layer at (0,0) size 800x740
                         text run at (2,128) width 53: "See, this"
                         text run at (2,146) width 33: "is the"
                         text run at (2,164) width 56: "problem."
-                    RenderTableCell {TD} at (762,83) size 12x22 [r=0 c=2 rs=1 cs=1]
+                    RenderTableCell {TD} at (762,83) size 12x22 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 8x18
                         text run at (2,2) width 8: "3"
       RenderBlock {P} at (0,308) size 784x0
       RenderTable {TABLE} at (0,308) size 515x196
         RenderTableSection {TBODY} at (0,0) size 0x196
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 511x192 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 511x192 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderTable {TABLE} at (2,2) size 507x188
                 RenderTableSection {TBODY} at (0,0) size 0x188
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,83) size 427x22 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,83) size 427x22 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 8x18
                         text run at (2,2) width 8: "1"
-                    RenderTableCell {TD} at (431,2) size 60x184 [r=0 c=1 rs=1 cs=1]
+                    RenderTableCell {TD} at (431,2) size 60x184 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 56x180
                         text run at (2,2) width 53: "See, this"
                         text run at (2,20) width 33: "is the"
@@ -67,22 +67,22 @@ layer at (0,0) size 800x740
                         text run at (2,128) width 53: "See, this"
                         text run at (2,146) width 33: "is the"
                         text run at (2,164) width 56: "problem."
-                    RenderTableCell {TD} at (493,83) size 12x22 [r=0 c=2 rs=1 cs=1]
+                    RenderTableCell {TD} at (493,83) size 12x22 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
                       RenderText {TEXT} at (2,2) size 8x18
                         text run at (2,2) width 8: "3"
       RenderBlock {P} at (0,520) size 784x0
       RenderTable {TABLE} at (0,520) size 515x196
         RenderTableSection {TBODY} at (0,0) size 0x196
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 511x192 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 511x192 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderBlock {DIV} at (2,2) size 507x188
                 RenderTable {TABLE} at (0,0) size 507x188
                   RenderTableSection {TBODY} at (0,0) size 0x188
                     RenderTableRow {TR} at (0,0) size 0x0
-                      RenderTableCell {TD} at (2,83) size 427x22 [r=0 c=0 rs=1 cs=1]
+                      RenderTableCell {TD} at (2,83) size 427x22 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 8x18
                           text run at (2,2) width 8: "1"
-                      RenderTableCell {TD} at (431,2) size 60x184 [r=0 c=1 rs=1 cs=1]
+                      RenderTableCell {TD} at (431,2) size 60x184 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 56x180
                           text run at (2,2) width 53: "See, this"
                           text run at (2,20) width 33: "is the"
@@ -94,7 +94,7 @@ layer at (0,0) size 800x740
                           text run at (2,128) width 53: "See, this"
                           text run at (2,146) width 33: "is the"
                           text run at (2,164) width 56: "problem."
-                      RenderTableCell {TD} at (493,83) size 12x22 [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (493,83) size 12x22 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
                         RenderText {TEXT} at (2,2) size 8x18
                           text run at (2,2) width 8: "3"
       RenderBlock {P} at (0,732) size 784x0
diff --git a/LayoutTests/fast/table/025-expected.txt b/LayoutTests/fast/table/025-expected.txt
index 5899941..ed6c209 100644
--- a/LayoutTests/fast/table/025-expected.txt
+++ b/LayoutTests/fast/table/025-expected.txt
@@ -6,19 +6,19 @@ layer at (0,0) size 800x118
       RenderTable {TABLE} at (0,0) size 784x43
         RenderTableSection {TBODY} at (0,0) size 0x43
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,8) size 208x26 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,8) size 208x26 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 8x18
                 text run at (4,4) width 8: "d"
-            RenderTableCell {TD} at (208,0) size 340x43 [bgcolor=#FFA500] [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (208,0) size 340x43 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (4,4) size 332x35 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x35
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 328x31 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 328x31 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                       RenderTable {TABLE} at (2,2) size 252x27 [bgcolor=#000000]
                         RenderTableSection {TBODY} at (0,0) size 0x27
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,11) size 4x4 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
-                            RenderTableCell {TD} at (8,2) size 236x23 [bgcolor=#FFA500] [r=0 c=1 rs=1 cs=2]
+                            RenderTableCell {TD} at (2,11) size 4x4 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (8,2) size 236x23 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=2]
                               RenderImage {IMG} at (2,2) size 21x15 [bgcolor=#800080]
                               RenderText {TEXT} at (23,3) size 4x18
                                 text run at (23,3) width 4: " "
@@ -35,35 +35,35 @@ layer at (0,0) size 800x118
                                   text run at (146,3) width 84: "White Pages"
                               RenderText {TEXT} at (230,3) size 4x18
                                 text run at (230,3) width 4: " "
-                            RenderTableCell {TD} at (246,11) size 4x4 [bgcolor=#FFA500] [r=0 c=3 rs=1 cs=1]
-            RenderTableCell {TD} at (548,0) size 236x42 [bgcolor=#FFA500] [r=0 c=2 rs=1 cs=1]
+                            RenderTableCell {TD} at (246,11) size 4x4 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=3 rs=1 cs=1]
+            RenderTableCell {TD} at (548,0) size 236x42 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
               RenderTable {TABLE} at (4,4) size 228x34 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x34
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 224x30 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 224x30 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                       RenderTable {TABLE} at (2,2) size 220x26 [bgcolor=#000000]
                         RenderTableSection {TBODY} at (0,0) size 0x26
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 216x22 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 216x22 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                               RenderImage {IMG} at (2,2) size 212x18 [bgcolor=#800080]
                               RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {P} at (0,59) size 784x0
       RenderTable {TABLE} at (0,59) size 784x43
         RenderTableSection {TBODY} at (0,0) size 0x43
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,8) size 219x26 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,8) size 219x26 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (4,4) size 8x18
                 text run at (4,4) width 8: "d"
-            RenderTableCell {TD} at (219,0) size 329x43 [bgcolor=#FFA500] [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (219,0) size 329x43 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (4,4) size 321x35 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x35
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 317x31 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 317x31 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                       RenderTable {TABLE} at (2,2) size 252x27 [bgcolor=#000000]
                         RenderTableSection {TBODY} at (0,0) size 0x27
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,11) size 4x4 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
-                            RenderTableCell {TD} at (8,2) size 236x23 [bgcolor=#FFA500] [r=0 c=1 rs=1 cs=2]
+                            RenderTableCell {TD} at (2,11) size 4x4 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (8,2) size 236x23 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=1 rs=1 cs=2]
                               RenderImage {IMG} at (2,2) size 21x15 [bgcolor=#800080]
                               RenderText {TEXT} at (23,3) size 4x18
                                 text run at (23,3) width 4: " "
@@ -80,15 +80,15 @@ layer at (0,0) size 800x118
                                   text run at (146,3) width 84: "White Pages"
                               RenderText {TEXT} at (230,3) size 4x18
                                 text run at (230,3) width 4: " "
-                            RenderTableCell {TD} at (246,11) size 4x4 [bgcolor=#FFA500] [r=0 c=3 rs=1 cs=1]
-            RenderTableCell {TD} at (548,0) size 236x42 [bgcolor=#FFA500] [r=0 c=2 rs=1 cs=1]
+                            RenderTableCell {TD} at (246,11) size 4x4 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=3 rs=1 cs=1]
+            RenderTableCell {TD} at (548,0) size 236x42 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=2 rs=1 cs=1]
               RenderTable {TABLE} at (4,4) size 228x34 [bgcolor=#000000]
                 RenderTableSection {TBODY} at (0,0) size 0x34
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 224x30 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 224x30 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                       RenderTable {TABLE} at (2,2) size 220x26 [bgcolor=#000000]
                         RenderTableSection {TBODY} at (0,0) size 0x26
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,2) size 216x22 [bgcolor=#FFA500] [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,2) size 216x22 [bgcolor=#FFA500] [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                               RenderImage {IMG} at (2,2) size 212x18 [bgcolor=#800080]
                               RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/table/027-expected.txt b/LayoutTests/fast/table/027-expected.txt
index df73513..1e8c850 100644
--- a/LayoutTests/fast/table/027-expected.txt
+++ b/LayoutTests/fast/table/027-expected.txt
@@ -6,7 +6,7 @@ layer at (0,0) size 800x354
       RenderTable {TABLE} at (0,0) size 785x338
         RenderTableSection {TBODY} at (0,0) size 0x338
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 785x26 [r=0 c=0 rs=1 cs=3]
+            RenderTableCell {TD} at (0,0) size 785x26 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=3]
               RenderText {TEXT} at (4,4) size 236x18
                 text run at (4,4) width 144: "   Join Now   Sign In   "
                 text run at (148,4) width 92: "   Personalize: "
@@ -38,17 +38,17 @@ layer at (0,0) size 800x354
                 text run at (607,4) width 90: "   My Links:   "
                 text run at (697,4) width 84: "  Lite \x{2022} Email"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,178) size 8x8 [r=1 c=0 rs=1 cs=1]
-            RenderTableCell {TD} at (8,26) size 557x312 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (0,178) size 8x8 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (8,26) size 557x312 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderTable {TABLE} at (4,4) size 549x304
                 RenderTableSection {TBODY} at (0,0) size 0x304
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (2,2) size 545x300 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (2,2) size 545x300 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
                       RenderTable {TABLE} at (2,2) size 541x296
                         RenderTableSection {TBODY} at (0,0) size 0x296
                           RenderTableRow {TR} at (0,0) size 0x0
-                            RenderTableCell {TD} at (2,146) size 231x4 [r=0 c=0 rs=1 cs=1]
-                            RenderTableCell {TD} at (235,2) size 71x292 [r=0 c=1 rs=1 cs=1]
+                            RenderTableCell {TD} at (2,146) size 231x4 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                            RenderTableCell {TD} at (235,2) size 71x292 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
                               RenderText {TEXT} at (2,2) size 67x288
                                 text run at (2,2) width 56: "This guy"
                                 text run at (2,20) width 42: "should"
@@ -67,7 +67,7 @@ layer at (0,0) size 800x354
                                 text run at (2,236) width 40: "what I"
                                 text run at (2,254) width 60: "think will"
                                 text run at (2,272) width 37: "work."
-                            RenderTableCell {TD} at (308,146) size 231x4 [r=0 c=2 rs=1 cs=1]
-            RenderTableCell {TD} at (565,169) size 220x26 [r=1 c=2 rs=1 cs=1]
+                            RenderTableCell {TD} at (308,146) size 231x4 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (565,169) size 220x26 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
               RenderImage {IMG} at (4,4) size 212x18
               RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/table/028-expected.txt b/LayoutTests/fast/table/028-expected.txt
index 6878e9a..f37d398 100644
--- a/LayoutTests/fast/table/028-expected.txt
+++ b/LayoutTests/fast/table/028-expected.txt
@@ -9,24 +9,24 @@ layer at (0,0) size 800x112
       RenderTable {TABLE} at (0,18) size 320x22
         RenderTableSection {TBODY} at (0,0) size 0x22
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 69x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 69x20 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 8x18
                 text run at (1,1) width 8: "1"
-            RenderTableCell {TD} at (69,0) size 245x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (69,0) size 245x20 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 8x18
                 text run at (1,1) width 8: "2"
-            RenderTableCell {TD} at (314,0) size 6x22 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (314,0) size 6x22 [border: (1px solid #008000)] [r=0 c=2 rs=1 cs=1]
               RenderImage {IMG} at (1,1) size 4x20 [bgcolor=#FFA500]
       RenderBlock {P} at (0,56) size 784x0
       RenderTable {TABLE} at (0,56) size 320x40
         RenderTableSection {TBODY} at (0,0) size 0x40
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 64x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 64x20 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 8x18
                 text run at (1,1) width 8: "1"
-            RenderTableCell {TD} at (64,4) size 256x12 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (64,4) size 256x12 [border: (1px solid #008000)] [r=0 c=1 rs=1 cs=1]
               RenderImage {IMG} at (1,1) size 254x10 [bgcolor=#FFA500]
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,20) size 320x20 [r=1 c=0 rs=1 cs=3]
+            RenderTableCell {TD} at (0,20) size 320x20 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=3]
               RenderText {TEXT} at (1,1) size 8x18
                 text run at (1,1) width 8: "1"
diff --git a/LayoutTests/fast/table/029-expected.txt b/LayoutTests/fast/table/029-expected.txt
index 8fd14d7..3fb5926 100644
--- a/LayoutTests/fast/table/029-expected.txt
+++ b/LayoutTests/fast/table/029-expected.txt
@@ -7,10 +7,10 @@ layer at (0,0) size 800x56
         RenderTableSection {TBODY} at (0,0) size 0x40
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 150x40 [r=0 c=0 rs=1 cs=1]
-              RenderTable {TABLE} at (0,0) size 150x40
+              RenderTable {TABLE} at (0,0) size 150x40 [border: (10px outset #808080)]
                 RenderTableSection {TBODY} at (10,10) size 0x20
                   RenderTableRow {TR} at (0,0) size 0x0
-                    RenderTableCell {TD} at (0,0) size 130x20 [r=0 c=0 rs=1 cs=1]
+                    RenderTableCell {TD} at (0,0) size 130x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                       RenderText {TEXT} at (1,1) size 121x18
                         text run at (1,1) width 121: "left column content"
             RenderTableCell {TD} at (150,11) size 634x18 [r=0 c=1 rs=1 cs=1]
diff --git a/LayoutTests/fast/table/030-expected.txt b/LayoutTests/fast/table/030-expected.txt
index 24bdbc0..910f0ce 100644
--- a/LayoutTests/fast/table/030-expected.txt
+++ b/LayoutTests/fast/table/030-expected.txt
@@ -3,9 +3,9 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x46
   RenderBlock {HTML} at (0,0) size 800x46
     RenderBody {BODY} at (8,8) size 784x30
-      RenderTable {TABLE} at (0,0) size 705x30
+      RenderTable {TABLE} at (0,0) size 705x30 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x26
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 697x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 697x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 243x18
                 text run at (2,2) width 243: "I should be 90% of the window width."
diff --git a/LayoutTests/fast/table/035-expected.txt b/LayoutTests/fast/table/035-expected.txt
index f423556..1de4460 100644
--- a/LayoutTests/fast/table/035-expected.txt
+++ b/LayoutTests/fast/table/035-expected.txt
@@ -6,16 +6,16 @@ layer at (0,0) size 800x114
       RenderBlock (anonymous) at (0,0) size 784x18
         RenderText {TEXT} at (0,0) size 404x18
           text run at (0,0) width 404: "This test should have two centered tables and two centered divs."
-      RenderTable {TABLE} at (299,18) size 186x22
+      RenderTable {TABLE} at (299,18) size 186x22 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x20
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 184x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 184x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 182x18
                 text run at (1,1) width 182: "This table is aligned \"center\""
-      RenderTable {TABLE} at (286,40) size 212x22
+      RenderTable {TABLE} at (286,40) size 212x22 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x20
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 210x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 210x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 208x18
                 text run at (1,1) width 208: "This table is aligned \"CENTER\""
       RenderBlock {DIV} at (0,62) size 784x18
diff --git a/LayoutTests/fast/table/036-expected.txt b/LayoutTests/fast/table/036-expected.txt
index ce8548c..4f63591 100644
--- a/LayoutTests/fast/table/036-expected.txt
+++ b/LayoutTests/fast/table/036-expected.txt
@@ -7,11 +7,11 @@ layer at (0,0) size 800x600
         RenderTableSection {TBODY} at (0,0) size 0x584
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 645x22 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 645x22
+              RenderBlock {DIV} at (0,0) size 645x22 [border: (2px solid #FF0000)]
                 RenderText {TEXT} at (2,2) size 174x18
                   text run at (2,2) width 174: "i am the text of the first row"
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,22) size 645x22 [r=1 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (0,0) size 645x22
+              RenderBlock {DIV} at (0,0) size 645x22 [border: (2px solid #FF0000)]
                 RenderText {TEXT} at (2,2) size 194x18
                   text run at (2,2) width 194: "i am the text of the second row"
diff --git a/LayoutTests/fast/table/038-expected.txt b/LayoutTests/fast/table/038-expected.txt
index 3a2c709..d1fee7d 100644
--- a/LayoutTests/fast/table/038-expected.txt
+++ b/LayoutTests/fast/table/038-expected.txt
@@ -8,19 +8,19 @@ layer at (0,0) size 800x106
           text run at (0,0) width 274: "The two rows below should look identical. "
           text run at (274,0) width 482: "In both, the spanning cells in columns 2-3 should consume as much width as"
           text run at (0,18) width 254: "possible, while column 1 should be tiny."
-      RenderTable {TABLE} at (0,36) size 784x54
+      RenderTable {TABLE} at (0,36) size 784x54 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x50
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 12x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 12x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 8x18
                 text run at (2,2) width 8: "1"
-            RenderTableCell {TD} at (16,2) size 762x22 [r=0 c=1 rs=1 cs=2]
+            RenderTableCell {TD} at (16,2) size 762x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=2]
               RenderText {TEXT} at (2,2) size 21x18
                 text run at (2,2) width 21: "2-3"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,26) size 12x22 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,26) size 12x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 8x18
                 text run at (2,2) width 8: "1"
-            RenderTableCell {TD} at (16,26) size 762x22 [r=1 c=1 rs=1 cs=2]
+            RenderTableCell {TD} at (16,26) size 762x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=2]
               RenderText {TEXT} at (2,2) size 21x18
                 text run at (2,2) width 21: "2-3"
diff --git a/LayoutTests/fast/table/border-collapsing/001-expected.txt b/LayoutTests/fast/table/border-collapsing/001-expected.txt
index e18e799..7f120b2 100644
--- a/LayoutTests/fast/table/border-collapsing/001-expected.txt
+++ b/LayoutTests/fast/table/border-collapsing/001-expected.txt
@@ -3,25 +3,25 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x390
   RenderBlock {HTML} at (0,0) size 800x390
     RenderBody {BODY} at (8,8) size 784x374
-      RenderBlock {DIV} at (0,0) size 784x190
+      RenderBlock {DIV} at (0,0) size 784x190 [border: (10px dotted #0000FF)]
         RenderTable {TABLE} at (10,10) size 312x170
           RenderTableSection {TBODY} at (0,0) size 0x170
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 312x40 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 312x40 [border: (5px solid #008000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (6,6) size 35x18
                   text run at (6,6) width 35: "Hello"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,40) size 312x60 [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,40) size 312x60 [border: (15px solid #0000FF)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (16,16) size 59x18
                   text run at (16,16) width 59: "Goodbye"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,100) size 312x70 [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,100) size 312x70 [border: (25px solid #FF0000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (26,26) size 59x18
                   text run at (26,26) width 59: "Goodbye"
-      RenderBlock {DIV} at (0,350) size 784x24
+      RenderBlock {DIV} at (0,350) size 784x24 [border: (1px solid #008000)]
         RenderTable {TABLE} at (1,1) size 31x22
           RenderTableSection {TBODY} at (0,0) size 0x22
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,0) size 31x22 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,0) size 31x22 [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 27x18
                   text run at (2,2) width 27: "Test"
diff --git a/LayoutTests/fast/table/border-collapsing/002-expected.txt b/LayoutTests/fast/table/border-collapsing/002-expected.txt
index db25e3a..4a9f426 100644
--- a/LayoutTests/fast/table/border-collapsing/002-expected.txt
+++ b/LayoutTests/fast/table/border-collapsing/002-expected.txt
@@ -5,57 +5,57 @@ layer at (0,0) size 800x291
     RenderBody {BODY} at (8,8) size 784x267
       RenderBlock {P} at (0,0) size 784x267
         RenderTable {TABLE} at (0,0) size 153x267
-          RenderTableCol {COL} at (0,0) size 0x0
+          RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #000000)]
           RenderTableCol {COL} at (0,0) size 0x0
           RenderTableCol {COL} at (0,0) size 0x0
           RenderTableSection {TBODY} at (0,0) size 0x267
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,1) size 52x53 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,1) size 52x53 [border: (3px solid #FF0000)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (19,19) size 8x18
                   text run at (19,19) width 8: "1"
-              RenderTableCell {TD} at (52,0) size 50x55 [r=0 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (52,0) size 50x55 [border: (3px solid #FF0000)] [r=0 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (18,19) size 8x18
                   text run at (18,19) width 8: "2"
-              RenderTableCell {TD} at (102,0) size 51x55 [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (102,0) size 51x55 [border: (3px solid #FF0000)] [r=0 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (17,19) size 8x18
                   text run at (17,19) width 8: "3"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,57) size 52x51 [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,57) size 52x51 [border: (1px solid #FF0000)] [r=1 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (19,17) size 8x18
                   text run at (19,17) width 8: "4"
-              RenderTableCell {TD} at (52,55) size 50x55 [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (52,55) size 50x55 [border: (3px dashed #0000FF)] [r=1 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (19,19) size 8x18
                   text run at (19,19) width 8: "5"
-              RenderTableCell {TD} at (102,55) size 51x55 [r=1 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (102,55) size 51x55 [border: (3px solid #008000)] [r=1 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (19,19) size 8x18
                   text run at (19,19) width 8: "6"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,111) size 52x51 [r=2 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,111) size 52x51 [border: (1px solid #FF0000)] [r=2 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (19,17) size 8x18
                   text run at (19,17) width 8: "7"
-              RenderTableCell {TD} at (52,110) size 50x53 [r=2 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (52,110) size 50x53 [border: (3px solid #FF0000)] [r=2 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (18,19) size 8x18
                   text run at (18,19) width 8: "8"
-              RenderTableCell {TD} at (102,110) size 51x53 [r=2 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (102,110) size 51x53 [border: (3px solid #FF0000)] [r=2 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (17,19) size 8x18
                   text run at (17,19) width 8: "9"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,163) size 52x51 [r=3 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,163) size 52x51 [border: (1px solid #FF0000)] [r=3 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (19,17) size 16x18
                   text run at (19,17) width 16: "10"
-              RenderTableCell {TD} at (52,163) size 50x51 [r=3 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (52,163) size 50x51 [border: (1px solid #FF0000)] [r=3 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (18,17) size 16x18
                   text run at (18,17) width 16: "11"
-              RenderTableCell {TD} at (102,163) size 51x51 [r=3 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (102,163) size 51x51 [border: (1px solid #FF0000)] [r=3 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (17,17) size 16x18
                   text run at (17,17) width 16: "12"
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (0,214) size 52x53 [r=4 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (0,214) size 52x53 [border: (1px solid #FF0000)] [r=4 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (19,17) size 16x18
                   text run at (19,17) width 16: "13"
-              RenderTableCell {TD} at (52,214) size 50x53 [r=4 c=1 rs=1 cs=1]
+              RenderTableCell {TD} at (52,214) size 50x53 [border: (1px solid #FF0000)] [r=4 c=1 rs=1 cs=1]
                 RenderText {TEXT} at (18,17) size 16x18
                   text run at (18,17) width 16: "14"
-              RenderTableCell {TD} at (102,214) size 51x53 [r=4 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (102,214) size 51x53 [border: (1px solid #FF0000)] [r=4 c=2 rs=1 cs=1]
                 RenderText {TEXT} at (17,17) size 16x18
                   text run at (17,17) width 16: "15"
diff --git a/LayoutTests/fast/table/border-collapsing/003-expected.txt b/LayoutTests/fast/table/border-collapsing/003-expected.txt
index 96b74e2..e0b52f8 100644
--- a/LayoutTests/fast/table/border-collapsing/003-expected.txt
+++ b/LayoutTests/fast/table/border-collapsing/003-expected.txt
@@ -7,12 +7,12 @@ layer at (0,0) size 800x348
         RenderText {TEXT} at (0,0) size 541x18
           text run at (0,0) width 442: "The black border below should cut right through the top left corner of "
           text run at (442,0) width 99: "the blue border."
-      RenderBlock {DIV} at (32,50) size 720x250
+      RenderBlock {DIV} at (32,50) size 720x250 [border: (1px solid #0000FF)]
         RenderTable {DIV} at (1,1) size 104x200
           RenderTableSection at (0,0) size 0x200
             RenderTableRow {P} at (0,0) size 0x0
-              RenderTableCell {SPAN} at (0,9) size 52x11 [r=0 c=0 rs=1 cs=1]
-              RenderTableCell {SPAN} at (52,0) size 52x68 [r=0 c=1 rs=1 cs=1]
-            RenderTableRow {P} at (0,0) size 0x0
-              RenderTableCell {SPAN} at (0,100) size 52x20 [r=1 c=0 rs=1 cs=1]
-              RenderTableCell {SPAN} at (52,100) size 52x68 [r=1 c=1 rs=1 cs=1]
+              RenderTableCell {SPAN} at (0,9) size 52x11 [border: (1px solid #000000)] [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {SPAN} at (52,0) size 52x68 [border: (10px solid #000000)] [r=0 c=1 rs=1 cs=1]
+            RenderTableRow {P} at (0,0) size 0x0 [border: (1px solid #0000FF)]
+              RenderTableCell {SPAN} at (0,100) size 52x20 [border: (10px solid #000000)] [r=1 c=0 rs=1 cs=1]
+              RenderTableCell {SPAN} at (52,100) size 52x68 [border: (10px solid #000000)] [r=1 c=1 rs=1 cs=1]
diff --git a/LayoutTests/fast/table/border-collapsing/004-expected.txt b/LayoutTests/fast/table/border-collapsing/004-expected.txt
index 9737318..3e297d9 100644
--- a/LayoutTests/fast/table/border-collapsing/004-expected.txt
+++ b/LayoutTests/fast/table/border-collapsing/004-expected.txt
@@ -38,43 +38,43 @@ layer at (0,0) size 800x1438
       RenderTable {TABLE} at (16,288) size 752x163
         RenderTableSection {TBODY} at (0,0) size 0x163
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TH} at (0,0) size 252x31 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TH} at (0,0) size 252x31 [border: (2px solid #800080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (85,7) size 82x18
                 text run at (85,7) width 82: "Header One"
-            RenderTableCell {TH} at (252,0) size 237x31 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TH} at (252,0) size 237x31 [border: (2px solid #800080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (76,7) size 85x18
                 text run at (76,7) width 85: "Header Two"
-            RenderTableCell {TH} at (489,0) size 263x31 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TH} at (489,0) size 263x31 [border: (2px solid #800080)] [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (84,7) size 95x18
                 text run at (84,7) width 95: "Header Three"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,40) size 252x48 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,40) size 252x48 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (7,7) size 230x36
                 text run at (7,7) width 230: "This table uses the collapsed borders"
                 text run at (7,25) width 43: "model."
-            RenderTableCell {TD} at (252,40) size 237x48 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (252,40) size 237x48 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,7) size 225x36
                 text run at (6,7) width 225: "This means that elements within the"
                 text run at (6,25) width 178: "cell have no border-spacing."
-            RenderTableCell {TD} at (489,31) size 263x66 [r=1 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (489,31) size 263x66 [border: (2px solid #008000)] [r=1 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,7) size 250x54
                 text run at (6,7) width 213: "Since it has collapsed borders, the"
                 text run at (6,25) width 176: "borders on the header cells, "
                 text run at (182,25) width 74: "on all sides,"
                 text run at (6,43) width 198: "should be medium solid purple."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,97) size 252x66 [r=2 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,97) size 252x66 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
               RenderText {TEXT} at (7,6) size 227x54
                 text run at (7,6) width 224: "The border of the table itself should"
                 text run at (7,24) width 188: "be medium solid blue, except "
                 text run at (195,24) width 39: "where"
                 text run at (7,42) width 202: "header cells override the border."
-            RenderTableCell {TD} at (252,97) size 237x66 [r=2 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (252,97) size 237x66 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 211x54
                 text run at (6,6) width 211: "The borders that I haven't already"
                 text run at (6,24) width 200: "mentioned (all the other internal"
                 text run at (6,42) width 204: "ones) should be thin solid green."
-            RenderTableCell {TD} at (489,97) size 263x66 [r=2 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (489,97) size 263x66 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 232x54
                 text run at (6,6) width 165: "This table should have a 1"
                 text run at (171,6) width 67: "em margin"
@@ -87,46 +87,46 @@ layer at (0,0) size 800x1438
                   text run at (127,42) width 43: "middle"
               RenderText {TEXT} at (170,42) size 84x18
                 text run at (170,42) width 84: " of its border."
-      RenderTable {TABLE} at (16,467) size 752x236
+      RenderTable {TABLE} at (16,467) size 752x236 [border: (3px solid #0000FF)]
         RenderTableSection {TBODY} at (3,3) size 0x230
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TH} at (16,16) size 166x34 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TH} at (16,16) size 166x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (42,8) size 82x18
                 text run at (42,8) width 82: "Header One"
-            RenderTableCell {TH} at (198,16) size 196x34 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TH} at (198,16) size 196x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (55,8) size 85x18
                 text run at (55,8) width 85: "Header Two"
-            RenderTableCell {TH} at (410,16) size 320x34 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TH} at (410,16) size 320x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (112,8) size 95x18
                 text run at (112,8) width 95: "Header Three"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,66) size 166x66 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,66) size 166x66 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 116x54
                 text run at (6,6) width 116: "This table uses the"
                 text run at (6,24) width 110: "separated borders"
                 text run at (6,42) width 43: "model."
-            RenderTableCell {TD} at (198,66) size 196x66 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (198,66) size 196x66 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 158x54
                 text run at (6,6) width 158: "This means that elements"
                 text run at (6,24) width 123: "within the cell have"
                 text run at (6,42) width 123: "border-spacing of 1"
                 text run at (129,42) width 23: "em."
-            RenderTableCell {TD} at (410,75) size 320x48 [r=1 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (410,75) size 320x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 279x36
                 text run at (6,6) width 205: "The borders on the header cells, "
                 text run at (211,6) width 74: "on all sides,"
                 text run at (6,24) width 198: "should be medium solid purple."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (16,148) size 166x66 [r=2 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (16,148) size 166x66 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 150x54
                 text run at (6,6) width 144: "The border of the table"
                 text run at (6,24) width 150: "itself should be medium"
                 text run at (6,42) width 65: "solid blue."
-            RenderTableCell {TD} at (198,157) size 196x48 [r=2 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (198,157) size 196x48 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 166x36
                 text run at (6,6) width 161: "The borders of other cells"
                 text run at (6,24) width 166: "should be thin solid green."
-            RenderTableCell {TD} at (410,148) size 320x66 [r=2 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (410,148) size 320x66 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 299x36
                 text run at (6,6) width 165: "This table should have a 1"
                 text run at (171,6) width 134: "em margin around all"
@@ -139,24 +139,24 @@ layer at (0,0) size 800x1438
                   text run at (6,42) width 30: "edge"
               RenderText {TEXT} at (36,42) size 84x18
                 text run at (36,42) width 84: " of its border."
-      RenderTable {TABLE} at (16,719) size 752x258
+      RenderTable {TABLE} at (16,719) size 752x258 [border: (3px solid #0000FF)]
         RenderTableSection {TBODY} at (3,3) size 0x252
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TH} at (0,8) size 193x34 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TH} at (0,8) size 193x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (55,8) size 82x18
                 text run at (55,8) width 82: "Header One"
-            RenderTableCell {TH} at (193,8) size 272x34 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TH} at (193,8) size 272x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (93,8) size 85x18
                 text run at (93,8) width 85: "Header Two"
-            RenderTableCell {TH} at (465,8) size 281x34 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TH} at (465,8) size 281x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (93,8) size 95x18
                 text run at (93,8) width 95: "Header Three"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,68) size 193x48 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,68) size 193x48 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 179x36
                 text run at (6,6) width 179: "This table uses the separated"
                 text run at (6,24) width 94: "borders model."
-            RenderTableCell {TD} at (193,50) size 272x84 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (193,50) size 272x84 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 257x72
                 text run at (6,6) width 252: "Elements within the cell have horizontal"
                 text run at (6,24) width 187: "border-spacing (i.e., width of "
@@ -165,13 +165,13 @@ layer at (0,0) size 800x1438
                 text run at (150,42) width 94: "border-spacing"
                 text run at (6,60) width 234: "(i.e., height of horizontal lines) of 0.5"
                 text run at (240,60) width 23: "em."
-            RenderTableCell {TD} at (465,68) size 281x48 [r=1 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (465,68) size 281x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 240x36
                 text run at (6,6) width 205: "The borders on the header cells, "
                 text run at (211,6) width 35: "on all"
                 text run at (6,24) width 237: "sides, should be medium solid purple."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,142) size 193x102 [r=2 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,142) size 193x102 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 178x90
                 text run at (6,6) width 178: "The border of the table itself"
                 text run at (6,24) width 150: "should be medium solid"
@@ -179,7 +179,7 @@ layer at (0,0) size 800x1438
                 text run at (41,42) width 129: "The borders of other"
                 text run at (6,60) width 155: "cells should be thin solid"
                 text run at (6,78) width 39: "green."
-            RenderTableCell {TD} at (193,151) size 272x84 [r=2 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (193,151) size 272x84 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 232x54
                 text run at (6,6) width 165: "This table should have a 1"
                 text run at (171,6) width 67: "em margin"
@@ -193,7 +193,7 @@ layer at (0,0) size 800x1438
               RenderText {TEXT} at (194,42) size 223x36
                 text run at (194,42) width 35: " of its"
                 text run at (6,60) width 45: "border."
-            RenderTableCell {TD} at (465,142) size 281x102 [r=2 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (465,142) size 281x102 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 250x90
                 text run at (6,6) width 242: "The table should not be wider than the"
                 text run at (6,24) width 174: "room available for it unless "
@@ -203,43 +203,43 @@ layer at (0,0) size 800x1438
                 text run at (6,60) width 80: "width of the "
                 text run at (86,60) width 153: "table should be less than"
                 text run at (6,78) width 41: "100%."
-      RenderTable {TABLE} at (16,993) size 752x208
+      RenderTable {TABLE} at (16,993) size 752x208 [border: (3px solid #0000FF)]
         RenderTableSection {TBODY} at (3,3) size 0x202
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TH} at (8,0) size 205x34 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TH} at (8,0) size 205x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (61,8) size 82x18
                 text run at (61,8) width 82: "Header One"
-            RenderTableCell {TH} at (221,0) size 209x34 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TH} at (221,0) size 209x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (62,8) size 85x18
                 text run at (62,8) width 85: "Header Two"
-            RenderTableCell {TH} at (438,0) size 300x34 [r=0 c=2 rs=1 cs=1]
+            RenderTableCell {TH} at (438,0) size 300x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (102,8) size 95x18
                 text run at (102,8) width 95: "Header Three"
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (8,52) size 205x48 [r=1 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (8,52) size 205x48 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 179x36
                 text run at (6,6) width 179: "This table uses the separated"
                 text run at (6,24) width 94: "borders model."
-            RenderTableCell {TD} at (221,34) size 209x84 [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (221,34) size 209x84 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 185x72
                 text run at (6,6) width 185: "Elements within the cell have"
                 text run at (6,24) width 178: "horizontal border-spacing of"
                 text run at (6,42) width 20: "0.5"
                 text run at (26,42) width 96: "em and vertical"
                 text run at (6,60) width 127: "border-spacing of 0."
-            RenderTableCell {TD} at (438,52) size 300x48 [r=1 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (438,52) size 300x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 279x36
                 text run at (6,6) width 205: "The borders on the header cells, "
                 text run at (211,6) width 74: "on all sides,"
                 text run at (6,24) width 198: "should be medium solid purple."
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (8,118) size 205x84 [r=2 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (8,118) size 205x84 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 185x72
                 text run at (6,6) width 178: "The border of the table itself"
                 text run at (6,24) width 185: "should be medium solid blue."
                 text run at (6,42) width 161: "The borders of other cells"
                 text run at (6,60) width 166: "should be thin solid green."
-            RenderTableCell {TD} at (221,118) size 209x84 [r=2 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (221,118) size 209x84 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 187x54
                 text run at (6,6) width 165: "This table should have a 1"
                 text run at (171,6) width 19: "em"
@@ -252,7 +252,7 @@ layer at (0,0) size 800x1438
                   text run at (6,60) width 67: "outer edge"
               RenderText {TEXT} at (73,60) size 84x18
                 text run at (73,60) width 84: " of its border."
-            RenderTableCell {TD} at (438,118) size 300x84 [r=2 c=2 rs=1 cs=1]
+            RenderTableCell {TD} at (438,118) size 300x84 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
               RenderText {TEXT} at (6,6) size 286x72
                 text run at (6,6) width 279: "The table should not be wider than the room"
                 text run at (6,24) width 137: "available for it unless "
@@ -264,13 +264,13 @@ layer at (0,0) size 800x1438
         RenderBlock {CAPTION} at (0,0) size 737x18
           RenderText {TEXT} at (309,0) size 119x18
             text run at (309,0) width 119: "This is the caption."
-        RenderTableCol {COLGROUP} at (0,0) size 0x0
-          RenderTableCol {COL} at (0,0) size 0x0
-        RenderTableCol {COLGROUP} at (0,0) size 0x0
-          RenderTableCol {COL} at (0,0) size 0x0
-          RenderTableCol {COL} at (0,0) size 0x0
-        RenderTableSection {THEAD} at (0,18) size 0x32
-          RenderTableRow {TR} at (0,0) size 0x0
+        RenderTableCol {COLGROUP} at (0,0) size 0x0 [border: (3px solid #FF0000)]
+          RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
+        RenderTableCol {COLGROUP} at (0,0) size 0x0 [border: (3px solid #FF0000)]
+          RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
+          RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
+        RenderTableSection {THEAD} at (0,18) size 0x32 [border: (3px solid #FF0000)]
+          RenderTableRow {TR} at (0,0) size 0x0 [border: (3px solid #FF0000)]
             RenderTableCell {TH} at (2,2) size 122x28 [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (20,5) size 82x18
                 text run at (20,5) width 82: "Header One"
@@ -280,8 +280,8 @@ layer at (0,0) size 800x1438
             RenderTableCell {TH} at (455,2) size 295x28 [r=0 c=2 rs=1 cs=1]
               RenderText {TEXT} at (100,5) size 95x18
                 text run at (100,5) width 95: "Header Three"
-        RenderTableSection {TBODY} at (0,50) size 0x134
-          RenderTableRow {TR} at (0,0) size 0x0
+        RenderTableSection {TBODY} at (0,50) size 0x134 [border: (3px solid #FF0000)]
+          RenderTableRow {TR} at (0,0) size 0x0 [border: (3px solid #FF0000)]
             RenderTableCell {TD} at (2,2) size 122x64 [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (5,5) size 94x54
                 text run at (5,5) width 93: "This table uses"
@@ -298,7 +298,7 @@ layer at (0,0) size 800x1438
                 text run at (5,23) width 100: "represent rows, "
                 text run at (105,23) width 155: "row-groups, columns, or"
                 text run at (5,41) width 99: "column-groups."
-          RenderTableRow {TR} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,0) size 0x0 [border: (3px solid #FF0000)]
             RenderTableCell {TD} at (2,68) size 122x64 [r=1 c=0 rs=1 cs=1]
               RenderText {TEXT} at (5,5) size 102x54
                 text run at (5,5) width 102: "There should be"
diff --git a/LayoutTests/fast/table/large-width-expected.txt b/LayoutTests/fast/table/large-width-expected.txt
index 43d5df6..013c8c8 100644
--- a/LayoutTests/fast/table/large-width-expected.txt
+++ b/LayoutTests/fast/table/large-width-expected.txt
@@ -3,11 +3,11 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x80
   RenderBlock {HTML} at (0,0) size 800x80
     RenderBody {BODY} at (8,8) size 784x64
-      RenderTable {TABLE} at (0,0) size 784x64
+      RenderTable {TABLE} at (0,0) size 784x64 [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 0x62
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,20) size 22x22 [r=0 c=0 rs=1 cs=1]
-            RenderTableCell {TD} at (26,2) size 754x58 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (2,20) size 22x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (26,2) size 754x58 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (11,11) size 705x36
                 text run at (11,11) width 705: "This is a very long line of text, but it should be wrapped. It should not extend all the way off the right side of the"
                 text run at (11,29) width 307: "window, but rather be broken into multiple lines."
diff --git a/LayoutTests/fast/table/nobr-expected.txt b/LayoutTests/fast/table/nobr-expected.txt
index 6485d51..06788de 100644
--- a/LayoutTests/fast/table/nobr-expected.txt
+++ b/LayoutTests/fast/table/nobr-expected.txt
@@ -6,10 +6,10 @@ layer at (0,0) size 800x368
       RenderBlock (anonymous) at (0,0) size 784x0
         RenderInline {NOBR} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,0) size 784x352
-        RenderTable {TABLE} at (0,0) size 70x352
+        RenderTable {TABLE} at (0,0) size 70x352 [border: (1px outset #808080)]
           RenderTableSection {TBODY} at (1,1) size 0x350
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 64x346 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 64x346 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 60x342
                   text run at (2,2) width 53: "This is a"
                   text run at (2,20) width 52: "test case"
diff --git a/LayoutTests/fast/text/basic/001-expected.txt b/LayoutTests/fast/text/basic/001-expected.txt
index 72846c0..420762e 100644
--- a/LayoutTests/fast/text/basic/001-expected.txt
+++ b/LayoutTests/fast/text/basic/001-expected.txt
@@ -10,10 +10,10 @@ layer at (0,0) size 800x120
           RenderText {TEXT} at (399,19) size 53x12
             text run at (399,19) width 53: "This is not."
       RenderBlock (anonymous) at (0,37) size 784x30
-        RenderTable {TABLE} at (0,0) size 123x30
+        RenderTable {TABLE} at (0,0) size 123x30 [border: (2px outset #808080)]
           RenderTableSection {TBODY} at (2,2) size 0x26
             RenderTableRow {TR} at (0,0) size 0x0
-              RenderTableCell {TD} at (2,2) size 115x22 [r=0 c=0 rs=1 cs=1]
+              RenderTableCell {TD} at (2,2) size 115x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {TEXT} at (2,2) size 111x18
                   text run at (2,2) width 111: "This is also not."
       RenderBlock (anonymous) at (0,67) size 784x37
diff --git a/LayoutTests/fast/text/basic/003-expected.txt b/LayoutTests/fast/text/basic/003-expected.txt
index cf49510..636ec0a 100644
--- a/LayoutTests/fast/text/basic/003-expected.txt
+++ b/LayoutTests/fast/text/basic/003-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {P} at (0,16) size 718x22
+      RenderBlock (floating) {P} at (0,16) size 718x22 [border: (2px solid #0000FF)]
         RenderText {TEXT} at (2,2) size 714x18
           text run at (2,2) width 338: "There should be 12"
           text run at (340,2) width 376: "px of letter spacing."
diff --git a/LayoutTests/fast/text/basic/004-expected.txt b/LayoutTests/fast/text/basic/004-expected.txt
index ab92e94..8973918 100644
--- a/LayoutTests/fast/text/basic/004-expected.txt
+++ b/LayoutTests/fast/text/basic/004-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x246
   RenderBlock {HTML} at (0,0) size 800x246
     RenderBody {BODY} at (8,8) size 784x230
-      RenderBlock (floating) {P} at (0,16) size 649x22
+      RenderBlock (floating) {P} at (0,16) size 649x22 [border: (2px solid #008000)]
         RenderText {TEXT} at (2,2) size 645x18
           text run at (2,2) width 212: "There should be 30"
           text run at (214,2) width 433: "px of word spacing between each word."
@@ -12,7 +12,7 @@ layer at (0,0) size 800x246
         RenderTableSection {TBODY} at (0,0) size 0x130
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 100x130 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {P} at (0,0) size 100x130
+              RenderBlock {P} at (0,0) size 100x130 [border: (2px solid #008000)]
                 RenderText {TEXT} at (2,2) size 85x126
                   text run at (2,2) width 37: "There"
                   text run at (2,20) width 76: "should be"
diff --git a/LayoutTests/fast/text/basic/005-expected.txt b/LayoutTests/fast/text/basic/005-expected.txt
index b75067a..5c42ee0 100644
--- a/LayoutTests/fast/text/basic/005-expected.txt
+++ b/LayoutTests/fast/text/basic/005-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x8
   RenderBlock {HTML} at (0,0) size 800x8
     RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock (floating) {DIV} at (0,0) size 260x22
+      RenderBlock (floating) {DIV} at (0,0) size 260x22 [border: (2px solid #008000)]
         RenderText {TEXT} at (2,2) size 256x18
           text run at (2,2) width 236: "Words should have a negative spacing of 5"
           text run at (238,2) width 20: "px."
diff --git a/LayoutTests/fast/text/basic/006-expected.txt b/LayoutTests/fast/text/basic/006-expected.txt
index 37027d5..107b09f 100644
--- a/LayoutTests/fast/text/basic/006-expected.txt
+++ b/LayoutTests/fast/text/basic/006-expected.txt
@@ -3,12 +3,12 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x46
   RenderBlock {HTML} at (0,0) size 800x46
     RenderBody {BODY} at (8,8) size 784x30
-      RenderTable {TABLE} at (0,0) size 784x30
+      RenderTable {TABLE} at (0,0) size 784x30 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x26
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 579x22 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 579x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 160x18
                 text run at (2,2) width 160: "Big cell gets all the width"
-            RenderTableCell {TD} at (583,2) size 195x22 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (583,2) size 195x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 191x18
                 text run at (2,2) width 191: "Icannotbreak noicannot \x{B7}break"
diff --git a/LayoutTests/fast/text/basic/007-expected.txt b/LayoutTests/fast/text/basic/007-expected.txt
index 9c05172..e94e161 100644
--- a/LayoutTests/fast/text/basic/007-expected.txt
+++ b/LayoutTests/fast/text/basic/007-expected.txt
@@ -3,26 +3,26 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x124
   RenderBlock {HTML} at (0,0) size 800x124
     RenderBody {BODY} at (8,8) size 784x108
-      RenderTable {TABLE} at (0,0) size 784x42
+      RenderTable {TABLE} at (0,0) size 784x42 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x38
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,9) size 723x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,9) size 723x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 69x18
                 text run at (1,1) width 69: "A Big Cell"
-            RenderTableCell {TD} at (723,0) size 57x38 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (723,0) size 57x38 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 33x36
                 text run at (1,1) width 12: "A"
                 text run at (1,19) width 33: "small"
               RenderInline {SPAN} at (0,0) size 22x18
                 RenderText {TEXT} at (34,19) size 22x18
                   text run at (34,19) width 22: "cell"
-      RenderTable {TABLE} at (0,42) size 784x42
+      RenderTable {TABLE} at (0,42) size 784x42 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x38
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,9) size 716x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,9) size 716x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 69x18
                 text run at (1,1) width 69: "A Big Cell"
-            RenderTableCell {TD} at (716,0) size 64x38 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (716,0) size 64x38 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 49x18
                 text run at (1,1) width 49: "A small"
               RenderInline {SPAN} at (0,0) size 22x18
@@ -30,13 +30,13 @@ layer at (0,0) size 800x124
                   text run at (1,19) width 22: "cell"
               RenderText {TEXT} at (23,19) size 40x18
                 text run at (23,19) width 40: "block!"
-      RenderTable {TABLE} at (0,84) size 784x24
+      RenderTable {TABLE} at (0,84) size 784x24 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x20
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (0,0) size 707x20 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (0,0) size 707x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 69x18
                 text run at (1,1) width 69: "A Big Cell"
-            RenderTableCell {TD} at (707,0) size 73x20 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (707,0) size 73x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
               RenderText {TEXT} at (1,1) size 49x18
                 text run at (1,1) width 49: "A small"
               RenderInline {SPAN} at (0,0) size 22x18
diff --git a/LayoutTests/fast/text/basic/012-expected.txt b/LayoutTests/fast/text/basic/012-expected.txt
index 6e3c696..00baa69 100644
--- a/LayoutTests/fast/text/basic/012-expected.txt
+++ b/LayoutTests/fast/text/basic/012-expected.txt
@@ -17,7 +17,7 @@ layer at (0,0) size 800x239
           text run at (0,18) width 281: "spaces (&#160;), however, are an exception."
       RenderBlock (anonymous) at (0,151) size 784x72 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
         RenderInline {FONT} at (0,0) size 334x54 [color=#CC0000]
           RenderText {TEXT} at (0,18) size 334x18
             text run at (0,18) width 69: "\x{BB} England "
@@ -34,5 +34,5 @@ layer at (0,0) size 800x239
             text run at (129,54) width 71: "\x{BB} Scotland "
             text run at (200,54) width 75: "\x{BB} Germany "
             text run at (275,54) width 59: "\x{BB} France "
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
         RenderBR {BR} at (0,0) size 0x0
diff --git a/LayoutTests/fast/text/firstline/002-expected.txt b/LayoutTests/fast/text/firstline/002-expected.txt
index 4072d64..22c5303 100644
--- a/LayoutTests/fast/text/firstline/002-expected.txt
+++ b/LayoutTests/fast/text/firstline/002-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x69
   RenderBlock {HTML} at (0,0) size 800x69
     RenderBody {BODY} at (8,8) size 784x45
-      RenderBlock {P} at (0,0) size 784x45
+      RenderBlock {P} at (0,0) size 784x45 [border: (2px solid #0000FF)]
         RenderInline (anonymous) at (0,0) size 32x41 [color=#800000]
           RenderText {TEXT} at (2,2) size 32x41
             text run at (2,2) width 32: "M"
diff --git a/LayoutTests/fast/text/whitespace/002-expected.txt b/LayoutTests/fast/text/whitespace/002-expected.txt
index e33a0dd..a878620 100644
--- a/LayoutTests/fast/text/whitespace/002-expected.txt
+++ b/LayoutTests/fast/text/whitespace/002-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x210
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 639x18
           text run at (0,0) width 639: "There should be three columns below, dark green, light green, and dark green, with no red anywhere."
-      RenderTable {TABLE} at (0,68) size 66x126
+      RenderTable {TABLE} at (0,68) size 66x126 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x120
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 60x120 [color=#FF0000] [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
@@ -64,23 +64,23 @@ layer at (0,0) size 800x210
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (0,0) size 20x20
                       text run at (0,0) width 20: "X"
-                  RenderText {TEXT} at (20,0) size 20x20 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (20,0) size 20x20
                     text run at (20,0) width 20: " "
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (40,0) size 20x20
                       text run at (40,0) width 20: "X"
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
               RenderBlock {DIV} at (0,80) size 60x20 [color=#008000] [bgcolor=#00FF00]
                 RenderBlock (anonymous) at (0,0) size 60x20 [bgcolor=#000000]
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (0,0) size 20x20
                       text run at (0,0) width 20: "X"
-                  RenderText {TEXT} at (20,0) size 20x20 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (20,0) size 20x20
                     text run at (20,0) width 20: " "
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (40,0) size 20x20
                       text run at (40,0) width 20: "X"
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,20) size 60x0 [bgcolor=#000000]
               RenderBlock {DIV} at (0,100) size 60x20 [color=#008000] [bgcolor=#00FF00]
                 RenderText {TEXT} at (0,0) size 60x20
diff --git a/LayoutTests/fast/text/whitespace/003-expected.txt b/LayoutTests/fast/text/whitespace/003-expected.txt
index e33a0dd..a878620 100644
--- a/LayoutTests/fast/text/whitespace/003-expected.txt
+++ b/LayoutTests/fast/text/whitespace/003-expected.txt
@@ -11,7 +11,7 @@ layer at (0,0) size 800x210
       RenderBlock {P} at (0,34) size 784x18
         RenderText {TEXT} at (0,0) size 639x18
           text run at (0,0) width 639: "There should be three columns below, dark green, light green, and dark green, with no red anywhere."
-      RenderTable {TABLE} at (0,68) size 66x126
+      RenderTable {TABLE} at (0,68) size 66x126 [border: (3px solid #000000)]
         RenderTableSection {TBODY} at (3,3) size 0x120
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (0,0) size 60x120 [color=#FF0000] [bgcolor=#FF0000] [r=0 c=0 rs=1 cs=1]
@@ -64,23 +64,23 @@ layer at (0,0) size 800x210
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (0,0) size 20x20
                       text run at (0,0) width 20: "X"
-                  RenderText {TEXT} at (20,0) size 20x20 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (20,0) size 20x20
                     text run at (20,0) width 20: " "
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (40,0) size 20x20
                       text run at (40,0) width 20: "X"
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
               RenderBlock {DIV} at (0,80) size 60x20 [color=#008000] [bgcolor=#00FF00]
                 RenderBlock (anonymous) at (0,0) size 60x20 [bgcolor=#000000]
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (0,0) size 20x20
                       text run at (0,0) width 20: "X"
-                  RenderText {TEXT} at (20,0) size 20x20 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (20,0) size 20x20
                     text run at (20,0) width 20: " "
                   RenderInline {SPAN} at (0,0) size 20x20
                     RenderText {TEXT} at (40,0) size 20x20
                       text run at (40,0) width 20: "X"
-                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#00FF00]
+                  RenderText {TEXT} at (0,0) size 0x0
                 RenderBlock {DIV} at (0,20) size 60x0 [bgcolor=#000000]
               RenderBlock {DIV} at (0,100) size 60x20 [color=#008000] [bgcolor=#00FF00]
                 RenderText {TEXT} at (0,0) size 60x20
diff --git a/LayoutTests/fast/text/whitespace/020-expected.txt b/LayoutTests/fast/text/whitespace/020-expected.txt
index 68bcbce..9f8d8ce 100644
--- a/LayoutTests/fast/text/whitespace/020-expected.txt
+++ b/LayoutTests/fast/text/whitespace/020-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x59
   RenderBlock {HTML} at (0,0) size 800x59
     RenderBody {BODY} at (8,8) size 784x43
-      RenderBlock {DIV} at (0,0) size 204x43
+      RenderBlock {DIV} at (0,0) size 204x43 [border: (2px solid #FF0000)]
         RenderInline {FONT} at (0,0) size 175x36 [color=#996699]
           RenderText {TEXT} at (0,0) size 0x0
           RenderInline {NOBR} at (0,0) size 150x18
diff --git a/LayoutTests/fast/text/whitespace/023-expected.txt b/LayoutTests/fast/text/whitespace/023-expected.txt
index 8ebd2e3..a487da0 100644
--- a/LayoutTests/fast/text/whitespace/023-expected.txt
+++ b/LayoutTests/fast/text/whitespace/023-expected.txt
@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x70
   RenderBlock {HTML} at (0,0) size 800x70
     RenderBody {BODY} at (8,8) size 784x49
-      RenderBlock {PRE} at (0,0) size 304x49
+      RenderBlock {PRE} at (0,0) size 304x49 [border: (2px solid #008000)]
         RenderText {TEXT} at (2,17) size 96x30
           text run at (2,17) width 88: "This should"
           text run at (2,32) width 96: "not justify."
diff --git a/LayoutTests/fast/text/whitespace/024-expected.txt b/LayoutTests/fast/text/whitespace/024-expected.txt
index 3c2d95e..c13dda0 100644
--- a/LayoutTests/fast/text/whitespace/024-expected.txt
+++ b/LayoutTests/fast/text/whitespace/024-expected.txt
@@ -7,12 +7,12 @@ layer at (0,0) size 800x1175
         RenderText {TEXT} at (0,0) size 351x37
           text run at (0,0) width 351: "Safari 1.0 PRE width bug"
       RenderBlock (anonymous) at (0,58) size 784x72 [bgcolor=#000000]
-        RenderText {TEXT} at (0,0) size 101x18 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 101x18
           text run at (0,0) width 101: "As noted in my "
         RenderInline {A} at (0,0) size 28x18 [color=#0000EE]
           RenderText {TEXT} at (101,0) size 28x18
             text run at (101,0) width 28: "blog"
-        RenderText {TEXT} at (129,0) size 777x72 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (129,0) size 777x72
           text run at (129,0) width 8: ", "
           text run at (137,0) width 431: "in certain cases Safari will miscalculate the width of a PRE element. "
           text run at (568,0) width 206: "I think I've found the trigger. If a"
@@ -33,10 +33,10 @@ layer at (0,0) size 800x1175
         RenderTableSection {TBODY} at (0,0) size 0x170
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 176x166 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99]
+              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99] [border: (1px solid #000000)]
                 RenderText {TEXT} at (7,7) size 96x15
                   text run at (7,7) width 96: "        2003"
-                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000] [border: (1px solid #000000) none (2px solid #000000) none]
                   RenderText {TEXT} at (7,37) size 160x15
                     text run at (7,37) width 160: " D  M  T  W  J  F  S"
                 RenderText {TEXT} at (7,67) size 160x90
@@ -52,7 +52,7 @@ layer at (0,0) size 800x1175
                 text run at (342,1) width 142: "triggers the width bug."
       RenderBlock (anonymous) at (0,394) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {H2} at (0,431) size 784x28 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 109x28
           text run at (0,0) width 109: "Example 2"
@@ -60,10 +60,10 @@ layer at (0,0) size 800x1175
         RenderTableSection {TBODY} at (0,0) size 0x170
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 176x166 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99]
+              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99] [border: (1px solid #000000)]
                 RenderText {TEXT} at (7,7) size 96x15
                   text run at (7,7) width 96: "        2003"
-                RenderInline {SPAN} at (0,0) size 96x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 96x18 [bgcolor=#000000] [border: (1px solid #000000) none (2px solid #000000) none]
                   RenderText {TEXT} at (7,37) size 96x15
                     text run at (7,37) width 96: " D  M  TWJFS"
                 RenderText {TEXT} at (7,67) size 160x90
@@ -85,7 +85,7 @@ layer at (0,0) size 800x1175
                   text run at (0,18) width 97: "nested element."
       RenderBlock (anonymous) at (0,648) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {H2} at (0,685) size 784x28 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 109x28
           text run at (0,0) width 109: "Example 3"
@@ -93,10 +93,10 @@ layer at (0,0) size 800x1175
         RenderTableSection {TBODY} at (0,0) size 0x155
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 176x151 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {PRE} at (1,1) size 174x149 [bgcolor=#CCCC99]
+              RenderBlock {PRE} at (1,1) size 174x149 [bgcolor=#CCCC99] [border: (1px solid #000000)]
                 RenderText {TEXT} at (7,7) size 96x15
                   text run at (7,7) width 96: "        2003"
-                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000] [border: (1px solid #000000) none (2px solid #000000) none]
                   RenderText {TEXT} at (7,22) size 160x15
                     text run at (7,22) width 160: " D  M  T  W  J  F  S"
                 RenderText {TEXT} at (7,52) size 160x90
@@ -113,7 +113,7 @@ layer at (0,0) size 800x1175
                 text run at (1,19) width 60: "triggered."
       RenderBlock (anonymous) at (0,887) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
       RenderBlock {H2} at (0,924) size 784x28 [bgcolor=#000000]
         RenderText {TEXT} at (0,0) size 109x28
           text run at (0,0) width 109: "Example 4"
@@ -121,12 +121,12 @@ layer at (0,0) size 800x1175
         RenderTableSection {TBODY} at (0,0) size 0x170
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 176x166 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99]
+              RenderBlock {PRE} at (1,1) size 174x164 [bgcolor=#CCCC99] [border: (1px solid #000000)]
                 RenderInline {SPAN} at (0,0) size 96x15 [bgcolor=#000000]
                   RenderText {TEXT} at (7,7) size 96x15
                     text run at (7,7) width 96: "        2003"
                 RenderText {TEXT} at (0,0) size 0x0
-                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000]
+                RenderInline {SPAN} at (0,0) size 160x18 [bgcolor=#000000] [border: (1px solid #000000) none (2px solid #000000) none]
                   RenderText {TEXT} at (7,37) size 160x15
                     text run at (7,37) width 160: " D  M  T  W  J  F  S"
                 RenderText {TEXT} at (7,67) size 160x90
@@ -144,5 +144,5 @@ layer at (0,0) size 800x1175
                 text run at (285,19) width 292: "a nested element (in this case, another SPAN)."
       RenderBlock (anonymous) at (0,1141) size 784x18 [bgcolor=#000000]
         RenderBR {BR} at (0,0) size 0x0
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
-        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 0x0
+        RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/text/whitespace/025-expected.txt b/LayoutTests/fast/text/whitespace/025-expected.txt
index 70bd326..abf024f 100644
--- a/LayoutTests/fast/text/whitespace/025-expected.txt
+++ b/LayoutTests/fast/text/whitespace/025-expected.txt
@@ -6,8 +6,8 @@ layer at (0,0) size 800x48
       RenderTable {TABLE} at (0,0) size 314x32
         RenderTableSection {TBODY} at (0,0) size 0x32
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 310x28 [r=0 c=0 rs=1 cs=1]
-              RenderBlock {DIV} at (3,3) size 304x22
+            RenderTableCell {TD} at (2,2) size 310x28 [border: (2px solid #0000FF)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (3,3) size 304x22 [border: (2px solid #008000)]
                 RenderInline {NOBR} at (0,0) size 636x18
                   RenderText {TEXT} at (2,2) size 636x18
                     text run at (2,2) width 221: "This text should be all on one line. "
diff --git a/LayoutTests/fast/text/whitespace/027-expected.txt b/LayoutTests/fast/text/whitespace/027-expected.txt
index d24c395..e3d84f6 100644
--- a/LayoutTests/fast/text/whitespace/027-expected.txt
+++ b/LayoutTests/fast/text/whitespace/027-expected.txt
@@ -7,7 +7,7 @@ layer at (0,0) size 800x318
         RenderTableSection {TBODY} at (0,0) size 0x28
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 729x24 [r=0 c=0 rs=1 cs=1]
-              RenderBlock (floating) {DIV} at (1,1) size 727x22
+              RenderBlock (floating) {DIV} at (1,1) size 727x22 [border: (2px solid #FF0000)]
                 RenderText {TEXT} at (2,2) size 723x18
                   text run at (2,2) width 723: "Here-is-some-info-from-the-complaints-department-some-info-from-the-complaints-department-some-info-from-the"
               RenderText {TEXT} at (0,0) size 0x0
@@ -16,7 +16,7 @@ layer at (0,0) size 800x318
         RenderTableSection {TBODY} at (0,0) size 0x208
           RenderTableRow {TR} at (0,0) size 0x0
             RenderTableCell {TD} at (2,2) size 76x204 [r=0 c=0 rs=1 cs=1]
-              RenderBlock (floating) {DIV} at (1,1) size 74x202
+              RenderBlock (floating) {DIV} at (1,1) size 74x202 [border: (2px solid #FF0000)]
                 RenderText {TEXT} at (2,2) size 70x198
                   text run at (2,2) width 45: "Here is"
                   text run at (2,20) width 62: "some info"
@@ -31,10 +31,10 @@ layer at (0,0) size 800x318
                   text run at (2,182) width 53: "from the"
               RenderText {TEXT} at (0,0) size 0x0
             RenderTableCell {TD} at (80,103) size 702x2 [r=0 c=1 rs=1 cs=1]
-      RenderTable {TABLE} at (0,236) size 784x66
+      RenderTable {TABLE} at (0,236) size 784x66 [border: (2px outset #808080)]
         RenderTableSection {TBODY} at (2,2) size 0x62
           RenderTableRow {TR} at (0,0) size 0x0
-            RenderTableCell {TD} at (2,2) size 573x58 [r=0 c=0 rs=1 cs=1]
+            RenderTableCell {TD} at (2,2) size 573x58 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               RenderText {TEXT} at (2,2) size 131x18
                 text run at (2,2) width 131: "This is a test to see if"
               RenderInline {SPAN} at (0,0) size 569x54
@@ -43,4 +43,4 @@ layer at (0,0) size 800x318
                   text run at (2,20) width 569: "correctly.  In particular, we have a really long line here that could throw off the min-width."
                   text run at (2,38) width 30: "Is it?"
               RenderText {TEXT} at (0,0) size 0x0
-            RenderTableCell {TD} at (577,29) size 201x4 [r=0 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (577,29) size 201x4 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 60310ba..76ebf06 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,312 @@
+2003-11-16  David Hyatt  <hyatt at apple.com>
+
+	Add border info to the render tree dumper.
+
+        * khtml/rendering/render_style.h:
+        (khtml::BorderValue::operator!=):
+        * kwq/KWQRenderTreeDebug.cpp:
+        (printBorderStyle):
+        (operator<<):
+        * 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/lxr.mozilla.org/index-expected.txt:
+        * layout-tests/apple-only/base/my.netscape.com/index-expected.txt:
+        * layout-tests/apple-only/base/news.cnet.com/index-expected.txt:
+        * layout-tests/apple-only/base/web.icq.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.altavista.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.amazon.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.expedia.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.iplanet.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.moviefone.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.msn.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.sun.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.time.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.travelocity.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.w3.org_DOML2Core/index-expected.txt:
+        * layout-tests/apple-only/base/www.yahoo.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.zdnet.com/index-expected.txt:
+        * layout-tests/apple-only/base/www.zdnet.com_Gamespot.com/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/acid_test-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/block/basic/001-expected.txt:
+        * layout-tests/fast/block/basic/002-expected.txt:
+        * layout-tests/fast/block/basic/003-expected.txt:
+        * layout-tests/fast/block/basic/004-expected.txt:
+        * layout-tests/fast/block/basic/007-expected.txt:
+        * layout-tests/fast/block/basic/011-expected.txt:
+        * layout-tests/fast/block/basic/015-expected.txt:
+        * layout-tests/fast/block/basic/016-expected.txt:
+        * layout-tests/fast/block/basic/017-expected.txt:
+        * layout-tests/fast/block/basic/018-expected.txt:
+        * layout-tests/fast/block/basic/019-expected.txt:
+        * layout-tests/fast/block/float/004-expected.txt:
+        * layout-tests/fast/block/float/005-expected.txt:
+        * layout-tests/fast/block/float/006-expected.txt:
+        * layout-tests/fast/block/float/007-expected.txt:
+        * layout-tests/fast/block/float/012-expected.txt:
+        * layout-tests/fast/block/float/013-expected.txt:
+        * layout-tests/fast/block/float/015-expected.txt:
+        * layout-tests/fast/block/float/016-expected.txt:
+        * layout-tests/fast/block/float/017-expected.txt:
+        * layout-tests/fast/block/float/019-expected.txt:
+        * layout-tests/fast/block/float/021-expected.txt:
+        * layout-tests/fast/block/float/022-expected.txt:
+        * layout-tests/fast/block/float/024-expected.txt:
+        * layout-tests/fast/block/float/025-expected.txt:
+        * layout-tests/fast/block/float/026-expected.txt:
+        * layout-tests/fast/block/float/027-expected.txt:
+        * layout-tests/fast/block/float/028-expected.txt:
+        * layout-tests/fast/block/margin-collapse/001-expected.txt:
+        * layout-tests/fast/block/margin-collapse/005-expected.txt:
+        * layout-tests/fast/block/margin-collapse/006-expected.txt:
+        * layout-tests/fast/block/margin-collapse/010-expected.txt:
+        * layout-tests/fast/block/margin-collapse/011-expected.txt:
+        * layout-tests/fast/block/margin-collapse/012-expected.txt:
+        * layout-tests/fast/block/margin-collapse/015-expected.txt:
+        * layout-tests/fast/block/margin-collapse/016-expected.txt:
+        * layout-tests/fast/block/margin-collapse/017-expected.txt:
+        * layout-tests/fast/block/margin-collapse/018-expected.txt:
+        * layout-tests/fast/block/margin-collapse/019-expected.txt:
+        * layout-tests/fast/block/margin-collapse/020-expected.txt:
+        * layout-tests/fast/block/margin-collapse/021-expected.txt:
+        * layout-tests/fast/block/margin-collapse/022-expected.txt:
+        * layout-tests/fast/block/margin-collapse/024-expected.txt:
+        * layout-tests/fast/block/margin-collapse/025-expected.txt:
+        * layout-tests/fast/block/margin-collapse/026-expected.txt:
+        * layout-tests/fast/block/margin-collapse/027-expected.txt:
+        * layout-tests/fast/block/margin-collapse/028-expected.txt:
+        * layout-tests/fast/block/margin-collapse/029-expected.txt:
+        * layout-tests/fast/block/margin-collapse/030-expected.txt:
+        * layout-tests/fast/block/margin-collapse/032-expected.txt:
+        * layout-tests/fast/block/margin-collapse/033-expected.txt:
+        * layout-tests/fast/block/margin-collapse/034-expected.txt:
+        * layout-tests/fast/block/margin-collapse/035-expected.txt:
+        * layout-tests/fast/block/margin-collapse/041-expected.txt:
+        * layout-tests/fast/block/margin-collapse/042-expected.txt:
+        * layout-tests/fast/block/margin-collapse/043-expected.txt:
+        * layout-tests/fast/block/positioning/048-expected.txt:
+        * layout-tests/fast/block/positioning/049-expected.txt:
+        * layout-tests/fast/block/positioning/050-expected.txt:
+        * layout-tests/fast/block/positioning/051-expected.txt:
+        * layout-tests/fast/block/positioning/056-expected.txt:
+        * layout-tests/fast/block/positioning/057-expected.txt:
+        * layout-tests/fast/block/positioning/058-expected.txt:
+        * layout-tests/fast/block/positioning/auto/001-expected.txt:
+        * layout-tests/fast/block/positioning/auto/002-expected.txt:
+        * layout-tests/fast/block/positioning/auto/003-expected.txt:
+        * layout-tests/fast/block/positioning/auto/004-expected.txt:
+        * layout-tests/fast/block/positioning/auto/005-expected.txt:
+        * layout-tests/fast/block/positioning/auto/006-expected.txt:
+        * layout-tests/fast/clip/013-expected.txt:
+        * layout-tests/fast/clip/014-expected.txt:
+        * layout-tests/fast/css-generated-content/006-expected.txt:
+        * layout-tests/fast/css/003-expected.txt:
+        * layout-tests/fast/css/004-expected.txt:
+        * layout-tests/fast/css/005-expected.txt:
+        * layout-tests/fast/dynamic/002-expected.txt:
+        * layout-tests/fast/dynamic/004-expected.txt:
+        * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
+        * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
+        * layout-tests/fast/flexbox/007-expected.txt:
+        * layout-tests/fast/flexbox/008-expected.txt:
+        * layout-tests/fast/flexbox/009-expected.txt:
+        * layout-tests/fast/flexbox/011-expected.txt:
+        * layout-tests/fast/flexbox/016-expected.txt:
+        * layout-tests/fast/flexbox/017-expected.txt:
+        * layout-tests/fast/flexbox/018-expected.txt:
+        * layout-tests/fast/flexbox/019-expected.txt:
+        * layout-tests/fast/flexbox/022-expected.txt:
+        * layout-tests/fast/flexbox/025-expected.txt:
+        * layout-tests/fast/forms/001-expected.txt:
+        * layout-tests/fast/forms/002-expected.txt:
+        * layout-tests/fast/forms/006-expected.txt:
+        * layout-tests/fast/forms/007-expected.txt:
+        * layout-tests/fast/forms/form-element-geometry-expected.txt:
+        * layout-tests/fast/frames/001-expected.txt:
+        * layout-tests/fast/inline-block/001-expected.txt:
+        * layout-tests/fast/inline-block/002-expected.txt:
+        * layout-tests/fast/inline-block/003-expected.txt:
+        * layout-tests/fast/inline/001-expected.txt:
+        * layout-tests/fast/invalid/008-expected.txt:
+        * layout-tests/fast/invalid/014-expected.txt:
+        * layout-tests/fast/invalid/016-expected.txt:
+        * layout-tests/fast/lists/001-expected.txt:
+        * layout-tests/fast/lists/004-expected.txt:
+        * layout-tests/fast/lists/007-expected.txt:
+        * layout-tests/fast/overflow/001-expected.txt:
+        * layout-tests/fast/overflow/002-expected.txt:
+        * layout-tests/fast/overflow/004-expected.txt:
+        * layout-tests/fast/replaced/005-expected.txt:
+        * layout-tests/fast/replaced/006-expected.txt:
+        * layout-tests/fast/replaced/008-expected.txt:
+        * layout-tests/fast/selectors/009-expected.txt:
+        * layout-tests/fast/selectors/014-expected.txt:
+        * layout-tests/fast/selectors/032-expected.txt:
+        * layout-tests/fast/selectors/033-expected.txt:
+        * layout-tests/fast/selectors/039-expected.txt:
+        * layout-tests/fast/selectors/039b-expected.txt:
+        * layout-tests/fast/selectors/064-expected.txt:
+        * layout-tests/fast/selectors/077-expected.txt:
+        * layout-tests/fast/selectors/077b-expected.txt:
+        * layout-tests/fast/selectors/078-expected.txt:
+        * layout-tests/fast/selectors/078b-expected.txt:
+        * layout-tests/fast/selectors/166a-expected.txt:
+        * layout-tests/fast/table/003-expected.txt:
+        * layout-tests/fast/table/004-expected.txt:
+        * layout-tests/fast/table/005-expected.txt:
+        * layout-tests/fast/table/006-expected.txt:
+        * layout-tests/fast/table/007-expected.txt:
+        * layout-tests/fast/table/008-expected.txt:
+        * layout-tests/fast/table/009-expected.txt:
+        * layout-tests/fast/table/015-expected.txt:
+        * layout-tests/fast/table/017-expected.txt:
+        * layout-tests/fast/table/018-expected.txt:
+        * layout-tests/fast/table/020-expected.txt:
+        * layout-tests/fast/table/023-expected.txt:
+        * layout-tests/fast/table/025-expected.txt:
+        * layout-tests/fast/table/027-expected.txt:
+        * layout-tests/fast/table/028-expected.txt:
+        * layout-tests/fast/table/029-expected.txt:
+        * layout-tests/fast/table/030-expected.txt:
+        * layout-tests/fast/table/035-expected.txt:
+        * layout-tests/fast/table/036-expected.txt:
+        * layout-tests/fast/table/038-expected.txt:
+        * layout-tests/fast/table/border-collapsing/001-expected.txt:
+        * layout-tests/fast/table/border-collapsing/002-expected.txt:
+        * layout-tests/fast/table/border-collapsing/003-expected.txt:
+        * layout-tests/fast/table/border-collapsing/004-expected.txt:
+        * layout-tests/fast/table/large-width-expected.txt:
+        * layout-tests/fast/table/nobr-expected.txt:
+        * layout-tests/fast/text/basic/001-expected.txt:
+        * layout-tests/fast/text/basic/003-expected.txt:
+        * layout-tests/fast/text/basic/004-expected.txt:
+        * layout-tests/fast/text/basic/005-expected.txt:
+        * layout-tests/fast/text/basic/006-expected.txt:
+        * layout-tests/fast/text/basic/007-expected.txt:
+        * layout-tests/fast/text/basic/012-expected.txt:
+        * layout-tests/fast/text/firstline/002-expected.txt:
+        * layout-tests/fast/text/whitespace/002-expected.txt:
+        * layout-tests/fast/text/whitespace/003-expected.txt:
+        * layout-tests/fast/text/whitespace/020-expected.txt:
+        * layout-tests/fast/text/whitespace/023-expected.txt:
+        * layout-tests/fast/text/whitespace/024-expected.txt:
+        * layout-tests/fast/text/whitespace/025-expected.txt:
+        * layout-tests/fast/text/whitespace/027-expected.txt:
+
 2003-11-16  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/khtml/rendering/render_style.h b/WebCore/khtml/rendering/render_style.h
index 861d882..971382e 100644
--- a/WebCore/khtml/rendering/render_style.h
+++ b/WebCore/khtml/rendering/render_style.h
@@ -221,6 +221,10 @@ public:
     	return width==o.width && style==o.style && color==o.color;
     }
 
+    bool operator!=(const BorderValue& o) const
+    {
+        return !(*this == o);
+    }
 };
 
 class OutlineValue : public BorderValue
diff --git a/WebCore/kwq/KWQRenderTreeDebug.cpp b/WebCore/kwq/KWQRenderTreeDebug.cpp
index 741c169..fd0ac69 100644
--- a/WebCore/kwq/KWQRenderTreeDebug.cpp
+++ b/WebCore/kwq/KWQRenderTreeDebug.cpp
@@ -43,6 +43,8 @@ using khtml::RenderText;
 using khtml::RenderCanvas;
 using khtml::InlineTextBox;
 using khtml::InlineTextBoxArray;
+using khtml::BorderValue;
+using khtml::EBorderStyle;
 
 static void writeLayers(QTextStream &ts, const RenderLayer* rootLayer, RenderLayer* l,
                         const QRect& paintDirtyRect, int indent=0);
@@ -59,6 +61,47 @@ static void writeIndent(QTextStream &ts, int indent)
     }
 }
 
+static void printBorderStyle(QTextStream &ts, const RenderObject &o, const EBorderStyle borderStyle)
+{
+    switch (borderStyle) {
+        case khtml::BNONE:
+            ts << "none";
+            break;
+        case khtml::BHIDDEN:
+            ts << "hidden";
+            break;
+        case khtml::INSET:
+            ts << "inset";
+            break;
+        case khtml::GROOVE:
+            ts << "groove";
+            break;
+        case khtml::RIDGE:
+            ts << "ridge";
+            break;
+        case khtml::OUTSET:
+            ts << "outset";
+            break;
+        case khtml::DOTTED:
+            ts << "dotted";
+            break;
+        case khtml::DASHED:
+            ts << "dashed";
+            break;
+        case khtml::SOLID:
+            ts << "solid";
+            break;
+        case khtml::DOUBLE:
+            ts << "double";
+            break;
+        case khtml::APPLEAQUA:
+            ts << "aqua";
+            break;
+    }
+    
+    ts << " ";
+}
+
 static QTextStream &operator<<(QTextStream &ts, const RenderObject &o)
 {
     ts << o.renderName();
@@ -77,16 +120,77 @@ static QTextStream &operator<<(QTextStream &ts, const RenderObject &o)
     QRect r(o.xPos(), o.yPos(), o.width(), o.height());
     ts << " " << r;
     
-    if (o.parent() && (o.parent()->style()->color() != o.style()->color()))
-        ts << " [color=" << o.style()->color().name() << "]";
-    if (o.parent() && (o.parent()->style()->backgroundColor() != o.style()->backgroundColor()))
-        ts << " [bgcolor=" << o.style()->backgroundColor().name() << "]";
-
+    if (!o.isText()) {
+        if (o.parent() && (o.parent()->style()->color() != o.style()->color()))
+            ts << " [color=" << o.style()->color().name() << "]";
+        if (o.parent() && (o.parent()->style()->backgroundColor() != o.style()->backgroundColor()))
+            ts << " [bgcolor=" << o.style()->backgroundColor().name() << "]";
+    
+        if (o.borderTop() || o.borderRight() || o.borderBottom() || o.borderLeft()) {
+            ts << " [border:";
+            
+            BorderValue prevBorder;
+            if (o.style()->borderTop() != prevBorder) {
+                prevBorder = o.style()->borderTop();
+                if (!o.borderTop())
+                    ts << " none";
+                else {
+                    ts << " (" << o.borderTop() << "px ";
+                    printBorderStyle(ts, o, o.style()->borderTopStyle());
+                    QColor col = o.style()->borderTopColor();
+                    if (!col.isValid()) col = o.style()->color();
+                    ts << col.name() << ")";
+                }
+            }
+            
+            if (o.style()->borderRight() != prevBorder) {
+                prevBorder = o.style()->borderRight();
+                if (!o.borderRight())
+                    ts << " none";
+                else {
+                    ts << " (" << o.borderRight() << "px ";
+                    printBorderStyle(ts, o, o.style()->borderRightStyle());
+                    QColor col = o.style()->borderRightColor();
+                    if (!col.isValid()) col = o.style()->color();
+                    ts << col.name() << ")";
+                }
+            }
+            
+            if (o.style()->borderBottom() != prevBorder) {
+                prevBorder = o.style()->borderBottom();
+                if (!o.borderBottom())
+                    ts << " none";
+                else {
+                    ts << " (" << o.borderBottom() << "px ";
+                    printBorderStyle(ts, o, o.style()->borderBottomStyle());
+                    QColor col = o.style()->borderBottomColor();
+                    if (!col.isValid()) col = o.style()->color();
+                    ts << col.name() << ")";
+                }
+            }
+            
+            if (o.style()->borderLeft() != prevBorder) {
+                prevBorder = o.style()->borderLeft();
+                if (!o.borderLeft())
+                    ts << " none";
+                else {                    
+                    ts << " (" << o.borderLeft() << "px ";
+                    printBorderStyle(ts, o, o.style()->borderLeftStyle());
+                    QColor col = o.style()->borderLeftColor();
+                    if (!col.isValid()) col = o.style()->color();
+                    ts << col.name() << ")";
+                }
+            }
+            
+            ts << "]";
+        }
+    }
+    
     if (o.isTableCell()) {
         const RenderTableCell &c = static_cast<const RenderTableCell &>(o);
         ts << " [r=" << c.row() << " c=" << c.col() << " rs=" << c.rowSpan() << " cs=" << c.colSpan() << "]";
     }
-    
+
     return ts;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list