<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[174490] trunk/LayoutTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/174490">174490</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2014-10-08 18:48:54 -0700 (Wed, 08 Oct 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>iOS Simulator results for css1 tests.

* platform/ios-simulator/css1/basic/containment-expected.txt: Added.
* platform/ios-simulator/css1/basic/contextual_selectors-expected.txt: Added.
* platform/ios-simulator/css1/basic/grouping-expected.txt: Added.
* platform/ios-simulator/css1/basic/id_as_selector-expected.txt: Added.
* platform/ios-simulator/css1/basic/inheritance-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/acid_test-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_bottom-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_color-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_left-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_left_width-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_right-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_right_width-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_style-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_top-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_top_width-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_width-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/clear-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/clear_float-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/float-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/float_margin-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/height-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_left-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_right-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_top-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_left-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_right-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_top-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt: Added.
* platform/ios-simulator/css1/box_properties/width-expected.txt: Added.
* platform/ios-simulator/css1/cascade/cascade_order-expected.txt: Added.
* platform/ios-simulator/css1/cascade/important-expected.txt: Added.
* platform/ios-simulator/css1/classification/display-expected.txt: Added.
* platform/ios-simulator/css1/classification/list_style-expected.txt: Added.
* platform/ios-simulator/css1/classification/list_style_image-expected.txt: Added.
* platform/ios-simulator/css1/classification/list_style_position-expected.txt: Added.
* platform/ios-simulator/css1/classification/list_style_type-expected.txt: Added.
* platform/ios-simulator/css1/classification/white_space-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background_color-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background_image-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background_position-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt: Added.
* platform/ios-simulator/css1/color_and_background/color-expected.txt: Added.
* platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font_family-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font_size-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font_style-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font_variant-expected.txt: Added.
* platform/ios-simulator/css1/font_properties/font_weight-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/canvas-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt: Added.
* platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt: Added.
* platform/ios-simulator/css1/pseudo/anchor-expected.txt: Added.
* platform/ios-simulator/css1/pseudo/firstletter-expected.txt: Added.
* platform/ios-simulator/css1/pseudo/firstline-expected.txt: Added.
* platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt: Added.
* platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/line_height-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/text_align-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/text_decoration-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/text_indent-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/text_transform-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/vertical_align-expected.txt: Added.
* platform/ios-simulator/css1/text_properties/word_spacing-expected.txt: Added.
* platform/ios-simulator/css1/units/color_units-expected.txt: Added.
* platform/ios-simulator/css1/units/length_units-expected.txt: Added.
* platform/ios-simulator/css1/units/percentage_units-expected.txt: Added.
* platform/ios-simulator/css1/units/urls-expected.txt: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/platform/ios-simulator/css1/</li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/basic/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1basiccontainmentexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/basic/containment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1basiccontextual_selectorsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/basic/contextual_selectors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1basicgroupingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/basic/grouping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1basicid_as_selectorexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/basic/id_as_selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1basicinheritanceexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/basic/inheritance-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/box_properties/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesacid_testexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/acid_test-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborderexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottomexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_widthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_width_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_colorexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_color_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_leftexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_widthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_width_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_rightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_widthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_width_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_styleexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_style_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_topexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_widthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_width_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_widthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_width_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesclearexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesclear_floatexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear_float-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloatexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_elements_in_seriesexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_marginexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_margin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_on_text_elementsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesheightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmarginexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_bottomexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_bottom_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_leftexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_left_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_rightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_right_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_topexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_top_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespaddingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_bottomexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_bottom_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_leftexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_left_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_rightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_right_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_topexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_top_inlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1box_propertieswidthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/box_properties/width-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/cascade/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1cascadecascade_orderexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/cascade/cascade_order-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1cascadeimportantexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/cascade/important-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/classification/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationdisplayexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/display-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationlist_styleexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_imageexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_image-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_positionexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_position-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_typeexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_type-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1classificationwhite_spaceexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/classification/white_space-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackgroundexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_attachmentexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_colorexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_color-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_imageexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_image-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_positionexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_position-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_repeatexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundcolorexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/color-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/conformance/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1conformanceforward_compatible_parsingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/font_properties/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfontexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_familyexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_family-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_sizeexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_size-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_styleexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_style-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_variantexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_variant-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_weightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_weight-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelcanvasexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/canvas-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelfloating_elementsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelheight_of_linesexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelhorizontal_formattingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelinline_elementsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelreplaced_elementsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1formatting_modelvertical_formattingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/pseudo/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1pseudoanchorexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/pseudo/anchor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1pseudofirstletterexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstletter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1pseudofirstlineexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1pseudomultiple_pseudo_elementsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1pseudopseudo_elements_in_selectorsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/text_properties/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiesletter_spacingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiesline_heightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/line_height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_alignexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_align-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_decorationexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_decoration-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_indentexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_indent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_transformexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_transform-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiesvertical_alignexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/vertical_align-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1text_propertiesword_spacingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/text_properties/word_spacing-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/css1/units/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1unitscolor_unitsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/units/color_units-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1unitslength_unitsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/units/length_units-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1unitspercentage_unitsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/units/percentage_units-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorcss1unitsurlsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/css1/units/urls-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (174489 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-10-09 01:14:30 UTC (rev 174489)
+++ trunk/LayoutTests/ChangeLog        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -1,3 +1,112 @@
</span><ins>+2014-10-08  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        iOS Simulator results for css1 tests.
+
+        * platform/ios-simulator/css1/basic/containment-expected.txt: Added.
+        * platform/ios-simulator/css1/basic/contextual_selectors-expected.txt: Added.
+        * platform/ios-simulator/css1/basic/grouping-expected.txt: Added.
+        * platform/ios-simulator/css1/basic/id_as_selector-expected.txt: Added.
+        * platform/ios-simulator/css1/basic/inheritance-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/acid_test-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_bottom-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_color-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_left-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_left_width-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_right-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_right_width-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_style-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_top-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_top_width-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_width-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/clear-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/clear_float-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/float-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/float_margin-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/height-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_left-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_right-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_top-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_left-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_right-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_top-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt: Added.
+        * platform/ios-simulator/css1/box_properties/width-expected.txt: Added.
+        * platform/ios-simulator/css1/cascade/cascade_order-expected.txt: Added.
+        * platform/ios-simulator/css1/cascade/important-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/display-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/list_style-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/list_style_image-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/list_style_position-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/list_style_type-expected.txt: Added.
+        * platform/ios-simulator/css1/classification/white_space-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background_color-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background_image-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background_position-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt: Added.
+        * platform/ios-simulator/css1/color_and_background/color-expected.txt: Added.
+        * platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font_family-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font_size-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font_style-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font_variant-expected.txt: Added.
+        * platform/ios-simulator/css1/font_properties/font_weight-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/canvas-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt: Added.
+        * platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt: Added.
+        * platform/ios-simulator/css1/pseudo/anchor-expected.txt: Added.
+        * platform/ios-simulator/css1/pseudo/firstletter-expected.txt: Added.
+        * platform/ios-simulator/css1/pseudo/firstline-expected.txt: Added.
+        * platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt: Added.
+        * platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/line_height-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/text_align-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/text_decoration-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/text_indent-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/text_transform-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/vertical_align-expected.txt: Added.
+        * platform/ios-simulator/css1/text_properties/word_spacing-expected.txt: Added.
+        * platform/ios-simulator/css1/units/color_units-expected.txt: Added.
+        * platform/ios-simulator/css1/units/length_units-expected.txt: Added.
+        * platform/ios-simulator/css1/units/percentage_units-expected.txt: Added.
+        * platform/ios-simulator/css1/units/urls-expected.txt: Added.
+
</ins><span class="cx"> 2014-10-08  Myles C. Maxfield  &lt;mmaxfield@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Inline ruby does not get justified correctly
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1basiccontainmentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/basic/containment-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/basic/containment-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/basic/containment-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,210 @@
</span><ins>+layer at (0,0) size 800x1009
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1009
+  RenderBlock {HTML} at (0,0) size 800x1009
+    RenderBody {BODY} at (8,8) size 784x993 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x140
+        RenderText {#text} at (0,0) size 710x140
+          text run at (0,0) width 609: &quot;&lt;LINK rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;linktest.css\&quot; title=\&quot;Default SS\&quot;&gt;&quot;
+          text run at (608,0) width 1: &quot; &quot;
+          text run at (0,14) width 710: &quot;&lt;LINK rel=\&quot;alternate stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;linktest2.css\&quot; title=\&quot;Alternate SS\&quot;&gt;&quot;
+          text run at (709,14) width 1: &quot; &quot;
+          text run at (0,28) width 203: &quot;@import url(imptest1.css);&quot;
+          text run at (202,28) width 1: &quot; &quot;
+          text run at (0,42) width 188: &quot;@import \&quot;imptest1a.css\&quot;;&quot;
+          text run at (187,42) width 1: &quot; &quot;
+          text run at (0,56) width 125: &quot;UL {color: red;}&quot;
+          text run at (124,56) width 1: &quot; &quot;
+          text run at (0,70) width 172: &quot;.four {color: purple;}&quot;
+          text run at (171,70) width 1: &quot; &quot;
+          text run at (0,84) width 203: &quot;@import url(imptest2.css);&quot;
+          text run at (202,84) width 1: &quot; &quot;
+          text run at (0,98) width 32: &quot;&lt;!--&quot;
+          text run at (31,98) width 1: &quot; &quot;
+          text run at (0,112) width 164: &quot;P.six {color: green;}&quot;
+          text run at (163,112) width 1: &quot; &quot;
+          text run at (0,126) width 24: &quot;--&gt;&quot;
+          text run at (23,126) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,189) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,207) size 784x20
+        RenderText {#text} at (0,0) size 412x19
+          text run at (0,0) width 412: &quot;This sentence should be underlined due to the linked style sheet &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (411,5) size 95x14
+            text run at (411,5) width 95: &quot;linktest.css&quot;
+        RenderText {#text} at (505,0) size 258x19
+          text run at (505,0) width 258: &quot;, the reference to which is shown above.&quot;
+      RenderBlock {P} at (0,243) size 784x40
+        RenderText {#text} at (0,0) size 449x19
+          text run at (0,0) width 449: &quot;This sentence should NOT be underlined due to the linked style sheet &quot;
+        RenderInline {CODE} at (0,0) size 102x14
+          RenderText {#text} at (448,5) size 102x14
+            text run at (448,5) width 102: &quot;linktest2.css&quot;
+        RenderText {#text} at (549,0) size 9x19
+          text run at (549,0) width 9: &quot;, &quot;
+        RenderInline {STRONG} at (0,0) size 43x19
+          RenderText {#text} at (557,0) size 43x19
+            text run at (557,0) width 43: &quot;unless&quot;
+        RenderText {#text} at (599,0) size 750x39
+          text run at (599,0) width 151: &quot; the external style sheet&quot;
+          text run at (0,20) width 330: &quot;\&quot;Alternate SS\&quot; has been selected via the user agent.&quot;
+      RenderBlock {UL} at (0,299) size 784x60 [color=#FF0000]
+        RenderListItem {LI} at (40,0) size 744x20 [color=#008000]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 398x19
+            text run at (0,0) width 398: &quot;This sentence should be green due to an imported style sheet [&quot;
+          RenderInline {CODE} at (0,0) size 204x14
+            RenderText {#text} at (397,5) size 204x14
+              text run at (397,5) width 204: &quot;@import url(imptest1.css);&quot;
+          RenderText {#text} at (600,0) size 10x19
+            text run at (600,0) width 10: &quot;].&quot;
+        RenderListItem {LI} at (40,20) size 744x20 [color=#800080]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 404x19
+            text run at (0,0) width 404: &quot;This sentence should be purple due to an imported style sheet [&quot;
+          RenderInline {CODE} at (0,0) size 180x14
+            RenderText {#text} at (403,5) size 180x14
+              text run at (403,5) width 180: &quot;@import \&quot;imptest1a.css\&quot;&quot;
+          RenderText {#text} at (582,0) size 10x19
+            text run at (582,0) width 10: &quot;].&quot;
+        RenderListItem {LI} at (40,40) size 744x20 [color=#008000]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 400x19
+            text run at (0,0) width 400: &quot;This sentence should be green thanks to the STYLE attribute [&quot;
+          RenderInline {CODE} at (0,0) size 164x14
+            RenderText {#text} at (399,5) size 164x14
+              text run at (399,5) width 164: &quot;STYLE=\&quot;color: green;\&quot;&quot;
+          RenderText {#text} at (562,0) size 11x19
+            text run at (562,0) width 11: &quot;].&quot;
+      RenderBlock {P} at (0,375) size 784x20 [color=#800080]
+        RenderText {#text} at (0,0) size 510x19
+          text run at (0,0) width 510: &quot;This sentence should be purple, and it doesn't have a terminating paragraph tag.&quot;
+      RenderBlock {OL} at (0,411) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;1&quot;
+          RenderText {#text} at (0,0) size 204x19
+            text run at (0,0) width 204: &quot;This list should NOT be purple.&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;2&quot;
+          RenderText {#text} at (0,0) size 176x19
+            text run at (0,0) width 176: &quot;It should, instead, be black.&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;3&quot;
+          RenderText {#text} at (0,0) size 512x19
+            text run at (0,0) width 512: &quot;If it IS purple, then the browser hasn't correctly parsed the preceding paragraph.&quot;
+      RenderBlock {P} at (0,487) size 784x40
+        RenderText {#text} at (0,0) size 715x19
+          text run at (0,0) width 200: &quot;This sentence should be black. &quot;
+          text run at (199,0) width 516: &quot;If it is red, then the browser has inappropriately imported the styles from the file&quot;
+        RenderInline {TT} at (0,0) size 94x14
+          RenderText {#text} at (0,25) size 94x14
+            text run at (0,25) width 94: &quot;imptest2.css&quot;
+        RenderText {#text} at (93,20) size 35x19
+          text run at (93,20) width 35: &quot; (see &quot;
+        RenderInline {A} at (0,0) size 70x19 [color=#0000FF]
+          RenderText {#text} at (127,20) size 70x19
+            text run at (127,20) width 70: &quot;section 3.0&quot;
+        RenderText {#text} at (196,20) size 283x19
+          text run at (196,20) width 283: &quot; of the CSS1 specification for more details).&quot;
+      RenderBlock {P} at (0,543) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 206x19
+          text run at (0,0) width 206: &quot;This paragraph should be green.&quot;
+      RenderTable {TABLE} at (0,579) size 784x414 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x412
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x384
+            RenderTableCell {TD} at (0,206) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x384 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 412x19
+                  text run at (0,0) width 412: &quot;This sentence should be underlined due to the linked style sheet &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (411,5) size 95x14
+                    text run at (411,5) width 95: &quot;linktest.css&quot;
+                RenderText {#text} at (505,0) size 717x39
+                  text run at (505,0) width 212: &quot;, the reference to which is shown&quot;
+                  text run at (0,20) width 43: &quot;above.&quot;
+              RenderBlock {P} at (4,60) size 762x40
+                RenderText {#text} at (0,0) size 449x19
+                  text run at (0,0) width 449: &quot;This sentence should NOT be underlined due to the linked style sheet &quot;
+                RenderInline {CODE} at (0,0) size 102x14
+                  RenderText {#text} at (448,5) size 102x14
+                    text run at (448,5) width 102: &quot;linktest2.css&quot;
+                RenderText {#text} at (549,0) size 9x19
+                  text run at (549,0) width 9: &quot;, &quot;
+                RenderInline {STRONG} at (0,0) size 43x19
+                  RenderText {#text} at (557,0) size 43x19
+                    text run at (557,0) width 43: &quot;unless&quot;
+                RenderText {#text} at (599,0) size 750x39
+                  text run at (599,0) width 151: &quot; the external style sheet&quot;
+                  text run at (0,20) width 330: &quot;\&quot;Alternate SS\&quot; has been selected via the user agent.&quot;
+              RenderBlock {UL} at (4,116) size 762x60 [color=#FF0000]
+                RenderListItem {LI} at (40,0) size 722x20 [color=#008000]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 398x19
+                    text run at (0,0) width 398: &quot;This sentence should be green due to an imported style sheet [&quot;
+                  RenderInline {CODE} at (0,0) size 204x14
+                    RenderText {#text} at (397,5) size 204x14
+                      text run at (397,5) width 204: &quot;@import url(imptest1.css);&quot;
+                  RenderText {#text} at (600,0) size 10x19
+                    text run at (600,0) width 10: &quot;].&quot;
+                RenderListItem {LI} at (40,20) size 722x20 [color=#800080]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 404x19
+                    text run at (0,0) width 404: &quot;This sentence should be purple due to an imported style sheet [&quot;
+                  RenderInline {CODE} at (0,0) size 180x14
+                    RenderText {#text} at (403,5) size 180x14
+                      text run at (403,5) width 180: &quot;@import \&quot;imptest1a.css\&quot;&quot;
+                  RenderText {#text} at (582,0) size 10x19
+                    text run at (582,0) width 10: &quot;].&quot;
+                RenderListItem {LI} at (40,40) size 722x20 [color=#008000]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 400x19
+                    text run at (0,0) width 400: &quot;This sentence should be green thanks to the STYLE attribute [&quot;
+                  RenderInline {CODE} at (0,0) size 164x14
+                    RenderText {#text} at (399,5) size 164x14
+                      text run at (399,5) width 164: &quot;STYLE=\&quot;color: green;\&quot;&quot;
+                  RenderText {#text} at (562,0) size 11x19
+                    text run at (562,0) width 11: &quot;].&quot;
+              RenderBlock {P} at (4,192) size 762x20 [color=#800080]
+                RenderText {#text} at (0,0) size 510x19
+                  text run at (0,0) width 510: &quot;This sentence should be purple, and it doesn't have a terminating paragraph tag.&quot;
+              RenderBlock {OL} at (4,228) size 762x60
+                RenderListItem {LI} at (40,0) size 722x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;1&quot;
+                  RenderText {#text} at (0,0) size 204x19
+                    text run at (0,0) width 204: &quot;This list should NOT be purple.&quot;
+                RenderListItem {LI} at (40,20) size 722x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;2&quot;
+                  RenderText {#text} at (0,0) size 176x19
+                    text run at (0,0) width 176: &quot;It should, instead, be black.&quot;
+                RenderListItem {LI} at (40,40) size 722x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;3&quot;
+                  RenderText {#text} at (0,0) size 512x19
+                    text run at (0,0) width 512: &quot;If it IS purple, then the browser hasn't correctly parsed the preceding paragraph.&quot;
+              RenderBlock {P} at (4,304) size 762x40
+                RenderText {#text} at (0,0) size 715x19
+                  text run at (0,0) width 200: &quot;This sentence should be black. &quot;
+                  text run at (199,0) width 516: &quot;If it is red, then the browser has inappropriately imported the styles from the file&quot;
+                RenderInline {TT} at (0,0) size 94x14
+                  RenderText {#text} at (0,25) size 94x14
+                    text run at (0,25) width 94: &quot;imptest2.css&quot;
+                RenderText {#text} at (93,20) size 35x19
+                  text run at (93,20) width 35: &quot; (see &quot;
+                RenderInline {A} at (0,0) size 70x19 [color=#0000FF]
+                  RenderText {#text} at (127,20) size 70x19
+                    text run at (127,20) width 70: &quot;section 3.0&quot;
+                RenderText {#text} at (196,20) size 283x19
+                  text run at (196,20) width 283: &quot; of the CSS1 specification for more details).&quot;
+              RenderBlock {P} at (4,360) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 206x19
+                  text run at (0,0) width 206: &quot;This paragraph should be green.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1basiccontextual_selectorsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/basic/contextual_selectors-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/basic/contextual_selectors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/basic/contextual_selectors-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20 [color=#000080]
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 461x56
+          text run at (0,0) width 281: &quot;P {color: navy; font-family: serif;}&quot;
+          text run at (280,0) width 1: &quot; &quot;
+          text run at (0,14) width 461: &quot;HTML BODY TABLE P {color: purple; font-family: sans-serif;}&quot;
+          text run at (460,14) width 1: &quot; &quot;
+          text run at (0,28) width 219: &quot;EM, UL LI LI {color: green;}&quot;
+          text run at (218,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x20 [color=#000080]
+        RenderText {#text} at (0,0) size 640x19
+          text run at (0,0) width 640: &quot;This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table.&quot;
+      RenderBlock {P} at (0,159) size 784x20 [color=#000080]
+        RenderText {#text} at (0,0) size 570x19
+          text run at (0,0) width 570: &quot;This sentence should be normal for its section, except for the last word, which should be &quot;
+        RenderInline {EM} at (0,0) size 37x19 [color=#008000]
+          RenderText {#text} at (569,0) size 37x19
+            text run at (569,0) width 37: &quot;green&quot;
+        RenderText {#text} at (605,0) size 5x19
+          text run at (605,0) width 5: &quot;.&quot;
+      RenderBlock {UL} at (0,195) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderBlock (anonymous) at (0,0) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderInline {EM} at (0,0) size 40x19 [color=#008000]
+              RenderText {#text} at (0,0) size 40x19
+                text run at (0,0) width 40: &quot;Hello.&quot;
+            RenderText {#text} at (39,0) size 407x19
+              text run at (39,0) width 5: &quot; &quot;
+              text run at (43,0) width 403: &quot;The first \&quot;hello\&quot; should be green, but this part should be black.&quot;
+          RenderBlock {UL} at (0,20) size 744x20
+            RenderListItem {LI} at (40,0) size 704x20 [color=#008000]
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 138x19
+                text run at (0,0) width 138: &quot;This should be green.&quot;
+      RenderTable {TABLE} at (0,251) size 730x166 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 728x164
+          RenderTableRow {TR} at (0,0) size 728x28
+            RenderTableCell {TD} at (0,0) size 728x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 728x136
+            RenderTableCell {TD} at (0,82) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 716x136 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 708x20 [color=#800080]
+                RenderText {#text} at (0,0) size 708x20
+                  text run at (0,0) width 708: &quot;This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table.&quot;
+              RenderBlock {P} at (4,40) size 708x20 [color=#800080]
+                RenderText {#text} at (0,0) size 628x20
+                  text run at (0,0) width 628: &quot;This sentence should be normal for its section, except for the last word, which should be &quot;
+                RenderInline {EM} at (0,0) size 42x20 [color=#008000]
+                  RenderText {#text} at (627,0) size 42x20
+                    text run at (627,0) width 42: &quot;green&quot;
+                RenderText {#text} at (668,0) size 6x20
+                  text run at (668,0) width 6: &quot;.&quot;
+              RenderBlock {UL} at (4,76) size 708x40
+                RenderListItem {LI} at (40,0) size 668x40
+                  RenderBlock (anonymous) at (0,0) size 668x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderInline {EM} at (0,0) size 40x19 [color=#008000]
+                      RenderText {#text} at (0,0) size 40x19
+                        text run at (0,0) width 40: &quot;Hello.&quot;
+                    RenderText {#text} at (39,0) size 407x19
+                      text run at (39,0) width 5: &quot; &quot;
+                      text run at (43,0) width 403: &quot;The first \&quot;hello\&quot; should be green, but this part should be black.&quot;
+                  RenderBlock {UL} at (0,20) size 668x20
+                    RenderListItem {LI} at (40,0) size 628x20 [color=#008000]
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 138x19
+                        text run at (0,0) width 138: &quot;This should be green.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1basicgroupingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/basic/grouping-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/basic/grouping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/basic/grouping-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 266x28
+          text run at (0,0) width 266: &quot;.one, .two, .three {color: green;}&quot;
+          text run at (265,0) width 1: &quot; &quot;
+          text run at (0,14) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,131) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,167) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderTable {TABLE} at (0,203) size 219x130 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 217x128
+          RenderTableRow {TR} at (0,0) size 217x28
+            RenderTableCell {TD} at (0,0) size 217x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 217x100
+            RenderTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 205x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 197x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,40) size 197x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,76) size 197x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1basicid_as_selectorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/basic/id_as_selector-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/basic/id_as_selector-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/basic/id_as_selector-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,92 @@
</span><ins>+layer at (0,0) size 800x635
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x635
+  RenderBlock {HTML} at (0,0) size 800x635
+    RenderBody {BODY} at (8,8) size 784x619 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x112
+        RenderText {#text} at (0,0) size 266x112
+          text run at (0,0) width 157: &quot;#one {color: green;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 149: &quot;#a1 {color: green;}&quot;
+          text run at (148,14) width 1: &quot; &quot;
+          text run at (0,28) width 219: &quot;P#two, P#two2 {color: blue;}&quot;
+          text run at (218,28) width 1: &quot; &quot;
+          text run at (0,42) width 266: &quot;P#three, P#three2 {color: purple;}&quot;
+          text run at (265,42) width 1: &quot; &quot;
+          text run at (0,56) width 164: &quot;#four {color: green;}&quot;
+          text run at (163,56) width 1: &quot; &quot;
+          text run at (0,70) width 149: &quot;#a2 {color: green;}&quot;
+          text run at (148,70) width 1: &quot; &quot;
+          text run at (0,84) width 235: &quot;P#five, P#five2 {color: blue;}&quot;
+          text run at (234,84) width 1: &quot; &quot;
+          text run at (0,98) width 235: &quot;P#six, P#six2 {color: purple;}&quot;
+      RenderBlock {HR} at (0,161) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,179) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,215) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,251) size 784x20 [color=#0000FF]
+        RenderText {#text} at (0,0) size 204x19
+          text run at (0,0) width 204: &quot;This paragraph should be blue [&quot;
+        RenderInline {TT} at (0,0) size 63x14
+          RenderText {#text} at (203,5) size 63x14
+            text run at (203,5) width 63: &quot;ID=\&quot;two\&quot;&quot;
+        RenderText {#text} at (265,0) size 10x19
+          text run at (265,0) width 10: &quot;].&quot;
+      RenderBlock {PRE} at (0,287) size 784x14
+        RenderText {#text} at (0,0) size 383x14
+          text run at (0,0) width 383: &quot;This sentence should NOT be blue [PRE ID=\&quot;two2\&quot;].&quot;
+          text run at (382,0) width 1: &quot; &quot;
+      RenderBlock {PRE} at (0,314) size 784x14
+        RenderText {#text} at (0,0) size 461x14
+          text run at (0,0) width 461: &quot;This sentence should be black, not purple [PRE ID=\&quot;three\&quot;].&quot;
+          text run at (460,0) width 1: &quot; &quot;
+      RenderBlock {UL} at (0,344) size 784x20
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 239x19
+            text run at (0,0) width 239: &quot;This sentence should NOT be purple.&quot;
+      RenderTable {TABLE} at (0,380) size 413x239 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 411x237
+          RenderTableRow {TR} at (0,0) size 411x28
+            RenderTableCell {TD} at (0,0) size 411x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 411x209
+            RenderTableCell {TD} at (0,118) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 399x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 391x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,40) size 391x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,76) size 391x20 [color=#0000FF]
+                RenderText {#text} at (0,0) size 204x19
+                  text run at (0,0) width 204: &quot;This paragraph should be blue [&quot;
+                RenderInline {TT} at (0,0) size 71x14
+                  RenderText {#text} at (203,5) size 71x14
+                    text run at (203,5) width 71: &quot;ID=\&quot;five\&quot;&quot;
+                RenderText {#text} at (273,0) size 10x19
+                  text run at (273,0) width 10: &quot;].&quot;
+              RenderBlock {PRE} at (4,112) size 391x14
+                RenderText {#text} at (0,0) size 391x14
+                  text run at (0,0) width 391: &quot;This sentence should NOT be blue [PRE ID=\&quot;five2\&quot;].&quot;
+                  text run at (390,0) width 1: &quot; &quot;
+              RenderBlock {PRE} at (4,139) size 391x14
+                RenderText {#text} at (0,0) size 352x14
+                  text run at (0,0) width 352: &quot;This sentence should be black [PRE ID=\&quot;six\&quot;].&quot;
+                  text run at (351,0) width 1: &quot; &quot;
+              RenderBlock {UL} at (4,169) size 391x20
+                RenderListItem {LI} at (40,0) size 351x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 239x19
+                    text run at (0,0) width 239: &quot;This sentence should NOT be purple.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1basicinheritanceexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/basic/inheritance-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/basic/inheritance-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/basic/inheritance-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,189 @@
</span><ins>+layer at (0,0) size 800x750
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x750
+  RenderBlock {HTML} at (0,0) size 800x750
+    RenderBody {BODY} at (8,8) size 784x734 [color=#008000] [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 266x98
+          text run at (0,0) width 157: &quot;BODY {color: green;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 133: &quot;H3 {color: blue;}&quot;
+          text run at (132,14) width 1: &quot; &quot;
+          text run at (0,28) width 149: &quot;EM {color: purple;}&quot;
+          text run at (148,28) width 1: &quot; &quot;
+          text run at (0,42) width 203: &quot;.one {font-style: italic;}&quot;
+          text run at (202,42) width 1: &quot; &quot;
+          text run at (0,56) width 266: &quot;.two {text-decoration: underline;}&quot;
+          text run at (265,56) width 1: &quot; &quot;
+          text run at (0,70) width 149: &quot;#two {color: navy;}&quot;
+          text run at (148,70) width 1: &quot; &quot;
+          text run at (0,84) width 180: &quot;.three {color: purple;}&quot;
+          text run at (179,84) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #008000)]
+      RenderBlock {H3} at (0,167) size 784x24 [color=#0000FF]
+        RenderText {#text} at (0,0) size 219x22
+          text run at (0,0) width 219: &quot;This sentence should show &quot;
+        RenderInline {STRONG} at (0,0) size 36x22
+          RenderText {#text} at (218,0) size 36x22
+            text run at (218,0) width 36: &quot;blue&quot;
+        RenderText {#text} at (253,0) size 41x22
+          text run at (253,0) width 41: &quot; and &quot;
+        RenderInline {EM} at (0,0) size 52x22 [color=#800080]
+          RenderText {#text} at (293,0) size 52x22
+            text run at (293,0) width 52: &quot;purple&quot;
+        RenderText {#text} at (344,0) size 5x22
+          text run at (344,0) width 5: &quot;.&quot;
+      RenderBlock {H3} at (0,209) size 784x24 [color=#0000FF]
+        RenderText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: &quot;This sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 35x22
+          RenderText {#text} at (196,0) size 35x22
+            text run at (196,0) width 35: &quot;blue&quot;
+        RenderText {#text} at (230,0) size 102x22
+          text run at (230,0) width 102: &quot; throughout.&quot;
+      RenderBlock {P} at (0,251) size 784x21
+        RenderText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: &quot;This should be green except for the &quot;
+        RenderInline {EM} at (0,0) size 118x19 [color=#800080]
+          RenderText {#text} at (229,0) size 118x19
+            text run at (229,0) width 118: &quot;emphasized words&quot;
+        RenderText {#text} at (346,0) size 163x19
+          text run at (346,0) width 163: &quot;, which should be purple.&quot;
+      RenderBlock {H3} at (0,289) size 784x24 [color=#0000FF]
+        RenderText {#text} at (0,0) size 292x22
+          text run at (0,0) width 292: &quot;This should be blue and underlined.&quot;
+      RenderBlock {P} at (0,331) size 784x21
+        RenderText {#text} at (0,0) size 299x19
+          text run at (0,0) width 299: &quot;This sentence should be underlined, including &quot;
+        RenderInline {TT} at (0,0) size 71x14
+          RenderText {#text} at (298,5) size 71x14
+            text run at (298,5) width 71: &quot;this part&quot;
+        RenderText {#text} at (368,0) size 9x19
+          text run at (368,0) width 9: &quot;, &quot;
+        RenderInline {I} at (0,0) size 55x19
+          RenderText {#text} at (376,0) size 55x19
+            text run at (376,0) width 55: &quot;this part&quot;
+        RenderText {#text} at (430,0) size 9x19
+          text run at (430,0) width 9: &quot;, &quot;
+        RenderInline {EM} at (0,0) size 54x19 [color=#800080]
+          RenderText {#text} at (438,0) size 54x19
+            text run at (438,0) width 54: &quot;this part&quot;
+        RenderText {#text} at (491,0) size 37x19
+          text run at (491,0) width 37: &quot;, and &quot;
+        RenderInline {STRONG} at (0,0) size 59x19
+          RenderText {#text} at (527,0) size 59x19
+            text run at (527,0) width 59: &quot;this part&quot;
+        RenderText {#text} at (585,0) size 5x19
+          text run at (585,0) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,367) size 784x21 [color=#000080]
+        RenderText {#text} at (0,0) size 444x19
+          text run at (0,0) width 444: &quot;This sentence should also be underlined, as well as dark blue (navy), &quot;
+        RenderInline {TT} at (0,0) size 149x14
+          RenderText {#text} at (443,5) size 149x14
+            text run at (443,5) width 149: &quot;including this part&quot;
+        RenderText {#text} at (591,0) size 5x19
+          text run at (591,0) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,403) size 784x21 [color=#800080]
+        RenderText {#text} at (0,0) size 271x19
+          text run at (0,0) width 271: &quot;This sentence should be purple, including &quot;
+        RenderInline {STRONG} at (0,0) size 59x19
+          RenderText {#text} at (270,0) size 59x19
+            text run at (270,0) width 59: &quot;this part&quot;
+        RenderText {#text} at (328,0) size 32x19
+          text run at (328,0) width 32: &quot; and &quot;
+        RenderInline {SPAN} at (0,0) size 178x19
+          RenderText {#text} at (359,0) size 178x19
+            text run at (359,0) width 178: &quot;this part (which is spanned)&quot;
+        RenderText {#text} at (536,0) size 5x19
+          text run at (536,0) width 5: &quot;.&quot;
+      RenderTable {TABLE} at (0,439) size 618x295 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 616x292
+          RenderTableRow {TR} at (0,0) size 616x28
+            RenderTableCell {TD} at (0,0) size 616x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 616x264
+            RenderTableCell {TD} at (0,146) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 604x264 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {H3} at (4,4) size 596x23 [color=#0000FF]
+                RenderText {#text} at (0,0) size 219x22
+                  text run at (0,0) width 219: &quot;This sentence should show &quot;
+                RenderInline {STRONG} at (0,0) size 36x22
+                  RenderText {#text} at (218,0) size 36x22
+                    text run at (218,0) width 36: &quot;blue&quot;
+                RenderText {#text} at (253,0) size 41x22
+                  text run at (253,0) width 41: &quot; and &quot;
+                RenderInline {EM} at (0,0) size 52x22 [color=#800080]
+                  RenderText {#text} at (293,0) size 52x22
+                    text run at (293,0) width 52: &quot;purple&quot;
+                RenderText {#text} at (344,0) size 5x22
+                  text run at (344,0) width 5: &quot;.&quot;
+              RenderBlock {H3} at (4,45) size 596x24 [color=#0000FF]
+                RenderText {#text} at (0,0) size 197x22
+                  text run at (0,0) width 197: &quot;This sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 35x22
+                  RenderText {#text} at (196,0) size 35x22
+                    text run at (196,0) width 35: &quot;blue&quot;
+                RenderText {#text} at (230,0) size 102x22
+                  text run at (230,0) width 102: &quot; throughout.&quot;
+              RenderBlock {P} at (4,87) size 596x21
+                RenderText {#text} at (0,0) size 230x19
+                  text run at (0,0) width 230: &quot;This should be green except for the &quot;
+                RenderInline {EM} at (0,0) size 118x19 [color=#800080]
+                  RenderText {#text} at (229,0) size 118x19
+                    text run at (229,0) width 118: &quot;emphasized words&quot;
+                RenderText {#text} at (346,0) size 163x19
+                  text run at (346,0) width 163: &quot;, which should be purple.&quot;
+              RenderBlock {H3} at (4,126) size 596x24 [color=#0000FF]
+                RenderText {#text} at (0,0) size 292x22
+                  text run at (0,0) width 292: &quot;This should be blue and underlined.&quot;
+              RenderBlock {P} at (4,167) size 596x21
+                RenderText {#text} at (0,0) size 299x19
+                  text run at (0,0) width 299: &quot;This sentence should be underlined, including &quot;
+                RenderInline {TT} at (0,0) size 71x14
+                  RenderText {#text} at (298,5) size 71x14
+                    text run at (298,5) width 71: &quot;this part&quot;
+                RenderText {#text} at (368,0) size 9x19
+                  text run at (368,0) width 9: &quot;, &quot;
+                RenderInline {I} at (0,0) size 55x19
+                  RenderText {#text} at (376,0) size 55x19
+                    text run at (376,0) width 55: &quot;this part&quot;
+                RenderText {#text} at (430,0) size 9x19
+                  text run at (430,0) width 9: &quot;, &quot;
+                RenderInline {EM} at (0,0) size 54x19 [color=#800080]
+                  RenderText {#text} at (438,0) size 54x19
+                    text run at (438,0) width 54: &quot;this part&quot;
+                RenderText {#text} at (491,0) size 37x19
+                  text run at (491,0) width 37: &quot;, and &quot;
+                RenderInline {STRONG} at (0,0) size 59x19
+                  RenderText {#text} at (527,0) size 59x19
+                    text run at (527,0) width 59: &quot;this part&quot;
+                RenderText {#text} at (585,0) size 5x19
+                  text run at (585,0) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,203) size 596x21 [color=#000080]
+                RenderText {#text} at (0,0) size 444x19
+                  text run at (0,0) width 444: &quot;This sentence should also be underlined, as well as dark blue (navy), &quot;
+                RenderInline {TT} at (0,0) size 149x14
+                  RenderText {#text} at (443,5) size 149x14
+                    text run at (443,5) width 149: &quot;including this part&quot;
+                RenderText {#text} at (591,0) size 5x19
+                  text run at (591,0) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,239) size 596x21 [color=#800080]
+                RenderText {#text} at (0,0) size 271x19
+                  text run at (0,0) width 271: &quot;This sentence should be purple, including &quot;
+                RenderInline {STRONG} at (0,0) size 59x19
+                  RenderText {#text} at (270,0) size 59x19
+                    text run at (270,0) width 59: &quot;this part&quot;
+                RenderText {#text} at (328,0) size 32x19
+                  text run at (328,0) width 32: &quot; and &quot;
+                RenderInline {SPAN} at (0,0) size 178x19
+                  RenderText {#text} at (359,0) size 178x19
+                    text run at (359,0) width 178: &quot;this part (which is spanned)&quot;
+                RenderText {#text} at (536,0) size 5x19
+                  text run at (536,0) width 5: &quot;.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesacid_testexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/acid_test-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/acid_test-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/acid_test-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView 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] [border: (5px solid #000000)]
+      RenderBlock {DL} at (5,5) size 480x10
+        RenderBlock (floating) {DT} at (5,5) size 80x310 [bgcolor=#CC0000] [border: (5px solid #000000)]
+          RenderText {#text} at (15,13) size 32x14
+            text run at (15,13) width 32: &quot;toggle&quot;
+        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] [border: (5px solid #000000)]
+              RenderText {#text} at (15,13) size 40x14
+                text run at (15,13) width 40: &quot;the way&quot;
+            RenderBlock (floating) {LI} at (90,0) size 160x110 [bgcolor=#000000]
+              RenderBlock {P} at (10,10) size 140x10
+                RenderText {#text} at (0,-2) size 75x14
+                  text run at (0,-2) width 75: &quot;the world ends&quot;
+              RenderBlock (anonymous) at (10,20) size 140x0
+                RenderInline {FORM} at (0,0) size 0x0
+                  RenderText {#text} at (0,0) size 0x0
+              RenderBlock (anonymous) at (10,20) size 140x46
+                RenderBlock {P} at (0,0) size 140x23
+                  RenderText {#text} at (0,6) size 29x14
+                    text run at (0,6) width 29: &quot;bang &quot;
+                  RenderBlock {INPUT} at (30,3) size 17x16 [color=#000000] [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
+                  RenderText {#text} at (0,0) size 0x0
+                RenderBlock {P} at (0,23) size 140x23
+                  RenderText {#text} at (0,6) size 47x14
+                    text run at (0,6) width 47: &quot;whimper &quot;
+                  RenderBlock {INPUT} at (48,3) size 17x16 [color=#000000] [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
+                  RenderText {#text} at (0,0) size 0x0
+              RenderBlock (anonymous) at (10,66) size 140x0
+                RenderInline {FORM} at (0,0) size 0x0
+                RenderText {#text} at (0,0) size 0x0
+            RenderBlock (floating) {LI} at (259,0) size 81x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
+              RenderText {#text} at (15,13) size 50x14
+                text run at (15,13) width 50: &quot;i grow old&quot;
+            RenderBlock (floating) {LI} at (0,130) size 120x120 [bgcolor=#000000]
+              RenderText {#text} at (10,8) size 31x14
+                text run at (10,8) width 31: &quot;pluot?&quot;
+          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
+              RenderText {#text} at (0,-2) size 34x24
+                text run at (0,-2) width 17: &quot;bar&quot;
+                text run at (0,8) width 34: &quot;maids,&quot;
+          RenderBlock (floating) {H1} at (240,150) size 120x120 [bgcolor=#000000]
+            RenderText {#text} at (10,8) size 67x24
+              text run at (10,8) width 57: &quot;sing to me,&quot;
+              text run at (10,18) width 67: &quot;erbarme dich&quot;
+      RenderBlock {P} at (5,320) size 480x65 [color=#000000]
+        RenderText {#text} at (0,-1) size 469x40
+          text run at (0,-1) width 469: &quot;This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1&quot;
+          text run at (0,12) width 393: &quot;agents should be able to render the document elements above this paragraph&quot;
+          text run at (0,25) width 206: &quot;indistinguishably (to the pixel) from this &quot;
+        RenderInline {A} at (0,0) size 104x14 [color=#0000EE]
+          RenderText {#text} at (205,25) size 104x14
+            text run at (205,25) width 104: &quot;reference rendering,&quot;
+        RenderText {#text} at (308,25) size 463x40
+          text run at (308,25) width 5: &quot; &quot;
+          text run at (312,25) width 150: &quot;(except font rasterization and&quot;
+          text run at (0,38) width 463: &quot;form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings.&quot;
+          text run at (0,51) width 335: &quot;Once you have finished evaluating this test, you can return to the &quot;
+        RenderInline {A} at (0,0) size 62x14 [color=#0000EE]
+          RenderText {#text} at (334,51) size 62x14
+            text run at (334,51) width 62: &quot;parent page&quot;
+        RenderText {#text} at (395,51) size 5x14
+          text run at (395,51) width 5: &quot;.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborderexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,186 @@
</span><ins>+layer at (0,0) size 800x1457
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1457
+  RenderBlock {HTML} at (0,0) size 800x1457
+    RenderBody {BODY} at (8,8) size 784x1441 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x126
+        RenderText {#text} at (0,0) size 266x126
+          text run at (0,0) width 266: &quot;.one {border: medium black solid;}&quot;
+          text run at (265,0) width 1: &quot; &quot;
+          text run at (0,14) width 258: &quot;.two {border: thin maroon ridge;}&quot;
+          text run at (257,14) width 1: &quot; &quot;
+          text run at (0,28) width 266: &quot;.three {border: 10px teal outset;}&quot;
+          text run at (265,28) width 1: &quot; &quot;
+          text run at (0,42) width 258: &quot;.four {border: 10px olive inset;}&quot;
+          text run at (257,42) width 1: &quot; &quot;
+          text run at (0,56) width 219: &quot;.five {border: 10px maroon;}&quot;
+          text run at (218,56) width 1: &quot; &quot;
+          text run at (0,70) width 227: &quot;.six {border: maroon double;}&quot;
+          text run at (226,70) width 1: &quot; &quot;
+          text run at (0,84) width 250: &quot;.seven {border: left red solid;}&quot;
+          text run at (249,84) width 1: &quot; &quot;
+          text run at (0,98) width 164: &quot;.eight {border: 0px;}&quot;
+          text run at (163,98) width 1: &quot; &quot;
+          text run at (0,112) width 227: &quot;TD {border: 2px solid green;}&quot;
+          text run at (226,112) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,175) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,193) size 784x40
+        RenderText {#text} at (0,0) size 765x39
+          text run at (0,0) width 641: &quot;Note that all table cells on this page should have a two-pixel solid green border along all four sides. &quot;
+          text run at (640,0) width 125: &quot;This border applies&quot;
+          text run at (0,20) width 324: &quot;only to the cells, not the rows which contain them.&quot;
+      RenderBlock {P} at (0,249) size 784x26 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 491x19
+          text run at (3,3) width 491: &quot;This paragraph should have a medium black solid border all the way around.&quot;
+      RenderBlock {P} at (0,291) size 784x22 [border: (1px ridge #800000)]
+        RenderText {#text} at (1,1) size 488x19
+          text run at (1,1) width 488: &quot;This paragraph should have a thin maroon ridged border all the way around.&quot;
+      RenderBlock {P} at (0,329) size 784x40 [border: (10px outset #008080)]
+        RenderText {#text} at (10,10) size 528x19
+          text run at (10,10) width 528: &quot;This paragraph should have a ten-pixel-wide teal outset border all the way around.&quot;
+      RenderBlock {P} at (0,385) size 784x40 [border: (10px inset #808000)]
+        RenderText {#text} at (10,10) size 529x19
+          text run at (10,10) width 529: &quot;This paragraph should have a ten-pixel-wide olive inset border all the way around.&quot;
+      RenderBlock {P} at (0,441) size 784x20
+        RenderText {#text} at (0,0) size 354x19
+          text run at (0,0) width 354: &quot;This paragraph should have no border around it, as the &quot;
+        RenderInline {TT} at (0,0) size 94x14
+          RenderText {#text} at (353,5) size 94x14
+            text run at (353,5) width 94: &quot;border-style&quot;
+        RenderText {#text} at (446,0) size 328x19
+          text run at (446,0) width 328: &quot; was not set, and it should not be offset in any way.&quot;
+      RenderBlock {P} at (0,477) size 784x46 [border: (3px double #800000)]
+        RenderText {#text} at (3,3) size 543x19
+          text run at (3,3) width 543: &quot;This paragraph should have a medium maroon double border around it, even though &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (545,8) size 95x14
+            text run at (545,8) width 95: &quot;border-width&quot;
+        RenderText {#text} at (639,3) size 755x39
+          text run at (639,3) width 119: &quot; was not explicitly&quot;
+          text run at (3,23) width 22: &quot;set.&quot;
+      RenderBlock {P} at (0,539) size 784x20
+        RenderText {#text} at (0,0) size 633x19
+          text run at (0,0) width 633: &quot;This paragraph should have no border around it, as its declaration is invalid and should be ignored.&quot;
+      RenderBlock {P} at (0,575) size 784x20
+        RenderInline {A} at (0,0) size 25x19
+          RenderText {#text} at (0,0) size 25x19
+            text run at (0,0) width 25: &quot;The&quot;
+        RenderText {#text} at (24,0) size 730x19
+          text run at (24,0) width 730: &quot; following image is also an anchor which points to a target on this page, but it should not have a border around it: &quot;
+        RenderInline {A} at (0,0) size 16x19 [color=#0000FF]
+          RenderImage {IMG} at (753,0) size 16x15
+        RenderText {#text} at (768,0) size 5x19
+          text run at (768,0) width 5: &quot;.&quot;
+      RenderTable {TABLE} at (0,611) size 784x121 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x119
+          RenderTableRow {TR} at (0,5) size 782x46
+            RenderTableCell {TD} at (5,5) size 772x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              RenderText {#text} at (3,3) size 728x39
+                text run at (3,3) width 413: &quot;Every cell in this table should have a 2-pixel solid green border. &quot;
+                text run at (415,3) width 316: &quot;This is also true of the table-testing section in the&quot;
+                text run at (3,23) width 179: &quot;second half of the test page.&quot;
+          RenderTableRow {TR} at (0,56) size 782x58
+            RenderTableCell {TD} at (5,72) size 195x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (3,3) size 54x19
+                text run at (3,3) width 54: &quot;Cell one&quot;
+            RenderTableCell {TD} at (205,56) size 572x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (anonymous) at (3,3) size 566x20
+                RenderText {#text} at (0,0) size 55x19
+                  text run at (0,0) width 55: &quot;Cell two&quot;
+              RenderTable {TABLE} at (3,23) size 168x32 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 166x30
+                  RenderTableRow {TR} at (0,2) size 166x26
+                    RenderTableCell {TD} at (2,2) size 162x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {#text} at (3,3) size 156x19
+                        text run at (3,3) width 156: &quot;Nested single-cell table!&quot;
+      RenderBlock {P} at (0,748) size 784x20
+        RenderText {#text} at (0,0) size 180x19
+          text run at (0,0) width 180: &quot;This is an unstyled element.&quot;
+      RenderTable {TABLE} at (0,784) size 784x657 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x655
+          RenderTableRow {TR} at (0,0) size 782x30
+            RenderTableCell {TD} at (0,0) size 782x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (5,5) size 161x19
+                  text run at (5,5) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,30) size 782x625
+            RenderTableCell {TD} at (0,327) size 14x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (5,5) size 4x19
+                text run at (5,5) width 4: &quot; &quot;
+            RenderTableCell {TD} at (14,30) size 768x625 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (5,5) size 758x40
+                RenderText {#text} at (0,0) size 715x39
+                  text run at (0,0) width 641: &quot;Note that all table cells on this page should have a two-pixel solid green border along all four sides. &quot;
+                  text run at (640,0) width 75: &quot;This border&quot;
+                  text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+              RenderBlock {P} at (5,61) size 758x26 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 491x19
+                  text run at (3,3) width 491: &quot;This paragraph should have a medium black solid border all the way around.&quot;
+              RenderBlock {P} at (5,103) size 758x22 [border: (1px ridge #800000)]
+                RenderText {#text} at (1,1) size 488x19
+                  text run at (1,1) width 488: &quot;This paragraph should have a thin maroon ridged border all the way around.&quot;
+              RenderBlock {P} at (5,141) size 758x40 [border: (10px outset #008080)]
+                RenderText {#text} at (10,10) size 528x19
+                  text run at (10,10) width 528: &quot;This paragraph should have a ten-pixel-wide teal outset border all the way around.&quot;
+              RenderBlock {P} at (5,197) size 758x40 [border: (10px inset #808000)]
+                RenderText {#text} at (10,10) size 529x19
+                  text run at (10,10) width 529: &quot;This paragraph should have a ten-pixel-wide olive inset border all the way around.&quot;
+              RenderBlock {P} at (5,253) size 758x40
+                RenderText {#text} at (0,0) size 354x19
+                  text run at (0,0) width 354: &quot;This paragraph should have no border around it, as the &quot;
+                RenderInline {TT} at (0,0) size 94x14
+                  RenderText {#text} at (353,5) size 94x14
+                    text run at (353,5) width 94: &quot;border-style&quot;
+                RenderText {#text} at (446,0) size 740x39
+                  text run at (446,0) width 294: &quot; was not set, and it should not be offset in any&quot;
+                  text run at (0,20) width 30: &quot;way.&quot;
+              RenderBlock {P} at (5,309) size 758x46 [border: (3px double #800000)]
+                RenderText {#text} at (3,3) size 543x19
+                  text run at (3,3) width 543: &quot;This paragraph should have a medium maroon double border around it, even though &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (545,8) size 95x14
+                    text run at (545,8) width 95: &quot;border-width&quot;
+                RenderText {#text} at (639,3) size 690x39
+                  text run at (639,3) width 54: &quot; was not&quot;
+                  text run at (3,23) width 87: &quot;explicitly set.&quot;
+              RenderBlock {P} at (5,371) size 758x20
+                RenderText {#text} at (0,0) size 633x19
+                  text run at (0,0) width 633: &quot;This paragraph should have no border around it, as its declaration is invalid and should be ignored.&quot;
+              RenderBlock {P} at (5,407) size 758x40
+                RenderInline {A} at (0,0) size 25x19
+                  RenderText {#text} at (0,0) size 25x19
+                    text run at (0,0) width 25: &quot;The&quot;
+                RenderText {#text} at (24,0) size 730x19
+                  text run at (24,0) width 730: &quot; following image is also an anchor which points to a target on this page, but it should not have a border around it: &quot;
+                RenderInline {A} at (0,0) size 15x19 [color=#0000FF]
+                  RenderImage {IMG} at (0,20) size 15x15
+                RenderText {#text} at (15,20) size 4x19
+                  text run at (15,20) width 4: &quot;.&quot;
+              RenderTable {TABLE} at (5,463) size 758x121 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 756x119
+                  RenderTableRow {TR} at (0,5) size 756x46
+                    RenderTableCell {TD} at (5,5) size 746x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      RenderText {#text} at (3,3) size 728x39
+                        text run at (3,3) width 413: &quot;Every cell in this table should have a 2-pixel solid green border. &quot;
+                        text run at (415,3) width 316: &quot;This is also true of the table-testing section in the&quot;
+                        text run at (3,23) width 179: &quot;second half of the test page.&quot;
+                  RenderTableRow {TR} at (0,56) size 756x58
+                    RenderTableCell {TD} at (5,72) size 189x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {#text} at (3,3) size 54x19
+                        text run at (3,3) width 54: &quot;Cell one&quot;
+                    RenderTableCell {TD} at (199,56) size 552x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      RenderBlock (anonymous) at (3,3) size 546x20
+                        RenderText {#text} at (0,0) size 55x19
+                          text run at (0,0) width 55: &quot;Cell two&quot;
+                      RenderTable {TABLE} at (3,23) size 168x32 [border: (1px outset #808080)]
+                        RenderTableSection {TBODY} at (1,1) size 166x30
+                          RenderTableRow {TR} at (0,2) size 166x26
+                            RenderTableCell {TD} at (2,2) size 162x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              RenderText {#text} at (3,3) size 156x19
+                                text run at (3,3) width 156: &quot;Nested single-cell table!&quot;
+              RenderBlock {P} at (5,600) size 758x20
+                RenderText {#text} at (0,0) size 180x19
+                  text run at (0,0) width 180: &quot;This is an unstyled element.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottomexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,163 @@
</span><ins>+layer at (0,0) size 800x1055
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1055
+  RenderBlock {HTML} at (0,0) size 800x1055
+    RenderBody {BODY} at (8,8) size 784x1039 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 336x56
+          text run at (0,0) width 320: &quot;.one {border-bottom: purple double 10px;}&quot;
+          text run at (319,0) width 1: &quot; &quot;
+          text run at (0,14) width 313: &quot;.two {border-bottom: purple thin solid;}&quot;
+          text run at (312,14) width 1: &quot; &quot;
+          text run at (0,28) width 336: &quot;.three {border-bottom: black medium solid;}&quot;
+          text run at (335,28) width 1: &quot; &quot;
+          text run at (0,42) width 281: &quot;TD {border-bottom: green 2px solid;}&quot;
+          text run at (280,42) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x40
+        RenderText {#text} at (0,0) size 747x39
+          text run at (0,0) width 673: &quot;Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. &quot;
+          text run at (672,0) width 75: &quot;This border&quot;
+          text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+      RenderBlock {P} at (0,179) size 784x30 [border: none (10px double #800080) none]
+        RenderText {#text} at (0,0) size 445x19
+          text run at (0,0) width 445: &quot;This paragraph should have a purple, double, 10-pixel bottom border.&quot;
+      RenderBlock {P} at (0,225) size 784x21 [border: none (1px solid #800080) none]
+        RenderText {#text} at (0,0) size 361x19
+          text run at (0,0) width 361: &quot;This paragraph should have a thin purple bottom border.&quot;
+      RenderTable {TABLE} at (0,262) size 784x118 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x116
+          RenderTableRow {TR} at (0,5) size 782x45
+            RenderTableCell {TD} at (5,5) size 772x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderText {#text} at (2,2) size 754x39
+                text run at (2,2) width 463: &quot;Every cell in this table should have a 2-pixel solid green bottom border. &quot;
+                text run at (464,2) width 292: &quot;This is also true of the table-testing section in&quot;
+                text run at (2,22) width 203: &quot;the second half of the test page.&quot;
+          RenderTableRow {TR} at (0,55) size 782x56
+            RenderTableCell {TD} at (5,70) size 194x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 54x19
+                text run at (2,2) width 54: &quot;Cell one&quot;
+            RenderTableCell {TD} at (204,55) size 573x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (anonymous) at (2,2) size 569x20
+                RenderText {#text} at (0,0) size 55x19
+                  text run at (0,0) width 55: &quot;Cell two&quot;
+              RenderTable {TABLE} at (2,22) size 166x31 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 164x29
+                  RenderTableRow {TR} at (0,2) size 164x25
+                    RenderTableCell {TD} at (2,2) size 160x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,2) size 156x19
+                        text run at (2,2) width 156: &quot;Nested single-cell table!&quot;
+      RenderBlock {UL} at (0,396) size 784x149
+        RenderListItem {LI} at (40,0) size 744x83 [border: none (3px solid #000000) none]
+          RenderBlock (anonymous) at (0,0) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 123x19
+              text run at (0,0) width 123: &quot;This is a list item...&quot;
+          RenderBlock {UL} at (0,20) size 744x60
+            RenderListItem {LI} at (40,0) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 75x19
+                text run at (0,0) width 75: &quot;...and this...&quot;
+            RenderListItem {LI} at (40,20) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 118x19
+                text run at (0,0) width 118: &quot;...is a second list...&quot;
+            RenderListItem {LI} at (40,40) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 182x19
+                text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+        RenderListItem {LI} at (40,83) size 744x23 [border: none (3px solid #000000) none]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 163x19
+            text run at (0,0) width 163: &quot;This is a second list item.&quot;
+        RenderListItem {LI} at (40,106) size 744x43 [border: none (3px solid #000000) none]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 743x39
+            text run at (0,0) width 743: &quot;Each list item in this list should have a medium-width black border at its bottom, which for the first item means that&quot;
+            text run at (0,20) width 107: &quot;it should appear &quot;
+          RenderInline {EM} at (0,0) size 51x19
+            RenderText {#text} at (106,20) size 51x19
+              text run at (106,20) width 51: &quot;beneath&quot;
+          RenderText {#text} at (156,20) size 401x19
+            text run at (156,20) width 401: &quot; the nested list (below the line \&quot;...nested within the list item.\&quot;).&quot;
+      RenderTable {TABLE} at (0,561) size 784x478 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x476
+          RenderTableRow {TR} at (0,0) size 782x29
+            RenderTableCell {TD} at (0,0) size 782x29 [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 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,29) size 782x447
+            RenderTableCell {TD} at (0,238) size 12x29 [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 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,29) size 770x447 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 747x39
+                  text run at (0,0) width 673: &quot;Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. &quot;
+                  text run at (672,0) width 75: &quot;This border&quot;
+                  text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+              RenderBlock {P} at (4,60) size 762x30 [border: none (10px double #800080) none]
+                RenderText {#text} at (0,0) size 445x19
+                  text run at (0,0) width 445: &quot;This paragraph should have a purple, double, 10-pixel bottom border.&quot;
+              RenderBlock {P} at (4,106) size 762x21 [border: none (1px solid #800080) none]
+                RenderText {#text} at (0,0) size 361x19
+                  text run at (0,0) width 361: &quot;This paragraph should have a thin purple bottom border.&quot;
+              RenderTable {TABLE} at (4,143) size 762x118 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 760x116
+                  RenderTableRow {TR} at (0,5) size 760x45
+                    RenderTableCell {TD} at (5,5) size 750x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      RenderText {#text} at (2,2) size 738x39
+                        text run at (2,2) width 463: &quot;Every cell in this table should have a 2-pixel solid green bottom border. &quot;
+                        text run at (464,2) width 276: &quot;This is also true of the table-testing section&quot;
+                        text run at (2,22) width 219: &quot;in the second half of the test page.&quot;
+                  RenderTableRow {TR} at (0,55) size 760x56
+                    RenderTableCell {TD} at (5,70) size 188x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,2) size 54x19
+                        text run at (2,2) width 54: &quot;Cell one&quot;
+                    RenderTableCell {TD} at (198,55) size 557x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      RenderBlock (anonymous) at (2,2) size 553x20
+                        RenderText {#text} at (0,0) size 55x19
+                          text run at (0,0) width 55: &quot;Cell two&quot;
+                      RenderTable {TABLE} at (2,22) size 166x31 [border: (1px outset #808080)]
+                        RenderTableSection {TBODY} at (1,1) size 164x29
+                          RenderTableRow {TR} at (0,2) size 164x25
+                            RenderTableCell {TD} at (2,2) size 160x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              RenderText {#text} at (2,2) size 156x19
+                                text run at (2,2) width 156: &quot;Nested single-cell table!&quot;
+              RenderBlock {UL} at (4,277) size 762x149
+                RenderListItem {LI} at (40,0) size 722x83 [border: none (3px solid #000000) none]
+                  RenderBlock (anonymous) at (0,0) size 722x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 123x19
+                      text run at (0,0) width 123: &quot;This is a list item...&quot;
+                  RenderBlock {UL} at (0,20) size 722x60
+                    RenderListItem {LI} at (40,0) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 75x19
+                        text run at (0,0) width 75: &quot;...and this...&quot;
+                    RenderListItem {LI} at (40,20) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 118x19
+                        text run at (0,0) width 118: &quot;...is a second list...&quot;
+                    RenderListItem {LI} at (40,40) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 182x19
+                        text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+                RenderListItem {LI} at (40,83) size 722x23 [border: none (3px solid #000000) none]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 163x19
+                    text run at (0,0) width 163: &quot;This is a second list item.&quot;
+                RenderListItem {LI} at (40,106) size 722x43 [border: none (3px solid #000000) none]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 715x39
+                    text run at (0,0) width 715: &quot;Each list item in this list should have a medium-width black border at its bottom, which for the first item means&quot;
+                    text run at (0,20) width 135: &quot;that it should appear &quot;
+                  RenderInline {EM} at (0,0) size 51x19
+                    RenderText {#text} at (134,20) size 51x19
+                      text run at (134,20) width 51: &quot;beneath&quot;
+                  RenderText {#text} at (184,20) size 401x19
+                    text run at (184,20) width 401: &quot; the nested list (below the line \&quot;...nested within the list item.\&quot;).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 320x42
+          text run at (0,0) width 320: &quot;.one {border-bottom: purple double 10px;}&quot;
+          text run at (319,0) width 1: &quot; &quot;
+          text run at (0,14) width 313: &quot;.two {border-bottom: purple thin solid;}&quot;
+          text run at (312,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 680x19
+          text run at (0,0) width 680: &quot;This is an unstyled element, save for the background color, and containing inline elements with classes of &quot;
+        RenderInline {SPAN} at (0,0) size 59x29 [border: none (10px double #800080) none]
+          RenderText {#text} at (679,0) size 59x19
+            text run at (679,0) width 59: &quot;class one&quot;
+        RenderText {#text} at (737,0) size 742x39
+          text run at (737,0) width 5: &quot;,&quot;
+          text run at (0,20) width 412: &quot;which should have a 10-pixel purple double bottom border; and &quot;
+        RenderInline {SPAN} at (0,0) size 60x20 [border: none (1px solid #800080) none]
+          RenderText {#text} at (411,20) size 60x19
+            text run at (411,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (470,20) size 768x39
+          text run at (470,20) width 298: &quot;, which should have a thin solid purple bottom&quot;
+          text run at (0,40) width 49: &quot;border. &quot;
+          text run at (48,40) width 439: &quot;The line-height of the parent element should not change on any line.&quot;
+      RenderTable {TABLE} at (0,185) size 784x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x96
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 680x19
+                  text run at (0,0) width 680: &quot;This is an unstyled element, save for the background color, and containing inline elements with classes of &quot;
+                RenderInline {SPAN} at (0,0) size 59x29 [border: none (10px double #800080) none]
+                  RenderText {#text} at (679,0) size 59x19
+                    text run at (679,0) width 59: &quot;class one&quot;
+                RenderText {#text} at (737,0) size 742x39
+                  text run at (737,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 412: &quot;which should have a 10-pixel purple double bottom border; and &quot;
+                RenderInline {SPAN} at (0,0) size 60x20 [border: none (1px solid #800080) none]
+                  RenderText {#text} at (411,20) size 60x19
+                    text run at (411,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (470,20) size 719x39
+                  text run at (470,20) width 249: &quot;, which should have a thin solid purple&quot;
+                  text run at (0,40) width 99: &quot;bottom border. &quot;
+                  text run at (98,40) width 438: &quot;The line-height of the parent element should not change on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_widthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+layer at (0,0) size 800x907
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x907
+  RenderBlock {HTML} at (0,0) size 800x907
+    RenderBody {BODY} at (8,8) size 784x891 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 453x84
+          text run at (0,0) width 445: &quot;.zero {background-color: silver; border-bottom-width: 0;}&quot;
+          text run at (444,0) width 1: &quot; &quot;
+          text run at (0,14) width 422: &quot;.one {border-bottom-width: 50px; border-style: solid;}&quot;
+          text run at (421,14) width 1: &quot; &quot;
+          text run at (0,28) width 430: &quot;.two {border-bottom-width: thick; border-style: solid;}&quot;
+          text run at (429,28) width 1: &quot; &quot;
+          text run at (0,42) width 453: &quot;.three {border-bottom-width: medium; border-style: solid;}&quot;
+          text run at (452,42) width 1: &quot; &quot;
+          text run at (0,56) width 430: &quot;.four {border-bottom-width: thin; border-style: solid;}&quot;
+          text run at (429,56) width 1: &quot; &quot;
+          text run at (0,70) width 266: &quot;.five {border-bottom-width: 25px;}&quot;
+          text run at (265,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: &quot;(These will only work if &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (159,5) size 95x14
+            text run at (159,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (253,0) size 92x19
+          text run at (253,0) width 92: &quot; is supported.)&quot;
+      RenderBlock {P} at (0,187) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,223) size 784x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 395x19
+          text run at (3,3) width 395: &quot;This element should have a bottom border width of 50 pixels.&quot;
+      RenderBlock {P} at (0,312) size 784x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 351x19
+          text run at (3,3) width 351: &quot;This element should have a thick bottom border width.&quot;
+      RenderBlock {P} at (0,356) size 784x26 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 372x19
+          text run at (3,3) width 372: &quot;This element should have a medium bottom border width.&quot;
+      RenderBlock {P} at (0,398) size 784x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: &quot;This element should have a thin bottom border width.&quot;
+      RenderBlock {P} at (0,438) size 784x20
+        RenderText {#text} at (0,0) size 545x19
+          text run at (0,0) width 545: &quot;This element should have no border and no extra \&quot;padding\&quot; on its bottom side, as no &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (544,5) size 95x14
+            text run at (544,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (638,0) size 56x19
+          text run at (638,0) width 56: &quot; was set.&quot;
+      RenderBlock {P} at (0,474) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderTable {TABLE} at (0,510) size 716x381 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 714x379
+          RenderTableRow {TR} at (0,0) size 714x28
+            RenderTableCell {TD} at (0,0) size 714x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 714x351
+            RenderTableCell {TD} at (0,189) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 702x351 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 694x20
+                RenderText {#text} at (0,0) size 160x19
+                  text run at (0,0) width 160: &quot;(These will only work if &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (159,5) size 95x14
+                    text run at (159,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (253,0) size 92x19
+                  text run at (253,0) width 92: &quot; is supported.)&quot;
+              RenderBlock {P} at (4,40) size 694x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,76) size 694x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 395x19
+                  text run at (3,3) width 395: &quot;This element should have a bottom border width of 50 pixels.&quot;
+              RenderBlock {P} at (4,165) size 694x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 351x19
+                  text run at (3,3) width 351: &quot;This element should have a thick bottom border width.&quot;
+              RenderBlock {P} at (4,209) size 694x26 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 372x19
+                  text run at (3,3) width 372: &quot;This element should have a medium bottom border width.&quot;
+              RenderBlock {P} at (4,251) size 694x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 344x19
+                  text run at (3,3) width 344: &quot;This element should have a thin bottom border width.&quot;
+              RenderBlock {P} at (4,291) size 694x20
+                RenderText {#text} at (0,0) size 545x19
+                  text run at (0,0) width 545: &quot;This element should have no border and no extra \&quot;padding\&quot; on its bottom side, as no &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (544,5) size 95x14
+                    text run at (544,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (638,0) size 56x19
+                  text run at (638,0) width 56: &quot; was set.&quot;
+              RenderBlock {P} at (4,327) size 694x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_bottom_width_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_bottom_width_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 422x42
+          text run at (0,0) width 422: &quot;.one {border-bottom-width: 25px; border-style: solid;}&quot;
+          text run at (421,0) width 1: &quot; &quot;
+          text run at (0,14) width 422: &quot;.two {border-bottom-width: thin; border-style: solid;}&quot;
+          text run at (421,14) width 1: &quot; &quot;
+          text run at (0,28) width 274: &quot;.three {border-bottom-width: 25px;}&quot;
+          text run at (273,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x108 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 176x19
+          text run at (3,3) width 176: &quot;This element has a class of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (178,8) size 25x14
+            text run at (178,8) width 25: &quot;one&quot;
+        RenderText {#text} at (202,3) size 164x19
+          text run at (202,3) width 9: &quot;. &quot;
+          text run at (210,3) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 178x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          RenderText {#text} at (368,3) size 149x19
+            text run at (368,3) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (516,8) size 24x14
+              text run at (516,8) width 24: &quot;two&quot;
+        RenderText {#text} at (542,3) size 768x59
+          text run at (542,3) width 226: &quot;, which should result in a thin solid&quot;
+          text run at (3,23) width 731: &quot;border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). &quot;
+          text run at (733,23) width 38: &quot;There&quot;
+          text run at (3,43) width 64: &quot;is also an &quot;
+        RenderInline {SPAN} at (0,0) size 188x19
+          RenderText {#text} at (66,43) size 149x19
+            text run at (66,43) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 40x14
+            RenderText {#text} at (214,48) size 40x14
+              text run at (214,48) width 40: &quot;three&quot;
+        RenderText {#text} at (253,43) size 764x39
+          text run at (253,43) width 514: &quot;, which should have no bottom border width or visible border because no border&quot;
+          text run at (3,63) width 85: &quot;style was set.&quot;
+      RenderTable {TABLE} at (0,233) size 784x146 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x144
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x116
+            RenderTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x116 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x108 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 176x19
+                  text run at (3,3) width 176: &quot;This element has a class of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (178,8) size 25x14
+                    text run at (178,8) width 25: &quot;one&quot;
+                RenderText {#text} at (202,3) size 164x19
+                  text run at (202,3) width 9: &quot;. &quot;
+                  text run at (210,3) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 178x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  RenderText {#text} at (368,3) size 149x19
+                    text run at (368,3) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (516,8) size 24x14
+                      text run at (516,8) width 24: &quot;two&quot;
+                RenderText {#text} at (542,3) size 730x59
+                  text run at (542,3) width 191: &quot;, which should result in a thin&quot;
+                  text run at (3,23) width 717: &quot;solid border on the bottom side of each box in the inline element (and the UA's default border on the other three&quot;
+                  text run at (3,43) width 46: &quot;sides). &quot;
+                  text run at (48,43) width 106: &quot;There is also an &quot;
+                RenderInline {SPAN} at (0,0) size 187x19
+                  RenderText {#text} at (153,43) size 148x19
+                    text run at (153,43) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 40x14
+                    RenderText {#text} at (300,48) size 40x14
+                      text run at (300,48) width 40: &quot;three&quot;
+                RenderText {#text} at (339,43) size 730x39
+                  text run at (339,43) width 394: &quot;, which should have no bottom border width or visible border&quot;
+                  text run at (3,63) width 206: &quot;because no border style was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_colorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 710x42
+          text run at (0,0) width 383: &quot;.one {border-color: purple; border-style: solid;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 554: &quot;.two {border-color: purple; border-width: medium; border-style: solid;}&quot;
+          text run at (553,14) width 1: &quot; &quot;
+          text run at (0,28) width 710: &quot;.three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}&quot;
+          text run at (709,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x26 [border: (3px solid #800080)]
+        RenderText {#text} at (3,3) size 364x19
+          text run at (3,3) width 364: &quot;This element should have a purple border surrounding it.&quot;
+      RenderBlock {P} at (0,151) size 784x26 [border: (3px solid #800080)]
+        RenderText {#text} at (3,3) size 463x19
+          text run at (3,3) width 463: &quot;This element should have a medium-width purple border surrounding it.&quot;
+      RenderBlock {P} at (0,193) size 784x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+        RenderText {#text} at (3,3) size 776x39
+          text run at (3,3) width 776: &quot;This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the&quot;
+          text run at (3,23) width 227: &quot;bottom, and yellow on the left side.&quot;
+      RenderTable {TABLE} at (0,255) size 784x168 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x166
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x138
+            RenderTableCell {TD} at (0,83) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x138 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x26 [border: (3px solid #800080)]
+                RenderText {#text} at (3,3) size 364x19
+                  text run at (3,3) width 364: &quot;This element should have a purple border surrounding it.&quot;
+              RenderBlock {P} at (4,46) size 762x26 [border: (3px solid #800080)]
+                RenderText {#text} at (3,3) size 463x19
+                  text run at (3,3) width 463: &quot;This element should have a medium-width purple border surrounding it.&quot;
+              RenderBlock {P} at (4,88) size 762x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                RenderText {#text} at (3,3) size 753x39
+                  text run at (3,3) width 753: &quot;This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on&quot;
+                  text run at (3,23) width 251: &quot;the bottom, and yellow on the left side.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_color_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_color_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,73 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 710x42
+          text run at (0,0) width 383: &quot;.one {border-color: purple; border-style: solid;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 554: &quot;.two {border-color: purple; border-width: medium; border-style: solid;}&quot;
+          text run at (553,14) width 1: &quot; &quot;
+          text run at (0,28) width 710: &quot;.three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}&quot;
+          text run at (709,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x80 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 691x19
+          text run at (0,0) width 691: &quot;This is an unstyled element, save for the background color, and containing inline elements with a classes of &quot;
+        RenderInline {SPAN} at (0,0) size 65x25 [border: (3px solid #800080)]
+          RenderText {#text} at (693,0) size 59x19
+            text run at (693,0) width 59: &quot;class one&quot;
+        RenderText {#text} at (754,0) size 5x19
+          text run at (754,0) width 5: &quot;,&quot;
+        RenderInline {SPAN} at (0,0) size 66x25 [border: (3px solid #800080)]
+          RenderText {#text} at (3,20) size 60x19
+            text run at (3,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (65,20) size 36x19
+          text run at (65,20) width 36: &quot;, and &quot;
+        RenderInline {SPAN} at (0,0) size 74x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+          RenderText {#text} at (103,20) size 68x19
+            text run at (103,20) width 68: &quot;class three&quot;
+        RenderText {#text} at (173,20) size 773x59
+          text run at (173,20) width 9: &quot;. &quot;
+          text run at (181,20) width 585: &quot;The effect for each inline element should be to have a purple medium-width solid border in&quot;
+          text run at (0,40) width 634: &quot;the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. &quot;
+          text run at (633,40) width 140: &quot;The line-height of the&quot;
+          text run at (0,60) width 334: &quot;parent element should not change at all, on any line.&quot;
+      RenderTable {TABLE} at (0,205) size 784x118 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x116
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x88
+            RenderTableCell {TD} at (0,58) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 691x19
+                  text run at (0,0) width 691: &quot;This is an unstyled element, save for the background color, and containing inline elements with a classes of &quot;
+                RenderInline {SPAN} at (0,0) size 65x25 [border: (3px solid #800080)]
+                  RenderText {#text} at (693,0) size 59x19
+                    text run at (693,0) width 59: &quot;class one&quot;
+                RenderText {#text} at (754,0) size 5x19
+                  text run at (754,0) width 5: &quot;,&quot;
+                RenderInline {SPAN} at (0,0) size 66x25 [border: (3px solid #800080)]
+                  RenderText {#text} at (3,20) size 60x19
+                    text run at (3,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (65,20) size 36x19
+                  text run at (65,20) width 36: &quot;, and &quot;
+                RenderInline {SPAN} at (0,0) size 74x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                  RenderText {#text} at (103,20) size 68x19
+                    text run at (103,20) width 68: &quot;class three&quot;
+                RenderText {#text} at (173,20) size 749x59
+                  text run at (173,20) width 9: &quot;. &quot;
+                  text run at (181,20) width 568: &quot;The effect for each inline element should be to have a purple medium-width solid border&quot;
+                  text run at (0,40) width 651: &quot;in the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. &quot;
+                  text run at (650,40) width 99: &quot;The line-height&quot;
+                  text run at (0,60) width 375: &quot;of the parent element should not change at all, on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 250x42
+          text run at (0,0) width 250: &quot;.one {border: 10px teal outset;}&quot;
+          text run at (249,0) width 1: &quot; &quot;
+          text run at (0,14) width 250: &quot;.two {border: 10px olive inset;}&quot;
+          text run at (249,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 691x19
+          text run at (0,0) width 691: &quot;This is an unstyled element, save for the background color, and containing inline elements with a classes of &quot;
+        RenderInline {SPAN} at (0,0) size 79x39 [border: (10px outset #008080)]
+          RenderText {#text} at (700,0) size 59x19
+            text run at (700,0) width 59: &quot;class one&quot;
+        RenderText {#text} at (768,0) size 773x39
+          text run at (768,0) width 5: &quot;,&quot;
+          text run at (0,20) width 361: &quot;which should result in a 10-pixel outset teal border; and &quot;
+        RenderInline {SPAN} at (0,0) size 80x39 [border: (10px inset #808000)]
+          RenderText {#text} at (370,20) size 60x19
+            text run at (370,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (439,20) size 778x39
+          text run at (439,20) width 339: &quot;, which should result in a 10-pixel inset olive border.&quot;
+          text run at (0,40) width 438: &quot;The line-height of the parent element should not change on any line.&quot;
+      RenderTable {TABLE} at (0,185) size 784x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x96
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 691x19
+                  text run at (0,0) width 691: &quot;This is an unstyled element, save for the background color, and containing inline elements with a classes of &quot;
+                RenderInline {SPAN} at (0,0) size 732x59 [border: (10px outset #008080)]
+                  RenderText {#text} at (700,0) size 732x39
+                    text run at (700,0) width 32: &quot;class&quot;
+                    text run at (0,20) width 24: &quot;one&quot;
+                RenderText {#text} at (33,20) size 369x19
+                  text run at (33,20) width 369: &quot;, which should result in a 10-pixel outset teal border; and &quot;
+                RenderInline {SPAN} at (0,0) size 81x39 [border: (10px inset #808000)]
+                  RenderText {#text} at (411,20) size 61x19
+                    text run at (411,20) width 61: &quot;class two&quot;
+                RenderText {#text} at (481,20) size 734x39
+                  text run at (481,20) width 253: &quot;, which should result in a 10-pixel inset&quot;
+                  text run at (0,40) width 85: &quot;olive border. &quot;
+                  text run at (84,40) width 439: &quot;The line-height of the parent element should not change on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_leftexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,162 @@
</span><ins>+layer at (0,0) size 800x1089
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1089
+  RenderBlock {HTML} at (0,0) size 800x1089
+    RenderBody {BODY} at (8,8) size 784x1073 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (20,0) size 764x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 336x98
+          text run at (0,0) width 172: &quot;P {margin-left: 20px;}&quot;
+          text run at (171,0) width 1: &quot; &quot;
+          text run at (0,14) width 305: &quot;.one {border-left: purple double 10px;}&quot;
+          text run at (304,14) width 1: &quot; &quot;
+          text run at (0,28) width 297: &quot;.two {border-left: purple thin solid;}&quot;
+          text run at (296,28) width 1: &quot; &quot;
+          text run at (0,42) width 328: &quot;.threea {border-left: black medium solid;}&quot;
+          text run at (327,42) width 1: &quot; &quot;
+          text run at (0,56) width 336: &quot;.threeb {border-left: purple medium solid;}&quot;
+          text run at (335,56) width 1: &quot; &quot;
+          text run at (0,70) width 320: &quot;.threec {border-left: blue medium solid;}&quot;
+          text run at (319,70) width 1: &quot; &quot;
+          text run at (0,84) width 266: &quot;TD {border-left: green 2px solid;}&quot;
+          text run at (265,84) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (20,165) size 764x40
+        RenderText {#text} at (0,0) size 723x39
+          text run at (0,0) width 649: &quot;Note that all table cells on this page should have a two-pixel solid green border along their left sides. &quot;
+          text run at (648,0) width 75: &quot;This border&quot;
+          text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+      RenderBlock {P} at (20,221) size 764x20 [border: none (10px double #800080)]
+        RenderText {#text} at (10,0) size 421x19
+          text run at (10,0) width 421: &quot;This paragraph should have a purple, double, 10-pixel left border.&quot;
+      RenderBlock {P} at (20,257) size 764x20 [border: none (1px solid #800080)]
+        RenderText {#text} at (1,0) size 337x19
+          text run at (1,0) width 337: &quot;This paragraph should have a thin purple left border.&quot;
+      RenderTable {TABLE} at (0,293) size 784x115 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x113
+          RenderTableRow {TR} at (0,5) size 782x44
+            RenderTableCell {TD} at (5,5) size 772x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              RenderText {#text} at (3,2) size 754x39
+                text run at (3,2) width 439: &quot;Every cell in this table should have a 2-pixel solid green left border. &quot;
+                text run at (441,2) width 316: &quot;This is also true of the table-testing section in the&quot;
+                text run at (3,22) width 179: &quot;second half of the test page.&quot;
+          RenderTableRow {TR} at (0,54) size 782x54
+            RenderTableCell {TD} at (5,69) size 195x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (3,2) size 54x19
+                text run at (3,2) width 54: &quot;Cell one&quot;
+            RenderTableCell {TD} at (205,54) size 572x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (anonymous) at (3,2) size 567x20
+                RenderText {#text} at (0,0) size 55x19
+                  text run at (0,0) width 55: &quot;Cell two&quot;
+              RenderTable {TABLE} at (3,22) size 167x30 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 165x28
+                  RenderTableRow {TR} at (0,2) size 165x24
+                    RenderTableCell {TD} at (2,2) size 161x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {#text} at (3,2) size 156x19
+                        text run at (3,2) width 156: &quot;Nested single-cell table!&quot;
+      RenderBlock {UL} at (0,424) size 784x160
+        RenderListItem {LI} at (40,0) size 744x80 [border: none (3px solid #000000)]
+          RenderBlock (anonymous) at (3,0) size 741x20
+            RenderListMarker at (-21,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 123x19
+              text run at (0,0) width 123: &quot;This is a list item...&quot;
+          RenderBlock {UL} at (3,20) size 741x60
+            RenderListItem {LI} at (40,0) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 75x19
+                text run at (0,0) width 75: &quot;...and this...&quot;
+            RenderListItem {LI} at (40,20) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 118x19
+                text run at (0,0) width 118: &quot;...is a second list...&quot;
+            RenderListItem {LI} at (40,40) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 182x19
+                text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+        RenderListItem {LI} at (40,80) size 744x20 [border: none (3px solid #800080)]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (3,0) size 163x19
+            text run at (3,0) width 163: &quot;This is a second list item.&quot;
+        RenderListItem {LI} at (40,100) size 744x60 [border: none (3px solid #0000FF)]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (3,0) size 738x59
+            text run at (3,0) width 713: &quot;Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors. &quot;
+            text run at (715,0) width 26: &quot;The&quot;
+            text run at (3,20) width 738: &quot;first item's border should travel the entire height the nested list (to end near the baseline of the line \&quot;...nested within&quot;
+            text run at (3,40) width 502: &quot;the list item.\&quot;), even though the nested list does not have any border styles set.&quot;
+      RenderTable {TABLE} at (0,600) size 784x473 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x471
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (5,4) size 161x19
+                  text run at (5,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x443
+            RenderTableCell {TD} at (0,235) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (5,4) size 4x19
+                text run at (5,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (13,28) size 769x443 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (25,4) size 740x40
+                RenderText {#text} at (0,0) size 723x39
+                  text run at (0,0) width 649: &quot;Note that all table cells on this page should have a two-pixel solid green border along their left sides. &quot;
+                  text run at (648,0) width 75: &quot;This border&quot;
+                  text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+              RenderBlock {P} at (25,60) size 740x20 [border: none (10px double #800080)]
+                RenderText {#text} at (10,0) size 421x19
+                  text run at (10,0) width 421: &quot;This paragraph should have a purple, double, 10-pixel left border.&quot;
+              RenderBlock {P} at (25,96) size 740x20 [border: none (1px solid #800080)]
+                RenderText {#text} at (1,0) size 337x19
+                  text run at (1,0) width 337: &quot;This paragraph should have a thin purple left border.&quot;
+              RenderTable {TABLE} at (5,132) size 760x115 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 758x113
+                  RenderTableRow {TR} at (0,5) size 758x44
+                    RenderTableCell {TD} at (5,5) size 748x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      RenderText {#text} at (3,2) size 730x39
+                        text run at (3,2) width 439: &quot;Every cell in this table should have a 2-pixel solid green left border. &quot;
+                        text run at (441,2) width 292: &quot;This is also true of the table-testing section in&quot;
+                        text run at (3,22) width 203: &quot;the second half of the test page.&quot;
+                  RenderTableRow {TR} at (0,54) size 758x54
+                    RenderTableCell {TD} at (5,69) size 189x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {#text} at (3,2) size 54x19
+                        text run at (3,2) width 54: &quot;Cell one&quot;
+                    RenderTableCell {TD} at (199,54) size 554x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      RenderBlock (anonymous) at (3,2) size 549x20
+                        RenderText {#text} at (0,0) size 55x19
+                          text run at (0,0) width 55: &quot;Cell two&quot;
+                      RenderTable {TABLE} at (3,22) size 167x30 [border: (1px outset #808080)]
+                        RenderTableSection {TBODY} at (1,1) size 165x28
+                          RenderTableRow {TR} at (0,2) size 165x24
+                            RenderTableCell {TD} at (2,2) size 161x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              RenderText {#text} at (3,2) size 156x19
+                                text run at (3,2) width 156: &quot;Nested single-cell table!&quot;
+              RenderBlock {UL} at (5,263) size 760x160
+                RenderListItem {LI} at (40,0) size 720x80 [border: none (3px solid #000000)]
+                  RenderBlock (anonymous) at (3,0) size 717x20
+                    RenderListMarker at (-21,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 123x19
+                      text run at (0,0) width 123: &quot;This is a list item...&quot;
+                  RenderBlock {UL} at (3,20) size 717x60
+                    RenderListItem {LI} at (40,0) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 75x19
+                        text run at (0,0) width 75: &quot;...and this...&quot;
+                    RenderListItem {LI} at (40,20) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 118x19
+                        text run at (0,0) width 118: &quot;...is a second list...&quot;
+                    RenderListItem {LI} at (40,40) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 182x19
+                        text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+                RenderListItem {LI} at (40,80) size 720x20 [border: none (3px solid #800080)]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (3,0) size 163x19
+                    text run at (3,0) width 163: &quot;This is a second list item.&quot;
+                RenderListItem {LI} at (40,100) size 720x60 [border: none (3px solid #0000FF)]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (3,0) size 709x59
+                    text run at (3,0) width 709: &quot;Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors.&quot;
+                    text run at (3,20) width 659: &quot;The first item's border should travel the entire height the nested list (to end near the baseline of the line&quot;
+                    text run at (3,40) width 610: &quot;\&quot;...nested within the list item.\&quot;), even though the nested list does not have any border styles set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (20,0) size 764x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 305x56
+          text run at (0,0) width 172: &quot;P {margin-left: 20px;}&quot;
+          text run at (171,0) width 1: &quot; &quot;
+          text run at (0,14) width 305: &quot;.one {border-left: purple double 10px;}&quot;
+          text run at (304,14) width 1: &quot; &quot;
+          text run at (0,28) width 297: &quot;.two {border-left: purple thin solid;}&quot;
+          text run at (296,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (20,123) size 764x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 760: &quot;This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes&quot;
+          text run at (0,20) width 18: &quot;of &quot;
+        RenderInline {SPAN} at (0,0) size 69x19 [border: none (10px double #800080)]
+          RenderText {#text} at (27,20) size 59x19
+            text run at (27,20) width 59: &quot;class one&quot;
+        RenderText {#text} at (85,20) size 396x19
+          text run at (85,20) width 396: &quot;, which should have a 10-pixel purple double left border; and &quot;
+        RenderInline {SPAN} at (0,0) size 62x19 [border: none (1px solid #800080)]
+          RenderText {#text} at (481,20) size 61x19
+            text run at (481,20) width 61: &quot;class two&quot;
+        RenderText {#text} at (541,20) size 745x39
+          text run at (541,20) width 204: &quot;, which should have a thin solid&quot;
+          text run at (0,40) width 120: &quot;purple left border. &quot;
+          text run at (119,40) width 438: &quot;The line-height of the parent element should not change on any line.&quot;
+      RenderTable {TABLE} at (0,199) size 784x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x96
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (24,4) size 742x60 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 712x39
+                  text run at (0,0) width 712: &quot;This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with&quot;
+                  text run at (0,20) width 66: &quot;classes of &quot;
+                RenderInline {SPAN} at (0,0) size 69x19 [border: none (10px double #800080)]
+                  RenderText {#text} at (75,20) size 59x19
+                    text run at (75,20) width 59: &quot;class one&quot;
+                RenderText {#text} at (133,20) size 397x19
+                  text run at (133,20) width 397: &quot;, which should have a 10-pixel purple double left border; and &quot;
+                RenderInline {SPAN} at (0,0) size 61x19 [border: none (1px solid #800080)]
+                  RenderText {#text} at (530,20) size 60x19
+                    text run at (530,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (589,20) size 729x39
+                  text run at (589,20) width 140: &quot;, which should have a&quot;
+                  text run at (0,40) width 184: &quot;thin solid purple left border. &quot;
+                  text run at (183,40) width 438: &quot;The line-height of the parent element should not change on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_widthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+layer at (0,0) size 800x861
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x861
+  RenderBlock {HTML} at (0,0) size 800x861
+    RenderBody {BODY} at (8,8) size 784x845 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 437x84
+          text run at (0,0) width 430: &quot;.zero {background-color: silver; border-left-width: 0;}&quot;
+          text run at (429,0) width 1: &quot; &quot;
+          text run at (0,14) width 406: &quot;.one {border-left-width: 50px; border-style: solid;}&quot;
+          text run at (405,14) width 1: &quot; &quot;
+          text run at (0,28) width 414: &quot;.two {border-left-width: thick; border-style: solid;}&quot;
+          text run at (413,28) width 1: &quot; &quot;
+          text run at (0,42) width 437: &quot;.three {border-left-width: medium; border-style: solid;}&quot;
+          text run at (436,42) width 1: &quot; &quot;
+          text run at (0,56) width 414: &quot;.four {border-left-width: thin; border-style: solid;}&quot;
+          text run at (413,56) width 1: &quot; &quot;
+          text run at (0,70) width 250: &quot;.five {border-left-width: 25px;}&quot;
+          text run at (249,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: &quot;(These will only work if &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (159,5) size 95x14
+            text run at (159,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (253,0) size 92x19
+          text run at (253,0) width 92: &quot; is supported.)&quot;
+      RenderBlock {P} at (0,187) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,223) size 784x46 [border: (3px solid #000000) (50px solid #000000)]
+        RenderText {#text} at (50,3) size 728x39
+          text run at (50,3) width 728: &quot;This element should have a left border width of 50 pixels, which will be more obvious if the element is more than&quot;
+          text run at (50,23) width 88: &quot;one line long.&quot;
+      RenderBlock {P} at (0,285) size 784x26 [border: (3px solid #000000) (5px solid #000000)]
+        RenderText {#text} at (5,3) size 776x19
+          text run at (5,3) width 776: &quot;This element should have a thick left border width, which will be more obvious if the element is more than one line long.&quot;
+      RenderBlock {P} at (0,327) size 784x46 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 760x39
+          text run at (3,3) width 760: &quot;This element should have a medium left border width, which will be more obvious if the element is more than one line&quot;
+          text run at (3,23) width 33: &quot;long.&quot;
+      RenderBlock {P} at (0,389) size 784x26 [border: (3px solid #000000) (1px solid #000000)]
+        RenderText {#text} at (1,3) size 769x19
+          text run at (1,3) width 769: &quot;This element should have a thin left border width, which will be more obvious if the element is more than one line long.&quot;
+      RenderBlock {P} at (0,431) size 784x20
+        RenderText {#text} at (0,0) size 521x19
+          text run at (0,0) width 521: &quot;This element should have no border and no extra \&quot;padding\&quot; on its left side, as no &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (520,5) size 95x14
+            text run at (520,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (614,0) size 56x19
+          text run at (614,0) width 56: &quot; was set.&quot;
+      RenderTable {TABLE} at (0,467) size 784x378 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x376
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x348
+            RenderTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 160x19
+                  text run at (0,0) width 160: &quot;(These will only work if &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (159,5) size 95x14
+                    text run at (159,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (253,0) size 92x19
+                  text run at (253,0) width 92: &quot; is supported.)&quot;
+              RenderBlock {P} at (4,40) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,76) size 762x46 [border: (3px solid #000000) (50px solid #000000)]
+                RenderText {#text} at (50,3) size 697x39
+                  text run at (50,3) width 697: &quot;This element should have a left border width of 50 pixels, which will be more obvious if the element is more&quot;
+                  text run at (50,23) width 120: &quot;than one line long.&quot;
+              RenderBlock {P} at (4,138) size 762x46 [border: (3px solid #000000) (5px solid #000000)]
+                RenderText {#text} at (5,3) size 740x39
+                  text run at (5,3) width 740: &quot;This element should have a thick left border width, which will be more obvious if the element is more than one line&quot;
+                  text run at (5,23) width 33: &quot;long.&quot;
+              RenderBlock {P} at (4,200) size 762x46 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 732x39
+                  text run at (3,3) width 732: &quot;This element should have a medium left border width, which will be more obvious if the element is more than one&quot;
+                  text run at (3,23) width 61: &quot;line long.&quot;
+              RenderBlock {P} at (4,262) size 762x46 [border: (3px solid #000000) (1px solid #000000)]
+                RenderText {#text} at (1,3) size 733x39
+                  text run at (1,3) width 733: &quot;This element should have a thin left border width, which will be more obvious if the element is more than one line&quot;
+                  text run at (1,23) width 33: &quot;long.&quot;
+              RenderBlock {P} at (4,324) size 762x20
+                RenderText {#text} at (0,0) size 521x19
+                  text run at (0,0) width 521: &quot;This element should have no border and no extra \&quot;padding\&quot; on its left side, as no &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (520,5) size 95x14
+                    text run at (520,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (614,0) size 56x19
+                  text run at (614,0) width 56: &quot; was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_left_width_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_left_width_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,97 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 406x42
+          text run at (0,0) width 406: &quot;.one {border-left-width: 25px; border-style: solid;}&quot;
+          text run at (405,0) width 1: &quot; &quot;
+          text run at (0,14) width 406: &quot;.two {border-left-width: thin; border-style: solid;}&quot;
+          text run at (405,14) width 1: &quot; &quot;
+          text run at (0,28) width 258: &quot;.three {border-left-width: 25px;}&quot;
+          text run at (257,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x86 [border: (3px solid #000000) (25px solid #000000)]
+        RenderText {#text} at (25,3) size 176x19
+          text run at (25,3) width 176: &quot;This element has a class of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (200,8) size 25x14
+            text run at (200,8) width 25: &quot;one&quot;
+        RenderText {#text} at (224,3) size 164x19
+          text run at (224,3) width 9: &quot;. &quot;
+          text run at (232,3) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 176x25 [border: (3px solid #000000) (1px solid #000000)]
+          RenderText {#text} at (388,3) size 149x19
+            text run at (388,3) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (536,8) size 24x14
+              text run at (536,8) width 24: &quot;two&quot;
+        RenderText {#text} at (562,3) size 728x39
+          text run at (562,3) width 191: &quot;, which should result in a thin&quot;
+          text run at (25,23) width 221: &quot;solid border on the left side of the &quot;
+        RenderInline {STRONG} at (0,0) size 29x19
+          RenderText {#text} at (245,23) size 29x19
+            text run at (245,23) width 29: &quot;first&quot;
+        RenderText {#text} at (273,23) size 715x39
+          text run at (273,23) width 467: &quot; box in the inline element (and the UA's default border on the other three&quot;
+          text run at (25,43) width 46: &quot;sides). &quot;
+          text run at (70,43) width 106: &quot;There is also an &quot;
+        RenderInline {SPAN} at (0,0) size 187x19
+          RenderText {#text} at (175,43) size 148x19
+            text run at (175,43) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 40x14
+            RenderText {#text} at (322,48) size 40x14
+              text run at (322,48) width 40: &quot;three&quot;
+        RenderText {#text} at (361,43) size 706x39
+          text run at (361,43) width 370: &quot;, which should have no left border width or visible border&quot;
+          text run at (25,63) width 206: &quot;because no border style was set.&quot;
+      RenderTable {TABLE} at (0,211) size 784x124 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x122
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x94
+            RenderTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000)]
+                RenderText {#text} at (25,3) size 176x19
+                  text run at (25,3) width 176: &quot;This element has a class of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (200,8) size 25x14
+                    text run at (200,8) width 25: &quot;one&quot;
+                RenderText {#text} at (224,3) size 164x19
+                  text run at (224,3) width 9: &quot;. &quot;
+                  text run at (232,3) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 176x25 [border: (3px solid #000000) (1px solid #000000)]
+                  RenderText {#text} at (388,3) size 149x19
+                    text run at (388,3) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (536,8) size 24x14
+                      text run at (536,8) width 24: &quot;two&quot;
+                RenderText {#text} at (562,3) size 728x39
+                  text run at (562,3) width 191: &quot;, which should result in a thin&quot;
+                  text run at (25,23) width 221: &quot;solid border on the left side of the &quot;
+                RenderInline {STRONG} at (0,0) size 29x19
+                  RenderText {#text} at (245,23) size 29x19
+                    text run at (245,23) width 29: &quot;first&quot;
+                RenderText {#text} at (273,23) size 715x39
+                  text run at (273,23) width 467: &quot; box in the inline element (and the UA's default border on the other three&quot;
+                  text run at (25,43) width 46: &quot;sides). &quot;
+                  text run at (70,43) width 106: &quot;There is also an &quot;
+                RenderInline {SPAN} at (0,0) size 187x19
+                  RenderText {#text} at (175,43) size 148x19
+                    text run at (175,43) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 40x14
+                    RenderText {#text} at (322,48) size 40x14
+                      text run at (322,48) width 40: &quot;three&quot;
+                RenderText {#text} at (361,43) size 706x39
+                  text run at (361,43) width 370: &quot;, which should have no left border width or visible border&quot;
+                  text run at (25,63) width 206: &quot;because no border style was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_rightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 764x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 313x56
+          text run at (0,0) width 180: &quot;P {margin-right: 20px;}&quot;
+          text run at (179,0) width 1: &quot; &quot;
+          text run at (0,14) width 313: &quot;.one {border-right: purple double 10px;}&quot;
+          text run at (312,14) width 1: &quot; &quot;
+          text run at (0,28) width 305: &quot;.two {border-right: purple thin solid;}&quot;
+          text run at (304,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 764x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 720x39
+          text run at (0,0) width 720: &quot;This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with&quot;
+          text run at (0,20) width 66: &quot;classes of &quot;
+        RenderInline {SPAN} at (0,0) size 69x19 [border: none (10px double #800080) none]
+          RenderText {#text} at (65,20) size 59x19
+            text run at (65,20) width 59: &quot;class one&quot;
+        RenderText {#text} at (133,20) size 406x19
+          text run at (133,20) width 406: &quot;, which should have a 10-pixel purple double right border; and &quot;
+        RenderInline {SPAN} at (0,0) size 61x19 [border: none (1px solid #800080) none]
+          RenderText {#text} at (538,20) size 60x19
+            text run at (538,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (598,20) size 738x39
+          text run at (598,20) width 140: &quot;, which should have a&quot;
+          text run at (0,40) width 192: &quot;thin solid purple right border. &quot;
+          text run at (191,40) width 439: &quot;The line-height of the parent element should not change on any line.&quot;
+      RenderTable {TABLE} at (0,199) size 784x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x96
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 742x60 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 720x39
+                  text run at (0,0) width 720: &quot;This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with&quot;
+                  text run at (0,20) width 66: &quot;classes of &quot;
+                RenderInline {SPAN} at (0,0) size 69x19 [border: none (10px double #800080) none]
+                  RenderText {#text} at (65,20) size 59x19
+                    text run at (65,20) width 59: &quot;class one&quot;
+                RenderText {#text} at (133,20) size 406x19
+                  text run at (133,20) width 406: &quot;, which should have a 10-pixel purple double right border; and &quot;
+                RenderInline {SPAN} at (0,0) size 61x19 [border: none (1px solid #800080) none]
+                  RenderText {#text} at (538,20) size 60x19
+                    text run at (538,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (598,20) size 738x39
+                  text run at (598,20) width 140: &quot;, which should have a&quot;
+                  text run at (0,40) width 192: &quot;thin solid purple right border. &quot;
+                  text run at (191,40) width 439: &quot;The line-height of the parent element should not change on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,167 @@
</span><ins>+layer at (0,0) size 800x1149
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1149
+  RenderBlock {HTML} at (0,0) size 800x1149
+    RenderBody {BODY} at (8,8) size 784x1133 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 764x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 344x98
+          text run at (0,0) width 180: &quot;P {margin-right: 20px;}&quot;
+          text run at (179,0) width 1: &quot; &quot;
+          text run at (0,14) width 313: &quot;.one {border-right: purple double 10px;}&quot;
+          text run at (312,14) width 1: &quot; &quot;
+          text run at (0,28) width 305: &quot;.two {border-right: purple thin solid;}&quot;
+          text run at (304,28) width 1: &quot; &quot;
+          text run at (0,42) width 336: &quot;.threea {border-right: black medium solid;}&quot;
+          text run at (335,42) width 1: &quot; &quot;
+          text run at (0,56) width 344: &quot;.threeb {border-right: purple medium solid;}&quot;
+          text run at (343,56) width 1: &quot; &quot;
+          text run at (0,70) width 328: &quot;.threec {border-right: blue medium solid;}&quot;
+          text run at (327,70) width 1: &quot; &quot;
+          text run at (0,84) width 274: &quot;TD {border-right: green 2px solid;}&quot;
+          text run at (273,84) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,165) size 764x40
+        RenderText {#text} at (0,0) size 732x39
+          text run at (0,0) width 658: &quot;Note that all table cells on this page should have a two-pixel solid green border along their right sides. &quot;
+          text run at (657,0) width 75: &quot;This border&quot;
+          text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+      RenderBlock {P} at (0,221) size 764x20 [border: none (10px double #800080) none]
+        RenderText {#text} at (0,0) size 430x19
+          text run at (0,0) width 430: &quot;This paragraph should have a purple, double, 10-pixel right border.&quot;
+      RenderBlock {P} at (0,257) size 764x20 [border: none (1px solid #800080) none]
+        RenderText {#text} at (0,0) size 346x19
+          text run at (0,0) width 346: &quot;This paragraph should have a thin purple right border.&quot;
+      RenderTable {TABLE} at (0,293) size 784x115 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x113
+          RenderTableRow {TR} at (0,5) size 782x44
+            RenderTableCell {TD} at (5,5) size 772x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderText {#text} at (2,2) size 763x39
+                text run at (2,2) width 447: &quot;Every cell in this table should have a 2-pixel solid green right border. &quot;
+                text run at (448,2) width 317: &quot;This is also true of the table-testing section in the&quot;
+                text run at (2,22) width 179: &quot;second half of the test page.&quot;
+          RenderTableRow {TR} at (0,54) size 782x54
+            RenderTableCell {TD} at (5,69) size 195x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 54x19
+                text run at (2,2) width 54: &quot;Cell one&quot;
+            RenderTableCell {TD} at (205,54) size 572x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (anonymous) at (2,2) size 567x20
+                RenderText {#text} at (0,0) size 55x19
+                  text run at (0,0) width 55: &quot;Cell two&quot;
+              RenderTable {TABLE} at (2,22) size 167x30 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 165x28
+                  RenderTableRow {TR} at (0,2) size 165x24
+                    RenderTableCell {TD} at (2,2) size 161x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,2) size 156x19
+                        text run at (2,2) width 156: &quot;Nested single-cell table!&quot;
+      RenderBlock {UL} at (0,424) size 784x180
+        RenderListItem {LI} at (40,0) size 744x80 [border: none (3px solid #000000) none]
+          RenderBlock (anonymous) at (0,0) size 741x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 123x19
+              text run at (0,0) width 123: &quot;This is a list item...&quot;
+          RenderBlock {UL} at (0,20) size 741x60
+            RenderListItem {LI} at (40,0) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 75x19
+                text run at (0,0) width 75: &quot;...and this...&quot;
+            RenderListItem {LI} at (40,20) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 118x19
+                text run at (0,0) width 118: &quot;...is a second list...&quot;
+            RenderListItem {LI} at (40,40) size 701x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 182x19
+                text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+        RenderListItem {LI} at (40,80) size 744x20 [border: none (3px solid #800080) none]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 163x19
+            text run at (0,0) width 163: &quot;This is a second list item.&quot;
+        RenderListItem {LI} at (40,100) size 744x80 [border: none (3px solid #0000FF) none]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 722x79
+            text run at (0,0) width 718: &quot;Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors.&quot;
+            text run at (0,20) width 722: &quot;The first item's border should travel the entire height the nested list (to end near the baseline of the line \&quot;...nested&quot;
+            text run at (0,40) width 550: &quot;within the list item.\&quot;), even though the nested list does not have any border styles set. &quot;
+            text run at (549,40) width 173: &quot;The borders should line up&quot;
+            text run at (0,60) width 633: &quot;together at the right edge of the document's body, as each list element has a default width of 100%.&quot;
+      RenderTable {TABLE} at (0,620) size 784x513 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x511
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [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 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x483
+            RenderTableCell {TD} at (0,255) size 13x28 [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 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (13,28) size 769x483 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 740x40
+                RenderText {#text} at (0,0) size 732x39
+                  text run at (0,0) width 658: &quot;Note that all table cells on this page should have a two-pixel solid green border along their right sides. &quot;
+                  text run at (657,0) width 75: &quot;This border&quot;
+                  text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+              RenderBlock {P} at (4,60) size 740x20 [border: none (10px double #800080) none]
+                RenderText {#text} at (0,0) size 430x19
+                  text run at (0,0) width 430: &quot;This paragraph should have a purple, double, 10-pixel right border.&quot;
+              RenderBlock {P} at (4,96) size 740x20 [border: none (1px solid #800080) none]
+                RenderText {#text} at (0,0) size 346x19
+                  text run at (0,0) width 346: &quot;This paragraph should have a thin purple right border.&quot;
+              RenderTable {TABLE} at (4,132) size 760x115 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 758x113
+                  RenderTableRow {TR} at (0,5) size 758x44
+                    RenderTableCell {TD} at (5,5) size 748x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      RenderText {#text} at (2,2) size 739x39
+                        text run at (2,2) width 447: &quot;Every cell in this table should have a 2-pixel solid green right border. &quot;
+                        text run at (448,2) width 293: &quot;This is also true of the table-testing section in&quot;
+                        text run at (2,22) width 203: &quot;the second half of the test page.&quot;
+                  RenderTableRow {TR} at (0,54) size 758x54
+                    RenderTableCell {TD} at (5,69) size 189x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,2) size 54x19
+                        text run at (2,2) width 54: &quot;Cell one&quot;
+                    RenderTableCell {TD} at (199,54) size 554x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      RenderBlock (anonymous) at (2,2) size 549x20
+                        RenderText {#text} at (0,0) size 55x19
+                          text run at (0,0) width 55: &quot;Cell two&quot;
+                      RenderTable {TABLE} at (2,22) size 167x30 [border: (1px outset #808080)]
+                        RenderTableSection {TBODY} at (1,1) size 165x28
+                          RenderTableRow {TR} at (0,2) size 165x24
+                            RenderTableCell {TD} at (2,2) size 161x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              RenderText {#text} at (2,2) size 156x19
+                                text run at (2,2) width 156: &quot;Nested single-cell table!&quot;
+              RenderBlock {UL} at (4,263) size 760x200
+                RenderListItem {LI} at (40,0) size 720x80 [border: none (3px solid #000000) none]
+                  RenderBlock (anonymous) at (0,0) size 717x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 123x19
+                      text run at (0,0) width 123: &quot;This is a list item...&quot;
+                  RenderBlock {UL} at (0,20) size 717x60
+                    RenderListItem {LI} at (40,0) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 75x19
+                        text run at (0,0) width 75: &quot;...and this...&quot;
+                    RenderListItem {LI} at (40,20) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 118x19
+                        text run at (0,0) width 118: &quot;...is a second list...&quot;
+                    RenderListItem {LI} at (40,40) size 677x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 182x19
+                        text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+                RenderListItem {LI} at (40,80) size 720x20 [border: none (3px solid #800080) none]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 163x19
+                    text run at (0,0) width 163: &quot;This is a second list item.&quot;
+                RenderListItem {LI} at (40,100) size 720x100 [border: none (3px solid #0000FF) none]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 706x99
+                    text run at (0,0) width 671: &quot;Each list item in this 'parent' list should have a medium-width border along its right side, in each of three&quot;
+                    text run at (0,20) width 48: &quot;colors. &quot;
+                    text run at (47,20) width 659: &quot;The first item's border should travel the entire height the nested list (to end near the baseline of the line&quot;
+                    text run at (0,40) width 614: &quot;\&quot;...nested within the list item.\&quot;), even though the nested list does not have any border styles set. &quot;
+                    text run at (613,40) width 78: &quot;The borders&quot;
+                    text run at (0,60) width 683: &quot;should line up together at the right edge of the document's body, as each list element has a default width of&quot;
+                    text run at (0,80) width 42: &quot;100%.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_widthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+layer at (0,0) size 800x881
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x881
+  RenderBlock {HTML} at (0,0) size 800x881
+    RenderBody {BODY} at (8,8) size 784x865 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 445x84
+          text run at (0,0) width 437: &quot;.zero {background-color: silver; border-right-width: 0;}&quot;
+          text run at (436,0) width 1: &quot; &quot;
+          text run at (0,14) width 414: &quot;.one {border-right-width: 25px; border-style: solid;}&quot;
+          text run at (413,14) width 1: &quot; &quot;
+          text run at (0,28) width 422: &quot;.two {border-right-width: thick; border-style: solid;}&quot;
+          text run at (421,28) width 1: &quot; &quot;
+          text run at (0,42) width 445: &quot;.three {border-right-width: medium; border-style: solid;}&quot;
+          text run at (444,42) width 1: &quot; &quot;
+          text run at (0,56) width 422: &quot;.four {border-right-width: thin; border-style: solid;}&quot;
+          text run at (421,56) width 1: &quot; &quot;
+          text run at (0,70) width 266: &quot;.five {border-right-width: 100px;}&quot;
+          text run at (265,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: &quot;(These will only work if &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (159,5) size 95x14
+            text run at (159,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (253,0) size 92x19
+          text run at (253,0) width 92: &quot; is supported.)&quot;
+      RenderBlock {P} at (0,187) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,223) size 784x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 737x39
+          text run at (3,3) width 737: &quot;This element should have a right border width of 25 pixels, which will be more obvious if the element is more than&quot;
+          text run at (3,23) width 88: &quot;one line long.&quot;
+      RenderBlock {P} at (0,285) size 784x46 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 749x39
+          text run at (3,3) width 749: &quot;This element should have a thick right border width, which will be more obvious if the element is more than one line&quot;
+          text run at (3,23) width 33: &quot;long.&quot;
+      RenderBlock {P} at (0,347) size 784x46 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 769x39
+          text run at (3,3) width 769: &quot;This element should have a medium right border width, which will be more obvious if the element is more than one line&quot;
+          text run at (3,23) width 33: &quot;long.&quot;
+      RenderBlock {P} at (0,409) size 784x26 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 778x19
+          text run at (3,3) width 778: &quot;This element should have a thin right border width, which will be more obvious if the element is more than one line long.&quot;
+      RenderBlock {P} at (0,451) size 784x20
+        RenderText {#text} at (0,0) size 530x19
+          text run at (0,0) width 530: &quot;This element should have no border and no extra \&quot;padding\&quot; on its right side, as no &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (529,5) size 95x14
+            text run at (529,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (623,0) size 56x19
+          text run at (623,0) width 56: &quot; was set.&quot;
+      RenderTable {TABLE} at (0,487) size 784x378 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x376
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x348
+            RenderTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 160x19
+                  text run at (0,0) width 160: &quot;(These will only work if &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (159,5) size 95x14
+                    text run at (159,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (253,0) size 92x19
+                  text run at (253,0) width 92: &quot; is supported.)&quot;
+              RenderBlock {P} at (4,40) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,76) size 762x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 706x39
+                  text run at (3,3) width 706: &quot;This element should have a right border width of 25 pixels, which will be more obvious if the element is more&quot;
+                  text run at (3,23) width 120: &quot;than one line long.&quot;
+              RenderBlock {P} at (4,138) size 762x46 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 749x39
+                  text run at (3,3) width 749: &quot;This element should have a thick right border width, which will be more obvious if the element is more than one line&quot;
+                  text run at (3,23) width 33: &quot;long.&quot;
+              RenderBlock {P} at (4,200) size 762x46 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 741x39
+                  text run at (3,3) width 741: &quot;This element should have a medium right border width, which will be more obvious if the element is more than one&quot;
+                  text run at (3,23) width 61: &quot;line long.&quot;
+              RenderBlock {P} at (4,262) size 762x46 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 742x39
+                  text run at (3,3) width 742: &quot;This element should have a thin right border width, which will be more obvious if the element is more than one line&quot;
+                  text run at (3,23) width 33: &quot;long.&quot;
+              RenderBlock {P} at (4,324) size 762x20
+                RenderText {#text} at (0,0) size 530x19
+                  text run at (0,0) width 530: &quot;This element should have no border and no extra \&quot;padding\&quot; on its right side, as no &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (529,5) size 95x14
+                    text run at (529,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (623,0) size 56x19
+                  text run at (623,0) width 56: &quot; was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_right_width_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_right_width_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,97 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 414x42
+          text run at (0,0) width 414: &quot;.one {border-right-width: 25px; border-style: solid;}&quot;
+          text run at (413,0) width 1: &quot; &quot;
+          text run at (0,14) width 414: &quot;.two {border-right-width: thin; border-style: solid;}&quot;
+          text run at (413,14) width 1: &quot; &quot;
+          text run at (0,28) width 266: &quot;.three {border-right-width: 25px;}&quot;
+          text run at (265,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,3) size 176x19
+          text run at (3,3) width 176: &quot;This element has a class of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (178,8) size 25x14
+            text run at (178,8) width 25: &quot;one&quot;
+        RenderText {#text} at (202,3) size 164x19
+          text run at (202,3) width 9: &quot;. &quot;
+          text run at (210,3) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 176x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          RenderText {#text} at (368,3) size 149x19
+            text run at (368,3) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (516,8) size 24x14
+              text run at (516,8) width 24: &quot;two&quot;
+        RenderText {#text} at (540,3) size 728x39
+          text run at (540,3) width 191: &quot;, which should result in a thin&quot;
+          text run at (3,23) width 230: &quot;solid border on the right side of the &quot;
+        RenderInline {STRONG} at (0,0) size 25x19
+          RenderText {#text} at (232,23) size 25x19
+            text run at (232,23) width 25: &quot;last&quot;
+        RenderText {#text} at (256,23) size 721x39
+          text run at (256,23) width 468: &quot; box of the inline element (and the UA's default border on the other three&quot;
+          text run at (3,43) width 46: &quot;sides). &quot;
+          text run at (48,43) width 106: &quot;There is also an &quot;
+        RenderInline {SPAN} at (0,0) size 187x19
+          RenderText {#text} at (153,43) size 148x19
+            text run at (153,43) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 40x14
+            RenderText {#text} at (300,48) size 40x14
+              text run at (300,48) width 40: &quot;three&quot;
+        RenderText {#text} at (339,43) size 715x39
+          text run at (339,43) width 379: &quot;, which should have no right border width or visible border&quot;
+          text run at (3,63) width 206: &quot;because no border style was set.&quot;
+      RenderTable {TABLE} at (0,211) size 784x124 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x122
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x94
+            RenderTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,3) size 176x19
+                  text run at (3,3) width 176: &quot;This element has a class of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (178,8) size 25x14
+                    text run at (178,8) width 25: &quot;one&quot;
+                RenderText {#text} at (202,3) size 164x19
+                  text run at (202,3) width 9: &quot;. &quot;
+                  text run at (210,3) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 176x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  RenderText {#text} at (368,3) size 149x19
+                    text run at (368,3) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (516,8) size 24x14
+                      text run at (516,8) width 24: &quot;two&quot;
+                RenderText {#text} at (540,3) size 728x39
+                  text run at (540,3) width 191: &quot;, which should result in a thin&quot;
+                  text run at (3,23) width 230: &quot;solid border on the right side of the &quot;
+                RenderInline {STRONG} at (0,0) size 25x19
+                  RenderText {#text} at (232,23) size 25x19
+                    text run at (232,23) width 25: &quot;last&quot;
+                RenderText {#text} at (256,23) size 721x39
+                  text run at (256,23) width 468: &quot; box of the inline element (and the UA's default border on the other three&quot;
+                  text run at (3,43) width 46: &quot;sides). &quot;
+                  text run at (48,43) width 106: &quot;There is also an &quot;
+                RenderInline {SPAN} at (0,0) size 187x19
+                  RenderText {#text} at (153,43) size 148x19
+                    text run at (153,43) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 40x14
+                    RenderText {#text} at (300,48) size 40x14
+                      text run at (300,48) width 40: &quot;three&quot;
+                RenderText {#text} at (339,43) size 715x39
+                  text run at (339,43) width 379: &quot;, which should have no right border width or visible border&quot;
+                  text run at (3,63) width 206: &quot;because no border style was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_styleexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,121 @@
</span><ins>+layer at (0,0) size 800x1345
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1345
+  RenderBlock {HTML} at (0,0) size 800x1345
+    RenderBody {BODY} at (8,8) size 784x1329 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x168
+        RenderText {#text} at (0,0) size 617x168
+          text run at (0,0) width 547: &quot;.one {border-style: dotted; border-color: black; border-width: thick;}&quot;
+          text run at (546,0) width 1: &quot; &quot;
+          text run at (0,14) width 547: &quot;.two {border-style: dashed; border-color: black; border-width: thick;}&quot;
+          text run at (546,14) width 1: &quot; &quot;
+          text run at (0,28) width 554: &quot;.three {border-style: solid; border-color: black; border-width: thick;}&quot;
+          text run at (553,28) width 1: &quot; &quot;
+          text run at (0,42) width 554: &quot;.four {border-style: double; border-color: black; border-width: thick;}&quot;
+          text run at (553,42) width 1: &quot; &quot;
+          text run at (0,56) width 554: &quot;.five {border-style: groove; border-color: olive; border-width: thick;}&quot;
+          text run at (553,56) width 1: &quot; &quot;
+          text run at (0,70) width 539: &quot;.six {border-style: ridge; border-color: olive; border-width: thick;}&quot;
+          text run at (538,70) width 1: &quot; &quot;
+          text run at (0,84) width 554: &quot;.seven {border-style: inset; border-color: olive; border-width: thick;}&quot;
+          text run at (553,84) width 1: &quot; &quot;
+          text run at (0,98) width 562: &quot;.eight {border-style: outset; border-color: olive; border-width: thick;}&quot;
+          text run at (561,98) width 1: &quot; &quot;
+          text run at (0,112) width 617: &quot;.nine {border-style: double groove; border-color: purple; border-width: thick;}&quot;
+          text run at (616,112) width 1: &quot; &quot;
+          text run at (0,126) width 359: &quot;.ten {border-style: double groove ridge inset;&quot;
+          text run at (358,126) width 1: &quot; &quot;
+          text run at (0,140) width 359: &quot;   border-color: purple; border-width: thick;}&quot;
+          text run at (358,140) width 1: &quot; &quot;
+          text run at (0,154) width 539: &quot;.eleven {border-style: none; border-color: red; border-width: thick;}&quot;
+          text run at (538,154) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,217) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,235) size 784x30 [border: (5px dotted #000000)]
+        RenderText {#text} at (5,5) size 480x19
+          text run at (5,5) width 480: &quot;This paragraph should have a thick black dotted border all the way around.&quot;
+      RenderBlock {P} at (0,281) size 784x30 [border: (5px dashed #000000)]
+        RenderText {#text} at (5,5) size 484x19
+          text run at (5,5) width 484: &quot;This paragraph should have a thick black dashed border all the way around.&quot;
+      RenderBlock {P} at (0,327) size 784x30 [border: (5px solid #000000)]
+        RenderText {#text} at (5,5) size 471x19
+          text run at (5,5) width 471: &quot;This paragraph should have a thick black solid border all the way around.&quot;
+      RenderBlock {P} at (0,373) size 784x30 [border: (5px double #000000)]
+        RenderText {#text} at (5,5) size 483x19
+          text run at (5,5) width 483: &quot;This paragraph should have a thick black double border all the way around.&quot;
+      RenderBlock {P} at (0,419) size 784x30 [border: (5px groove #808000)]
+        RenderText {#text} at (5,5) size 482x19
+          text run at (5,5) width 482: &quot;This paragraph should have a thick olive groove border all the way around.&quot;
+      RenderBlock {P} at (0,465) size 784x30 [border: (5px ridge #808000)]
+        RenderText {#text} at (5,5) size 470x19
+          text run at (5,5) width 470: &quot;This paragraph should have a thick olive ridge border all the way around.&quot;
+      RenderBlock {P} at (0,511) size 784x30 [border: (5px inset #808000)]
+        RenderText {#text} at (5,5) size 467x19
+          text run at (5,5) width 467: &quot;This paragraph should have a thick olive inset border all the way around.&quot;
+      RenderBlock {P} at (0,557) size 784x30 [border: (5px outset #808000)]
+        RenderText {#text} at (5,5) size 475x19
+          text run at (5,5) width 475: &quot;This paragraph should have a thick olive outset border all the way around.&quot;
+      RenderBlock {P} at (0,603) size 784x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+        RenderText {#text} at (5,5) size 757x39
+          text run at (5,5) width 627: &quot;This paragraph should have thick double top and bottom borders, and thick grooved side borders. &quot;
+          text run at (631,5) width 131: &quot;The color of all four&quot;
+          text run at (5,25) width 208: &quot;sides should be based on purple.&quot;
+      RenderBlock {P} at (0,669) size 784x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+        RenderText {#text} at (5,5) size 738x39
+          text run at (5,5) width 713: &quot;This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. &quot;
+          text run at (717,5) width 26: &quot;The&quot;
+          text run at (5,25) width 312: &quot;color of all four sides should be based on purple.&quot;
+      RenderBlock {P} at (0,735) size 784x20
+        RenderText {#text} at (0,0) size 283x19
+          text run at (0,0) width 283: &quot;This paragraph should have no border at all.&quot;
+      RenderTable {TABLE} at (0,771) size 784x558 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x556
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x528
+            RenderTableCell {TD} at (0,278) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x528 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x30 [border: (5px dotted #000000)]
+                RenderText {#text} at (5,5) size 480x19
+                  text run at (5,5) width 480: &quot;This paragraph should have a thick black dotted border all the way around.&quot;
+              RenderBlock {P} at (4,50) size 762x30 [border: (5px dashed #000000)]
+                RenderText {#text} at (5,5) size 484x19
+                  text run at (5,5) width 484: &quot;This paragraph should have a thick black dashed border all the way around.&quot;
+              RenderBlock {P} at (4,96) size 762x30 [border: (5px solid #000000)]
+                RenderText {#text} at (5,5) size 471x19
+                  text run at (5,5) width 471: &quot;This paragraph should have a thick black solid border all the way around.&quot;
+              RenderBlock {P} at (4,142) size 762x30 [border: (5px double #000000)]
+                RenderText {#text} at (5,5) size 483x19
+                  text run at (5,5) width 483: &quot;This paragraph should have a thick black double border all the way around.&quot;
+              RenderBlock {P} at (4,188) size 762x30 [border: (5px groove #808000)]
+                RenderText {#text} at (5,5) size 482x19
+                  text run at (5,5) width 482: &quot;This paragraph should have a thick olive groove border all the way around.&quot;
+              RenderBlock {P} at (4,234) size 762x30 [border: (5px ridge #808000)]
+                RenderText {#text} at (5,5) size 470x19
+                  text run at (5,5) width 470: &quot;This paragraph should have a thick olive ridge border all the way around.&quot;
+              RenderBlock {P} at (4,280) size 762x30 [border: (5px inset #808000)]
+                RenderText {#text} at (5,5) size 467x19
+                  text run at (5,5) width 467: &quot;This paragraph should have a thick olive inset border all the way around.&quot;
+              RenderBlock {P} at (4,326) size 762x30 [border: (5px outset #808000)]
+                RenderText {#text} at (5,5) size 475x19
+                  text run at (5,5) width 475: &quot;This paragraph should have a thick olive outset border all the way around.&quot;
+              RenderBlock {P} at (4,372) size 762x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+                RenderText {#text} at (5,5) size 727x39
+                  text run at (5,5) width 627: &quot;This paragraph should have thick double top and bottom borders, and thick grooved side borders. &quot;
+                  text run at (631,5) width 101: &quot;The color of all&quot;
+                  text run at (5,25) width 238: &quot;four sides should be based on purple.&quot;
+              RenderBlock {P} at (4,438) size 762x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+                RenderText {#text} at (5,5) size 738x39
+                  text run at (5,5) width 713: &quot;This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. &quot;
+                  text run at (717,5) width 26: &quot;The&quot;
+                  text run at (5,25) width 312: &quot;color of all four sides should be based on purple.&quot;
+              RenderBlock {P} at (4,504) size 762x20
+                RenderText {#text} at (0,0) size 283x19
+                  text run at (0,0) width 283: &quot;This paragraph should have no border at all.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_style_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_style_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,70 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 554x42
+          text run at (0,0) width 547: &quot;.one {border-style: dashed; border-color: black; border-width: thick;}&quot;
+          text run at (546,0) width 1: &quot; &quot;
+          text run at (0,14) width 531: &quot;.two {border-style: groove; border-color: red; border-width: thick;}&quot;
+          text run at (530,14) width 1: &quot; &quot;
+          text run at (0,28) width 554: &quot;.three {border-style: none; border-color: purple; border-width: thick;}&quot;
+          text run at (553,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 679x19
+          text run at (0,0) width 679: &quot;This is an unstyled element, save for the background color, and it contains inline elements with classes of &quot;
+        RenderInline {SPAN} at (0,0) size 69x29 [border: (5px dashed #000000)]
+          RenderText {#text} at (683,0) size 59x19
+            text run at (683,0) width 59: &quot;class one&quot;
+        RenderText {#text} at (746,0) size 751x39
+          text run at (746,0) width 5: &quot;,&quot;
+          text run at (0,20) width 313: &quot;which will result in a dashed thick black border; &quot;
+        RenderInline {SPAN} at (0,0) size 70x29 [border: (5px groove #FF0000)]
+          RenderText {#text} at (317,20) size 60x19
+            text run at (317,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (381,20) size 375x19
+          text run at (381,20) width 375: &quot;, which should result in a grooved thick purple border, and&quot;
+        RenderInline {SPAN} at (0,0) size 68x19
+          RenderText {#text} at (0,40) size 68x19
+            text run at (0,40) width 68: &quot;class three&quot;
+        RenderText {#text} at (67,40) size 701x19
+          text run at (67,40) width 260: &quot;, which should result in no border at all. &quot;
+          text run at (326,40) width 442: &quot;The line-height of the parent element should not change, on any line.&quot;
+      RenderTable {TABLE} at (0,185) size 784x118 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x116
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x88
+            RenderTableCell {TD} at (0,58) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 679x19
+                  text run at (0,0) width 679: &quot;This is an unstyled element, save for the background color, and it contains inline elements with classes of &quot;
+                RenderInline {SPAN} at (0,0) size 69x29 [border: (5px dashed #000000)]
+                  RenderText {#text} at (683,0) size 59x19
+                    text run at (683,0) width 59: &quot;class one&quot;
+                RenderText {#text} at (746,0) size 751x39
+                  text run at (746,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 313: &quot;which will result in a dashed thick black border; &quot;
+                RenderInline {SPAN} at (0,0) size 70x29 [border: (5px groove #FF0000)]
+                  RenderText {#text} at (317,20) size 60x19
+                    text run at (317,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (381,20) size 375x19
+                  text run at (381,20) width 375: &quot;, which should result in a grooved thick purple border, and&quot;
+                RenderInline {SPAN} at (0,0) size 68x19
+                  RenderText {#text} at (0,40) size 68x19
+                    text run at (0,40) width 68: &quot;class three&quot;
+                RenderText {#text} at (67,40) size 736x39
+                  text run at (67,40) width 260: &quot;, which should result in no border at all. &quot;
+                  text run at (326,40) width 410: &quot;The line-height of the parent element should not change, on any&quot;
+                  text run at (0,60) width 28: &quot;line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_topexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,151 @@
</span><ins>+layer at (0,0) size 800x1015
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1015
+  RenderBlock {HTML} at (0,0) size 800x1015
+    RenderBody {BODY} at (8,8) size 784x999 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 313x56
+          text run at (0,0) width 297: &quot;.one {border-top: purple double 10px;}&quot;
+          text run at (296,0) width 1: &quot; &quot;
+          text run at (0,14) width 289: &quot;.two {border-top: purple thin solid;}&quot;
+          text run at (288,14) width 1: &quot; &quot;
+          text run at (0,28) width 313: &quot;.three {border-top: black medium solid;}&quot;
+          text run at (312,28) width 1: &quot; &quot;
+          text run at (0,42) width 258: &quot;TD {border-top: green 2px solid;}&quot;
+          text run at (257,42) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x40
+        RenderText {#text} at (0,0) size 772x39
+          text run at (0,0) width 648: &quot;Note that all table cells on this page should have a two-pixel solid green border along their top sides. &quot;
+          text run at (647,0) width 125: &quot;This border applies&quot;
+          text run at (0,20) width 324: &quot;only to the cells, not the rows which contain them.&quot;
+      RenderBlock {P} at (0,179) size 784x30 [border: (10px double #800080) none]
+        RenderText {#text} at (0,10) size 420x19
+          text run at (0,10) width 420: &quot;This paragraph should have a purple, double, 10-pixel top border.&quot;
+      RenderBlock {P} at (0,225) size 784x21 [border: (1px solid #800080) none]
+        RenderText {#text} at (0,1) size 336x19
+          text run at (0,1) width 336: &quot;This paragraph should have a thin purple top border.&quot;
+      RenderTable {TABLE} at (0,262) size 784x118 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x116
+          RenderTableRow {TR} at (0,5) size 782x45
+            RenderTableCell {TD} at (5,5) size 772x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderText {#text} at (2,3) size 753x39
+                text run at (2,3) width 438: &quot;Every cell in this table should have a 2-pixel solid green top border. &quot;
+                text run at (439,3) width 316: &quot;This is also true of the table-testing section in the&quot;
+                text run at (2,23) width 179: &quot;second half of the test page.&quot;
+          RenderTableRow {TR} at (0,55) size 782x56
+            RenderTableCell {TD} at (5,70) size 194x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,3) size 54x19
+                text run at (2,3) width 54: &quot;Cell one&quot;
+            RenderTableCell {TD} at (204,55) size 573x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (anonymous) at (2,3) size 569x20
+                RenderText {#text} at (0,0) size 55x19
+                  text run at (0,0) width 55: &quot;Cell two&quot;
+              RenderTable {TABLE} at (2,23) size 166x31 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 164x29
+                  RenderTableRow {TR} at (0,2) size 164x25
+                    RenderTableCell {TD} at (2,2) size 160x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,3) size 156x19
+                        text run at (2,3) width 156: &quot;Nested single-cell table!&quot;
+      RenderBlock {UL} at (0,396) size 784x129
+        RenderListItem {LI} at (40,0) size 744x83 [border: (3px solid #000000) none]
+          RenderBlock (anonymous) at (0,3) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 123x19
+              text run at (0,0) width 123: &quot;This is a list item...&quot;
+          RenderBlock {UL} at (0,23) size 744x60
+            RenderListItem {LI} at (40,0) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 75x19
+                text run at (0,0) width 75: &quot;...and this...&quot;
+            RenderListItem {LI} at (40,20) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 118x19
+                text run at (0,0) width 118: &quot;...is a second list...&quot;
+            RenderListItem {LI} at (40,40) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 182x19
+                text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+        RenderListItem {LI} at (40,83) size 744x23 [border: (3px solid #000000) none]
+          RenderListMarker at (-18,3) size 7x19: bullet
+          RenderText {#text} at (0,3) size 163x19
+            text run at (0,3) width 163: &quot;This is a second list item.&quot;
+        RenderListItem {LI} at (40,106) size 744x23 [border: (3px solid #000000) none]
+          RenderListMarker at (-18,3) size 7x19: bullet
+          RenderText {#text} at (0,3) size 493x19
+            text run at (0,3) width 493: &quot;Each list item in this list should have a medium-width black border at its top.&quot;
+      RenderTable {TABLE} at (0,541) size 784x458 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x456
+          RenderTableRow {TR} at (0,0) size 782x29
+            RenderTableCell {TD} at (0,0) size 782x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,5) size 161x19
+                  text run at (4,5) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,29) size 782x427
+            RenderTableCell {TD} at (0,228) size 12x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,5) size 4x19
+                text run at (4,5) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,29) size 770x427 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,5) size 762x40
+                RenderText {#text} at (0,0) size 723x39
+                  text run at (0,0) width 648: &quot;Note that all table cells on this page should have a two-pixel solid green border along their top sides. &quot;
+                  text run at (647,0) width 76: &quot;This border&quot;
+                  text run at (0,20) width 373: &quot;applies only to the cells, not the rows which contain them.&quot;
+              RenderBlock {P} at (4,61) size 762x30 [border: (10px double #800080) none]
+                RenderText {#text} at (0,10) size 420x19
+                  text run at (0,10) width 420: &quot;This paragraph should have a purple, double, 10-pixel top border.&quot;
+              RenderBlock {P} at (4,107) size 762x21 [border: (1px solid #800080) none]
+                RenderText {#text} at (0,1) size 336x19
+                  text run at (0,1) width 336: &quot;This paragraph should have a thin purple top border.&quot;
+              RenderTable {TABLE} at (4,144) size 762x118 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 760x116
+                  RenderTableRow {TR} at (0,5) size 760x45
+                    RenderTableCell {TD} at (5,5) size 750x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      RenderText {#text} at (2,3) size 729x39
+                        text run at (2,3) width 438: &quot;Every cell in this table should have a 2-pixel solid green top border. &quot;
+                        text run at (439,3) width 292: &quot;This is also true of the table-testing section in&quot;
+                        text run at (2,23) width 203: &quot;the second half of the test page.&quot;
+                  RenderTableRow {TR} at (0,55) size 760x56
+                    RenderTableCell {TD} at (5,70) size 189x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {#text} at (2,3) size 54x19
+                        text run at (2,3) width 54: &quot;Cell one&quot;
+                    RenderTableCell {TD} at (199,55) size 556x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      RenderBlock (anonymous) at (2,3) size 552x20
+                        RenderText {#text} at (0,0) size 55x19
+                          text run at (0,0) width 55: &quot;Cell two&quot;
+                      RenderTable {TABLE} at (2,23) size 166x31 [border: (1px outset #808080)]
+                        RenderTableSection {TBODY} at (1,1) size 164x29
+                          RenderTableRow {TR} at (0,2) size 164x25
+                            RenderTableCell {TD} at (2,2) size 160x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              RenderText {#text} at (2,3) size 156x19
+                                text run at (2,3) width 156: &quot;Nested single-cell table!&quot;
+              RenderBlock {UL} at (4,278) size 762x129
+                RenderListItem {LI} at (40,0) size 722x83 [border: (3px solid #000000) none]
+                  RenderBlock (anonymous) at (0,3) size 722x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 123x19
+                      text run at (0,0) width 123: &quot;This is a list item...&quot;
+                  RenderBlock {UL} at (0,23) size 722x60
+                    RenderListItem {LI} at (40,0) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 75x19
+                        text run at (0,0) width 75: &quot;...and this...&quot;
+                    RenderListItem {LI} at (40,20) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 118x19
+                        text run at (0,0) width 118: &quot;...is a second list...&quot;
+                    RenderListItem {LI} at (40,40) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 182x19
+                        text run at (0,0) width 182: &quot;...nested within the list item.&quot;
+                RenderListItem {LI} at (40,83) size 722x23 [border: (3px solid #000000) none]
+                  RenderListMarker at (-18,3) size 7x19: bullet
+                  RenderText {#text} at (0,3) size 163x19
+                    text run at (0,3) width 163: &quot;This is a second list item.&quot;
+                RenderListItem {LI} at (40,106) size 722x23 [border: (3px solid #000000) none]
+                  RenderListMarker at (-18,3) size 7x19: bullet
+                  RenderText {#text} at (0,3) size 493x19
+                    text run at (0,3) width 493: &quot;Each list item in this list should have a medium-width black border at its top.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 297x42
+          text run at (0,0) width 297: &quot;.one {border-top: purple double 10px;}&quot;
+          text run at (296,0) width 1: &quot; &quot;
+          text run at (0,14) width 289: &quot;.two {border-top: purple thin solid;}&quot;
+          text run at (288,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 680x19
+          text run at (0,0) width 680: &quot;This is an unstyled element, save for the background color, and containing inline elements with classes of &quot;
+        RenderInline {SPAN} at (0,0) size 59x29 [border: (10px double #800080) none]
+          RenderText {#text} at (679,0) size 59x19
+            text run at (679,0) width 59: &quot;class one&quot;
+        RenderText {#text} at (737,0) size 742x39
+          text run at (737,0) width 5: &quot;,&quot;
+          text run at (0,20) width 387: &quot;which should have a 10-pixel purple double top border; and &quot;
+        RenderInline {SPAN} at (0,0) size 60x20 [border: (1px solid #800080) none]
+          RenderText {#text} at (386,20) size 60x19
+            text run at (386,20) width 60: &quot;class two&quot;
+        RenderText {#text} at (445,20) size 767x39
+          text run at (445,20) width 322: &quot;, which should have a thin solid purple top border.&quot;
+          text run at (0,40) width 438: &quot;The line-height of the parent element should not change on any line.&quot;
+      RenderTable {TABLE} at (0,185) size 784x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x96
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 680x19
+                  text run at (0,0) width 680: &quot;This is an unstyled element, save for the background color, and containing inline elements with classes of &quot;
+                RenderInline {SPAN} at (0,0) size 59x29 [border: (10px double #800080) none]
+                  RenderText {#text} at (679,0) size 59x19
+                    text run at (679,0) width 59: &quot;class one&quot;
+                RenderText {#text} at (737,0) size 742x39
+                  text run at (737,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 387: &quot;which should have a 10-pixel purple double top border; and &quot;
+                RenderInline {SPAN} at (0,0) size 60x20 [border: (1px solid #800080) none]
+                  RenderText {#text} at (386,20) size 60x19
+                    text run at (386,20) width 60: &quot;class two&quot;
+                RenderText {#text} at (445,20) size 719x39
+                  text run at (445,20) width 274: &quot;, which should have a thin solid purple top&quot;
+                  text run at (0,40) width 49: &quot;border. &quot;
+                  text run at (48,40) width 439: &quot;The line-height of the parent element should not change on any line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_widthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,97 @@
</span><ins>+layer at (0,0) size 800x785
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x785
+  RenderBlock {HTML} at (0,0) size 800x785
+    RenderBody {BODY} at (8,8) size 784x769 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 430x84
+          text run at (0,0) width 422: &quot;.zero {background-color: silver; border-top-width: 0;}&quot;
+          text run at (421,0) width 1: &quot; &quot;
+          text run at (0,14) width 398: &quot;.one {border-top-width: 25px; border-style: solid;}&quot;
+          text run at (397,14) width 1: &quot; &quot;
+          text run at (0,28) width 406: &quot;.two {border-top-width: thick; border-style: solid;}&quot;
+          text run at (405,28) width 1: &quot; &quot;
+          text run at (0,42) width 430: &quot;.three {border-top-width: medium; border-style: solid;}&quot;
+          text run at (429,42) width 1: &quot; &quot;
+          text run at (0,56) width 406: &quot;.four {border-top-width: thin; border-style: solid;}&quot;
+          text run at (405,56) width 1: &quot; &quot;
+          text run at (0,70) width 242: &quot;.five {border-top-width: 25px;}&quot;
+          text run at (241,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: &quot;(These will only work if &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (159,5) size 95x14
+            text run at (159,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (253,0) size 92x19
+          text run at (253,0) width 92: &quot; is supported.)&quot;
+      RenderBlock {P} at (0,187) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,223) size 784x48 [border: (25px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,25) size 383x19
+          text run at (3,25) width 383: &quot;This paragraph should have a top border width of 25 pixels.&quot;
+      RenderBlock {P} at (0,287) size 784x28 [border: (5px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,5) size 340x19
+          text run at (3,5) width 340: &quot;This paragraph should have a thick top border width.&quot;
+      RenderBlock {P} at (0,331) size 784x26 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 360x19
+          text run at (3,3) width 360: &quot;This paragraph should have a medium top border width.&quot;
+      RenderBlock {P} at (0,373) size 784x24 [border: (1px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,1) size 332x19
+          text run at (3,1) width 332: &quot;This paragraph should have a thin top border width.&quot;
+      RenderBlock {P} at (0,413) size 784x20
+        RenderText {#text} at (0,0) size 534x19
+          text run at (0,0) width 534: &quot;This paragraph should have no border and no extra \&quot;padding\&quot; on its top side, as no &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (533,5) size 95x14
+            text run at (533,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (627,0) size 55x19
+          text run at (627,0) width 55: &quot; was set.&quot;
+      RenderTable {TABLE} at (0,449) size 704x320 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 702x318
+          RenderTableRow {TR} at (0,0) size 702x28
+            RenderTableCell {TD} at (0,0) size 702x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 702x290
+            RenderTableCell {TD} at (0,159) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 690x290 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 682x20
+                RenderText {#text} at (0,0) size 160x19
+                  text run at (0,0) width 160: &quot;(These will only work if &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (159,5) size 95x14
+                    text run at (159,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (253,0) size 92x19
+                  text run at (253,0) width 92: &quot; is supported.)&quot;
+              RenderBlock {P} at (4,40) size 682x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,76) size 682x48 [border: (25px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,25) size 383x19
+                  text run at (3,25) width 383: &quot;This paragraph should have a top border width of 25 pixels.&quot;
+              RenderBlock {P} at (4,140) size 682x28 [border: (5px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,5) size 340x19
+                  text run at (3,5) width 340: &quot;This paragraph should have a thick top border width.&quot;
+              RenderBlock {P} at (4,184) size 682x26 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 360x19
+                  text run at (3,3) width 360: &quot;This paragraph should have a medium top border width.&quot;
+              RenderBlock {P} at (4,226) size 682x24 [border: (1px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,1) size 332x19
+                  text run at (3,1) width 332: &quot;This paragraph should have a thin top border width.&quot;
+              RenderBlock {P} at (4,266) size 682x20
+                RenderText {#text} at (0,0) size 534x19
+                  text run at (0,0) width 534: &quot;This paragraph should have no border and no extra \&quot;padding\&quot; on its top side, as no &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (533,5) size 95x14
+                    text run at (533,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (627,0) size 55x19
+                  text run at (627,0) width 55: &quot; was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_top_width_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_top_width_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,86 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 398x42
+          text run at (0,0) width 398: &quot;.one {border-top-width: 25px; border-style: solid;}&quot;
+          text run at (397,0) width 1: &quot; &quot;
+          text run at (0,14) width 398: &quot;.two {border-top-width: thin; border-style: solid;}&quot;
+          text run at (397,14) width 1: &quot; &quot;
+          text run at (0,28) width 250: &quot;.three {border-top-width: 25px;}&quot;
+          text run at (249,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x108 [border: (25px solid #000000) (3px solid #000000)]
+        RenderText {#text} at (3,25) size 176x19
+          text run at (3,25) width 176: &quot;This element has a class of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (178,30) size 25x14
+            text run at (178,30) width 25: &quot;one&quot;
+        RenderText {#text} at (202,25) size 164x19
+          text run at (202,25) width 9: &quot;. &quot;
+          text run at (210,25) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 178x23 [border: (1px solid #000000) (3px solid #000000)]
+          RenderText {#text} at (368,25) size 149x19
+            text run at (368,25) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (516,30) size 24x14
+              text run at (516,30) width 24: &quot;two&quot;
+        RenderText {#text} at (542,25) size 765x59
+          text run at (542,25) width 226: &quot;, which should result in a thin solid&quot;
+          text run at (3,45) width 706: &quot;border on the top side of each box in the inline element (and the UA's default border on the other three sides). &quot;
+          text run at (708,45) width 53: &quot;There is&quot;
+          text run at (3,65) width 49: &quot;also an &quot;
+        RenderInline {SPAN} at (0,0) size 188x19
+          RenderText {#text} at (51,65) size 149x19
+            text run at (51,65) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 40x14
+            RenderText {#text} at (199,70) size 40x14
+              text run at (199,70) width 40: &quot;three&quot;
+        RenderText {#text} at (238,65) size 759x39
+          text run at (238,65) width 524: &quot;, which should have no top border width or visible border because no border style&quot;
+          text run at (3,85) width 51: &quot;was set.&quot;
+      RenderTable {TABLE} at (0,233) size 784x146 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x144
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x116
+            RenderTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x116 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x108 [border: (25px solid #000000) (3px solid #000000)]
+                RenderText {#text} at (3,25) size 176x19
+                  text run at (3,25) width 176: &quot;This element has a class of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (178,30) size 25x14
+                    text run at (178,30) width 25: &quot;one&quot;
+                RenderText {#text} at (202,25) size 164x19
+                  text run at (202,25) width 9: &quot;. &quot;
+                  text run at (210,25) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 178x23 [border: (1px solid #000000) (3px solid #000000)]
+                  RenderText {#text} at (368,25) size 149x19
+                    text run at (368,25) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (516,30) size 24x14
+                      text run at (516,30) width 24: &quot;two&quot;
+                RenderText {#text} at (542,25) size 737x59
+                  text run at (542,25) width 191: &quot;, which should result in a thin&quot;
+                  text run at (3,45) width 737: &quot;solid border on the top side of each box in the inline element (and the UA's default border on the other three sides).&quot;
+                  text run at (3,65) width 105: &quot;There is also an &quot;
+                RenderInline {SPAN} at (0,0) size 188x19
+                  RenderText {#text} at (107,65) size 149x19
+                    text run at (107,65) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 40x14
+                    RenderText {#text} at (255,70) size 40x14
+                      text run at (255,70) width 40: &quot;three&quot;
+                RenderText {#text} at (294,65) size 735x39
+                  text run at (294,65) width 444: &quot;, which should have no top border width or visible border because no&quot;
+                  text run at (3,85) width 131: &quot;border style was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_widthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,97 @@
</span><ins>+layer at (0,0) size 800x929
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x929
+  RenderBlock {HTML} at (0,0) size 800x929
+    RenderBody {BODY} at (8,8) size 784x913 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 398x84
+          text run at (0,0) width 391: &quot;.zero {background-color: silver; border-width: 0;}&quot;
+          text run at (390,0) width 1: &quot; &quot;
+          text run at (0,14) width 367: &quot;.one {border-width: 50px; border-style: solid;}&quot;
+          text run at (366,14) width 1: &quot; &quot;
+          text run at (0,28) width 375: &quot;.two {border-width: thick; border-style: solid;}&quot;
+          text run at (374,28) width 1: &quot; &quot;
+          text run at (0,42) width 398: &quot;.three {border-width: medium; border-style: solid;}&quot;
+          text run at (397,42) width 1: &quot; &quot;
+          text run at (0,56) width 375: &quot;.four {border-width: thin; border-style: solid;}&quot;
+          text run at (374,56) width 1: &quot; &quot;
+          text run at (0,70) width 211: &quot;.five {border-width: 25px;}&quot;
+          text run at (210,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: &quot;(These will only work if &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (159,5) size 95x14
+            text run at (159,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (253,0) size 92x19
+          text run at (253,0) width 92: &quot; is supported.)&quot;
+      RenderBlock {P} at (0,187) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,223) size 784x120 [border: (50px solid #000000)]
+        RenderText {#text} at (50,50) size 402x19
+          text run at (50,50) width 402: &quot;This element should have an overall border width of 50 pixels.&quot;
+      RenderBlock {P} at (0,359) size 784x30 [border: (5px solid #000000)]
+        RenderText {#text} at (5,5) size 350x19
+          text run at (5,5) width 350: &quot;This element should have a thick overall border width.&quot;
+      RenderBlock {P} at (0,405) size 784x26 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 371x19
+          text run at (3,3) width 371: &quot;This element should have a medium overall border width.&quot;
+      RenderBlock {P} at (0,447) size 784x22 [border: (1px solid #000000)]
+        RenderText {#text} at (1,1) size 343x19
+          text run at (1,1) width 343: &quot;This element should have a thin overall border width.&quot;
+      RenderBlock {P} at (0,485) size 784x20
+        RenderText {#text} at (0,0) size 504x19
+          text run at (0,0) width 504: &quot;This element should have no border and no extra \&quot;padding\&quot; on any side, as no &quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (503,5) size 95x14
+            text run at (503,5) width 95: &quot;border-style&quot;
+        RenderText {#text} at (597,0) size 55x19
+          text run at (597,0) width 55: &quot; was set.&quot;
+      RenderTable {TABLE} at (0,521) size 674x392 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 672x390
+          RenderTableRow {TR} at (0,0) size 672x28
+            RenderTableCell {TD} at (0,0) size 672x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 672x362
+            RenderTableCell {TD} at (0,195) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 660x362 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 652x20
+                RenderText {#text} at (0,0) size 160x19
+                  text run at (0,0) width 160: &quot;(These will only work if &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (159,5) size 95x14
+                    text run at (159,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (253,0) size 92x19
+                  text run at (253,0) width 92: &quot; is supported.)&quot;
+              RenderBlock {P} at (4,40) size 652x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,76) size 652x120 [border: (50px solid #000000)]
+                RenderText {#text} at (50,50) size 402x19
+                  text run at (50,50) width 402: &quot;This element should have an overall border width of 50 pixels.&quot;
+              RenderBlock {P} at (4,212) size 652x30 [border: (5px solid #000000)]
+                RenderText {#text} at (5,5) size 350x19
+                  text run at (5,5) width 350: &quot;This element should have a thick overall border width.&quot;
+              RenderBlock {P} at (4,258) size 652x26 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 371x19
+                  text run at (3,3) width 371: &quot;This element should have a medium overall border width.&quot;
+              RenderBlock {P} at (4,300) size 652x22 [border: (1px solid #000000)]
+                RenderText {#text} at (1,1) size 343x19
+                  text run at (1,1) width 343: &quot;This element should have a thin overall border width.&quot;
+              RenderBlock {P} at (4,338) size 652x20
+                RenderText {#text} at (0,0) size 504x19
+                  text run at (0,0) width 504: &quot;This element should have no border and no extra \&quot;padding\&quot; on any side, as no &quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (503,5) size 95x14
+                    text run at (503,5) width 95: &quot;border-style&quot;
+                RenderText {#text} at (597,0) size 55x19
+                  text run at (597,0) width 55: &quot; was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesborder_width_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/border_width_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,85 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 367x42
+          text run at (0,0) width 367: &quot;.one {border-width: 25px; border-style: solid;}&quot;
+          text run at (366,0) width 1: &quot; &quot;
+          text run at (0,14) width 367: &quot;.two {border-width: thin; border-style: solid;}&quot;
+          text run at (366,14) width 1: &quot; &quot;
+          text run at (0,28) width 219: &quot;.three {border-width: 25px;}&quot;
+          text run at (218,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x110 [border: (25px solid #000000)]
+        RenderText {#text} at (25,25) size 176x19
+          text run at (25,25) width 176: &quot;This element has a class of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (200,30) size 25x14
+            text run at (200,30) width 25: &quot;one&quot;
+        RenderText {#text} at (224,25) size 164x19
+          text run at (224,25) width 9: &quot;. &quot;
+          text run at (232,25) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 174x21 [border: (1px solid #000000)]
+          RenderText {#text} at (388,25) size 149x19
+            text run at (388,25) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (536,30) size 24x14
+              text run at (536,30) width 24: &quot;two&quot;
+        RenderText {#text} at (560,25) size 726x39
+          text run at (560,25) width 191: &quot;, which should result in a thin&quot;
+          text run at (25,45) width 382: &quot;solid border on each side of each box in the inline element. &quot;
+          text run at (406,45) width 106: &quot;There is also an &quot;
+        RenderInline {SPAN} at (0,0) size 188x19
+          RenderText {#text} at (511,45) size 149x19
+            text run at (511,45) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 40x14
+            RenderText {#text} at (659,50) size 40x14
+              text run at (659,50) width 40: &quot;three&quot;
+        RenderText {#text} at (698,45) size 721x39
+          text run at (698,45) width 48: &quot;, which&quot;
+          text run at (25,65) width 393: &quot;should have no border width because no border style was set.&quot;
+      RenderTable {TABLE} at (0,235) size 784x148 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x146
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x118
+            RenderTableCell {TD} at (0,73) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x118 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x110 [border: (25px solid #000000)]
+                RenderText {#text} at (25,25) size 176x19
+                  text run at (25,25) width 176: &quot;This element has a class of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (200,30) size 25x14
+                    text run at (200,30) width 25: &quot;one&quot;
+                RenderText {#text} at (224,25) size 164x19
+                  text run at (224,25) width 9: &quot;. &quot;
+                  text run at (232,25) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 174x21 [border: (1px solid #000000)]
+                  RenderText {#text} at (388,25) size 149x19
+                    text run at (388,25) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (536,30) size 24x14
+                      text run at (536,30) width 24: &quot;two&quot;
+                RenderText {#text} at (560,25) size 697x39
+                  text run at (560,25) width 162: &quot;, which should result in a&quot;
+                  text run at (25,45) width 411: &quot;thin solid border on each side of each box in the inline element. &quot;
+                  text run at (435,45) width 106: &quot;There is also an &quot;
+                RenderInline {SPAN} at (0,0) size 187x19
+                  RenderText {#text} at (540,45) size 148x19
+                    text run at (540,45) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 40x14
+                    RenderText {#text} at (687,50) size 40x14
+                      text run at (687,50) width 40: &quot;three&quot;
+                RenderText {#text} at (726,45) size 706x39
+                  text run at (726,45) width 5: &quot;,&quot;
+                  text run at (25,65) width 436: &quot;which should have no border width because no border style was set.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesclearexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+layer at (0,0) size 800x997
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x997
+  RenderBlock {HTML} at (0,0) size 800x997
+    RenderBody {BODY} at (8,8) size 784x981 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 164x56
+          text run at (0,0) width 149: &quot;.one {clear: left;}&quot;
+          text run at (148,0) width 1: &quot; &quot;
+          text run at (0,14) width 157: &quot;.two {clear: right;}&quot;
+          text run at (156,14) width 1: &quot; &quot;
+          text run at (0,28) width 164: &quot;.three {clear: both;}&quot;
+          text run at (163,28) width 1: &quot; &quot;
+          text run at (0,42) width 157: &quot;.four {clear: none;}&quot;
+          text run at (156,42) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderImage {IMG} at (0,115) size 15x50
+      RenderBlock {P} at (0,123) size 784x20
+        RenderText {#text} at (18,0) size 606x19
+          text run at (18,0) width 606: &quot;This text should be flowing past a tall orange rectangle on the left side of the browser window.&quot;
+      RenderBlock (anonymous) at (0,159) size 784x20
+        RenderBR {BR} at (18,0) size 0x19
+        RenderImage {IMG} at (0,20) size 15x50
+      RenderBlock {P} at (0,229) size 784x20
+        RenderText {#text} at (0,0) size 662x19
+          text run at (0,0) width 662: &quot;This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it.&quot;
+      RenderBlock (anonymous) at (0,265) size 784x20
+        RenderBR {BR} at (0,0) size 0x19
+        RenderImage {IMG} at (769,20) size 15x50
+      RenderBlock {P} at (0,335) size 784x20
+        RenderText {#text} at (0,0) size 671x19
+          text run at (0,0) width 671: &quot;This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it.&quot;
+      RenderBlock (anonymous) at (0,371) size 784x20
+        RenderBR {BR} at (0,0) size 0x19
+        RenderImage {IMG} at (0,20) size 15x50
+        RenderImage {IMG} at (769,20) size 15x50
+      RenderBlock {P} at (0,441) size 784x20
+        RenderText {#text} at (0,0) size 612x19
+          text run at (0,0) width 612: &quot;This paragraph should appear below the two tall orange rectangles, and not flow between them.&quot;
+      RenderImage {IMG} at (0,477) size 15x50
+      RenderImage {IMG} at (769,477) size 15x50
+      RenderBlock {P} at (0,477) size 784x20
+        RenderText {#text} at (18,0) size 397x19
+          text run at (18,0) width 397: &quot;This paragraph should be between both tall orange rectangles.&quot;
+      RenderBlock (anonymous) at (0,513) size 784x20
+        RenderBR {BR} at (18,0) size 0x19
+      RenderTable {TABLE} at (0,533) size 693x448 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 691x446
+          RenderTableRow {TR} at (0,0) size 691x28
+            RenderTableCell {TD} at (0,0) size 691x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 691x418
+            RenderTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 679x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderImage {IMG} at (4,4) size 15x50
+              RenderBlock {P} at (4,4) size 671x20
+                RenderText {#text} at (18,0) size 606x19
+                  text run at (18,0) width 606: &quot;This text should be flowing past a tall orange rectangle on the left side of the browser window.&quot;
+              RenderBlock (anonymous) at (4,40) size 671x20
+                RenderBR {BR} at (18,0) size 0x19
+                RenderImage {IMG} at (0,20) size 15x50
+              RenderBlock {P} at (4,110) size 671x20
+                RenderText {#text} at (0,0) size 662x19
+                  text run at (0,0) width 662: &quot;This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it.&quot;
+              RenderBlock (anonymous) at (4,146) size 671x20
+                RenderBR {BR} at (0,0) size 0x19
+                RenderImage {IMG} at (656,20) size 15x50
+              RenderBlock {P} at (4,216) size 671x20
+                RenderText {#text} at (0,0) size 671x19
+                  text run at (0,0) width 671: &quot;This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it.&quot;
+              RenderBlock (anonymous) at (4,252) size 671x20
+                RenderBR {BR} at (0,0) size 0x19
+                RenderImage {IMG} at (0,20) size 15x50
+                RenderImage {IMG} at (656,20) size 15x50
+              RenderBlock {P} at (4,322) size 671x20
+                RenderText {#text} at (0,0) size 612x19
+                  text run at (0,0) width 612: &quot;This paragraph should appear below the two tall orange rectangles, and not flow between them.&quot;
+              RenderImage {IMG} at (4,358) size 15x50
+              RenderImage {IMG} at (660,358) size 15x50
+              RenderBlock {P} at (4,358) size 671x20
+                RenderText {#text} at (18,0) size 397x19
+                  text run at (18,0) width 397: &quot;This paragraph should be between both tall orange rectangles.&quot;
+              RenderBlock (anonymous) at (4,394) size 671x20
+                RenderBR {BR} at (18,0) size 0x19
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesclear_floatexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear_float-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear_float-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/clear_float-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,160 @@
</span><ins>+layer at (0,0) size 800x810
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x810
+  RenderBlock {HTML} at (0,0) size 800x810
+    RenderBody {BODY} at (8,8) size 784x794 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,33) size 784x126
+        RenderText {#text} at (0,0) size 601x126
+          text run at (0,0) width 383: &quot;P { margin: 0; padding: 0; text-align:  justify;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 0: &quot; &quot;
+          text run at (0,28) width 375: &quot;DIV.menu {float: left; clear: left; width: 11em;&quot;
+          text run at (374,28) width 1: &quot; &quot;
+          text run at (0,42) width 453: &quot;          margin: 0; margin-bottom: 10px; padding: 0.5em;}&quot;
+          text run at (452,42) width 1: &quot; &quot;
+          text run at (0,56) width 422: &quot;DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;}&quot;
+          text run at (421,56) width 1: &quot; &quot;
+          text run at (0,70) width 437: &quot;DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;}&quot;
+          text run at (436,70) width 1: &quot; &quot;
+          text run at (0,84) width 601: &quot;DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em;&quot;
+          text run at (600,84) width 1: &quot; &quot;
+          text run at (0,98) width 469: &quot;             color: black; background: yellow; clear: none;}&quot;
+          text run at (468,98) width 1: &quot; &quot;
+          text run at (0,112) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,172) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {DIV} at (0,182) size 192x126 [color=#FFFFFF] [bgcolor=#008000]
+        RenderBlock {H1} at (8,8) size 176x23
+          RenderText {#text} at (0,0) size 82x22
+            text run at (0,0) width 82: &quot;Top menu&quot;
+        RenderBlock {UL} at (24,34) size 156x81
+          RenderListItem {LI} at (0,0) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 36x19
+              text run at (0,0) width 36: &quot;green&quot;
+          RenderListItem {LI} at (0,20) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 64x19
+              text run at (0,0) width 64: &quot;white text&quot;
+          RenderListItem {LI} at (0,40) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 96x19
+              text run at (0,0) width 96: &quot;0.5em padding&quot;
+          RenderListItem {LI} at (0,60) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 89x19
+              text run at (0,0) width 89: &quot;0.5em margin&quot;
+      RenderBlock (floating) {DIV} at (0,317) size 192x126 [color=#FFFFFF] [bgcolor=#0000FF]
+        RenderBlock {H1} at (8,8) size 176x23
+          RenderText {#text} at (0,0) size 111x22
+            text run at (0,0) width 111: &quot;Bottom menu&quot;
+        RenderBlock {UL} at (24,34) size 156x81
+          RenderListItem {LI} at (0,0) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: &quot;blue background&quot;
+          RenderListItem {LI} at (0,20) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 64x19
+              text run at (0,0) width 64: &quot;white text&quot;
+          RenderListItem {LI} at (0,40) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 96x19
+              text run at (0,0) width 96: &quot;0.5em padding&quot;
+          RenderListItem {LI} at (0,60) size 156x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 89x19
+              text run at (0,0) width 89: &quot;0.5em margin&quot;
+      RenderBlock {DIV} at (224,182) size 528x237 [bgcolor=#FFFF00]
+        RenderBlock {H1} at (8,29) size 512x39
+          RenderText {#text} at (0,1) size 275x36
+            text run at (0,1) width 275: &quot;The 'clear' property&quot;
+        RenderBlock {P} at (8,88) size 512x101
+          RenderText {#text} at (0,0) size 512x99
+            text run at (0,0) width 512: &quot;This page has two floating \&quot;menus\&quot; on the side; one has a green background,&quot;
+            text run at (0,20) width 238: &quot;and the other a blue background. &quot;
+            text run at (237,20) width 275: &quot;Due to settings on the 'float' and 'clear'&quot;
+            text run at (0,40) width 512: &quot;properties, the two menus should appear on the left side of the page, the blue&quot;
+            text run at (0,60) width 512: &quot;below the green. There should be a 10px gap between the two menus. There&quot;
+            text run at (0,80) width 465: &quot;should also be a 10px gap between the top menu and the top of the page.&quot;
+        RenderBlock {P} at (8,188) size 512x41
+          RenderText {#text} at (0,0) size 512x39
+            text run at (0,0) width 512: &quot;The top of the yellow rectangle (to which this paragraph belongs) should be&quot;
+            text run at (0,20) width 339: &quot;vertically aligned with the top of the green rectangle.&quot;
+      RenderTable {TABLE} at (192,418) size 592x376 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 590x373
+          RenderTableRow {TR} at (0,0) size 590x28
+            RenderTableCell {TD} at (0,0) size 590x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 590x345
+            RenderTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 578x345 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (floating) {DIV} at (4,4) size 192x126 [color=#FFFFFF] [bgcolor=#008000]
+                RenderBlock {H1} at (8,8) size 176x23
+                  RenderText {#text} at (0,0) size 82x22
+                    text run at (0,0) width 82: &quot;Top menu&quot;
+                RenderBlock {UL} at (24,34) size 156x81
+                  RenderListItem {LI} at (0,0) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 36x19
+                      text run at (0,0) width 36: &quot;green&quot;
+                  RenderListItem {LI} at (0,20) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 64x19
+                      text run at (0,0) width 64: &quot;white text&quot;
+                  RenderListItem {LI} at (0,40) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 96x19
+                      text run at (0,0) width 96: &quot;0.5em padding&quot;
+                  RenderListItem {LI} at (0,60) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 89x19
+                      text run at (0,0) width 89: &quot;0.5em margin&quot;
+              RenderBlock (floating) {DIV} at (4,139) size 192x126 [color=#FFFFFF] [bgcolor=#0000FF]
+                RenderBlock {H1} at (8,8) size 176x23
+                  RenderText {#text} at (0,0) size 111x22
+                    text run at (0,0) width 111: &quot;Bottom menu&quot;
+                RenderBlock {UL} at (24,34) size 156x81
+                  RenderListItem {LI} at (0,0) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 108x19
+                      text run at (0,0) width 108: &quot;blue background&quot;
+                  RenderListItem {LI} at (0,20) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 64x19
+                      text run at (0,0) width 64: &quot;white text&quot;
+                  RenderListItem {LI} at (0,40) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 96x19
+                      text run at (0,0) width 96: &quot;0.5em padding&quot;
+                  RenderListItem {LI} at (0,60) size 156x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 89x19
+                      text run at (0,0) width 89: &quot;0.5em margin&quot;
+              RenderBlock {DIV} at (228,4) size 314x337 [bgcolor=#FFFF00]
+                RenderBlock {H1} at (8,29) size 298x39
+                  RenderText {#text} at (0,1) size 275x36
+                    text run at (0,1) width 275: &quot;The 'clear' property&quot;
+                RenderBlock {P} at (8,88) size 298x181
+                  RenderText {#text} at (0,0) size 298x179
+                    text run at (0,0) width 298: &quot;This page has two floating \&quot;menus\&quot; on the&quot;
+                    text run at (0,20) width 298: &quot;side; one has a green background, and the&quot;
+                    text run at (0,40) width 174: &quot;other a blue background. &quot;
+                    text run at (173,40) width 125: &quot;Due to settings on&quot;
+                    text run at (0,60) width 298: &quot;the 'float' and 'clear' properties, the two menus&quot;
+                    text run at (0,80) width 298: &quot;should appear on the left side of the page, the&quot;
+                    text run at (0,100) width 298: &quot;blue below the green. There should be a 10px&quot;
+                    text run at (0,120) width 298: &quot;gap between the two menus. There should&quot;
+                    text run at (0,140) width 298: &quot;also be a 10px gap between the top menu and&quot;
+                    text run at (0,160) width 124: &quot;the top of the page.&quot;
+                RenderBlock {P} at (8,268) size 298x61
+                  RenderText {#text} at (0,0) size 298x59
+                    text run at (0,0) width 298: &quot;The top of the yellow rectangle (to which this&quot;
+                    text run at (0,20) width 298: &quot;paragraph belongs) should be vertically&quot;
+                    text run at (0,40) width 275: &quot;aligned with the top of the green rectangle.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloatexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 157x42
+          text run at (0,0) width 149: &quot;.one {float: left;}&quot;
+          text run at (148,0) width 1: &quot; &quot;
+          text run at (0,14) width 157: &quot;.two {float: right;}&quot;
+          text run at (156,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderImage {IMG} at (0,101) size 15x50
+      RenderBlock {P} at (0,109) size 784x40
+        RenderText {#text} at (15,0) size 737x39
+          text run at (15,0) width 610: &quot;This text should be flowing past a tall orange rectangle on the left side of the browser window. &quot;
+          text run at (624,0) width 128: &quot;In this case, it is the&quot;
+          text run at (15,20) width 260: &quot;image which has been floated to the left.&quot;
+      RenderBlock (anonymous) at (0,165) size 784x20
+        RenderBR {BR} at (0,0) size 0x19
+      RenderBlock {HR} at (0,193) size 784x2 [border: (1px inset #000000)]
+      RenderImage {IMG} at (769,203) size 15x50
+      RenderBlock {P} at (0,211) size 784x40
+        RenderText {#text} at (0,0) size 746x39
+          text run at (0,0) width 618: &quot;This text should be flowing past a tall orange rectangle on the right side of the browser window. &quot;
+          text run at (617,0) width 129: &quot;In this case, it is the&quot;
+          text run at (0,20) width 269: &quot;image which has been floated to the right.&quot;
+      RenderTable {TABLE} at (0,267) size 784x182 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x180
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x152
+            RenderTableCell {TD} at (0,90) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x152 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderImage {IMG} at (4,4) size 15x50
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (15,0) size 737x39
+                  text run at (15,0) width 610: &quot;This text should be flowing past a tall orange rectangle on the left side of the browser window. &quot;
+                  text run at (624,0) width 128: &quot;In this case, it is the&quot;
+                  text run at (15,20) width 260: &quot;image which has been floated to the left.&quot;
+              RenderBlock (anonymous) at (4,60) size 762x20
+                RenderBR {BR} at (0,0) size 0x19
+              RenderBlock {HR} at (4,88) size 762x2 [border: (1px inset #000000)]
+              RenderImage {IMG} at (751,98) size 15x50
+              RenderBlock {P} at (4,106) size 762x40
+                RenderText {#text} at (0,0) size 746x39
+                  text run at (0,0) width 618: &quot;This text should be flowing past a tall orange rectangle on the right side of the browser window. &quot;
+                  text run at (617,0) width 129: &quot;In this case, it is the&quot;
+                  text run at (0,20) width 269: &quot;image which has been floated to the right.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_elements_in_seriesexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_elements_in_series-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,159 @@
</span><ins>+layer at (0,0) size 800x706
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x706
+  RenderBlock {HTML} at (0,0) size 800x706
+    RenderBody {BODY} at (8,8) size 784x678 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,33) size 784x182
+        RenderText {#text} at (0,0) size 500x182
+          text run at (0,0) width 383: &quot;P { margin: 0; padding: 0; text-align:  justify;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 0: &quot; &quot;
+          text run at (0,28) width 328: &quot;DIV.yellow, DIV.blue, DIV.red, DIV.green {&quot;
+          text run at (327,28) width 1: &quot; &quot;
+          text run at (0,42) width 328: &quot; width: 60px; padding: 20px; margin: 10px;&quot;
+          text run at (327,42) width 1: &quot; &quot;
+          text run at (0,56) width 461: &quot; border: 20px solid black; float: left; text-align: center;&quot;
+          text run at (460,56) width 1: &quot; &quot;
+          text run at (0,70) width 352: &quot; font-family: \&quot;Times New Roman\&quot;,Times,serif;}&quot;
+          text run at (351,70) width 1: &quot; &quot;
+          text run at (0,84) width 500: &quot;DIV.yellow {margin-left: 0px; background: yellow; color: black;}&quot;
+          text run at (499,84) width 1: &quot; &quot;
+          text run at (0,98) width 328: &quot;DIV.blue {background: blue; color: white;}&quot;
+          text run at (327,98) width 1: &quot; &quot;
+          text run at (0,112) width 313: &quot;DIV.red {background: red; color: black;}&quot;
+          text run at (312,112) width 1: &quot; &quot;
+          text run at (0,126) width 344: &quot;DIV.green {background: green; color: white;}&quot;
+          text run at (343,126) width 1: &quot; &quot;
+          text run at (0,140) width 188: &quot;DIV.below {clear: both;}&quot;
+          text run at (187,140) width 1: &quot; &quot;
+          text run at (0,154) width 196: &quot;TABLE {margin: 20px 0px;}&quot;
+          text run at (195,154) width 1: &quot; &quot;
+          text run at (0,168) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,228) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,238) size 784x40
+        RenderText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: &quot;The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page&quot;
+          text run at (0,20) width 412: &quot;indicates how the DIV elements should be laid out horizontally. &quot;
+          text run at (411,20) width 222: &quot;They should align with each other.&quot;
+      RenderBlock (floating) {DIV} at (0,288) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
+        RenderBlock {P} at (40,40) size 60x20
+          RenderText {#text} at (0,0) size 46x19
+            text run at (0,0) width 46: &quot;Yellow&quot;
+      RenderBlock (floating) {DIV} at (160,288) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
+        RenderBlock {P} at (40,40) size 60x20
+          RenderText {#text} at (0,0) size 31x19
+            text run at (0,0) width 31: &quot;Blue&quot;
+      RenderBlock (floating) {DIV} at (320,288) size 140x100 [bgcolor=#FF0000] [border: (20px solid #000000)]
+        RenderBlock {P} at (40,40) size 60x20
+          RenderText {#text} at (0,0) size 26x19
+            text run at (0,0) width 26: &quot;Red&quot;
+      RenderBlock (floating) {DIV} at (480,288) size 140x100 [color=#FFFFFF] [bgcolor=#008000] [border: (20px solid #000000)]
+        RenderBlock {P} at (40,40) size 60x20
+          RenderText {#text} at (0,0) size 40x19
+            text run at (0,0) width 40: &quot;Green&quot;
+      RenderBlock {DIV} at (0,398) size 784x21
+        RenderTable {TABLE} at (0,0) size 620x21
+          RenderTableSection {TBODY} at (0,0) size 620x21
+            RenderTableRow {TR} at (0,0) size 620x21
+              RenderTableCell {TD} at (0,10) size 20x1 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (20,10) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 100x1
+              RenderTableCell {TD} at (120,10) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+              RenderTableCell {TD} at (140,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (160,10) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (180,10) size 100x1 [bgcolor=#0000FF] [r=0 c=5 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 100x1
+              RenderTableCell {TD} at (280,10) size 20x1 [bgcolor=#000000] [r=0 c=6 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (300,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=7 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (320,10) size 20x1 [bgcolor=#000000] [r=0 c=8 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (340,10) size 100x1 [bgcolor=#FF0000] [r=0 c=9 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 100x1
+              RenderTableCell {TD} at (440,0) size 20x21 [bgcolor=#000000] [r=0 c=10 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+                RenderText {#text} at (0,1) size 5x19
+                  text run at (0,1) width 5: &quot;;&quot;
+              RenderTableCell {TD} at (460,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=11 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (480,10) size 20x1 [bgcolor=#000000] [r=0 c=12 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+              RenderTableCell {TD} at (500,10) size 100x1 [bgcolor=#008000] [r=0 c=13 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 100x1
+              RenderTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
+                RenderImage {IMG} at (0,0) size 20x1
+      RenderTable {TABLE} at (0,439) size 784x239 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x237
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x209
+            RenderTableCell {TD} at (0,118) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: &quot;The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this&quot;
+                  text run at (0,20) width 446: &quot;page indicates how the DIV elements should be laid out horizontally. &quot;
+                  text run at (445,20) width 222: &quot;They should align with each other.&quot;
+              RenderBlock (floating) {DIV} at (4,54) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
+                RenderBlock {P} at (40,40) size 60x20
+                  RenderText {#text} at (0,0) size 46x19
+                    text run at (0,0) width 46: &quot;Yellow&quot;
+              RenderBlock (floating) {DIV} at (164,54) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
+                RenderBlock {P} at (40,40) size 60x20
+                  RenderText {#text} at (0,0) size 31x19
+                    text run at (0,0) width 31: &quot;Blue&quot;
+              RenderBlock (floating) {DIV} at (324,54) size 140x100 [bgcolor=#FF0000] [border: (20px solid #000000)]
+                RenderBlock {P} at (40,40) size 60x20
+                  RenderText {#text} at (0,0) size 26x19
+                    text run at (0,0) width 26: &quot;Red&quot;
+              RenderBlock (floating) {DIV} at (484,54) size 140x100 [color=#FFFFFF] [bgcolor=#008000] [border: (20px solid #000000)]
+                RenderBlock {P} at (40,40) size 60x20
+                  RenderText {#text} at (0,0) size 40x19
+                    text run at (0,0) width 40: &quot;Green&quot;
+              RenderBlock {DIV} at (4,164) size 762x21
+                RenderTable {TABLE} at (0,0) size 620x21
+                  RenderTableSection {TBODY} at (0,0) size 620x21
+                    RenderTableRow {TR} at (0,0) size 620x21
+                      RenderTableCell {TD} at (0,10) size 20x1 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (20,10) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 100x1
+                      RenderTableCell {TD} at (120,10) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
+                      RenderTableCell {TD} at (140,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (160,10) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (180,10) size 100x1 [bgcolor=#0000FF] [r=0 c=5 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 100x1
+                      RenderTableCell {TD} at (280,10) size 20x1 [bgcolor=#000000] [r=0 c=6 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (300,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=7 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (320,10) size 20x1 [bgcolor=#000000] [r=0 c=8 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (340,10) size 100x1 [bgcolor=#FF0000] [r=0 c=9 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 100x1
+                      RenderTableCell {TD} at (440,0) size 20x21 [bgcolor=#000000] [r=0 c=10 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                        RenderText {#text} at (0,1) size 5x19
+                          text run at (0,1) width 5: &quot;;&quot;
+                      RenderTableCell {TD} at (460,10) size 20x1 [bgcolor=#FFFFFF] [r=0 c=11 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (480,10) size 20x1 [bgcolor=#000000] [r=0 c=12 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
+                      RenderTableCell {TD} at (500,10) size 100x1 [bgcolor=#008000] [r=0 c=13 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 100x1
+                      RenderTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
+                        RenderImage {IMG} at (0,0) size 20x1
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_marginexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_margin-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_margin-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_margin-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,162 @@
</span><ins>+layer at (0,0) size 800x1959
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1959
+  RenderBlock {HTML} at (0,0) size 800x1959
+    RenderBody {BODY} at (8,8) size 784x1943 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x126
+        RenderText {#text} at (0,0) size 547x126
+          text run at (0,0) width 336: &quot;P.test {background: white; font-size: 20px;&quot;
+          text run at (335,0) width 1: &quot; &quot;
+          text run at (0,14) width 547: &quot;        margin-left: 30px; margin-right: 10px; padding: 0; border: 0;}&quot;
+          text run at (546,14) width 1: &quot; &quot;
+          text run at (0,28) width 305: &quot;IMG {padding: 0; border: 0; margin: 0;}&quot;
+          text run at (304,28) width 1: &quot; &quot;
+          text run at (0,42) width 196: &quot;P.test IMG {float: left;}&quot;
+          text run at (195,42) width 1: &quot; &quot;
+          text run at (0,56) width 344: &quot;#img2 {margin-top: 30px; margin-left: 30px;}&quot;
+          text run at (343,56) width 1: &quot; &quot;
+          text run at (0,70) width 359: &quot;#img3 {margin-top: -30px; margin-left: -30px;}&quot;
+          text run at (358,70) width 1: &quot; &quot;
+          text run at (0,84) width 375: &quot;#img4 {margin-right: 30px; margin-bottom: 30px;}&quot;
+          text run at (374,84) width 1: &quot; &quot;
+          text run at (0,98) width 391: &quot;#img5 {margin-right: -30px; margin-bottom: -30px;}&quot;
+          text run at (390,98) width 1: &quot; &quot;
+          text run at (0,112) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,175) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (30,197) size 744x96 [bgcolor=#FFFFFF]
+        RenderText {#text} at (0,0) size 736x95
+          text run at (0,0) width 736: &quot;This paragraph should have a white background which extends to the edges of the element's&quot;
+          text run at (0,24) width 40: &quot;box. &quot;
+          text run at (40,24) width 436: &quot;There is no padding set on this paragraph whatsoever. &quot;
+          text run at (475,24) width 245: &quot;If the background of the entire&quot;
+          text run at (0,48) width 712: &quot;box is not white, this may cause problems with the following tests; at any rate, it must be&quot;
+          text run at (0,72) width 152: &quot;taken into account.&quot;
+      RenderBlock {P} at (30,313) size 744x120 [bgcolor=#FFFFFF]
+        RenderImage {IMG} at (0,0) size 60x60
+        RenderText {#text} at (60,0) size 744x119
+          text run at (60,0) width 627: &quot;The image in the upper left corner of this paragraph should be floated left, and&quot;
+          text run at (60,24) width 118: &quot;nothing more. &quot;
+          text run at (177,24) width 567: &quot;The edges of the white background should line up with the top and left&quot;
+          text run at (60,48) width 161: &quot;edges of the image. &quot;
+          text run at (220,48) width 479: &quot;This paragraph should have a white background, first of all,&quot;
+          text run at (0,72) width 392: &quot;which extends to the edges of the element's box. &quot;
+          text run at (391,72) width 331: &quot;There is no padding set on this paragraph&quot;
+          text run at (0,96) width 95: &quot;whatsoever.&quot;
+      RenderBlock {P} at (30,453) size 744x120 [bgcolor=#FFFFFF]
+        RenderImage {IMG} at (30,30) size 60x60
+        RenderText {#text} at (90,0) size 740x119
+          text run at (90,0) width 641: &quot;The image in the upper left corner of this paragraph should be pushed down and&quot;
+          text run at (90,24) width 641: &quot;to the right 30 pixels each from the upper left corner of the paragraph's box, and&quot;
+          text run at (90,48) width 324: &quot;displace the paragraph text accordingly. &quot;
+          text run at (413,48) width 285: &quot;This paragraph should have a white&quot;
+          text run at (90,72) width 585: &quot;background, first of all, which extends to the edges of the element's box. &quot;
+          text run at (674,72) width 66: &quot;There is&quot;
+          text run at (0,96) width 361: &quot;no padding set on this paragraph whatsoever.&quot;
+      RenderBlock {P} at (30,593) size 744x120 [bgcolor=#FFFFFF]
+        RenderImage {IMG} at (-30,-30) size 60x60
+        RenderText {#text} at (30,0) size 744x119
+          text run at (30,0) width 699: &quot;The image in the upper left corner of this paragraph should be pushed up and to the left&quot;
+          text run at (30,24) width 698: &quot;30 pixels each from the upper left corner of the paragraph's box, thus causing the edges&quot;
+          text run at (0,48) width 573: &quot;of the white background to align with the thick gray lines in the image. &quot;
+          text run at (572,48) width 122: &quot;This paragraph&quot;
+          text run at (0,72) width 744: &quot;should have a white background, first of all, which extends to the edges of the element's box.&quot;
+          text run at (0,96) width 431: &quot;There is no padding set on this paragraph whatsoever.&quot;
+      RenderBlock {P} at (30,733) size 744x144 [bgcolor=#FFFFFF]
+        RenderImage {IMG} at (0,0) size 60x60
+        RenderText {#text} at (90,0) size 744x143
+          text run at (90,0) width 627: &quot;The image in the upper left corner of this paragraph should be floated left, and&quot;
+          text run at (90,24) width 632: &quot;the edges of the white background should line up with the top and left edges of&quot;
+          text run at (90,48) width 89: &quot;the image. &quot;
+          text run at (178,48) width 532: &quot;However, there should be 30 pixels of space between the right and&quot;
+          text run at (90,72) width 483: &quot;bottom edges of the image and the paragraph text around it. &quot;
+          text run at (572,72) width 121: &quot;This paragraph&quot;
+          text run at (0,96) width 744: &quot;should have a white background, first of all, which extends to the edges of the element's box.&quot;
+          text run at (0,120) width 431: &quot;There is no padding set on this paragraph whatsoever.&quot;
+      RenderBlock {P} at (30,897) size 744x144 [bgcolor=#FFFFFF]
+        RenderImage {IMG} at (0,0) size 60x60
+        RenderText {#text} at (30,0) size 740x143
+          text run at (30,0) width 707: &quot;The image in the upper left corner of this paragraph should be floated left, and the edges&quot;
+          text run at (30,24) width 640: &quot;of the white background should line up with the top and left edges of the image.&quot;
+          text run at (0,48) width 740: &quot;However, the text should overlap the image's right and bottom sides, lining up with the thick&quot;
+          text run at (0,72) width 193: &quot;gray lines in the image. &quot;
+          text run at (192,72) width 533: &quot;This paragraph should have a white background, first of all, which&quot;
+          text run at (0,96) width 338: &quot;extends to the edges of the element's box. &quot;
+          text run at (337,96) width 331: &quot;There is no padding set on this paragraph&quot;
+          text run at (0,120) width 95: &quot;whatsoever.&quot;
+      RenderTable {TABLE} at (0,1061) size 784x882 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x880
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x852
+            RenderTableCell {TD} at (0,440) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x852 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (34,4) size 722x96 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 719x95
+                  text run at (0,0) width 656: &quot;This paragraph should have a white background which extends to the edges of the&quot;
+                  text run at (0,24) width 120: &quot;element's box. &quot;
+                  text run at (119,24) width 437: &quot;There is no padding set on this paragraph whatsoever. &quot;
+                  text run at (555,24) width 164: &quot;If the background of&quot;
+                  text run at (0,48) width 708: &quot;the entire box is not white, this may cause problems with the following tests; at any rate,&quot;
+                  text run at (0,72) width 236: &quot;it must be taken into account.&quot;
+              RenderBlock {P} at (34,120) size 722x120 [bgcolor=#FFFFFF]
+                RenderImage {IMG} at (0,0) size 60x60
+                RenderText {#text} at (60,0) size 712x119
+                  text run at (60,0) width 627: &quot;The image in the upper left corner of this paragraph should be floated left, and&quot;
+                  text run at (60,24) width 118: &quot;nothing more. &quot;
+                  text run at (177,24) width 535: &quot;The edges of the white background should line up with the top and&quot;
+                  text run at (60,48) width 193: &quot;left edges of the image. &quot;
+                  text run at (252,48) width 449: &quot;This paragraph should have a white background, first of&quot;
+                  text run at (0,72) width 422: &quot;all, which extends to the edges of the element's box. &quot;
+                  text run at (421,72) width 246: &quot;There is no padding set on this&quot;
+                  text run at (0,96) width 180: &quot;paragraph whatsoever.&quot;
+              RenderBlock {P} at (34,260) size 722x120 [bgcolor=#FFFFFF]
+                RenderImage {IMG} at (30,30) size 60x60
+                RenderText {#text} at (90,0) size 709x119
+                  text run at (90,0) width 608: &quot;The image in the upper left corner of this paragraph should be pushed down&quot;
+                  text run at (90,24) width 601: &quot;and to the right 30 pixels each from the upper left corner of the paragraph's&quot;
+                  text run at (90,48) width 397: &quot;box, and displace the paragraph text accordingly. &quot;
+                  text run at (486,48) width 223: &quot;This paragraph should have&quot;
+                  text run at (90,72) width 603: &quot;a white background, first of all, which extends to the edges of the element's&quot;
+                  text run at (0,96) width 40: &quot;box. &quot;
+                  text run at (40,96) width 431: &quot;There is no padding set on this paragraph whatsoever.&quot;
+              RenderBlock {P} at (34,400) size 722x120 [bgcolor=#FFFFFF]
+                RenderImage {IMG} at (-30,-30) size 60x60
+                RenderText {#text} at (30,0) size 710x119
+                  text run at (30,0) width 667: &quot;The image in the upper left corner of this paragraph should be pushed up and to the&quot;
+                  text run at (30,24) width 679: &quot;left 30 pixels each from the upper left corner of the paragraph's box, thus causing the&quot;
+                  text run at (0,48) width 624: &quot;edges of the white background to align with the thick gray lines in the image. &quot;
+                  text run at (623,48) width 36: &quot;This&quot;
+                  text run at (0,72) width 710: &quot;paragraph should have a white background, first of all, which extends to the edges of the&quot;
+                  text run at (0,96) width 120: &quot;element's box. &quot;
+                  text run at (119,96) width 432: &quot;There is no padding set on this paragraph whatsoever.&quot;
+              RenderBlock {P} at (34,540) size 722x144 [bgcolor=#FFFFFF]
+                RenderImage {IMG} at (0,0) size 60x60
+                RenderText {#text} at (90,0) size 722x143
+                  text run at (90,0) width 627: &quot;The image in the upper left corner of this paragraph should be floated left, and&quot;
+                  text run at (90,24) width 632: &quot;the edges of the white background should line up with the top and left edges of&quot;
+                  text run at (90,48) width 89: &quot;the image. &quot;
+                  text run at (178,48) width 532: &quot;However, there should be 30 pixels of space between the right and&quot;
+                  text run at (90,72) width 483: &quot;bottom edges of the image and the paragraph text around it. &quot;
+                  text run at (572,72) width 121: &quot;This paragraph&quot;
+                  text run at (0,96) width 704: &quot;should have a white background, first of all, which extends to the edges of the element's&quot;
+                  text run at (0,120) width 40: &quot;box. &quot;
+                  text run at (40,120) width 431: &quot;There is no padding set on this paragraph whatsoever.&quot;
+              RenderBlock {P} at (34,704) size 722x144 [bgcolor=#FFFFFF]
+                RenderImage {IMG} at (0,0) size 60x60
+                RenderText {#text} at (30,0) size 722x143
+                  text run at (30,0) width 657: &quot;The image in the upper left corner of this paragraph should be floated left, and the&quot;
+                  text run at (30,24) width 691: &quot;edges of the white background should line up with the top and left edges of the image.&quot;
+                  text run at (0,48) width 695: &quot;However, the text should overlap the image's right and bottom sides, lining up with the&quot;
+                  text run at (0,72) width 238: &quot;thick gray lines in the image. &quot;
+                  text run at (237,72) width 479: &quot;This paragraph should have a white background, first of all,&quot;
+                  text run at (0,96) width 392: &quot;which extends to the edges of the element's box. &quot;
+                  text run at (391,96) width 331: &quot;There is no padding set on this paragraph&quot;
+                  text run at (0,120) width 95: &quot;whatsoever.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesfloat_on_text_elementsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/float_on_text_elements-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,355 @@
</span><ins>+layer at (0,0) size 800x3002
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x3002
+  RenderBlock {HTML} at (0,0) size 800x3002
+    RenderBody {BODY} at (8,8) size 784x2986 [bgcolor=#CCCCCC]
+      RenderBlock (floating) {P} at (0,0) size 392x40 [bgcolor=#FFFF00]
+        RenderText {#text} at (0,0) size 392x39
+          text run at (0,0) width 392: &quot;This paragraph is of class \&quot;one\&quot;. It has a width of 50% and is&quot;
+          text run at (0,20) width 114: &quot;floated to the left.&quot;
+      RenderBlock {P} at (0,0) size 784x100
+        RenderText {#text} at (392,0) size 784x99
+          text run at (392,0) width 392: &quot;This paragraph should start on the right side of a yellow box&quot;
+          text run at (392,20) width 392: &quot;which contains the previous paragraph. Since the text of this&quot;
+          text run at (0,40) width 784: &quot;element is much longer than the text in the previous element, the text will wrap around the yellow box. There is no&quot;
+          text run at (0,60) width 784: &quot;padding, border or margins on this and the previous element, so the text of the two elements should be very close to each&quot;
+          text run at (0,80) width 36: &quot;other.&quot;
+      RenderBlock (anonymous) at (0,100) size 784x20
+        RenderBR {BR} at (0,0) size 0x19
+      RenderBlock {HR} at (0,128) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {P} at (0,138) size 784x80 [bgcolor=#FFFF00]
+        RenderText {#text} at (0,0) size 784x79
+          text run at (0,0) width 784: &quot;This paragraph is of class \&quot;two\&quot;. Since the width has been set to 100%, it should automatically be as wide as its parent&quot;
+          text run at (0,20) width 784: &quot;element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides and&quot;
+          text run at (0,40) width 784: &quot;a orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added to this&quot;
+          text run at (0,60) width 222: &quot;paragraph for diagnostic purposes.&quot;
+      RenderBlock (anonymous) at (0,138) size 784x100
+        RenderImage {IMG} at (0,80) size 15x15
+        RenderText {#text} at (15,80) size 4x19
+          text run at (15,80) width 4: &quot; &quot;
+        RenderBR {BR} at (19,95) size 0x0
+      RenderBlock {HR} at (0,246) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {P} at (0,256) size 392x120 [bgcolor=#FFFF00]
+        RenderText {#text} at (0,0) size 392x119
+          text run at (0,0) width 392: &quot;This paragraph is floated to the left and the orange square&quot;
+          text run at (0,20) width 392: &quot;image should appear to the right of the paragraph. This&quot;
+          text run at (0,40) width 392: &quot;paragraph has a yellow background and no padding, margin&quot;
+          text run at (0,60) width 392: &quot;or border. The right edge of this yellow box should be&quot;
+          text run at (0,80) width 392: &quot;horizontally aligned with the left edge of the yellow box&quot;
+          text run at (0,100) width 81: &quot;undernearth.&quot;
+      RenderBlock (anonymous) at (0,256) size 784x120
+        RenderImage {IMG} at (392,0) size 15x15
+        RenderText {#text} at (407,0) size 4x19
+          text run at (407,0) width 4: &quot; &quot;
+        RenderBR {BR} at (411,15) size 0x0
+      RenderBlock {HR} at (0,384) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {P} at (392,394) size 392x120 [bgcolor=#FFFF00]
+        RenderText {#text} at (0,0) size 392x119
+          text run at (0,0) width 392: &quot;This paragraph is floated to the right (using a STYLE&quot;
+          text run at (0,20) width 392: &quot;attribute) and the orange square image should appear to the&quot;
+          text run at (0,40) width 392: &quot;left of the paragraph. This paragraph has a yellow&quot;
+          text run at (0,60) width 392: &quot;background and no padding, margin or border. The left edge&quot;
+          text run at (0,80) width 392: &quot;of this yellow box should be horizonally aligned with the&quot;
+          text run at (0,100) width 228: &quot;right edge of the yellow box above.&quot;
+      RenderBlock (anonymous) at (0,394) size 784x120
+        RenderImage {IMG} at (0,0) size 15x15
+        RenderText {#text} at (15,0) size 4x19
+          text run at (15,0) width 4: &quot; &quot;
+        RenderBR {BR} at (19,15) size 0x0
+      RenderBlock {HR} at (0,522) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,532) size 784x60
+        RenderBlock (floating) {SPAN} at (0,0) size 48x38 [bgcolor=#C0C0C0]
+          RenderText {#text} at (0,1) size 22x36
+            text run at (0,1) width 22: &quot;T&quot;
+        RenderText {#text} at (48,0) size 784x59
+          text run at (48,0) width 736: &quot;he first letter (a \&quot;T\&quot;) of this paragraph should float left and be twice the font-size of the rest of the paragraph, as&quot;
+          text run at (48,20) width 507: &quot;well as bold, with a content width of 1.5em and a background-color of silver. &quot;
+          text run at (554,20) width 230: &quot;The top of the big letter \&quot;T\&quot; should&quot;
+          text run at (0,40) width 689: &quot;be vertically aligned with the top of the first line of this paragraph. This is commonly known as \&quot;drop-cap\&quot;.&quot;
+      RenderBlock (anonymous) at (0,592) size 784x20
+        RenderBR {BR} at (0,0) size 0x19
+      RenderBlock {HR} at (0,620) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {P} at (438,640) size 336x236 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+        RenderText {#text} at (8,8) size 320x219
+          text run at (8,8) width 320: &quot;This paragraph should be floated to the right, sort&quot;
+          text run at (8,28) width 320: &quot;of like a 'sidebar' in a magazine article. Its width&quot;
+          text run at (8,48) width 320: &quot;is 20em so the box should not be reformatted&quot;
+          text run at (8,68) width 320: &quot;when the size of the viewport is changed (e.g.&quot;
+          text run at (8,88) width 320: &quot;when the window is resized). The background&quot;
+          text run at (8,108) width 320: &quot;color of the element is yellow, and there should&quot;
+          text run at (8,128) width 320: &quot;be a 3px solid red border outside a 5px wide&quot;
+          text run at (8,148) width 320: &quot;padding. Also, the element has a 10px wide&quot;
+          text run at (8,168) width 320: &quot;margin around it where the blue background of&quot;
+          text run at (8,188) width 320: &quot;the paragraph in the normal flow should shine&quot;
+          text run at (8,208) width 54: &quot;through.&quot;
+      RenderBlock {P} at (0,630) size 784x220 [bgcolor=#66CCFF]
+        RenderText {#text} at (0,0) size 428x219
+          text run at (0,0) width 428: &quot;This paragraph is not floating. If there is enough room, the textual&quot;
+          text run at (0,20) width 428: &quot;content of the paragraph should appear on the left side of the&quot;
+          text run at (0,40) width 200: &quot;yellow \&quot;sidebar\&quot; on the right. &quot;
+          text run at (199,40) width 229: &quot;The content of this element should&quot;
+          text run at (0,60) width 230: &quot;flow around the floated element. &quot;
+          text run at (229,60) width 199: &quot;However, the floated element&quot;
+          text run at (0,80) width 428: &quot;may or may not be obscured by the blue background of this&quot;
+          text run at (0,100) width 428: &quot;element, as the specification does not say which is drawn \&quot;on top.\&quot;&quot;
+          text run at (0,120) width 428: &quot;Even if the floated element is obscured, it still forces the content&quot;
+          text run at (0,140) width 237: &quot;of this element to flow around it. &quot;
+          text run at (236,140) width 192: &quot;If the floated element is not&quot;
+          text run at (0,160) width 428: &quot;obscured, then the blue rectangle of this paragraph should extend&quot;
+          text run at (0,180) width 428: &quot;10px above and to the right of the sidebar's red border, due to the&quot;
+          text run at (0,200) width 261: &quot;margin styles set for the floated element.&quot;
+      RenderBlock (anonymous) at (0,850) size 784x36
+        RenderBR {BR} at (0,0) size 0x19
+      RenderBlock {HR} at (0,894) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (0,904) size 784x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+        RenderBlock (floating) {DIV} at (440,14) size 330x270 [bgcolor=#FFFF00]
+          RenderBlock {P} at (5,5) size 320x260
+            RenderText {#text} at (0,0) size 320x259
+              text run at (0,0) width 320: &quot;This paragraph is placed inside a DIV element&quot;
+              text run at (0,20) width 320: &quot;which is floated to the right. The width of the&quot;
+              text run at (0,40) width 320: &quot;DIV element is 20em. The background is yellow&quot;
+              text run at (0,60) width 320: &quot;and there is a 5px padding, a 10px margin and no&quot;
+              text run at (0,80) width 320: &quot;border. Since it is floated, the yellow box should&quot;
+              text run at (0,100) width 320: &quot;be rendered on top of the background and borders&quot;
+              text run at (0,120) width 320: &quot;of adjacent non-floated elements. To the left of&quot;
+              text run at (0,140) width 320: &quot;this yellow box there should be a short paragraph&quot;
+              text run at (0,160) width 320: &quot;with a blue background and a red border. The&quot;
+              text run at (0,180) width 320: &quot;yellow box should be rendered on top of the&quot;
+              text run at (0,200) width 320: &quot;bottom red border. I.e., the bottom red border will&quot;
+              text run at (0,220) width 320: &quot;appear broken where it's overlaid by the yellow&quot;
+              text run at (0,240) width 63: &quot;rectangle.&quot;
+        RenderBlock {P} at (4,4) size 776x20
+          RenderText {#text} at (0,0) size 274x19
+            text run at (0,0) width 274: &quot;See description in the box on the right side&quot;
+      RenderBlock (anonymous) at (0,932) size 784x266
+        RenderBR {BR} at (0,0) size 0x19
+      RenderBlock {HR} at (0,1206) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {DIV} at (0,1216) size 196x80 [bgcolor=#66CCFF]
+        RenderBlock {P} at (0,0) size 196x80
+          RenderText {#text} at (0,0) size 196x79
+            text run at (0,0) width 196: &quot;This paragraph is inside a&quot;
+            text run at (0,20) width 196: &quot;DIV which is floated left. Its&quot;
+            text run at (0,40) width 196: &quot;background is blue and the&quot;
+            text run at (0,60) width 89: &quot;width is 25%.&quot;
+      RenderBlock (floating) {DIV} at (588,1216) size 196x80 [bgcolor=#FFFF00]
+        RenderBlock {P} at (0,0) size 196x80
+          RenderText {#text} at (0,0) size 196x79
+            text run at (0,0) width 196: &quot;This paragraph is inside a&quot;
+            text run at (0,20) width 196: &quot;DIV which is floated right. Its&quot;
+            text run at (0,40) width 196: &quot;background is yellow and the&quot;
+            text run at (0,60) width 89: &quot;width is 25%.&quot;
+      RenderBlock {P} at (0,1216) size 784x40
+        RenderText {#text} at (196,0) size 392x39
+          text run at (196,0) width 392: &quot;This paragraph should appear between a blue box (on the&quot;
+          text run at (196,20) width 31: &quot;left) &quot;
+          text run at (226,20) width 203: &quot;and a yellow box (on the right).&quot;
+      RenderBlock (anonymous) at (0,1256) size 784x40
+        RenderBR {BR} at (196,0) size 0x19
+      RenderBlock {HR} at (0,1304) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (floating) {DIV} at (0,1314) size 588x140 [bgcolor=#66CCFF]
+        RenderBlock (floating) {DIV} at (431,0) size 147x40 [bgcolor=#FFFF00]
+          RenderBlock {P} at (0,0) size 147x40
+            RenderText {#text} at (0,0) size 147x39
+              text run at (0,0) width 147: &quot;See description in the&quot;
+              text run at (0,20) width 127: &quot;box on the left side.&quot;
+        RenderBlock {P} at (0,0) size 588x140
+          RenderText {#text} at (0,0) size 589x139
+            text run at (0,0) width 431: &quot;This paragraph is inside a DIV which is floated left. The&quot;
+            text run at (0,20) width 431: &quot;background of the DIV element is blue and its width is 75%. This&quot;
+            text run at (0,40) width 373: &quot;text should all be inside the blue rectangle. The blue DIV &quot;
+            text run at (372,40) width 216: &quot;element has another DIV element&quot;
+            text run at (0,60) width 170: &quot;as a child. It has a yellow &quot;
+            text run at (169,60) width 370: &quot;background color and is floated to the right. Since it is a &quot;
+            text run at (538,60) width 51: &quot;child of&quot;
+            text run at (0,80) width 381: &quot;the blue DIV, the yellow DIV should appear inside the &quot;
+            text run at (380,80) width 208: &quot;blue rectangle. Due to it being&quot;
+            text run at (0,100) width 199: &quot;floated to the right and having &quot;
+            text run at (198,100) width 390: &quot;a 10px right margin, the yellow rectange should have a 10px&quot;
+            text run at (0,120) width 32: &quot;blue &quot;
+            text run at (31,120) width 144: &quot;stripe on its right side.&quot;
+      RenderBlock (anonymous) at (0,1314) size 784x140
+        RenderBR {BR} at (588,0) size 0x19
+      RenderBlock {HR} at (0,1462) size 784x2 [border: (1px inset #000000)]
+      RenderTable {TABLE} at (0,1472) size 784x1514 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1512
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1484
+            RenderTableCell {TD} at (0,756) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1484 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock (floating) {P} at (4,4) size 381x40 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 381x39
+                  text run at (0,0) width 381: &quot;This paragraph is of class \&quot;one\&quot;. It has a width of 50% and&quot;
+                  text run at (0,20) width 129: &quot;is floated to the left.&quot;
+              RenderBlock {P} at (4,4) size 762x100
+                RenderText {#text} at (381,0) size 762x99
+                  text run at (381,0) width 381: &quot;This paragraph should start on the right side of a yellow&quot;
+                  text run at (381,20) width 381: &quot;box which contains the previous paragraph. Since the text&quot;
+                  text run at (0,40) width 762: &quot;of this element is much longer than the text in the previous element, the text will wrap around the yellow box. There is&quot;
+                  text run at (0,60) width 762: &quot;no padding, border or margins on this and the previous element, so the text of the two elements should be very close to&quot;
+                  text run at (0,80) width 70: &quot;each other.&quot;
+              RenderBlock (anonymous) at (4,104) size 762x20
+                RenderBR {BR} at (0,0) size 0x19
+              RenderBlock {HR} at (4,132) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {P} at (4,142) size 762x80 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 762x79
+                  text run at (0,0) width 762: &quot;This paragraph is of class \&quot;two\&quot;. Since the width has been set to 100%, it should automatically be as wide as its parent&quot;
+                  text run at (0,20) width 762: &quot;element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides&quot;
+                  text run at (0,40) width 762: &quot;and a orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added&quot;
+                  text run at (0,60) width 265: &quot;to this paragraph for diagnostic purposes.&quot;
+              RenderBlock (anonymous) at (4,142) size 762x100
+                RenderImage {IMG} at (0,80) size 15x15
+                RenderText {#text} at (15,80) size 4x19
+                  text run at (15,80) width 4: &quot; &quot;
+                RenderBR {BR} at (19,95) size 0x0
+              RenderBlock {HR} at (4,250) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {P} at (4,260) size 381x120 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 381x119
+                  text run at (0,0) width 381: &quot;This paragraph is floated to the left and the orange square&quot;
+                  text run at (0,20) width 381: &quot;image should appear to the right of the paragraph. This&quot;
+                  text run at (0,40) width 381: &quot;paragraph has a yellow background and no padding,&quot;
+                  text run at (0,60) width 381: &quot;margin or border. The right edge of this yellow box should&quot;
+                  text run at (0,80) width 381: &quot;be horizontally aligned with the left edge of the yellow box&quot;
+                  text run at (0,100) width 81: &quot;undernearth.&quot;
+              RenderBlock (anonymous) at (4,260) size 762x120
+                RenderImage {IMG} at (381,0) size 15x15
+                RenderText {#text} at (396,0) size 4x19
+                  text run at (396,0) width 4: &quot; &quot;
+                RenderBR {BR} at (400,15) size 0x0
+              RenderBlock {HR} at (4,388) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {P} at (385,398) size 381x120 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 381x119
+                  text run at (0,0) width 381: &quot;This paragraph is floated to the right (using a STYLE&quot;
+                  text run at (0,20) width 381: &quot;attribute) and the orange square image should appear to the&quot;
+                  text run at (0,40) width 381: &quot;left of the paragraph. This paragraph has a yellow&quot;
+                  text run at (0,60) width 381: &quot;background and no padding, margin or border. The left&quot;
+                  text run at (0,80) width 381: &quot;edge of this yellow box should be horizonally aligned with&quot;
+                  text run at (0,100) width 251: &quot;the right edge of the yellow box above.&quot;
+              RenderBlock (anonymous) at (4,398) size 762x120
+                RenderImage {IMG} at (0,0) size 15x15
+                RenderText {#text} at (15,0) size 4x19
+                  text run at (15,0) width 4: &quot; &quot;
+                RenderBR {BR} at (19,15) size 0x0
+              RenderBlock {HR} at (4,526) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {P} at (4,536) size 762x60
+                RenderBlock (floating) {SPAN} at (0,0) size 48x38 [bgcolor=#C0C0C0]
+                  RenderText {#text} at (0,1) size 22x36
+                    text run at (0,1) width 22: &quot;T&quot;
+                RenderText {#text} at (48,0) size 762x59
+                  text run at (48,0) width 714: &quot;he first letter (a \&quot;T\&quot;) of this paragraph should float left and be twice the font-size of the rest of the paragraph,&quot;
+                  text run at (48,20) width 530: &quot;as well as bold, with a content width of 1.5em and a background-color of silver. &quot;
+                  text run at (577,20) width 185: &quot;The top of the big letter \&quot;T\&quot;&quot;
+                  text run at (0,40) width 736: &quot;should be vertically aligned with the top of the first line of this paragraph. This is commonly known as \&quot;drop-cap\&quot;.&quot;
+              RenderBlock (anonymous) at (4,596) size 762x20
+                RenderBR {BR} at (0,0) size 0x19
+              RenderBlock {HR} at (4,624) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {P} at (420,644) size 336x236 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+                RenderText {#text} at (8,8) size 320x219
+                  text run at (8,8) width 320: &quot;This paragraph should be floated to the right, sort&quot;
+                  text run at (8,28) width 320: &quot;of like a 'sidebar' in a magazine article. Its width&quot;
+                  text run at (8,48) width 320: &quot;is 20em so the box should not be reformatted&quot;
+                  text run at (8,68) width 320: &quot;when the size of the viewport is changed (e.g.&quot;
+                  text run at (8,88) width 320: &quot;when the window is resized). The background&quot;
+                  text run at (8,108) width 320: &quot;color of the element is yellow, and there should&quot;
+                  text run at (8,128) width 320: &quot;be a 3px solid red border outside a 5px wide&quot;
+                  text run at (8,148) width 320: &quot;padding. Also, the element has a 10px wide&quot;
+                  text run at (8,168) width 320: &quot;margin around it where the blue background of&quot;
+                  text run at (8,188) width 320: &quot;the paragraph in the normal flow should shine&quot;
+                  text run at (8,208) width 54: &quot;through.&quot;
+              RenderBlock {P} at (4,634) size 762x240 [bgcolor=#66CCFF]
+                RenderText {#text} at (0,0) size 406x239
+                  text run at (0,0) width 406: &quot;This paragraph is not floating. If there is enough room, the&quot;
+                  text run at (0,20) width 406: &quot;textual content of the paragraph should appear on the left side&quot;
+                  text run at (0,40) width 270: &quot;of the yellow \&quot;sidebar\&quot; on the right. &quot;
+                  text run at (269,40) width 137: &quot;The content of this&quot;
+                  text run at (0,60) width 320: &quot;element should flow around the floated element. &quot;
+                  text run at (319,60) width 87: &quot;However, the&quot;
+                  text run at (0,80) width 406: &quot;floated element may or may not be obscured by the blue&quot;
+                  text run at (0,100) width 406: &quot;background of this element, as the specification does not say&quot;
+                  text run at (0,120) width 191: &quot;which is drawn \&quot;on top.\&quot; &quot;
+                  text run at (190,120) width 216: &quot;Even if the floated element is&quot;
+                  text run at (0,140) width 406: &quot;obscured, it still forces the content of this element to flow&quot;
+                  text run at (0,160) width 68: &quot;around it. &quot;
+                  text run at (67,160) width 339: &quot;If the floated element is not obscured, then the blue&quot;
+                  text run at (0,180) width 406: &quot;rectangle of this paragraph should extend 10px above and to&quot;
+                  text run at (0,200) width 406: &quot;the right of the sidebar's red border, due to the margin styles set&quot;
+                  text run at (0,220) width 150: &quot;for the floated element.&quot;
+              RenderBlock (anonymous) at (4,874) size 762x20
+                RenderBR {BR} at (0,0) size 0x19
+              RenderBlock {HR} at (4,902) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (4,912) size 762x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+                RenderBlock (floating) {DIV} at (418,14) size 330x270 [bgcolor=#FFFF00]
+                  RenderBlock {P} at (5,5) size 320x260
+                    RenderText {#text} at (0,0) size 320x259
+                      text run at (0,0) width 320: &quot;This paragraph is placed inside a DIV element&quot;
+                      text run at (0,20) width 320: &quot;which is floated to the right. The width of the&quot;
+                      text run at (0,40) width 320: &quot;DIV element is 20em. The background is yellow&quot;
+                      text run at (0,60) width 320: &quot;and there is a 5px padding, a 10px margin and no&quot;
+                      text run at (0,80) width 320: &quot;border. Since it is floated, the yellow box should&quot;
+                      text run at (0,100) width 320: &quot;be rendered on top of the background and borders&quot;
+                      text run at (0,120) width 320: &quot;of adjacent non-floated elements. To the left of&quot;
+                      text run at (0,140) width 320: &quot;this yellow box there should be a short paragraph&quot;
+                      text run at (0,160) width 320: &quot;with a blue background and a red border. The&quot;
+                      text run at (0,180) width 320: &quot;yellow box should be rendered on top of the&quot;
+                      text run at (0,200) width 320: &quot;bottom red border. I.e., the bottom red border will&quot;
+                      text run at (0,220) width 320: &quot;appear broken where it's overlaid by the yellow&quot;
+                      text run at (0,240) width 63: &quot;rectangle.&quot;
+                RenderBlock {P} at (4,4) size 754x20
+                  RenderText {#text} at (0,0) size 274x19
+                    text run at (0,0) width 274: &quot;See description in the box on the right side&quot;
+              RenderBlock (anonymous) at (4,940) size 762x266
+                RenderBR {BR} at (0,0) size 0x19
+              RenderBlock {HR} at (4,1214) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {DIV} at (4,1224) size 191x80 [bgcolor=#66CCFF]
+                RenderBlock {P} at (0,0) size 191x80
+                  RenderText {#text} at (0,0) size 191x79
+                    text run at (0,0) width 191: &quot;This paragraph is inside a&quot;
+                    text run at (0,20) width 191: &quot;DIV which is floated left. Its&quot;
+                    text run at (0,40) width 191: &quot;background is blue and the&quot;
+                    text run at (0,60) width 89: &quot;width is 25%.&quot;
+              RenderBlock (floating) {DIV} at (575,1224) size 191x80 [bgcolor=#FFFF00]
+                RenderBlock {P} at (0,0) size 191x80
+                  RenderText {#text} at (0,0) size 191x79
+                    text run at (0,0) width 191: &quot;This paragraph is inside a&quot;
+                    text run at (0,20) width 191: &quot;DIV which is floated right.&quot;
+                    text run at (0,40) width 22: &quot;Its &quot;
+                    text run at (21,40) width 170: &quot;background is yellow and&quot;
+                    text run at (0,60) width 112: &quot;the width is 25%.&quot;
+              RenderBlock {P} at (4,1224) size 762x40
+                RenderText {#text} at (190,0) size 382x39
+                  text run at (190,0) width 382: &quot;This paragraph should appear between a blue box (on the&quot;
+                  text run at (190,20) width 32: &quot;left) &quot;
+                  text run at (221,20) width 203: &quot;and a yellow box (on the right).&quot;
+              RenderBlock (anonymous) at (4,1264) size 762x40
+                RenderBR {BR} at (190,0) size 1x19
+              RenderBlock {HR} at (4,1312) size 762x2 [border: (1px inset #000000)]
+              RenderBlock (floating) {DIV} at (4,1322) size 572x140 [bgcolor=#66CCFF]
+                RenderBlock (floating) {DIV} at (418,0) size 144x40 [bgcolor=#FFFF00]
+                  RenderBlock {P} at (0,0) size 143x40
+                    RenderText {#text} at (0,0) size 143x39
+                      text run at (0,0) width 143: &quot;See description in the&quot;
+                      text run at (0,20) width 127: &quot;box on the left side.&quot;
+                RenderBlock {P} at (0,0) size 572x140
+                  RenderText {#text} at (0,0) size 572x139
+                    text run at (0,0) width 419: &quot;This paragraph is inside a DIV which is floated left. The&quot;
+                    text run at (0,20) width 419: &quot;background of the DIV element is blue and its width is 75%.&quot;
+                    text run at (0,40) width 34: &quot;This &quot;
+                    text run at (33,40) width 377: &quot;text should all be inside the blue rectangle. The blue DIV &quot;
+                    text run at (409,40) width 163: &quot;element has another DIV&quot;
+                    text run at (0,60) width 223: &quot;element as a child. It has a yellow &quot;
+                    text run at (222,60) width 350: &quot;background color and is floated to the right. Since it is&quot;
+                    text run at (0,80) width 12: &quot;a &quot;
+                    text run at (11,80) width 407: &quot;child of the blue DIV, the yellow DIV should appear inside the &quot;
+                    text run at (417,80) width 155: &quot;blue rectangle. Due to it&quot;
+                    text run at (0,100) width 252: &quot;being floated to the right and having &quot;
+                    text run at (251,100) width 321: &quot;a 10px right margin, the yellow rectange should&quot;
+                    text run at (0,120) width 113: &quot;have a 10px blue &quot;
+                    text run at (112,120) width 144: &quot;stripe on its right side.&quot;
+              RenderBlock (anonymous) at (4,1322) size 762x140
+                RenderBR {BR} at (571,0) size 1x19
+              RenderBlock {HR} at (4,1470) size 762x2 [border: (1px inset #000000)]
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesheightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/height-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/height-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+layer at (0,0) size 800x991
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x991
+  RenderBlock {HTML} at (0,0) size 800x991
+    RenderBody {BODY} at (8,8) size 784x975 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 164x42
+          text run at (0,0) width 157: &quot;.one {height: 50px;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 164: &quot;.two {height: 100px;}&quot;
+          text run at (163,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,101) size 784x50
+        RenderImage {IMG} at (0,0) size 50x50
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,167) size 784x20
+        RenderText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: &quot;The square above should be fifty pixels tall.&quot;
+      RenderBlock (anonymous) at (0,203) size 784x100
+        RenderImage {IMG} at (0,0) size 100x100
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,319) size 784x20
+        RenderText {#text} at (0,0) size 340x19
+          text run at (0,0) width 340: &quot;The square above should be 100 pixels tall and wide.&quot;
+      RenderBlock (anonymous) at (0,355) size 784x100
+        RenderImage {IMG} at (0,0) size 30x100
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,471) size 784x40
+        RenderText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: &quot;The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has&quot;
+          text run at (0,20) width 152: &quot;been doubled using the &quot;
+        RenderInline {CODE} at (0,0) size 48x14
+          RenderText {#text} at (151,25) size 48x14
+            text run at (151,25) width 48: &quot;height&quot;
+        RenderText {#text} at (198,20) size 69x19
+          text run at (198,20) width 69: &quot; property).&quot;
+      RenderTable {TABLE} at (0,527) size 784x448 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x446
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x418
+            RenderTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x418 [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
+              RenderBlock {P} at (4,70) size 762x20
+                RenderText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: &quot;The square above should be fifty pixels tall.&quot;
+              RenderBlock (anonymous) at (4,106) size 762x100
+                RenderImage {IMG} at (0,0) size 100x100
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,222) size 762x20
+                RenderText {#text} at (0,0) size 340x19
+                  text run at (0,0) width 340: &quot;The square above should be 100 pixels tall and wide.&quot;
+              RenderBlock (anonymous) at (4,258) size 762x100
+                RenderImage {IMG} at (0,0) size 30x100
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,374) size 762x40
+                RenderText {#text} at (0,0) size 739x39
+                  text run at (0,0) width 739: &quot;The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size&quot;
+                  text run at (0,20) width 178: &quot;has been doubled using the &quot;
+                RenderInline {CODE} at (0,0) size 48x14
+                  RenderText {#text} at (177,25) size 48x14
+                    text run at (177,25) width 48: &quot;height&quot;
+                RenderText {#text} at (224,20) size 68x19
+                  text run at (224,20) width 68: &quot; property).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmarginexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,166 @@
</span><ins>+layer at (0,0) size 802x2736
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2736
+  RenderBlock {HTML} at (0,0) size 800x2736
+    RenderBody {BODY} at (8,8) size 784x2720 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 352x98
+          text run at (0,0) width 344: &quot;.zero {background-color: silver; margin: 0;}&quot;
+          text run at (343,0) width 1: &quot; &quot;
+          text run at (0,14) width 352: &quot;.one {margin: 0.5in; background-color: aqua;}&quot;
+          text run at (351,14) width 1: &quot; &quot;
+          text run at (0,28) width 344: &quot;.two {margin: 25px; background-color: aqua;}&quot;
+          text run at (343,28) width 1: &quot; &quot;
+          text run at (0,42) width 352: &quot;.three {margin: 5em; background-color: aqua;}&quot;
+          text run at (351,42) width 1: &quot; &quot;
+          text run at (0,56) width 344: &quot;.four {margin: 25%; background-color: aqua;}&quot;
+          text run at (343,56) width 1: &quot; &quot;
+          text run at (0,70) width 164: &quot;.five {margin: 25px;}&quot;
+          text run at (163,70) width 1: &quot; &quot;
+          text run at (0,84) width 352: &quot;.six {margin: -10px; background-color: aqua;}&quot;
+          text run at (351,84) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,165) size 784x40
+        RenderText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: &quot;NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in&quot;
+          text run at (0,20) width 253: &quot;section 4.1.1 of the CSS1 specification.&quot;
+      RenderBlock {P} at (0,221) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (48,289) size 688x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 672x19
+          text run at (0,0) width 672: &quot;This sentence should have an overall margin of half an inch, which will require extra text in order to test.&quot;
+      RenderBlock {P} at (0,357) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (25,402) size 734x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 655x19
+          text run at (0,0) width 655: &quot;This sentence should have an overall margin of 25 pixels, which will require extra text in order to test.&quot;
+      RenderBlock {P} at (0,447) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (80,547) size 624x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 598x39
+          text run at (0,0) width 598: &quot;This sentence should have an overall margin of 5 em, which will require extra text in order to&quot;
+          text run at (0,20) width 27: &quot;test.&quot;
+      RenderBlock {P} at (0,667) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (196,883) size 392x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 386x59
+          text run at (0,0) width 383: &quot;This sentence should have an overall margin of 25%, which&quot;
+          text run at (0,20) width 386: &quot;is calculated with respect to the width of the parent element.&quot;
+          text run at (0,40) width 272: &quot;This will require extra text in order to test.&quot;
+      RenderBlock {P} at (0,1139) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {UL} at (25,1184) size 734x130 [bgcolor=#00FFFF]
+        RenderListItem {LI} at (40,0) size 694x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 382x19
+            text run at (0,0) width 382: &quot;This list has a margin of 25px, and a light blue background.&quot;
+        RenderListItem {LI} at (40,20) size 694x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 269x19
+            text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+        RenderListItem {LI} at (65,65) size 644x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 555x19
+            text run at (0,0) width 555: &quot;This list item has a margin of 25px, which should cause it to be offset in some fashion.&quot;
+        RenderListItem {LI} at (40,110) size 694x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 304x19
+            text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+      RenderBlock {P} at (0,1339) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (-10,1349) size 804x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 789x59
+          text run at (0,0) width 772: &quot;This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull&quot;
+          text run at (0,20) width 376: &quot;subsequent text up toward it, and a light blue background. &quot;
+          text run at (375,20) width 394: &quot;In all other respects, however, the element should be normal. &quot;
+          text run at (768,20) width 21: &quot;No&quot;
+          text run at (0,40) width 538: &quot;styles have been applied to it besides the negative margin and the background color.&quot;
+      RenderBlock {P} at (0,1399) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderTable {TABLE} at (0,1419) size 784x1301 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1299
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1271
+            RenderTableCell {TD} at (0,649) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1271 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 752x39
+                  text run at (0,0) width 752: &quot;NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in&quot;
+                  text run at (0,20) width 253: &quot;section 4.1.1 of the CSS1 specification.&quot;
+              RenderBlock {P} at (4,60) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (52,128) size 666x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 642x39
+                  text run at (0,0) width 642: &quot;This sentence should have an overall margin of half an inch, which will require extra text in order to&quot;
+                  text run at (0,20) width 27: &quot;test.&quot;
+              RenderBlock {P} at (4,216) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (29,261) size 712x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 655x19
+                  text run at (0,0) width 655: &quot;This sentence should have an overall margin of 25 pixels, which will require extra text in order to test.&quot;
+              RenderBlock {P} at (4,306) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (84,406) size 602x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 598x39
+                  text run at (0,0) width 598: &quot;This sentence should have an overall margin of 5 em, which will require extra text in order to&quot;
+                  text run at (0,20) width 27: &quot;test.&quot;
+              RenderBlock {P} at (4,526) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (194,736) size 382x61 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 370x59
+                  text run at (0,0) width 340: &quot;This sentence should have an overall margin of 25%,&quot;
+                  text run at (0,20) width 370: &quot;which is calculated with respect to the width of the parent&quot;
+                  text run at (0,40) width 59: &quot;element. &quot;
+                  text run at (58,40) width 273: &quot;This will require extra text in order to test.&quot;
+              RenderBlock {P} at (4,987) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {UL} at (29,1032) size 712x130 [bgcolor=#00FFFF]
+                RenderListItem {LI} at (40,0) size 672x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 382x19
+                    text run at (0,0) width 382: &quot;This list has a margin of 25px, and a light blue background.&quot;
+                RenderListItem {LI} at (40,20) size 672x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 269x19
+                    text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+                RenderListItem {LI} at (65,65) size 622x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 555x19
+                    text run at (0,0) width 555: &quot;This list item has a margin of 25px, which should cause it to be offset in some fashion.&quot;
+                RenderListItem {LI} at (40,110) size 672x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 304x19
+                    text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+              RenderBlock {P} at (4,1187) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (-6,1197) size 782x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 772x59
+                  text run at (0,0) width 772: &quot;This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull&quot;
+                  text run at (0,20) width 376: &quot;subsequent text up toward it, and a light blue background. &quot;
+                  text run at (375,20) width 390: &quot;In all other respects, however, the element should be normal.&quot;
+                  text run at (0,40) width 561: &quot;No styles have been applied to it besides the negative margin and the background color.&quot;
+              RenderBlock {P} at (4,1247) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_bottomexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,150 @@
</span><ins>+layer at (0,0) size 800x1812
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1812
+  RenderBlock {HTML} at (0,0) size 800x1812
+    RenderBody {BODY} at (8,8) size 784x1796 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x126
+        RenderText {#text} at (0,0) size 406x126
+          text run at (0,0) width 398: &quot;.zero {background-color: silver; margin-bottom: 0;}&quot;
+          text run at (397,0) width 1: &quot; &quot;
+          text run at (0,14) width 406: &quot;.one {margin-bottom: 0.5in; background-color: aqua;}&quot;
+          text run at (405,14) width 1: &quot; &quot;
+          text run at (0,28) width 398: &quot;.two {margin-bottom: 25px; background-color: aqua;}&quot;
+          text run at (397,28) width 1: &quot; &quot;
+          text run at (0,42) width 406: &quot;.three {margin-bottom: 5em; background-color: aqua;}&quot;
+          text run at (405,42) width 1: &quot; &quot;
+          text run at (0,56) width 398: &quot;.four {margin-bottom: 25%; background-color: aqua;}&quot;
+          text run at (397,56) width 1: &quot; &quot;
+          text run at (0,70) width 219: &quot;.five {margin-bottom: 25px;}&quot;
+          text run at (218,70) width 1: &quot; &quot;
+          text run at (0,84) width 406: &quot;.six {margin-bottom: -10px; background-color: aqua;}&quot;
+          text run at (405,84) width 1: &quot; &quot;
+          text run at (0,98) width 172: &quot;P, UL {margin-top: 0;}&quot;
+          text run at (171,98) width 1: &quot; &quot;
+          text run at (0,112) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,175) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,185) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,205) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: &quot;This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the&quot;
+          text run at (0,20) width 208: &quot;margin isn't applied to each line.&quot;
+      RenderBlock {P} at (0,293) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 739x39
+          text run at (0,0) width 739: &quot;This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the&quot;
+          text run at (0,20) width 208: &quot;margin isn't applied to each line.&quot;
+      RenderBlock {P} at (0,358) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: &quot;This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin&quot;
+          text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+      RenderBlock {P} at (0,478) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: &quot;This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin isn't&quot;
+          text run at (0,20) width 129: &quot;applied to each line.&quot;
+      RenderBlock {P} at (0,714) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,734) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
+      RenderBlock {UL} at (0,754) size 784x105 [bgcolor=#00FFFF]
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: &quot;This list has a margin-bottom of 25px, and a light blue background.&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 269x19
+            text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 604x19
+            text run at (0,0) width 604: &quot;This list item has a bottom margin of 25px, which should cause it to be offset in some fashion.&quot;
+        RenderListItem {LI} at (40,85) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 304x19
+            text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+      RenderBlock {P} at (0,884) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 775x59
+          text run at (0,0) width 761: &quot;This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \&quot;upward\&quot; on the page,&quot;
+          text run at (0,20) width 125: &quot;and no top margin. &quot;
+          text run at (124,20) width 497: &quot;No other styles have been applied to it besides a light blue background color. &quot;
+          text run at (620,20) width 155: &quot;In all other respects, the&quot;
+          text run at (0,40) width 170: &quot;element should be normal.&quot;
+      RenderBlock {P} at (0,934) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,954) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
+      RenderTable {TABLE} at (0,974) size 784x822 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x820
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x792
+            RenderTableCell {TD} at (0,410) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x792 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,24) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 756x39
+                  text run at (0,0) width 756: &quot;This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the&quot;
+                  text run at (0,20) width 208: &quot;margin isn't applied to each line.&quot;
+              RenderBlock {P} at (4,112) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 739x39
+                  text run at (0,0) width 739: &quot;This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the&quot;
+                  text run at (0,20) width 208: &quot;margin isn't applied to each line.&quot;
+              RenderBlock {P} at (4,177) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 761x39
+                  text run at (0,0) width 761: &quot;This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin&quot;
+                  text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+              RenderBlock {P} at (4,297) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 754x39
+                  text run at (0,0) width 754: &quot;This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin&quot;
+                  text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+              RenderBlock {P} at (4,527) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,547) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 238x19
+                  text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
+              RenderBlock {UL} at (4,567) size 762x106 [bgcolor=#00FFFF]
+                RenderListItem {LI} at (40,0) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 433x19
+                    text run at (0,0) width 433: &quot;This list has a margin-bottom of 25px, and a light blue background.&quot;
+                RenderListItem {LI} at (40,20) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 269x19
+                    text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+                RenderListItem {LI} at (40,40) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 604x19
+                    text run at (0,0) width 604: &quot;This list item has a bottom margin of 25px, which should cause it to be offset in some fashion.&quot;
+                RenderListItem {LI} at (40,85) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 304x19
+                    text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+              RenderBlock {P} at (4,697) size 762x61 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 761x59
+                  text run at (0,0) width 761: &quot;This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \&quot;upward\&quot; on the page,&quot;
+                  text run at (0,20) width 125: &quot;and no top margin. &quot;
+                  text run at (124,20) width 497: &quot;No other styles have been applied to it besides a light blue background color. &quot;
+                  text run at (620,20) width 131: &quot;In all other respects,&quot;
+                  text run at (0,40) width 194: &quot;the element should be normal.&quot;
+              RenderBlock {P} at (4,747) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,767) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 238x19
+                  text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_bottom_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_bottom_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,95 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 406x28
+          text run at (0,0) width 398: &quot;.one {margin-bottom: 25px; background-color: aqua;}&quot;
+          text run at (397,0) width 1: &quot; &quot;
+          text run at (0,14) width 406: &quot;.two {margin-bottom: -10px; background-color: aqua;}&quot;
+          text run at (405,14) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 490x19
+          text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+          text run at (399,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 776x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (489,0) size 148x19
+            text run at (489,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (636,5) size 25x14
+              text run at (636,5) width 25: &quot;one&quot;
+          RenderText {#text} at (660,0) size 776x39
+            text run at (660,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 249: &quot;background and a 25px bottom margin&quot;
+        RenderText {#text} at (248,20) size 775x39
+          text run at (248,20) width 9: &quot;. &quot;
+          text run at (256,20) width 519: &quot;Margins on inline elements does not affect line-height calculations, so all lines in&quot;
+          text run at (0,40) width 297: &quot;this element should have the same line-height.&quot;
+      RenderBlock {P} at (0,171) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 490x19
+          text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+          text run at (399,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 776x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (489,0) size 148x19
+            text run at (489,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (636,5) size 25x14
+              text run at (636,5) width 25: &quot;two&quot;
+          RenderText {#text} at (660,0) size 776x39
+            text run at (660,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 254: &quot;background and a -10px bottom margin&quot;
+        RenderText {#text} at (253,20) size 781x39
+          text run at (253,20) width 9: &quot;. &quot;
+          text run at (261,20) width 520: &quot;Margins on inline elements does not affect line-height calculations, so all lines in&quot;
+          text run at (0,40) width 297: &quot;this element should have the same line-height.&quot;
+      RenderTable {TABLE} at (0,247) size 784x174 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x172
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x144
+            RenderTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 490x19
+                  text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+                  text run at (399,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (489,0) size 148x19
+                    text run at (489,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (636,5) size 25x14
+                      text run at (636,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (660,0) size 742x39
+                    text run at (660,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 283: &quot;aqua background and a 25px bottom margin&quot;
+                RenderText {#text} at (282,20) size 759x39
+                  text run at (282,20) width 9: &quot;. &quot;
+                  text run at (290,20) width 469: &quot;Margins on inline elements does not affect line-height calculations, so all&quot;
+                  text run at (0,40) width 348: &quot;lines in this element should have the same line-height.&quot;
+              RenderBlock {P} at (4,80) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 490x19
+                  text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+                  text run at (399,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (489,0) size 148x19
+                    text run at (489,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (636,5) size 25x14
+                      text run at (636,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (660,0) size 742x39
+                    text run at (660,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 288: &quot;aqua background and a -10px bottom margin&quot;
+                RenderText {#text} at (287,20) size 744x39
+                  text run at (287,20) width 9: &quot;. &quot;
+                  text run at (295,20) width 449: &quot;Margins on inline elements does not affect line-height calculations, so&quot;
+                  text run at (0,40) width 368: &quot;all lines in this element should have the same line-height.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,125 @@
</span><ins>+layer at (0,0) size 800x763
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x763
+  RenderBlock {HTML} at (0,0) size 800x763
+    RenderBody {BODY} at (8,8) size 784x747 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 352x42
+          text run at (0,0) width 344: &quot;.zero {background-color: silver; margin: 0;}&quot;
+          text run at (343,0) width 1: &quot; &quot;
+          text run at (0,14) width 344: &quot;.one {margin: 25px; background-color: aqua;}&quot;
+          text run at (343,14) width 1: &quot; &quot;
+          text run at (0,28) width 352: &quot;.two {margin: -10px; background-color: aqua;}&quot;
+          text run at (351,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,101) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,137) size 784x80 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 490x19
+          text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+          text run at (399,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 767x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (514,0) size 148x19
+            text run at (514,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (661,5) size 25x14
+              text run at (661,5) width 25: &quot;one&quot;
+          RenderText {#text} at (685,0) size 767x39
+            text run at (685,0) width 82: &quot;, giving it an&quot;
+            text run at (0,20) width 233: &quot;aqua background and a 25px margin&quot;
+        RenderText {#text} at (257,20) size 782x59
+          text run at (257,20) width 9: &quot;. &quot;
+          text run at (265,20) width 504: &quot;Margins on inline elements does not affect line-height calculations, so all lines&quot;
+          text run at (0,40) width 317: &quot;in this element should have the same line-height. &quot;
+          text run at (316,40) width 466: &quot;However, there should be a 25px margin to the left side of the inline box&quot;
+          text run at (0,60) width 762: &quot;in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears.&quot;
+      RenderBlock {P} at (0,233) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,269) size 784x80 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 490x19
+          text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+          text run at (399,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 766x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (479,0) size 148x19
+            text run at (479,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (626,5) size 25x14
+              text run at (626,5) width 25: &quot;two&quot;
+          RenderText {#text} at (650,0) size 766x39
+            text run at (650,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 205: &quot;background and a -10px margin&quot;
+        RenderText {#text} at (194,20) size 783x59
+          text run at (194,20) width 9: &quot;. &quot;
+          text run at (202,20) width 547: &quot;Margins on inline elements does not affect line-height calculations, so all lines in this&quot;
+          text run at (0,40) width 274: &quot;element should have the same line-height. &quot;
+          text run at (273,40) width 510: &quot;However, there should be a -10px margin to the left side of the inline box in the&quot;
+          text run at (0,60) width 728: &quot;first line it appears, and a -10px margin to the right side of the inline element box in the last line where it appears.&quot;
+      RenderBlock {P} at (0,365) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderTable {TABLE} at (0,385) size 784x362 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x360
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x332
+            RenderTableCell {TD} at (0,180) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x332 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x100 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 490x19
+                  text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+                  text run at (399,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 748x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (514,0) size 148x19
+                    text run at (514,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (661,5) size 25x14
+                      text run at (661,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (685,0) size 748x39
+                    text run at (685,0) width 63: &quot;, giving it&quot;
+                    text run at (0,20) width 253: &quot;an aqua background and a 25px margin&quot;
+                RenderText {#text} at (277,20) size 761x79
+                  text run at (277,20) width 9: &quot;. &quot;
+                  text run at (285,20) width 469: &quot;Margins on inline elements does not affect line-height calculations, so all&quot;
+                  text run at (0,40) width 352: &quot;lines in this element should have the same line-height. &quot;
+                  text run at (351,40) width 396: &quot;However, there should be a 25px margin to the left side of the&quot;
+                  text run at (0,60) width 761: &quot;inline box in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where&quot;
+                  text run at (0,80) width 66: &quot;it appears.&quot;
+              RenderBlock {P} at (4,156) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,192) size 762x100 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 490x19
+                  text run at (0,0) width 400: &quot;This element is unstyled save for a background color of gray.. &quot;
+                  text run at (399,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 732x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (479,0) size 148x19
+                    text run at (479,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (626,5) size 25x14
+                      text run at (626,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (650,0) size 732x39
+                    text run at (650,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 239: &quot;aqua background and a -10px margin&quot;
+                RenderText {#text} at (228,20) size 756x79
+                  text run at (228,20) width 9: &quot;. &quot;
+                  text run at (236,20) width 520: &quot;Margins on inline elements does not affect line-height calculations, so all lines in&quot;
+                  text run at (0,40) width 301: &quot;this element should have the same line-height. &quot;
+                  text run at (300,40) width 442: &quot;However, there should be a -10px margin to the left side of the inline&quot;
+                  text run at (0,60) width 739: &quot;box in the first line it appears, and a -10px margin to the right side of the inline element box in the last line where it&quot;
+                  text run at (0,80) width 53: &quot;appears.&quot;
+              RenderBlock {P} at (4,308) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_leftexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,120 @@
</span><ins>+layer at (0,0) size 800x1065
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1065
+  RenderBlock {HTML} at (0,0) size 800x1065
+    RenderBody {BODY} at (8,8) size 784x1049 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 398x84
+          text run at (0,0) width 383: &quot;.zero {background-color: silver; margin-left: 0;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 391: &quot;.one {margin-left: 0.5in; background-color: aqua;}&quot;
+          text run at (390,14) width 1: &quot; &quot;
+          text run at (0,28) width 383: &quot;.two {margin-left: 25px; background-color: aqua;}&quot;
+          text run at (382,28) width 1: &quot; &quot;
+          text run at (0,42) width 391: &quot;.three {margin-left: 5em; background-color: aqua;}&quot;
+          text run at (390,42) width 1: &quot; &quot;
+          text run at (0,56) width 383: &quot;.four {margin-left: 25%; background-color: aqua;}&quot;
+          text run at (382,56) width 1: &quot; &quot;
+          text run at (0,70) width 398: &quot;.five {margin-left: -10px; background-color: aqua;}&quot;
+          text run at (397,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (48,187) size 736x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: &quot;This sentence should have a left margin of half an inch.&quot;
+      RenderBlock {P} at (25,223) size 759x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 338x19
+          text run at (0,0) width 338: &quot;This sentence should have a left margin of 25 pixels.&quot;
+      RenderBlock {P} at (80,259) size 704x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 311x19
+          text run at (0,0) width 311: &quot;This sentence should have a left margin of 5 em.&quot;
+      RenderBlock {P} at (196,295) size 588x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 557x39
+          text run at (0,0) width 557: &quot;This sentence should have a left margin of 25%, which is calculated with respect to the&quot;
+          text run at (0,20) width 180: &quot;width of the parent element.&quot;
+      RenderBlock {UL} at (25,351) size 759x100 [bgcolor=#808080]
+        RenderListItem {LI} at (40,0) size 719x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 699x19
+            text run at (0,0) width 699: &quot;The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray.&quot;
+        RenderListItem {LI} at (65,20) size 694x60 [bgcolor=#FFFFFF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 685x59
+            text run at (0,0) width 669: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-&quot;
+            text run at (0,20) width 61: &quot;checked. &quot;
+            text run at (60,20) width 625: &quot;This list item has its left margin also set to 25 pixels, which should combine with the list's margin&quot;
+            text run at (0,40) width 488: &quot;to make 50 pixels of margin, and its background color has been set to white.&quot;
+        RenderListItem {LI} at (40,80) size 719x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 185x19
+            text run at (0,0) width 185: &quot;This is an unclassed list item&quot;
+      RenderBlock {P} at (0,467) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (-10,503) size 794x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 793x59
+          text run at (0,0) width 773: &quot;This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light&quot;
+          text run at (0,20) width 116: &quot;blue background. &quot;
+          text run at (115,20) width 394: &quot;In all other respects, however, the element should be normal. &quot;
+          text run at (508,20) width 285: &quot;No styles have been applied to it besides the&quot;
+          text run at (0,40) width 299: &quot;negative left margin and the background color.&quot;
+      RenderTable {TABLE} at (0,579) size 784x470 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x468
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x440
+            RenderTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x440 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (52,40) size 714x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 355x19
+                  text run at (0,0) width 355: &quot;This sentence should have a left margin of half an inch.&quot;
+              RenderBlock {P} at (29,76) size 737x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 338x19
+                  text run at (0,0) width 338: &quot;This sentence should have a left margin of 25 pixels.&quot;
+              RenderBlock {P} at (84,112) size 682x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 311x19
+                  text run at (0,0) width 311: &quot;This sentence should have a left margin of 5 em.&quot;
+              RenderBlock {P} at (194,148) size 572x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 557x39
+                  text run at (0,0) width 557: &quot;This sentence should have a left margin of 25%, which is calculated with respect to the&quot;
+                  text run at (0,20) width 180: &quot;width of the parent element.&quot;
+              RenderBlock {UL} at (29,204) size 737x120 [bgcolor=#808080]
+                RenderListItem {LI} at (40,0) size 697x40
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 664x39
+                    text run at (0,0) width 664: &quot;The left margin on this unordered list has been set to 25 pixels, and its background color has been set to&quot;
+                    text run at (0,20) width 32: &quot;gray.&quot;
+                RenderListItem {LI} at (65,40) size 672x60 [bgcolor=#FFFFFF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 669x59
+                    text run at (0,0) width 669: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-&quot;
+                    text run at (0,20) width 61: &quot;checked. &quot;
+                    text run at (60,20) width 576: &quot;This list item has its left margin also set to 25 pixels, which should combine with the list's&quot;
+                    text run at (0,40) width 537: &quot;margin to make 50 pixels of margin, and its background color has been set to white.&quot;
+                RenderListItem {LI} at (40,100) size 697x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 185x19
+                    text run at (0,0) width 185: &quot;This is an unclassed list item&quot;
+              RenderBlock {P} at (4,340) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (-6,376) size 772x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 751x59
+                  text run at (0,0) width 740: &quot;This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a&quot;
+                  text run at (0,20) width 149: &quot;light blue background. &quot;
+                  text run at (148,20) width 394: &quot;In all other respects, however, the element should be normal. &quot;
+                  text run at (541,20) width 210: &quot;No styles have been applied to it&quot;
+                  text run at (0,40) width 374: &quot;besides the negative left margin and the background color.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_left_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_left_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 391x28
+          text run at (0,0) width 383: &quot;.one {margin-left: 25px; background-color: aqua;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 391: &quot;.two {margin-left: -10px; background-color: aqua;}&quot;
+          text run at (390,14) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (575,0) size 149x19
+            text run at (575,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (723,5) size 24x14
+              text run at (723,5) width 24: &quot;one&quot;
+        RenderText {#text} at (746,0) size 751x39
+          text run at (746,0) width 5: &quot;,&quot;
+          text run at (0,20) width 350: &quot;which should result in 25-pixel left margin only in the &quot;
+        RenderInline {STRONG} at (0,0) size 30x19
+          RenderText {#text} at (349,20) size 30x19
+            text run at (349,20) width 30: &quot;first&quot;
+        RenderText {#text} at (378,20) size 237x19
+          text run at (378,20) width 237: &quot; line in which the inline box appears.&quot;
+      RenderBlock {P} at (0,151) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (540,0) size 149x19
+            text run at (540,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (688,5) size 24x14
+              text run at (688,5) width 24: &quot;two&quot;
+        RenderText {#text} at (711,0) size 759x39
+          text run at (711,0) width 48: &quot;, which&quot;
+          text run at (0,20) width 291: &quot;should result in -10px left margin only in the &quot;
+        RenderInline {STRONG} at (0,0) size 30x19
+          RenderText {#text} at (290,20) size 30x19
+            text run at (290,20) width 30: &quot;first&quot;
+        RenderText {#text} at (319,20) size 237x19
+          text run at (319,20) width 237: &quot; line in which the inline box appears.&quot;
+      RenderTable {TABLE} at (0,207) size 784x134 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x132
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x104
+            RenderTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (575,0) size 149x19
+                    text run at (575,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (723,5) size 24x14
+                      text run at (723,5) width 24: &quot;one&quot;
+                RenderText {#text} at (746,0) size 751x39
+                  text run at (746,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 350: &quot;which should result in 25-pixel left margin only in the &quot;
+                RenderInline {STRONG} at (0,0) size 30x19
+                  RenderText {#text} at (349,20) size 30x19
+                    text run at (349,20) width 30: &quot;first&quot;
+                RenderText {#text} at (378,20) size 237x19
+                  text run at (378,20) width 237: &quot; line in which the inline box appears.&quot;
+              RenderBlock {P} at (4,60) size 762x40 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (540,0) size 149x19
+                    text run at (540,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (688,5) size 24x14
+                      text run at (688,5) width 24: &quot;two&quot;
+                RenderText {#text} at (711,0) size 759x39
+                  text run at (711,0) width 48: &quot;, which&quot;
+                  text run at (0,20) width 291: &quot;should result in -10px left margin only in the &quot;
+                RenderInline {STRONG} at (0,0) size 30x19
+                  RenderText {#text} at (290,20) size 30x19
+                    text run at (290,20) width 30: &quot;first&quot;
+                RenderText {#text} at (319,20) size 237x19
+                  text run at (319,20) width 237: &quot; line in which the inline box appears.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_rightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,120 @@
</span><ins>+layer at (0,0) size 802x1065
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1065
+  RenderBlock {HTML} at (0,0) size 800x1065
+    RenderBody {BODY} at (8,8) size 784x1049 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 547x84
+          text run at (0,0) width 539: &quot;.zero {background-color: silver; margin-right: 0; text-align: right;}&quot;
+          text run at (538,0) width 1: &quot; &quot;
+          text run at (0,14) width 547: &quot;.one {margin-right: 0.5in; text-align: right; background-color: aqua;}&quot;
+          text run at (546,14) width 1: &quot; &quot;
+          text run at (0,28) width 539: &quot;.two {margin-right: 25px; text-align: right; background-color: aqua;}&quot;
+          text run at (538,28) width 1: &quot; &quot;
+          text run at (0,42) width 547: &quot;.three {margin-right: 5em; text-align: right; background-color: aqua;}&quot;
+          text run at (546,42) width 1: &quot; &quot;
+          text run at (0,56) width 539: &quot;.four {margin-right: 25%; text-align: right; background-color: aqua;}&quot;
+          text run at (538,56) width 1: &quot; &quot;
+          text run at (0,70) width 406: &quot;.five {margin-right: -10px; background-color: aqua;}&quot;
+          text run at (405,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (576,0) size 208x19
+          text run at (576,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 736x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (372,0) size 364x19
+          text run at (372,0) width 364: &quot;This sentence should have a right margin of half an inch.&quot;
+      RenderBlock {P} at (0,223) size 759x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (412,0) size 347x19
+          text run at (412,0) width 347: &quot;This sentence should have a right margin of 25 pixels.&quot;
+      RenderBlock {P} at (0,259) size 704x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (384,0) size 320x19
+          text run at (384,0) width 320: &quot;This sentence should have a right margin of 5 em.&quot;
+      RenderBlock {P} at (0,295) size 588x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (22,0) size 566x39
+          text run at (22,0) width 566: &quot;This sentence should have a right margin of 25%, which is calculated with respect to the&quot;
+          text run at (408,20) width 180: &quot;width of the parent element.&quot;
+      RenderBlock {UL} at (0,351) size 759x100 [bgcolor=#808080]
+        RenderListItem {LI} at (40,0) size 719x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (7,0) size 712x19
+            text run at (7,0) width 712: &quot;The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray.&quot;
+        RenderListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (25,0) size 694x59
+            text run at (25,0) width 669: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-&quot;
+            text run at (0,20) width 62: &quot;checked. &quot;
+            text run at (61,20) width 633: &quot;This list item has its right margin also set to 25 pixels, which should combine with the list's margin&quot;
+            text run at (205,40) width 489: &quot;to make 50 pixels of margin, and its background-color has been set to white.&quot;
+        RenderListItem {LI} at (40,80) size 719x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (534,0) size 185x19
+            text run at (534,0) width 185: &quot;This is an unclassed list item&quot;
+      RenderBlock {P} at (0,467) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (576,0) size 208x19
+          text run at (576,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,503) size 794x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 793x59
+          text run at (0,0) width 782: &quot;This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light&quot;
+          text run at (0,20) width 116: &quot;blue background. &quot;
+          text run at (115,20) width 394: &quot;In all other respects, however, the element should be normal. &quot;
+          text run at (508,20) width 285: &quot;No styles have been applied to it besides the&quot;
+          text run at (0,40) width 308: &quot;negative right margin and the background color.&quot;
+      RenderTable {TABLE} at (0,579) size 784x470 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x468
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x440
+            RenderTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x440 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (554,0) size 208x19
+                  text run at (554,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 714x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (350,0) size 364x19
+                  text run at (350,0) width 364: &quot;This sentence should have a right margin of half an inch.&quot;
+              RenderBlock {P} at (4,76) size 737x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (390,0) size 347x19
+                  text run at (390,0) width 347: &quot;This sentence should have a right margin of 25 pixels.&quot;
+              RenderBlock {P} at (4,112) size 682x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (362,0) size 320x19
+                  text run at (362,0) width 320: &quot;This sentence should have a right margin of 5 em.&quot;
+              RenderBlock {P} at (4,148) size 572x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (5,0) size 567x39
+                  text run at (5,0) width 567: &quot;This sentence should have a right margin of 25%, which is calculated with respect to the&quot;
+                  text run at (391,20) width 181: &quot;width of the parent element.&quot;
+              RenderBlock {UL} at (4,204) size 737x120 [bgcolor=#808080]
+                RenderListItem {LI} at (40,0) size 697x40
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (20,0) size 677x39
+                    text run at (20,0) width 677: &quot;The right margin on this unordered list has been set to 25 pixels, and the background color has been set to&quot;
+                    text run at (665,20) width 32: &quot;gray.&quot;
+                RenderListItem {LI} at (40,40) size 672x60 [bgcolor=#FFFFFF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (3,0) size 669x59
+                    text run at (3,0) width 669: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-&quot;
+                    text run at (27,20) width 62: &quot;checked. &quot;
+                    text run at (88,20) width 584: &quot;This list item has its right margin also set to 25 pixels, which should combine with the list's&quot;
+                    text run at (134,40) width 538: &quot;margin to make 50 pixels of margin, and its background-color has been set to white.&quot;
+                RenderListItem {LI} at (40,100) size 697x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (512,0) size 185x19
+                    text run at (512,0) width 185: &quot;This is an unclassed list item&quot;
+              RenderBlock {P} at (4,340) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (554,0) size 208x19
+                  text run at (554,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,376) size 772x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 751x59
+                  text run at (0,0) width 749: &quot;This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a&quot;
+                  text run at (0,20) width 149: &quot;light blue background. &quot;
+                  text run at (148,20) width 394: &quot;In all other respects, however, the element should be normal. &quot;
+                  text run at (541,20) width 210: &quot;No styles have been applied to it&quot;
+                  text run at (0,40) width 383: &quot;besides the negative right margin and the background color.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_right_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_right_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 539x28
+          text run at (0,0) width 539: &quot;.one {margin-right: 25px; text-align: right; background-color: aqua;}&quot;
+          text run at (538,0) width 1: &quot; &quot;
+          text run at (0,14) width 398: &quot;.two {margin-right: -10px; background-color: aqua;}&quot;
+          text run at (397,14) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (550,0) size 149x19
+            text run at (550,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (698,5) size 24x14
+              text run at (698,5) width 24: &quot;one&quot;
+        RenderText {#text} at (746,0) size 751x39
+          text run at (746,0) width 5: &quot;,&quot;
+          text run at (0,20) width 359: &quot;which should result in 25-pixel right margin only in the &quot;
+        RenderInline {STRONG} at (0,0) size 25x19
+          RenderText {#text} at (358,20) size 25x19
+            text run at (358,20) width 25: &quot;last&quot;
+        RenderText {#text} at (382,20) size 238x19
+          text run at (382,20) width 238: &quot; line in which the inline box appears.&quot;
+      RenderBlock {P} at (0,151) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (550,0) size 149x19
+            text run at (550,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (698,5) size 24x14
+              text run at (698,5) width 24: &quot;two&quot;
+        RenderText {#text} at (711,0) size 759x39
+          text run at (711,0) width 48: &quot;, which&quot;
+          text run at (0,20) width 300: &quot;should result in -10px right margin only in the &quot;
+        RenderInline {STRONG} at (0,0) size 25x19
+          RenderText {#text} at (299,20) size 25x19
+            text run at (299,20) width 25: &quot;last&quot;
+        RenderText {#text} at (323,20) size 238x19
+          text run at (323,20) width 238: &quot; line in which the inline box appears.&quot;
+      RenderTable {TABLE} at (0,207) size 784x134 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x132
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x104
+            RenderTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (550,0) size 149x19
+                    text run at (550,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (698,5) size 24x14
+                      text run at (698,5) width 24: &quot;one&quot;
+                RenderText {#text} at (746,0) size 751x39
+                  text run at (746,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 359: &quot;which should result in 25-pixel right margin only in the &quot;
+                RenderInline {STRONG} at (0,0) size 25x19
+                  RenderText {#text} at (358,20) size 25x19
+                    text run at (358,20) width 25: &quot;last&quot;
+                RenderText {#text} at (382,20) size 238x19
+                  text run at (382,20) width 238: &quot; line in which the inline box appears.&quot;
+              RenderBlock {P} at (4,60) size 762x40 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (550,0) size 149x19
+                    text run at (550,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (698,5) size 24x14
+                      text run at (698,5) width 24: &quot;two&quot;
+                RenderText {#text} at (711,0) size 759x39
+                  text run at (711,0) width 48: &quot;, which&quot;
+                  text run at (0,20) width 300: &quot;should result in -10px right margin only in the &quot;
+                RenderInline {STRONG} at (0,0) size 25x19
+                  RenderText {#text} at (299,20) size 25x19
+                    text run at (299,20) width 25: &quot;last&quot;
+                RenderText {#text} at (323,20) size 238x19
+                  text run at (323,20) width 238: &quot; line in which the inline box appears.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_topexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,137 @@
</span><ins>+layer at (0,0) size 800x1715
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1715
+  RenderBlock {HTML} at (0,0) size 800x1715
+    RenderBody {BODY} at (8,8) size 784x1699 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,33) size 784x112
+        RenderText {#text} at (0,0) size 383x112
+          text run at (0,0) width 375: &quot;.zero {background-color: silver; margin-top: 0;}&quot;
+          text run at (374,0) width 1: &quot; &quot;
+          text run at (0,14) width 383: &quot;.one {margin-top: 0.5in; background-color: aqua;}&quot;
+          text run at (382,14) width 1: &quot; &quot;
+          text run at (0,28) width 375: &quot;.two {margin-top: 25px; background-color: aqua;}&quot;
+          text run at (374,28) width 1: &quot; &quot;
+          text run at (0,42) width 383: &quot;.three {margin-top: 5em; background-color: aqua;}&quot;
+          text run at (382,42) width 1: &quot; &quot;
+          text run at (0,56) width 375: &quot;.four {margin-top: 25%; background-color: aqua;}&quot;
+          text run at (374,56) width 1: &quot; &quot;
+          text run at (0,70) width 196: &quot;.five {margin-top: 25px;}&quot;
+          text run at (195,70) width 1: &quot; &quot;
+          text run at (0,84) width 383: &quot;.six {margin-top: -10px; background-color: aqua;}&quot;
+          text run at (382,84) width 1: &quot; &quot;
+          text run at (0,98) width 196: &quot;P, UL {margin-bottom: 0;}&quot;
+          text run at (195,98) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,158) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,168) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,188) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
+      RenderBlock {P} at (0,256) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 776x39
+          text run at (0,0) width 776: &quot;This element should have a top margin of half an inch, which will require extra text in order to make sure that the margin&quot;
+          text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+      RenderBlock {P} at (0,321) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 758x39
+          text run at (0,0) width 758: &quot;This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin&quot;
+          text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+      RenderBlock {P} at (0,441) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 762x39
+          text run at (0,0) width 762: &quot;This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't&quot;
+          text run at (0,20) width 129: &quot;applied to each line.&quot;
+      RenderBlock {P} at (0,677) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 768x39
+          text run at (0,0) width 740: &quot;This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. &quot;
+          text run at (739,0) width 29: &quot;This&quot;
+          text run at (0,20) width 240: &quot;will require extra text in order to test.&quot;
+      RenderBlock {UL} at (0,742) size 784x105 [bgcolor=#00FFFF]
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 408x19
+            text run at (0,0) width 408: &quot;This list has a margin-top of 25px, and a light blue background.&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 269x19
+            text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+        RenderListItem {LI} at (40,65) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 579x19
+            text run at (0,0) width 579: &quot;This list item has a top margin of 25px, which should cause it to be offset in some fashion.&quot;
+        RenderListItem {LI} at (40,85) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 304x19
+            text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+      RenderBlock {P} at (0,847) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,857) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 778x59
+          text run at (0,0) width 778: &quot;This element has a top margin of -10px, which should cause it to be shifted \&quot;upward\&quot; on the page, and no bottom margin.&quot;
+          text run at (0,20) width 497: &quot;No other styles have been applied to it besides a light blue background color. &quot;
+          text run at (496,20) width 275: &quot;In all other respects, the element should be&quot;
+          text run at (0,40) width 50: &quot;normal.&quot;
+      RenderTable {TABLE} at (0,917) size 784x782 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x780
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x752
+            RenderTableCell {TD} at (0,390) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x752 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,24) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 238x19
+                  text run at (0,0) width 238: &quot;This element also has a class of zero.&quot;
+              RenderBlock {P} at (4,92) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 727x39
+                  text run at (0,0) width 727: &quot;This element should have a top margin of half an inch, which will require extra text in order to make sure that the&quot;
+                  text run at (0,20) width 208: &quot;margin isn't applied to each line.&quot;
+              RenderBlock {P} at (4,157) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 758x39
+                  text run at (0,0) width 758: &quot;This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin&quot;
+                  text run at (0,20) width 159: &quot;isn't applied to each line.&quot;
+              RenderBlock {P} at (4,277) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: &quot;This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't&quot;
+                  text run at (0,20) width 129: &quot;applied to each line.&quot;
+              RenderBlock {P} at (4,507) size 762x41 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 736x39
+                  text run at (0,0) width 736: &quot;This element should have a top margin of 25%, which is calculated with respect to the width of the parent element.&quot;
+                  text run at (0,20) width 272: &quot;This will require extra text in order to test.&quot;
+              RenderBlock {UL} at (4,572) size 762x106 [bgcolor=#00FFFF]
+                RenderListItem {LI} at (40,0) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 408x19
+                    text run at (0,0) width 408: &quot;This list has a margin-top of 25px, and a light blue background.&quot;
+                RenderListItem {LI} at (40,20) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 269x19
+                    text run at (0,0) width 269: &quot;Therefore, it ought to have such a margin.&quot;
+                RenderListItem {LI} at (40,65) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 579x19
+                    text run at (0,0) width 579: &quot;This list item has a top margin of 25px, which should cause it to be offset in some fashion.&quot;
+                RenderListItem {LI} at (40,85) size 722x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 304x19
+                    text run at (0,0) width 304: &quot;This list item has no special styles applied to it.&quot;
+              RenderBlock {P} at (4,677) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,687) size 762x61 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 758x59
+                  text run at (0,0) width 725: &quot;This element has a top margin of -10px, which should cause it to be shifted \&quot;upward\&quot; on the page, and no bottom&quot;
+                  text run at (0,20) width 54: &quot;margin. &quot;
+                  text run at (53,20) width 497: &quot;No other styles have been applied to it besides a light blue background color. &quot;
+                  text run at (549,20) width 209: &quot;In all other respects, the element&quot;
+                  text run at (0,40) width 116: &quot;should be normal.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiesmargin_top_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/margin_top_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,98 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 383x56
+          text run at (0,0) width 375: &quot;.zero {background-color: silver; margin-top: 0;}&quot;
+          text run at (374,0) width 1: &quot; &quot;
+          text run at (0,14) width 375: &quot;.one {margin-top: 25px; background-color: aqua;}&quot;
+          text run at (374,14) width 1: &quot; &quot;
+          text run at (0,28) width 383: &quot;.two {margin-top: -10px; background-color: aqua;}&quot;
+          text run at (382,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;one&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 224: &quot;background and a 25px top margin&quot;
+        RenderText {#text} at (223,20) size 764x39
+          text run at (223,20) width 9: &quot;. &quot;
+          text run at (231,20) width 533: &quot;Margins on inline elements do not affect line-height calculations, so all lines in this&quot;
+          text run at (0,40) width 270: &quot;element should have the same line-height.&quot;
+      RenderBlock {P} at (0,199) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 770x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;two&quot;
+          RenderText {#text} at (656,0) size 770x39
+            text run at (656,0) width 114: &quot;, giving the inline&quot;
+            text run at (0,20) width 337: &quot;element an aqua background and a -10px top margin&quot;
+        RenderText {#text} at (336,20) size 780x39
+          text run at (336,20) width 9: &quot;. &quot;
+          text run at (344,20) width 436: &quot;Margins on inline elements do not affect line-height calculations, so&quot;
+          text run at (0,40) width 368: &quot;all lines in this element should have the same line-height.&quot;
+      RenderTable {TABLE} at (0,275) size 784x174 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x172
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x144
+            RenderTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 258: &quot;aqua background and a 25px top margin&quot;
+                RenderText {#text} at (257,20) size 755x39
+                  text run at (257,20) width 9: &quot;. &quot;
+                  text run at (265,20) width 490: &quot;Margins on inline elements do not affect line-height calculations, so all lines&quot;
+                  text run at (0,40) width 313: &quot;in this element should have the same line-height.&quot;
+              RenderBlock {P} at (4,80) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 729x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (656,0) size 729x39
+                    text run at (656,0) width 73: &quot;, giving the&quot;
+                    text run at (0,20) width 377: &quot;inline element an aqua background and a -10px top margin&quot;
+                RenderText {#text} at (376,20) size 718x39
+                  text run at (376,20) width 9: &quot;. &quot;
+                  text run at (384,20) width 334: &quot;Margins on inline elements do not affect line-height&quot;
+                  text run at (0,40) width 470: &quot;calculations, so all lines in this element should have the same line-height.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespaddingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,93 @@
</span><ins>+layer at (0,0) size 800x2286
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2286
+  RenderBlock {HTML} at (0,0) size 800x2286
+    RenderBody {BODY} at (8,8) size 784x2270 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 367x84
+          text run at (0,0) width 352: &quot;.zero {background-color: silver; padding: 0;}&quot;
+          text run at (351,0) width 1: &quot; &quot;
+          text run at (0,14) width 359: &quot;.one {padding: 0.5in; background-color: aqua;}&quot;
+          text run at (358,14) width 1: &quot; &quot;
+          text run at (0,28) width 352: &quot;.two {padding: 25px; background-color: aqua;}&quot;
+          text run at (351,28) width 1: &quot; &quot;
+          text run at (0,42) width 359: &quot;.three {padding: 5em; background-color: aqua;}&quot;
+          text run at (358,42) width 1: &quot; &quot;
+          text run at (0,56) width 352: &quot;.four {padding: 25%; background-color: aqua;}&quot;
+          text run at (351,56) width 1: &quot; &quot;
+          text run at (0,70) width 367: &quot;.five {padding: -20px; background-color: aqua;}&quot;
+          text run at (366,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 784x136 [bgcolor=#00FFFF]
+        RenderText {#text} at (48,48) size 675x39
+          text run at (48,48) width 675: &quot;This element should have an overall padding of half an inch, which will require extra text in order to test.&quot;
+          text run at (48,68) width 471: &quot;Both the content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,339) size 784x90 [bgcolor=#00FFFF]
+        RenderText {#text} at (25,25) size 716x39
+          text run at (25,25) width 661: &quot;This element should have an overall padding of 25 pixels, which will require extra text in order to test. &quot;
+          text run at (685,25) width 56: &quot;Both the&quot;
+          text run at (25,45) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,445) size 784x200 [bgcolor=#00FFFF]
+        RenderText {#text} at (80,80) size 600x39
+          text run at (80,80) width 600: &quot;This element should have an overall padding of 5 em, which will require extra text in order to&quot;
+          text run at (80,100) width 31: &quot;test. &quot;
+          text run at (110,100) width 472: &quot;Both the content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,661) size 784x472 [bgcolor=#00FFFF]
+        RenderText {#text} at (196,196) size 392x79
+          text run at (196,196) width 385: &quot;This element should have an overall padding of 25%, which&quot;
+          text run at (196,216) width 386: &quot;is calculated with respect to the width of the parent element.&quot;
+          text run at (196,236) width 392: &quot;Both the content background and the padding should be aqua&quot;
+          text run at (196,256) width 76: &quot;(light blue).&quot;
+      RenderBlock {P} at (0,1149) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 763x39
+          text run at (0,0) width 550: &quot;This element should have no padding, since negative padding values are not allowed. &quot;
+          text run at (549,0) width 214: &quot;Both the content background and&quot;
+          text run at (0,20) width 304: &quot;the normal padding should be aqua (light blue).&quot;
+      RenderTable {TABLE} at (0,1205) size 784x1065 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1063
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1035
+            RenderTableCell {TD} at (0,531) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1035 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x136 [bgcolor=#00FFFF]
+                RenderText {#text} at (48,48) size 644x39
+                  text run at (48,48) width 644: &quot;This element should have an overall padding of half an inch, which will require extra text in order to&quot;
+                  text run at (48,68) width 31: &quot;test. &quot;
+                  text run at (78,68) width 472: &quot;Both the content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,192) size 762x90 [bgcolor=#00FFFF]
+                RenderText {#text} at (25,25) size 692x39
+                  text run at (25,25) width 661: &quot;This element should have an overall padding of 25 pixels, which will require extra text in order to test. &quot;
+                  text run at (685,25) width 32: &quot;Both&quot;
+                  text run at (25,45) width 436: &quot;the content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,298) size 762x200 [bgcolor=#00FFFF]
+                RenderText {#text} at (80,80) size 600x39
+                  text run at (80,80) width 600: &quot;This element should have an overall padding of 5 em, which will require extra text in order to&quot;
+                  text run at (80,100) width 31: &quot;test. &quot;
+                  text run at (110,100) width 472: &quot;Both the content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,514) size 762x461 [bgcolor=#00FFFF]
+                RenderText {#text} at (190,191) size 371x79
+                  text run at (190,191) width 343: &quot;This element should have an overall padding of 25%,&quot;
+                  text run at (190,211) width 371: &quot;which is calculated with respect to the width of the parent&quot;
+                  text run at (190,231) width 60: &quot;element. &quot;
+                  text run at (249,231) width 292: &quot;Both the content background and the padding&quot;
+                  text run at (190,251) width 177: &quot;should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,991) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 735x39
+                  text run at (0,0) width 550: &quot;This element should have no padding, since negative padding values are not allowed. &quot;
+                  text run at (549,0) width 186: &quot;Both the content background&quot;
+                  text run at (0,20) width 332: &quot;and the normal padding should be aqua (light blue).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_bottomexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+layer at (0,0) size 800x1606
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1606
+  RenderBlock {HTML} at (0,0) size 800x1606
+    RenderBody {BODY} at (8,8) size 784x1590 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 422x84
+          text run at (0,0) width 406: &quot;.zero {background-color: silver; padding-bottom: 0;}&quot;
+          text run at (405,0) width 1: &quot; &quot;
+          text run at (0,14) width 414: &quot;.one {padding-bottom: 0.5in; background-color: aqua;}&quot;
+          text run at (413,14) width 1: &quot; &quot;
+          text run at (0,28) width 406: &quot;.two {padding-bottom: 25px; background-color: aqua;}&quot;
+          text run at (405,28) width 1: &quot; &quot;
+          text run at (0,42) width 414: &quot;.three {padding-bottom: 5em; background-color: aqua;}&quot;
+          text run at (413,42) width 1: &quot; &quot;
+          text run at (0,56) width 406: &quot;.four {padding-bottom: 25%; background-color: aqua;}&quot;
+          text run at (405,56) width 1: &quot; &quot;
+          text run at (0,70) width 422: &quot;.five {padding-bottom: -20px; background-color: aqua;}&quot;
+          text run at (421,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 784x88 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 777x39
+          text run at (0,0) width 671: &quot;This element should have a bottom padding of half an inch, which will require extra text in order to test. &quot;
+          text run at (670,0) width 107: &quot;Both the content&quot;
+          text run at (0,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,291) size 784x65 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 654: &quot;This element should have a bottom padding of 25 pixels, which will require extra text in order to test. &quot;
+          text run at (653,0) width 107: &quot;Both the content&quot;
+          text run at (0,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,372) size 784x120 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 733x39
+          text run at (0,0) width 627: &quot;This element should have a bottom padding of 5 em, which will require extra text in order to test. &quot;
+          text run at (626,0) width 107: &quot;Both the content&quot;
+          text run at (0,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,508) size 784x236 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 767x39
+          text run at (0,0) width 767: &quot;This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent element.&quot;
+          text run at (0,20) width 276: &quot;This will require extra text in order to test. &quot;
+          text run at (275,20) width 472: &quot;Both the content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,760) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,796) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 705x39
+          text run at (0,0) width 599: &quot;This element should have no bottom padding, since negative padding values are not allowed. &quot;
+          text run at (598,0) width 107: &quot;Both the content&quot;
+          text run at (0,20) width 411: &quot;background and the normal padding should be aqua (light blue).&quot;
+      RenderTable {TABLE} at (0,852) size 784x738 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x736
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x708
+            RenderTableCell {TD} at (0,368) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x708 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x88 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 726x39
+                  text run at (0,0) width 671: &quot;This element should have a bottom padding of half an inch, which will require extra text in order to test. &quot;
+                  text run at (670,0) width 56: &quot;Both the&quot;
+                  text run at (0,20) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,144) size 762x65 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 760x39
+                  text run at (0,0) width 654: &quot;This element should have a bottom padding of 25 pixels, which will require extra text in order to test. &quot;
+                  text run at (653,0) width 107: &quot;Both the content&quot;
+                  text run at (0,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,225) size 762x120 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 627: &quot;This element should have a bottom padding of 5 em, which will require extra text in order to test. &quot;
+                  text run at (626,0) width 107: &quot;Both the content&quot;
+                  text run at (0,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,361) size 762x251 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 726x59
+                  text run at (0,0) width 709: &quot;This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent&quot;
+                  text run at (0,20) width 59: &quot;element. &quot;
+                  text run at (58,20) width 277: &quot;This will require extra text in order to test. &quot;
+                  text run at (334,20) width 392: &quot;Both the content background and the padding should be aqua&quot;
+                  text run at (0,40) width 76: &quot;(light blue).&quot;
+              RenderBlock {P} at (4,627) size 762x21 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,663) size 762x41 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 705x39
+                  text run at (0,0) width 599: &quot;This element should have no bottom padding, since negative padding values are not allowed. &quot;
+                  text run at (598,0) width 107: &quot;Both the content&quot;
+                  text run at (0,20) width 411: &quot;background and the normal padding should be aqua (light blue).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_bottom_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_bottom_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 414x42
+          text run at (0,0) width 406: &quot;.one {padding-bottom: 25px; background-color: aqua;}&quot;
+          text run at (405,0) width 1: &quot; &quot;
+          text run at (0,14) width 414: &quot;.two {padding-bottom: -10px; background-color: aqua;}&quot;
+          text run at (413,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x80 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x64 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;one&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 255: &quot;background and a 25px bottom padding&quot;
+        RenderText {#text} at (254,20) size 781x59
+          text run at (254,20) width 9: &quot;. &quot;
+          text run at (262,20) width 519: &quot;Padding on inline elements does not affect line-height calculations, so all lines in&quot;
+          text run at (0,40) width 301: &quot;this element should have the same line-height. &quot;
+          text run at (300,40) width 476: &quot;There may be implementation-specific limits on how much of the padding&quot;
+          text run at (0,60) width 204: &quot;the user agent is able to display.&quot;
+      RenderBlock {P} at (0,205) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;two&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 530: &quot;background and no bottom padding, since negative padding values are not allowed&quot;
+        RenderText {#text} at (529,20) size 770x39
+          text run at (529,20) width 9: &quot;. &quot;
+          text run at (537,20) width 233: &quot;Padding on inline elements does not&quot;
+          text run at (0,40) width 584: &quot;affect line-height calculations, so all lines in this element should have the same line-height.&quot;
+      RenderTable {TABLE} at (0,281) size 784x194 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x192
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x164
+            RenderTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x80 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x64 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 289: &quot;aqua background and a 25px bottom padding&quot;
+                RenderText {#text} at (288,20) size 751x59
+                  text run at (288,20) width 9: &quot;. &quot;
+                  text run at (296,20) width 449: &quot;Padding on inline elements does not affect line-height calculations, so&quot;
+                  text run at (0,40) width 372: &quot;all lines in this element should have the same line-height. &quot;
+                  text run at (371,40) width 380: &quot;There may be implementation-specific limits on how much&quot;
+                  text run at (0,60) width 301: &quot;of the padding the user agent is able to display.&quot;
+              RenderBlock {P} at (4,100) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 564: &quot;aqua background and no bottom padding, since negative padding values are not allowed&quot;
+                RenderText {#text} at (563,20) size 746x39
+                  text run at (563,20) width 9: &quot;. &quot;
+                  text run at (571,20) width 175: &quot;Padding on inline elements&quot;
+                  text run at (0,40) width 641: &quot;does not affect line-height calculations, so all lines in this element should have the same line-height.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,126 @@
</span><ins>+layer at (0,0) size 800x801
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x801
+  RenderBlock {HTML} at (0,0) size 800x801
+    RenderBody {BODY} at (8,8) size 784x785 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 359x56
+          text run at (0,0) width 352: &quot;.zero {background-color: silver; padding: 0;}&quot;
+          text run at (351,0) width 1: &quot; &quot;
+          text run at (0,14) width 352: &quot;.one {padding: 25px; background-color: aqua;}&quot;
+          text run at (351,14) width 1: &quot; &quot;
+          text run at (0,28) width 359: &quot;.two {padding: -10px; background-color: aqua;}&quot;
+          text run at (358,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,159) size 784x120 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 763x89 [bgcolor=#00FFFF]
+          RenderText {#text} at (510,0) size 148x19
+            text run at (510,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (657,5) size 25x14
+              text run at (657,5) width 25: &quot;one&quot;
+          RenderText {#text} at (681,0) size 763x39
+            text run at (681,0) width 82: &quot;, giving it an&quot;
+            text run at (0,20) width 240: &quot;aqua background and a 25px padding&quot;
+        RenderText {#text} at (264,20) size 777x99
+          text run at (264,20) width 9: &quot;. &quot;
+          text run at (272,20) width 503: &quot;Padding on inline elements does not affect line-height calculations, so all lines&quot;
+          text run at (0,40) width 317: &quot;in this element should have the same line-height. &quot;
+          text run at (316,40) width 421: &quot;There may be implementation-specific limits on how much of the&quot;
+          text run at (0,60) width 439: &quot;padding the user agent is able to display above and below each line. &quot;
+          text run at (438,60) width 339: &quot;However, there should be at least 25px of padding to&quot;
+          text run at (0,80) width 772: &quot;the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline element box in&quot;
+          text run at (0,100) width 187: &quot;the last line where it appears.&quot;
+      RenderBlock {P} at (0,295) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,331) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;two&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 481: &quot;background and no padding, since negative padding values are not allowed&quot;
+        RenderText {#text} at (480,20) size 760x39
+          text run at (480,20) width 9: &quot;. &quot;
+          text run at (488,20) width 272: &quot;Padding on inline elements does not affect&quot;
+          text run at (0,40) width 543: &quot;line-height calculations, so all lines in this element should have the same line-height.&quot;
+      RenderBlock {P} at (0,407) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderTable {TABLE} at (0,443) size 784x342 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x340
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x312
+            RenderTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x312 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x120 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 744x89 [bgcolor=#00FFFF]
+                  RenderText {#text} at (510,0) size 148x19
+                    text run at (510,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (657,5) size 25x14
+                      text run at (657,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (681,0) size 744x39
+                    text run at (681,0) width 63: &quot;, giving it&quot;
+                    text run at (0,20) width 259: &quot;an aqua background and a 25px padding&quot;
+                RenderText {#text} at (283,20) size 760x99
+                  text run at (283,20) width 9: &quot;. &quot;
+                  text run at (291,20) width 469: &quot;Padding on inline elements does not affect line-height calculations, so all&quot;
+                  text run at (0,40) width 352: &quot;lines in this element should have the same line-height. &quot;
+                  text run at (351,40) width 397: &quot;There may be implementation-specific limits on how much of&quot;
+                  text run at (0,60) width 462: &quot;the padding the user agent is able to display above and below each line. &quot;
+                  text run at (461,60) width 267: &quot;However, there should be at least 25px of&quot;
+                  text run at (0,80) width 745: &quot;padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline&quot;
+                  text run at (0,100) width 286: &quot;element box in the last line where it appears.&quot;
+              RenderBlock {P} at (4,176) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,212) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 515: &quot;aqua background and no padding, since negative padding values are not allowed&quot;
+                RenderText {#text} at (514,20) size 755x39
+                  text run at (514,20) width 9: &quot;. &quot;
+                  text run at (522,20) width 233: &quot;Padding on inline elements does not&quot;
+                  text run at (0,40) width 584: &quot;affect line-height calculations, so all lines in this element should have the same line-height.&quot;
+              RenderBlock {P} at (4,288) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_leftexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,116 @@
</span><ins>+layer at (0,0) size 800x1053
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1053
+  RenderBlock {HTML} at (0,0) size 800x1053
+    RenderBody {BODY} at (8,8) size 784x1037 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 406x84
+          text run at (0,0) width 391: &quot;.zero {background-color: silver; padding-left: 0;}&quot;
+          text run at (390,0) width 1: &quot; &quot;
+          text run at (0,14) width 398: &quot;.one {padding-left: 0.5in; background-color: aqua;}&quot;
+          text run at (397,14) width 1: &quot; &quot;
+          text run at (0,28) width 391: &quot;.two {padding-left: 25px; background-color: aqua;}&quot;
+          text run at (390,28) width 1: &quot; &quot;
+          text run at (0,42) width 398: &quot;.three {padding-left: 5em; background-color: aqua;}&quot;
+          text run at (397,42) width 1: &quot; &quot;
+          text run at (0,56) width 391: &quot;.four {padding-left: 25%; background-color: aqua;}&quot;
+          text run at (390,56) width 1: &quot; &quot;
+          text run at (0,70) width 406: &quot;.five {padding-left: -20px; background-color: aqua;}&quot;
+          text run at (405,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (48,0) size 702x39
+          text run at (48,0) width 647: &quot;This element should have a left padding of half an inch, which will require extra text in order to test. &quot;
+          text run at (694,0) width 56: &quot;Both the&quot;
+          text run at (48,20) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,243) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (25,0) size 736x39
+          text run at (25,0) width 630: &quot;This element should have a left padding of 25 pixels, which will require extra text in order to test. &quot;
+          text run at (654,0) width 107: &quot;Both the content&quot;
+          text run at (25,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,299) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (80,0) size 654x39
+          text run at (80,0) width 599: &quot;This element should have a left padding of 5em, which will require extra text in order to test. &quot;
+          text run at (678,0) width 56: &quot;Both the&quot;
+          text run at (80,20) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,355) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (196,0) size 576x59
+          text run at (196,0) width 559: &quot;This element should have a left padding of 25%, which is calculated with respect to the&quot;
+          text run at (196,20) width 184: &quot;width of the parent element. &quot;
+          text run at (379,20) width 393: &quot;Both the content background and the padding should be aqua&quot;
+          text run at (196,40) width 76: &quot;(light blue).&quot;
+      RenderBlock {UL} at (0,431) size 784x80 [bgcolor=#808080]
+        RenderListItem {LI} at (25,0) size 759x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 732x19
+            text run at (0,0) width 732: &quot;The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test.&quot;
+        RenderListItem {LI} at (25,20) size 759x60 [bgcolor=#FFFFFF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (25,0) size 726x59
+            text run at (25,0) width 726: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-checked.&quot;
+            text run at (25,20) width 713: &quot;This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50&quot;
+            text run at (25,40) width 109: &quot;pixels of margin.&quot;
+      RenderBlock {P} at (0,527) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 761x39
+          text run at (0,0) width 575: &quot;This element should have no left padding, since negative padding values are not allowed. &quot;
+          text run at (574,0) width 187: &quot;Both the content background&quot;
+          text run at (0,20) width 332: &quot;and the normal padding should be aqua (light blue).&quot;
+      RenderTable {TABLE} at (0,583) size 784x454 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x452
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x424
+            RenderTableCell {TD} at (0,226) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x424 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (48,0) size 702x39
+                  text run at (48,0) width 647: &quot;This element should have a left padding of half an inch, which will require extra text in order to test. &quot;
+                  text run at (694,0) width 56: &quot;Both the&quot;
+                  text run at (48,20) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,96) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (25,0) size 736x39
+                  text run at (25,0) width 630: &quot;This element should have a left padding of 25 pixels, which will require extra text in order to test. &quot;
+                  text run at (654,0) width 107: &quot;Both the content&quot;
+                  text run at (25,20) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,152) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (80,0) size 654x39
+                  text run at (80,0) width 599: &quot;This element should have a left padding of 5em, which will require extra text in order to test. &quot;
+                  text run at (678,0) width 56: &quot;Both the&quot;
+                  text run at (80,20) width 413: &quot;content background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,208) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (190,0) size 560x59
+                  text run at (190,0) width 560: &quot;This element should have a left padding of 25%, which is calculated with respect to the&quot;
+                  text run at (190,20) width 185: &quot;width of the parent element. &quot;
+                  text run at (374,20) width 358: &quot;Both the content background and the padding should be&quot;
+                  text run at (190,40) width 111: &quot;aqua (light blue).&quot;
+              RenderBlock {UL} at (4,284) size 762x80 [bgcolor=#808080]
+                RenderListItem {LI} at (25,0) size 737x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 732x19
+                    text run at (0,0) width 732: &quot;The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test.&quot;
+                RenderListItem {LI} at (25,20) size 737x60 [bgcolor=#FFFFFF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (25,0) size 698x59
+                    text run at (25,0) width 669: &quot;Another list item might not be such a bad idea, either, considering that such things do need to be double-&quot;
+                    text run at (25,20) width 61: &quot;checked. &quot;
+                    text run at (85,20) width 638: &quot;This list item has its left padding also set to 25 pixels, which should combine with the list's padding&quot;
+                    text run at (25,40) width 184: &quot;to make 50 pixels of margin.&quot;
+              RenderBlock {P} at (4,380) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 761x39
+                  text run at (0,0) width 575: &quot;This element should have no left padding, since negative padding values are not allowed. &quot;
+                  text run at (574,0) width 187: &quot;Both the content background&quot;
+                  text run at (0,20) width 332: &quot;and the normal padding should be aqua (light blue).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_left_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_left_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,101 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 398x42
+          text run at (0,0) width 391: &quot;.one {padding-left: 25px; background-color: aqua;}&quot;
+          text run at (390,0) width 1: &quot; &quot;
+          text run at (0,14) width 398: &quot;.two {padding-left: -10px; background-color: aqua;}&quot;
+          text run at (397,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 197x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (575,0) size 149x19
+            text run at (575,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (723,5) size 24x14
+              text run at (723,5) width 24: &quot;one&quot;
+        RenderText {#text} at (0,20) size 582x19
+          text run at (0,20) width 582: &quot;which should result in 25-pixel left padding (which should also be a light blue) only in the &quot;
+        RenderInline {STRONG} at (0,0) size 30x19
+          RenderText {#text} at (581,20) size 30x19
+            text run at (581,20) width 30: &quot;first&quot;
+        RenderText {#text} at (610,20) size 762x39
+          text run at (610,20) width 152: &quot; line in which the inline&quot;
+          text run at (0,40) width 81: &quot;box appears.&quot;
+      RenderBlock {P} at (0,185) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (550,0) size 149x19
+            text run at (550,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (698,5) size 24x14
+              text run at (698,5) width 24: &quot;two&quot;
+        RenderText {#text} at (721,0) size 765x39
+          text run at (721,0) width 44: &quot; which&quot;
+          text run at (0,20) width 523: &quot;should result in -10px left padding (which should also be a light blue) only in the &quot;
+        RenderInline {STRONG} at (0,0) size 30x19
+          RenderText {#text} at (522,20) size 30x19
+            text run at (522,20) width 30: &quot;first&quot;
+        RenderText {#text} at (551,20) size 731x39
+          text run at (551,20) width 180: &quot; line in which the inline box&quot;
+          text run at (0,40) width 53: &quot;appears.&quot;
+      RenderTable {TABLE} at (0,261) size 784x174 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x172
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x144
+            RenderTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 197x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (575,0) size 149x19
+                    text run at (575,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (723,5) size 24x14
+                      text run at (723,5) width 24: &quot;one&quot;
+                RenderText {#text} at (0,20) size 582x19
+                  text run at (0,20) width 582: &quot;which should result in 25-pixel left padding (which should also be a light blue) only in the &quot;
+                RenderInline {STRONG} at (0,0) size 30x19
+                  RenderText {#text} at (581,20) size 30x19
+                    text run at (581,20) width 30: &quot;first&quot;
+                RenderText {#text} at (610,20) size 762x39
+                  text run at (610,20) width 152: &quot; line in which the inline&quot;
+                  text run at (0,40) width 81: &quot;box appears.&quot;
+              RenderBlock {P} at (4,80) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (550,0) size 149x19
+                    text run at (550,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (698,5) size 24x14
+                      text run at (698,5) width 24: &quot;two&quot;
+                RenderText {#text} at (0,20) size 566x19
+                  text run at (0,20) width 566: &quot;which should result in -10px left padding (which should also be a light blue) only in the &quot;
+                RenderInline {STRONG} at (0,0) size 30x19
+                  RenderText {#text} at (565,20) size 30x19
+                    text run at (565,20) width 30: &quot;first&quot;
+                RenderText {#text} at (594,20) size 746x39
+                  text run at (594,20) width 152: &quot; line in which the inline&quot;
+                  text run at (0,40) width 81: &quot;box appears.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_rightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,134 @@
</span><ins>+layer at (0,0) size 800x1233
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1233
+  RenderBlock {HTML} at (0,0) size 800x1233
+    RenderBody {BODY} at (8,8) size 784x1217 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 562x84
+          text run at (0,0) width 398: &quot;.zero {background-color: silver; padding-right: 0;}&quot;
+          text run at (397,0) width 1: &quot; &quot;
+          text run at (0,14) width 554: &quot;.one {padding-right: 0.5in; text-align: right; background-color: aqua;}&quot;
+          text run at (553,14) width 1: &quot; &quot;
+          text run at (0,28) width 547: &quot;.two {padding-right: 25px; text-align: right; background-color: aqua;}&quot;
+          text run at (546,28) width 1: &quot; &quot;
+          text run at (0,42) width 554: &quot;.three {padding-right: 5em; text-align: right; background-color: aqua;}&quot;
+          text run at (553,42) width 1: &quot; &quot;
+          text run at (0,56) width 547: &quot;.four {padding-right: 25%; text-align: right; background-color: aqua;}&quot;
+          text run at (546,56) width 1: &quot; &quot;
+          text run at (0,70) width 562: &quot;.five {padding-right: -20px; text-align: right; background-color: aqua;}&quot;
+          text run at (561,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (25,0) size 725x59
+          text run at (25,0) width 657: &quot;This element should have a right padding of half an inch, which will require extra text in order to test. &quot;
+          text run at (681,0) width 55: &quot;Both the&quot;
+          text run at (11,20) width 417: &quot;content background and the padding should be aqua (light blue). &quot;
+          text run at (427,20) width 309: &quot;The text has been right-aligned in order to make&quot;
+          text run at (540,40) width 196: &quot;the right padding easier to see.&quot;
+      RenderBlock {P} at (0,263) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (14,0) size 745x59
+          text run at (14,0) width 640: &quot;This element should have a right padding of 25 pixels, which will require extra text in order to test. &quot;
+          text run at (653,0) width 106: &quot;Both the content&quot;
+          text run at (27,20) width 366: &quot;background and the padding should be aqua (light blue). &quot;
+          text run at (392,20) width 367: &quot;The text has been right-aligned in order to make the right&quot;
+          text run at (621,40) width 138: &quot;padding easier to see.&quot;
+      RenderBlock {P} at (0,339) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (37,0) size 687x59
+          text run at (37,0) width 613: &quot;This element should have a right padding of 5 em, which will require extra text in order to test. &quot;
+          text run at (649,0) width 55: &quot;Both the&quot;
+          text run at (17,20) width 418: &quot;content background and the padding should be aqua (light blue). &quot;
+          text run at (434,20) width 270: &quot;The text has been right-aligned in order to&quot;
+          text run at (469,40) width 235: &quot;make the right padding easier to see.&quot;
+      RenderBlock {P} at (0,415) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (20,0) size 588x59
+          text run at (20,0) width 568: &quot;This element should have a right padding of 25%, which is calculated with respect to the&quot;
+          text run at (12,20) width 185: &quot;width of the parent element. &quot;
+          text run at (196,20) width 392: &quot;Both the content background and the padding should be aqua&quot;
+          text run at (0,40) width 81: &quot;(light blue). &quot;
+          text run at (80,40) width 508: &quot;The text has been right-aligned in order to make the right padding easier to see.&quot;
+      RenderBlock {UL} at (0,491) size 784x80 [bgcolor=#808080]
+        RenderListItem {LI} at (40,0) size 719x40
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (7,0) size 712x39
+            text run at (7,0) width 712: &quot;The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order to&quot;
+            text run at (692,20) width 27: &quot;test.&quot;
+        RenderListItem {LI} at (40,40) size 719x40 [bgcolor=#FFFFFF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (20,0) size 674x39
+            text run at (20,0) width 674: &quot;This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL&quot;
+            text run at (639,20) width 55: &quot;element.&quot;
+      RenderBlock {P} at (0,587) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (14,0) size 770x59
+          text run at (14,0) width 585: &quot;This element should have no right padding, since negative padding values are not allowed. &quot;
+          text run at (598,0) width 186: &quot;Both the content background&quot;
+          text run at (34,20) width 336: &quot;and the normal padding should be aqua (light blue). &quot;
+          text run at (369,20) width 415: &quot;The text has been right-aligned in order to make the lack of right&quot;
+          text run at (646,40) width 138: &quot;padding easier to see.&quot;
+      RenderTable {TABLE} at (0,663) size 784x554 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x552
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x524
+            RenderTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (3,0) size 711x59
+                  text run at (3,0) width 657: &quot;This element should have a right padding of half an inch, which will require extra text in order to test. &quot;
+                  text run at (659,0) width 55: &quot;Both the&quot;
+                  text run at (27,20) width 418: &quot;content background and the padding should be aqua (light blue). &quot;
+                  text run at (444,20) width 270: &quot;The text has been right-aligned in order to&quot;
+                  text run at (479,40) width 235: &quot;make the right padding easier to see.&quot;
+              RenderBlock {P} at (4,116) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (43,0) size 725x59
+                  text run at (43,0) width 640: &quot;This element should have a right padding of 25 pixels, which will require extra text in order to test. &quot;
+                  text run at (682,0) width 55: &quot;Both the&quot;
+                  text run at (12,20) width 417: &quot;content background and the padding should be aqua (light blue). &quot;
+                  text run at (428,20) width 309: &quot;The text has been right-aligned in order to make&quot;
+                  text run at (541,40) width 196: &quot;the right padding easier to see.&quot;
+              RenderBlock {P} at (4,192) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (15,0) size 670x59
+                  text run at (15,0) width 613: &quot;This element should have a right padding of 5 em, which will require extra text in order to test. &quot;
+                  text run at (627,0) width 55: &quot;Both the&quot;
+                  text run at (12,20) width 417: &quot;content background and the padding should be aqua (light blue). &quot;
+                  text run at (428,20) width 254: &quot;The text has been right-aligned in order&quot;
+                  text run at (431,40) width 251: &quot;to make the right padding easier to see.&quot;
+              RenderBlock {P} at (4,268) size 762x80 [bgcolor=#00FFFF]
+                RenderText {#text} at (3,0) size 569x79
+                  text run at (3,0) width 569: &quot;This element should have a right padding of 25%, which is calculated with respect to the&quot;
+                  text run at (30,20) width 185: &quot;width of the parent element. &quot;
+                  text run at (214,20) width 358: &quot;Both the content background and the padding should be&quot;
+                  text run at (36,40) width 114: &quot;aqua (light blue). &quot;
+                  text run at (149,40) width 423: &quot;The text has been right-aligned in order to make the right padding&quot;
+                  text run at (489,60) width 83: &quot;easier to see.&quot;
+              RenderBlock {UL} at (4,364) size 762x80 [bgcolor=#808080]
+                RenderListItem {LI} at (40,0) size 697x40
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (1,0) size 696x39
+                    text run at (1,0) width 696: &quot;The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order&quot;
+                    text run at (654,20) width 43: &quot;to test.&quot;
+                RenderListItem {LI} at (40,40) size 697x40 [bgcolor=#FFFFFF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (24,0) size 648x39
+                    text run at (24,0) width 648: &quot;This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the&quot;
+                    text run at (592,20) width 80: &quot;UL element.&quot;
+              RenderBlock {P} at (4,460) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (72,0) size 747x59
+                  text run at (72,0) width 585: &quot;This element should have no right padding, since negative padding values are not allowed. &quot;
+                  text run at (656,0) width 106: &quot;Both the content&quot;
+                  text run at (15,20) width 416: &quot;background and the normal padding should be aqua (light blue). &quot;
+                  text run at (430,20) width 332: &quot;The text has been right-aligned in order to make the&quot;
+                  text run at (542,40) width 220: &quot;lack of right padding easier to see.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_right_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_right_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 554x42
+          text run at (0,0) width 547: &quot;.one {padding-right: 25px; text-align: right; background-color: aqua;}&quot;
+          text run at (546,0) width 1: &quot; &quot;
+          text run at (0,14) width 554: &quot;.two {padding-right: -10px; text-align: right; background-color: aqua;}&quot;
+          text run at (553,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 197x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (550,0) size 149x19
+            text run at (550,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (698,5) size 24x14
+              text run at (698,5) width 24: &quot;one&quot;
+        RenderText {#text} at (746,0) size 751x39
+          text run at (746,0) width 5: &quot;,&quot;
+          text run at (0,20) width 580: &quot;which should result in 25-pixel right padding (which should also be light blue) only in the &quot;
+        RenderInline {STRONG} at (0,0) size 25x19
+          RenderText {#text} at (579,20) size 25x19
+            text run at (579,20) width 25: &quot;last&quot;
+        RenderText {#text} at (603,20) size 783x39
+          text run at (603,20) width 180: &quot; line in which the inline box&quot;
+          text run at (0,40) width 53: &quot;appears.&quot;
+      RenderBlock {P} at (0,185) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 551x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 156: &quot;However, it contains an &quot;
+        RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+          RenderText {#text} at (550,0) size 149x19
+            text run at (550,0) width 149: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 24x14
+            RenderText {#text} at (698,5) size 24x14
+              text run at (698,5) width 24: &quot;two&quot;
+        RenderText {#text} at (721,0) size 769x39
+          text run at (721,0) width 48: &quot;, which&quot;
+          text run at (0,20) width 559: &quot;should result in no right padding, since negative padding values are not allowed, in the &quot;
+        RenderInline {STRONG} at (0,0) size 25x19
+          RenderText {#text} at (558,20) size 25x19
+            text run at (558,20) width 25: &quot;last&quot;
+        RenderText {#text} at (582,20) size 763x39
+          text run at (582,20) width 181: &quot; line in which the inline box&quot;
+          text run at (0,40) width 53: &quot;appears.&quot;
+      RenderTable {TABLE} at (0,261) size 784x174 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x172
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x144
+            RenderTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 197x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (550,0) size 149x19
+                    text run at (550,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (698,5) size 24x14
+                      text run at (698,5) width 24: &quot;one&quot;
+                RenderText {#text} at (746,0) size 751x39
+                  text run at (746,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 580: &quot;which should result in 25-pixel right padding (which should also be light blue) only in the &quot;
+                RenderInline {STRONG} at (0,0) size 25x19
+                  RenderText {#text} at (579,20) size 25x19
+                    text run at (579,20) width 25: &quot;last&quot;
+                RenderText {#text} at (603,20) size 755x39
+                  text run at (603,20) width 152: &quot; line in which the inline&quot;
+                  text run at (0,40) width 81: &quot;box appears.&quot;
+              RenderBlock {P} at (4,80) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 551x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 156: &quot;However, it contains an &quot;
+                RenderInline {SPAN} at (0,0) size 172x19 [bgcolor=#00FFFF]
+                  RenderText {#text} at (550,0) size 149x19
+                    text run at (550,0) width 149: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 24x14
+                    RenderText {#text} at (698,5) size 24x14
+                      text run at (698,5) width 24: &quot;two&quot;
+                RenderText {#text} at (721,0) size 726x39
+                  text run at (721,0) width 5: &quot;,&quot;
+                  text run at (0,20) width 602: &quot;which should result in no right padding, since negative padding values are not allowed, in the &quot;
+                RenderInline {STRONG} at (0,0) size 25x19
+                  RenderText {#text} at (601,20) size 25x19
+                    text run at (601,20) width 25: &quot;last&quot;
+                RenderText {#text} at (625,20) size 737x39
+                  text run at (625,20) width 112: &quot; line in which the&quot;
+                  text run at (0,40) width 122: &quot;inline box appears.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_topexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,92 @@
</span><ins>+layer at (0,0) size 800x1514
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1514
+  RenderBlock {HTML} at (0,0) size 800x1514
+    RenderBody {BODY} at (8,8) size 784x1498 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 398x84
+          text run at (0,0) width 383: &quot;.zero {background-color: silver; padding-top: 0;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 391: &quot;.one {padding-top: 0.5in; background-color: aqua;}&quot;
+          text run at (390,14) width 1: &quot; &quot;
+          text run at (0,28) width 383: &quot;.two {padding-top: 25px; background-color: aqua;}&quot;
+          text run at (382,28) width 1: &quot; &quot;
+          text run at (0,42) width 391: &quot;.three {padding-top: 5em; background-color: aqua;}&quot;
+          text run at (390,42) width 1: &quot; &quot;
+          text run at (0,56) width 383: &quot;.four {padding-top: 25%; background-color: aqua;}&quot;
+          text run at (382,56) width 1: &quot; &quot;
+          text run at (0,70) width 398: &quot;.five {padding-top: -20px; background-color: aqua;}&quot;
+          text run at (397,70) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20 [bgcolor=#C0C0C0]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+      RenderBlock {P} at (0,187) size 784x88 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,48) size 752x39
+          text run at (0,48) width 647: &quot;This element should have a top padding of half an inch, which will require extra text in order to test. &quot;
+          text run at (646,48) width 106: &quot;Both the content&quot;
+          text run at (0,68) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,291) size 784x65 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,25) size 735x39
+          text run at (0,25) width 629: &quot;This element should have a top padding of 25 pixels, which will require extra text in order to test. &quot;
+          text run at (628,25) width 107: &quot;Both the content&quot;
+          text run at (0,45) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,372) size 784x120 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,80) size 708x39
+          text run at (0,80) width 603: &quot;This element should have a top padding of 5 em, which will require extra text in order to test. &quot;
+          text run at (602,80) width 106: &quot;Both the content&quot;
+          text run at (0,100) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+      RenderBlock {P} at (0,508) size 784x236 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,196) size 778x39
+          text run at (0,196) width 747: &quot;This element should have a top padding of 25%, which is calculated with respect to the width of the parent element. &quot;
+          text run at (746,196) width 32: &quot;Both&quot;
+          text run at (0,216) width 440: &quot;the content background and the padding should be aqua (light blue). &quot;
+          text run at (439,216) width 273: &quot;This will require extra text in order to test.&quot;
+      RenderBlock {P} at (0,760) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 575: &quot;This element should have no top padding, since negative padding values are not allowed. &quot;
+          text run at (574,0) width 186: &quot;Both the content background&quot;
+          text run at (0,20) width 332: &quot;and the normal padding should be aqua (light blue).&quot;
+      RenderTable {TABLE} at (0,816) size 784x682 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x680
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x652
+            RenderTableCell {TD} at (0,340) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x652 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This element has a class of zero.&quot;
+              RenderBlock {P} at (4,40) size 762x88 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,48) size 752x39
+                  text run at (0,48) width 647: &quot;This element should have a top padding of half an inch, which will require extra text in order to test. &quot;
+                  text run at (646,48) width 106: &quot;Both the content&quot;
+                  text run at (0,68) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,144) size 762x65 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,25) size 735x39
+                  text run at (0,25) width 629: &quot;This element should have a top padding of 25 pixels, which will require extra text in order to test. &quot;
+                  text run at (628,25) width 107: &quot;Both the content&quot;
+                  text run at (0,45) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,225) size 762x120 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,80) size 708x39
+                  text run at (0,80) width 603: &quot;This element should have a top padding of 5 em, which will require extra text in order to test. &quot;
+                  text run at (602,80) width 106: &quot;Both the content&quot;
+                  text run at (0,100) width 362: &quot;background and the padding should be aqua (light blue).&quot;
+              RenderBlock {P} at (4,361) size 762x231 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,191) size 747x39
+                  text run at (0,191) width 743: &quot;This element should have a top padding of 25%, which is calculated with respect to the width of the parent element.&quot;
+                  text run at (0,211) width 475: &quot;Both the content background and the padding should be aqua (light blue). &quot;
+                  text run at (475,211) width 272: &quot;This will require extra text in order to test.&quot;
+              RenderBlock {P} at (4,607) size 762x41 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 760x39
+                  text run at (0,0) width 575: &quot;This element should have no top padding, since negative padding values are not allowed. &quot;
+                  text run at (574,0) width 186: &quot;Both the content background&quot;
+                  text run at (0,20) width 332: &quot;and the normal padding should be aqua (light blue).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertiespadding_top_inlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/padding_top_inline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 391x42
+          text run at (0,0) width 383: &quot;.one {padding-top: 25px; background-color: aqua;}&quot;
+          text run at (382,0) width 1: &quot; &quot;
+          text run at (0,14) width 391: &quot;.two {padding-top: -10px; background-color: aqua;}&quot;
+          text run at (390,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x80 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x64 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;one&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 230: &quot;background and a 25px top padding&quot;
+        RenderText {#text} at (229,20) size 784x59
+          text run at (229,20) width 9: &quot;. &quot;
+          text run at (237,20) width 547: &quot;Padding on inline elements does not affect line-height calculations, so all lines in this&quot;
+          text run at (0,40) width 274: &quot;element should have the same line-height. &quot;
+          text run at (273,40) width 500: &quot;There may be implementation-specific limits on how much of the padding the&quot;
+          text run at (0,60) width 181: &quot;user agent is able to display.&quot;
+      RenderBlock {P} at (0,205) size 784x60 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 486x19
+          text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+          text run at (395,0) width 91: &quot;It contains an &quot;
+        RenderInline {SPAN} at (0,0) size 772x39 [bgcolor=#00FFFF]
+          RenderText {#text} at (485,0) size 148x19
+            text run at (485,0) width 148: &quot;inline element of class &quot;
+          RenderInline {TT} at (0,0) size 25x14
+            RenderText {#text} at (632,5) size 25x14
+              text run at (632,5) width 25: &quot;two&quot;
+          RenderText {#text} at (656,0) size 772x39
+            text run at (656,0) width 116: &quot;, giving it an aqua&quot;
+            text run at (0,20) width 505: &quot;background and no top padding, since negative padding values are not allowed&quot;
+        RenderText {#text} at (504,20) size 745x39
+          text run at (504,20) width 9: &quot;. &quot;
+          text run at (512,20) width 233: &quot;Padding on inline elements does not&quot;
+          text run at (0,40) width 584: &quot;affect line-height calculations, so all lines in this element should have the same line-height.&quot;
+      RenderTable {TABLE} at (0,281) size 784x194 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x192
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x164
+            RenderTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x80 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x64 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;one&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 264: &quot;aqua background and a 25px top padding&quot;
+                RenderText {#text} at (263,20) size 748x59
+                  text run at (263,20) width 9: &quot;. &quot;
+                  text run at (271,20) width 469: &quot;Padding on inline elements does not affect line-height calculations, so all&quot;
+                  text run at (0,40) width 352: &quot;lines in this element should have the same line-height. &quot;
+                  text run at (351,40) width 397: &quot;There may be implementation-specific limits on how much of&quot;
+                  text run at (0,60) width 283: &quot;the padding the user agent is able to display.&quot;
+              RenderBlock {P} at (4,100) size 762x60 [bgcolor=#808080]
+                RenderText {#text} at (0,0) size 486x19
+                  text run at (0,0) width 396: &quot;This element is unstyled save for a background color of gray. &quot;
+                  text run at (395,0) width 91: &quot;It contains an &quot;
+                RenderInline {SPAN} at (0,0) size 738x39 [bgcolor=#00FFFF]
+                  RenderText {#text} at (485,0) size 148x19
+                    text run at (485,0) width 148: &quot;inline element of class &quot;
+                  RenderInline {TT} at (0,0) size 25x14
+                    RenderText {#text} at (632,5) size 25x14
+                      text run at (632,5) width 25: &quot;two&quot;
+                  RenderText {#text} at (656,0) size 738x39
+                    text run at (656,0) width 82: &quot;, giving it an&quot;
+                    text run at (0,20) width 539: &quot;aqua background and no top padding, since negative padding values are not allowed&quot;
+                RenderText {#text} at (538,20) size 755x39
+                  text run at (538,20) width 9: &quot;. &quot;
+                  text run at (546,20) width 209: &quot;Padding on inline elements does&quot;
+                  text run at (0,40) width 608: &quot;not affect line-height calculations, so all lines in this element should have the same line-height.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1box_propertieswidthexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/box_properties/width-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/box_properties/width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/box_properties/width-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,86 @@
</span><ins>+layer at (0,0) size 800x1396
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1396
+  RenderBlock {HTML} at (0,0) size 800x1396
+    RenderBody {BODY} at (8,8) size 784x1380 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 149x42
+          text run at (0,0) width 149: &quot;.one {width: 50px;}&quot;
+          text run at (148,0) width 1: &quot; &quot;
+          text run at (0,14) width 141: &quot;.two {width: 50%;}&quot;
+          text run at (140,14) width 1: &quot; &quot;
+          text run at (0,28) width 149: &quot;TABLE {width: 50%;}&quot;
+          text run at (148,28) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,101) size 784x50
+        RenderImage {IMG} at (0,0) size 50x50
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,167) size 784x20
+        RenderText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: &quot;The square above should be fifty pixels wide.&quot;
+      RenderBlock (anonymous) at (0,203) size 784x392
+        RenderImage {IMG} at (0,0) size 392x392
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,611) size 784x20
+        RenderText {#text} at (0,0) size 683x19
+          text run at (0,0) width 683: &quot;The square above should be half as wide as the image's parent element (either the BODY or the table cell).&quot;
+      RenderBlock {P} at (0,647) size 392x100
+        RenderText {#text} at (0,0) size 391x79
+          text run at (0,0) width 391: &quot;This paragraph should be half the width of its parent element&quot;
+          text run at (0,20) width 386: &quot;(either the BODY or the table, which should itself be half as&quot;
+          text run at (0,40) width 189: &quot;wide as the BODY element). &quot;
+          text run at (188,40) width 184: &quot;This is extra text included to&quot;
+          text run at (0,60) width 254: &quot;ensure that this will be a fair test of the &quot;
+        RenderInline {CODE} at (0,0) size 40x14
+          RenderText {#text} at (253,65) size 40x14
+            text run at (253,65) width 40: &quot;width&quot;
+        RenderText {#text} at (292,60) size 379x39
+          text run at (292,60) width 59: &quot; property&quot;
+          text run at (0,80) width 379: &quot;without the need for the user to resize the viewing window.&quot;
+      RenderTable {TABLE} at (0,763) size 392x617 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 390x615
+          RenderTableRow {TR} at (0,0) size 390x28
+            RenderTableCell {TD} at (0,0) size 390x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 390x587
+            RenderTableCell {TD} at (0,307) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 378x587 [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
+              RenderBlock {P} at (4,70) size 370x20
+                RenderText {#text} at (0,0) size 292x19
+                  text run at (0,0) width 292: &quot;The square above should be fifty pixels wide.&quot;
+              RenderBlock (anonymous) at (4,106) size 370x185
+                RenderImage {IMG} at (0,0) size 185x185
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,307) size 370x40
+                RenderText {#text} at (0,0) size 353x39
+                  text run at (0,0) width 353: &quot;The square above should be half as wide as the image's&quot;
+                  text run at (0,20) width 326: &quot;parent element (either the BODY or the table cell).&quot;
+              RenderBlock {P} at (4,363) size 185x220
+                RenderText {#text} at (0,0) size 182x179
+                  text run at (0,0) width 163: &quot;This paragraph should be&quot;
+                  text run at (0,20) width 170: &quot;half the width of its parent&quot;
+                  text run at (0,40) width 170: &quot;element (either the BODY&quot;
+                  text run at (0,60) width 166: &quot;or the table, which should&quot;
+                  text run at (0,80) width 174: &quot;itself be half as wide as the&quot;
+                  text run at (0,100) width 113: &quot;BODY element). &quot;
+                  text run at (112,100) width 44: &quot;This is&quot;
+                  text run at (0,120) width 182: &quot;extra text included to ensure&quot;
+                  text run at (0,140) width 180: &quot;that this will be a fair test of&quot;
+                  text run at (0,160) width 24: &quot;the &quot;
+                RenderInline {CODE} at (0,0) size 40x14
+                  RenderText {#text} at (23,165) size 40x14
+                    text run at (23,165) width 40: &quot;width&quot;
+                RenderText {#text} at (62,160) size 175x59
+                  text run at (62,160) width 112: &quot; property without&quot;
+                  text run at (0,180) width 148: &quot;the need for the user to&quot;
+                  text run at (0,200) width 175: &quot;resize the viewing window.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1cascadecascade_orderexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/cascade/cascade_order-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/cascade/cascade_order-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/cascade/cascade_order-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,142 @@
</span><ins>+layer at (0,0) size 800x827
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x827
+  RenderBlock {HTML} at (0,0) size 800x827
+    RenderBody {BODY} at (8,8) size 784x811 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 562x154
+          text run at (0,0) width 562: &quot;&lt;LINK rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; HREF=\&quot;../resources/linktest.css\&quot;&gt;&quot;
+          text run at (561,0) width 1: &quot; &quot;
+          text run at (0,14) width 149: &quot;LI {color: purple;}&quot;
+          text run at (148,14) width 1: &quot; &quot;
+          text run at (0,28) width 157: &quot;UL LI {color: blue;}&quot;
+          text run at (156,28) width 1: &quot; &quot;
+          text run at (0,42) width 180: &quot;UL LI LI {color: gray;}&quot;
+          text run at (179,42) width 1: &quot; &quot;
+          text run at (0,56) width 172: &quot;LI.red {color: green;}&quot;
+          text run at (171,56) width 1: &quot; &quot;
+          text run at (0,70) width 211: &quot;UL LI.mar {color: #660000;}&quot;
+          text run at (210,70) width 1: &quot; &quot;
+          text run at (0,84) width 196: &quot;UL LI#gre {color: green;}&quot;
+          text run at (195,84) width 1: &quot; &quot;
+          text run at (0,98) width 157: &quot;.test {color: blue;}&quot;
+          text run at (156,98) width 1: &quot; &quot;
+          text run at (0,112) width 172: &quot;.test {color: purple;}&quot;
+          text run at (171,112) width 1: &quot; &quot;
+          text run at (0,126) width 289: &quot;.one {text-decoration: line-through;}&quot;
+          text run at (288,126) width 1: &quot; &quot;
+          text run at (0,140) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {UL} at (0,221) size 784x160
+        RenderListItem {LI} at (40,0) size 744x20 [color=#0000FF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 194x19
+            text run at (0,0) width 194: &quot;This list item should be blue...&quot;
+        RenderListItem {LI} at (40,20) size 744x80 [color=#0000FF]
+          RenderBlock (anonymous) at (0,0) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 295x19
+              text run at (0,0) width 295: &quot;...and so should this; neither should be purple.&quot;
+          RenderBlock {UL} at (0,20) size 744x60
+            RenderListItem {LI} at (40,0) size 704x20 [color=#808080]
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 194x19
+                text run at (0,0) width 194: &quot;This list item should be gray...&quot;
+            RenderListItem {LI} at (40,20) size 704x20 [color=#808080]
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 116x19
+                text run at (0,0) width 116: &quot;...as should this....&quot;
+            RenderListItem {LI} at (40,40) size 704x20 [color=#008000]
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderText {#text} at (0,0) size 196x19
+                text run at (0,0) width 196: &quot;...but this one should be green.&quot;
+        RenderListItem {LI} at (40,100) size 744x20 [color=#660000]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 174x19
+            text run at (0,0) width 174: &quot;This ought to be dark red...&quot;
+        RenderListItem {LI} at (40,120) size 744x20 [color=#008000]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 87x19
+            text run at (0,0) width 87: &quot;...this green...&quot;
+        RenderListItem {LI} at (40,140) size 744x20 [color=#0000FF]
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 98x19
+            text run at (0,0) width 98: &quot;...and this blue.&quot;
+      RenderBlock {P} at (0,397) size 784x20 [color=#0000FF]
+        RenderText {#text} at (0,0) size 282x19
+          text run at (0,0) width 282: &quot;This sentence should be blue (STYLE attr.).&quot;
+      RenderBlock {P} at (0,433) size 784x20 [color=#800080]
+        RenderText {#text} at (0,0) size 208x19
+          text run at (0,0) width 208: &quot;This sentence should be purple [&quot;
+        RenderInline {CODE} at (0,0) size 95x14
+          RenderText {#text} at (207,5) size 95x14
+            text run at (207,5) width 95: &quot;class=\&quot;test\&quot;&quot;
+        RenderText {#text} at (301,0) size 10x19
+          text run at (301,0) width 10: &quot;].&quot;
+      RenderBlock {P} at (0,469) size 784x20
+        RenderText {#text} at (0,0) size 697x19
+          text run at (0,0) width 697: &quot;This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported).&quot;
+      RenderTable {TABLE} at (0,505) size 719x306 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 717x304
+          RenderTableRow {TR} at (0,0) size 717x28
+            RenderTableCell {TD} at (0,0) size 717x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 717x276
+            RenderTableCell {TD} at (0,152) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 705x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {UL} at (4,4) size 697x160
+                RenderListItem {LI} at (40,0) size 657x20 [color=#0000FF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 194x19
+                    text run at (0,0) width 194: &quot;This list item should be blue...&quot;
+                RenderListItem {LI} at (40,20) size 657x80 [color=#0000FF]
+                  RenderBlock (anonymous) at (0,0) size 657x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 295x19
+                      text run at (0,0) width 295: &quot;...and so should this; neither should be purple.&quot;
+                  RenderBlock {UL} at (0,20) size 657x60
+                    RenderListItem {LI} at (40,0) size 617x20 [color=#808080]
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 194x19
+                        text run at (0,0) width 194: &quot;This list item should be gray...&quot;
+                    RenderListItem {LI} at (40,20) size 617x20 [color=#808080]
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 116x19
+                        text run at (0,0) width 116: &quot;...as should this....&quot;
+                    RenderListItem {LI} at (40,40) size 617x20 [color=#008000]
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderText {#text} at (0,0) size 196x19
+                        text run at (0,0) width 196: &quot;...but this one should be green.&quot;
+                RenderListItem {LI} at (40,100) size 657x20 [color=#660000]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 174x19
+                    text run at (0,0) width 174: &quot;This ought to be dark red...&quot;
+                RenderListItem {LI} at (40,120) size 657x20 [color=#008000]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 87x19
+                    text run at (0,0) width 87: &quot;...this green...&quot;
+                RenderListItem {LI} at (40,140) size 657x20 [color=#0000FF]
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 98x19
+                    text run at (0,0) width 98: &quot;...and this blue.&quot;
+              RenderBlock {P} at (4,180) size 697x20 [color=#0000FF]
+                RenderText {#text} at (0,0) size 282x19
+                  text run at (0,0) width 282: &quot;This sentence should be blue (STYLE attr.).&quot;
+              RenderBlock {P} at (4,216) size 697x20 [color=#800080]
+                RenderText {#text} at (0,0) size 208x19
+                  text run at (0,0) width 208: &quot;This sentence should be purple [&quot;
+                RenderInline {CODE} at (0,0) size 95x14
+                  RenderText {#text} at (207,5) size 95x14
+                    text run at (207,5) width 95: &quot;class=\&quot;test\&quot;&quot;
+                RenderText {#text} at (301,0) size 10x19
+                  text run at (301,0) width 10: &quot;].&quot;
+              RenderBlock {P} at (4,252) size 697x20
+                RenderText {#text} at (0,0) size 697x19
+                  text run at (0,0) width 697: &quot;This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1cascadeimportantexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/cascade/important-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/cascade/important-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/cascade/important-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 227x56
+          text run at (0,0) width 227: &quot;P {color: green ! important;}&quot;
+          text run at (226,0) width 1: &quot; &quot;
+          text run at (0,14) width 118: &quot;P {color: red;}&quot;
+          text run at (117,14) width 1: &quot; &quot;
+          text run at (0,28) width 172: &quot;P#id1 {color: purple;}&quot;
+          text run at (171,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x40 [color=#008000]
+        RenderText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: &quot;This sentence should be green, because the declaration marked important should override any other normal declaration for&quot;
+          text run at (0,20) width 366: &quot;the same element, even if it occurs later in the stylesheet.&quot;
+      RenderBlock {P} at (0,179) size 784x40 [color=#008000]
+        RenderText {#text} at (0,0) size 409x19
+          text run at (0,0) width 409: &quot;This sentence should also be green, even though it has an ID of &quot;
+        RenderInline {TT} at (0,0) size 25x14
+          RenderText {#text} at (408,5) size 25x14
+            text run at (408,5) width 25: &quot;id1&quot;
+        RenderText {#text} at (432,0) size 738x39
+          text run at (432,0) width 263: &quot;, which would ordinarily make it purple. &quot;
+          text run at (694,0) width 44: &quot;This is&quot;
+          text run at (0,20) width 714: &quot;because declarations marked important have more weight than normal declarations given in a STYLE attribute.&quot;
+      RenderBlock {P} at (0,235) size 784x40 [color=#008000]
+        RenderText {#text} at (0,0) size 712x39
+          text run at (0,0) width 615: &quot;This sentence should also be green, even though it has a STYLE attribute declaring it to be red. &quot;
+          text run at (614,0) width 98: &quot;This is because&quot;
+          text run at (0,20) width 659: &quot;declarations marked important have more weight than normal declarations given in a STYLE attribute.&quot;
+      RenderTable {TABLE} at (0,291) size 784x190 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x188
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x160
+            RenderTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40 [color=#008000]
+                RenderText {#text} at (0,0) size 761x39
+                  text run at (0,0) width 761: &quot;This sentence should be green, because the declaration marked important should override any other normal declaration&quot;
+                  text run at (0,20) width 388: &quot;for the same element, even if it occurs later in the stylesheet.&quot;
+              RenderBlock {P} at (4,60) size 762x40 [color=#008000]
+                RenderText {#text} at (0,0) size 409x19
+                  text run at (0,0) width 409: &quot;This sentence should also be green, even though it has an ID of &quot;
+                RenderInline {TT} at (0,0) size 25x14
+                  RenderText {#text} at (408,5) size 25x14
+                    text run at (408,5) width 25: &quot;id1&quot;
+                RenderText {#text} at (432,0) size 738x39
+                  text run at (432,0) width 263: &quot;, which would ordinarily make it purple. &quot;
+                  text run at (694,0) width 44: &quot;This is&quot;
+                  text run at (0,20) width 714: &quot;because declarations marked important have more weight than normal declarations given in a STYLE attribute.&quot;
+              RenderBlock {P} at (4,116) size 762x40 [color=#008000]
+                RenderText {#text} at (0,0) size 712x39
+                  text run at (0,0) width 615: &quot;This sentence should also be green, even though it has a STYLE attribute declaring it to be red. &quot;
+                  text run at (614,0) width 98: &quot;This is because&quot;
+                  text run at (0,20) width 659: &quot;declarations marked important have more weight than normal declarations given in a STYLE attribute.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationdisplayexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/display-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/display-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/display-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,131 @@
</span><ins>+layer at (0,0) size 800x863
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x863
+  RenderBlock {HTML} at (0,0) size 800x863
+    RenderBody {BODY} at (8,8) size 784x847 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x70
+        RenderText {#text} at (0,0) size 554x70
+          text run at (0,0) width 172: &quot;.one {display: block;}&quot;
+          text run at (171,0) width 1: &quot; &quot;
+          text run at (0,14) width 180: &quot;.two {display: inline;}&quot;
+          text run at (179,14) width 1: &quot; &quot;
+          text run at (0,28) width 554: &quot;.three {display: list-item; list-style-type: square; margin-left: 3em;}&quot;
+          text run at (553,28) width 1: &quot; &quot;
+          text run at (0,42) width 266: &quot;.four {display: none; color: red;}&quot;
+          text run at (265,42) width 1: &quot; &quot;
+          text run at (0,56) width 149: &quot;I {display: block;}&quot;
+          text run at (148,56) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,119) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,137) size 784x20
+        RenderText {#text} at (0,0) size 300x19
+          text run at (0,0) width 300: &quot;This sentence should be a block-level element.&quot;
+      RenderBlock (anonymous) at (0,173) size 784x60
+        RenderInline {P} at (0,0) size 458x19
+          RenderText {#text} at (0,0) size 458x19
+            text run at (0,0) width 458: &quot;This sentence should be part of an inline element, as are the next three. &quot;
+        RenderInline {P} at (0,0) size 779x59
+          RenderText {#text} at (457,0) size 779x59
+            text run at (457,0) width 280: &quot;This sentence and the next two are part of a&quot;
+            text run at (0,20) width 148: &quot;second inline element. &quot;
+            text run at (147,20) width 632: &quot;They should therefore appear, along with the sentence above, to be all one paragraph which is four&quot;
+            text run at (0,40) width 102: &quot;sentences long. &quot;
+            text run at (101,40) width 256: &quot;If this is not the case, then the keyword &quot;
+          RenderInline {CODE} at (0,0) size 48x14
+            RenderText {#text} at (356,45) size 48x14
+              text run at (356,45) width 48: &quot;inline&quot;
+          RenderText {#text} at (403,40) size 112x19
+            text run at (403,40) width 112: &quot; is being ignored.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderListItem {P} at (48,249) size 736x60
+        RenderListMarker at (-18,0) size 7x19: black square
+        RenderText {#text} at (0,0) size 733x39
+          text run at (0,0) width 733: &quot;This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items&quot;
+          text run at (0,20) width 20: &quot;(if &quot;
+        RenderInline {CODE} at (0,0) size 118x14
+          RenderText {#text} at (19,25) size 118x14
+            text run at (19,25) width 118: &quot;list-style-type&quot;
+        RenderText {#text} at (136,20) size 732x39
+          text run at (136,20) width 368: &quot; is supported, there will be a square for the item marker). &quot;
+          text run at (503,20) width 229: &quot;A 3em left margin has been applied&quot;
+          text run at (0,40) width 387: &quot;in order to ensure that there is space for the list-item marker.&quot;
+      RenderBlock {P} at (0,325) size 784x20
+        RenderText {#text} at (0,0) size 467x19
+          text run at (0,0) width 467: &quot;The next paragraph should be invisible (if it's visible, you'll see red text).&quot;
+      RenderBlock {P} at (0,361) size 784x20
+        RenderText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: &quot;There should be no text after the colon:&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,397) size 784x60
+        RenderBlock (anonymous) at (0,0) size 784x20
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;The italicized text&quot;
+        RenderBlock {I} at (0,20) size 784x20
+          RenderText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: &quot;in this paragraph&quot;
+        RenderBlock (anonymous) at (0,40) size 784x20
+          RenderText {#text} at (0,0) size 208x19
+            text run at (0,0) width 208: &quot;should be a block-level element.&quot;
+      RenderTable {TABLE} at (0,473) size 784x374 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x372
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x344
+            RenderTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x344 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 300x19
+                  text run at (0,0) width 300: &quot;This sentence should be a block-level element.&quot;
+              RenderBlock (anonymous) at (4,40) size 762x60
+                RenderInline {P} at (0,0) size 458x19
+                  RenderText {#text} at (0,0) size 458x19
+                    text run at (0,0) width 458: &quot;This sentence should be part of an inline element, as are the next three. &quot;
+                RenderInline {P} at (0,0) size 748x59
+                  RenderText {#text} at (457,0) size 748x59
+                    text run at (457,0) width 280: &quot;This sentence and the next two are part of a&quot;
+                    text run at (0,20) width 148: &quot;second inline element. &quot;
+                    text run at (147,20) width 601: &quot;They should therefore appear, along with the sentence above, to be all one paragraph which is&quot;
+                    text run at (0,40) width 133: &quot;four sentences long. &quot;
+                    text run at (132,40) width 256: &quot;If this is not the case, then the keyword &quot;
+                  RenderInline {CODE} at (0,0) size 48x14
+                    RenderText {#text} at (387,45) size 48x14
+                      text run at (387,45) width 48: &quot;inline&quot;
+                  RenderText {#text} at (434,40) size 112x19
+                    text run at (434,40) width 112: &quot; is being ignored.&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderListItem {P} at (52,116) size 714x60
+                RenderListMarker at (-18,0) size 7x19: black square
+                RenderText {#text} at (0,0) size 694x39
+                  text run at (0,0) width 694: &quot;This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list&quot;
+                  text run at (0,20) width 58: &quot;items (if &quot;
+                RenderInline {CODE} at (0,0) size 118x14
+                  RenderText {#text} at (57,25) size 118x14
+                    text run at (57,25) width 118: &quot;list-style-type&quot;
+                RenderText {#text} at (174,20) size 685x39
+                  text run at (174,20) width 369: &quot; is supported, there will be a square for the item marker). &quot;
+                  text run at (542,20) width 143: &quot;A 3em left margin has&quot;
+                  text run at (0,40) width 472: &quot;been applied in order to ensure that there is space for the list-item marker.&quot;
+              RenderBlock {P} at (4,192) size 762x20
+                RenderText {#text} at (0,0) size 467x19
+                  text run at (0,0) width 467: &quot;The next paragraph should be invisible (if it's visible, you'll see red text).&quot;
+              RenderBlock {P} at (4,228) size 762x20
+                RenderText {#text} at (0,0) size 252x19
+                  text run at (0,0) width 252: &quot;There should be no text after the colon:&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,264) size 762x60
+                RenderBlock (anonymous) at (0,0) size 762x20
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;The italicized text&quot;
+                RenderBlock {I} at (0,20) size 762x20
+                  RenderText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: &quot;in this paragraph&quot;
+                RenderBlock (anonymous) at (0,40) size 762x20
+                  RenderText {#text} at (0,0) size 208x19
+                    text run at (0,0) width 208: &quot;should be a block-level element.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationlist_styleexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 484x28
+          text run at (0,0) width 297: &quot;.one {list-style: upper-alpha inside;}&quot;
+          text run at (296,0) width 1: &quot; &quot;
+          text run at (0,14) width 484: &quot;.two {list-style: url(../resources/oransqr.gif) disc outside;}&quot;
+          text run at (483,14) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {UL} at (0,95) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderListMarker at (0,0) size 20x19: &quot;A&quot;
+          RenderText {#text} at (19,0) size 694x39
+            text run at (19,0) width 675: &quot;The text in this item should not behave as expected; that is, it should line up with the capital-A on the left&quot;
+            text run at (0,20) width 345: &quot;margin, leaving no blank space beneath the capital-A.&quot;
+      RenderBlock {UL} at (0,151) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderListMarker at (-22,0) size 15x15
+          RenderText {#text} at (0,0) size 727x39
+            text run at (0,0) width 489: &quot;The text in this item have an orange square for its bullet; failing that, a disc. &quot;
+            text run at (488,0) width 239: &quot;Also, the bullet should be outside the&quot;
+            text run at (0,20) width 290: &quot;text block, as the list has been set to 'outside'.&quot;
+      RenderTable {TABLE} at (0,207) size 784x150 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x148
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x120
+            RenderTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x120 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {UL} at (4,4) size 762x40
+                RenderListItem {LI} at (40,0) size 722x40
+                  RenderListMarker at (0,0) size 20x19: &quot;A&quot;
+                  RenderText {#text} at (19,0) size 694x39
+                    text run at (19,0) width 675: &quot;The text in this item should not behave as expected; that is, it should line up with the capital-A on the left&quot;
+                    text run at (0,20) width 345: &quot;margin, leaving no blank space beneath the capital-A.&quot;
+              RenderBlock {UL} at (4,60) size 762x40
+                RenderListItem {LI} at (40,0) size 722x40
+                  RenderListMarker at (-22,0) size 15x15
+                  RenderText {#text} at (0,0) size 703x39
+                    text run at (0,0) width 489: &quot;The text in this item have an orange square for its bullet; failing that, a disc. &quot;
+                    text run at (488,0) width 215: &quot;Also, the bullet should be outside&quot;
+                    text run at (0,20) width 314: &quot;the text block, as the list has been set to 'outside'.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_imageexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_image-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_image-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_image-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,80 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 430x42
+          text run at (0,0) width 430: &quot;.one {list-style-image: url(../resources/oransqr.gif);}&quot;
+          text run at (429,0) width 1: &quot; &quot;
+          text run at (0,14) width 235: &quot;.two {list-style-image: none;}&quot;
+          text run at (234,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {UL} at (0,109) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-22,0) size 15x15
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-22,0) size 15x15
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-22,0) size 15x15
+          RenderText {#text} at (0,0) size 150x19
+            text run at (0,0) width 150: &quot;...images for each item.&quot;
+      RenderBlock {UL} at (0,185) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 238x19
+            text run at (0,0) width 238: &quot;...standard list markers for each item.&quot;
+      RenderTable {TABLE} at (0,261) size 300x190 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 298x188
+          RenderTableRow {TR} at (0,0) size 298x28
+            RenderTableCell {TD} at (0,0) size 298x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 298x160
+            RenderTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 286x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {UL} at (4,4) size 278x60
+                RenderListItem {LI} at (40,0) size 238x20
+                  RenderListMarker at (-22,0) size 15x15
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 238x20
+                  RenderListMarker at (-22,0) size 15x15
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 238x20
+                  RenderListMarker at (-22,0) size 15x15
+                  RenderText {#text} at (0,0) size 150x19
+                    text run at (0,0) width 150: &quot;...images for each item.&quot;
+              RenderBlock {UL} at (4,80) size 278x60
+                RenderListItem {LI} at (40,0) size 238x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 238x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 238x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 238x19
+                    text run at (0,0) width 238: &quot;...standard list markers for each item.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_positionexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_position-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_position-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_position-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 281x42
+          text run at (0,0) width 281: &quot;.one {list-style-position: outside;}&quot;
+          text run at (280,0) width 1: &quot; &quot;
+          text run at (0,14) width 274: &quot;.two {list-style-position: inside;}&quot;
+          text run at (273,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {UL} at (0,109) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 743x39
+            text run at (0,0) width 743: &quot;The text in this item should behave as expected; that is, it should line up with itself on the left margin, leaving blank&quot;
+            text run at (0,20) width 158: &quot;space beneath the bullet.&quot;
+      RenderBlock {UL} at (0,165) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderListMarker at (-1,0) size 7x19: bullet
+          RenderText {#text} at (15,0) size 720x39
+            text run at (15,0) width 705: &quot;The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,&quot;
+            text run at (0,20) width 268: &quot;leaving no blank space beneath the bullet.&quot;
+      RenderTable {TABLE} at (0,221) size 784x150 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x148
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x120
+            RenderTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x120 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {UL} at (4,4) size 762x40
+                RenderListItem {LI} at (40,0) size 722x40
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 704x39
+                    text run at (0,0) width 704: &quot;The text in this item should behave as expected; that is, it should line up with itself on the left margin, leaving&quot;
+                    text run at (0,20) width 197: &quot;blank space beneath the bullet.&quot;
+              RenderBlock {UL} at (4,60) size 762x40
+                RenderListItem {LI} at (40,0) size 722x40
+                  RenderListMarker at (-1,0) size 7x19: bullet
+                  RenderText {#text} at (15,0) size 720x39
+                    text run at (15,0) width 705: &quot;The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,&quot;
+                    text run at (0,20) width 268: &quot;leaving no blank space beneath the bullet.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationlist_style_typeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_type-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_type-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/list_style_type-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,270 @@
</span><ins>+layer at (0,0) size 800x1629
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1629
+  RenderBlock {HTML} at (0,0) size 800x1629
+    RenderBody {BODY} at (8,8) size 784x1613 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x140
+        RenderText {#text} at (0,0) size 297x140
+          text run at (0,0) width 227: &quot;.one {list-style-type: disc;}&quot;
+          text run at (226,0) width 1: &quot; &quot;
+          text run at (0,14) width 242: &quot;.two {list-style-type: circle;}&quot;
+          text run at (241,14) width 1: &quot; &quot;
+          text run at (0,28) width 258: &quot;.three {list-style-type: square;}&quot;
+          text run at (257,28) width 1: &quot; &quot;
+          text run at (0,42) width 289: &quot;.four {list-style-type: lower-roman;}&quot;
+          text run at (288,42) width 1: &quot; &quot;
+          text run at (0,56) width 289: &quot;.five {list-style-type: upper-roman;}&quot;
+          text run at (288,56) width 1: &quot; &quot;
+          text run at (0,70) width 281: &quot;.six {list-style-type: lower-alpha;}&quot;
+          text run at (280,70) width 1: &quot; &quot;
+          text run at (0,84) width 297: &quot;.seven {list-style-type: upper-alpha;}&quot;
+          text run at (296,84) width 1: &quot; &quot;
+          text run at (0,98) width 266: &quot;.eight {list-style-type: decimal;}&quot;
+          text run at (265,98) width 1: &quot; &quot;
+          text run at (0,112) width 235: &quot;.nine {list-style-type: none;}&quot;
+          text run at (234,112) width 1: &quot; &quot;
+          text run at (0,126) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,189) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {UL} at (0,207) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 137x19
+            text run at (0,0) width 137: &quot;...discs for each item.&quot;
+      RenderBlock {UL} at (0,283) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: white bullet
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: white bullet
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-18,0) size 7x19: white bullet
+          RenderText {#text} at (0,0) size 147x19
+            text run at (0,0) width 147: &quot;...circles for each item.&quot;
+      RenderBlock {UL} at (0,359) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 7x19: black square
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-18,0) size 7x19: black square
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-18,0) size 7x19: black square
+          RenderText {#text} at (0,0) size 153x19
+            text run at (0,0) width 153: &quot;...squares for each item.&quot;
+      RenderBlock {OL} at (0,435) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-18,0) size 13x19: &quot;i&quot;
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-22,0) size 17x19: &quot;ii&quot;
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-27,0) size 22x19: &quot;iii&quot;
+          RenderText {#text} at (0,0) size 282x19
+            text run at (0,0) width 282: &quot;...lowercase Roman numerals for each item.&quot;
+      RenderBlock {OL} at (0,511) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-19,0) size 14x19: &quot;I&quot;
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-24,0) size 19x19: &quot;II&quot;
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-29,0) size 24x19: &quot;III&quot;
+          RenderText {#text} at (0,0) size 282x19
+            text run at (0,0) width 282: &quot;...uppercase Roman numerals for each item.&quot;
+      RenderBlock {OL} at (0,587) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;a&quot;
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;b&quot;
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;c&quot;
+          RenderText {#text} at (0,0) size 212x19
+            text run at (0,0) width 212: &quot;...lowercase letters for each item.&quot;
+      RenderBlock {OL} at (0,663) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-25,0) size 20x19: &quot;A&quot;
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-24,0) size 19x19: &quot;B&quot;
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-24,0) size 19x19: &quot;C&quot;
+          RenderText {#text} at (0,0) size 212x19
+            text run at (0,0) width 212: &quot;...uppercase letters for each item.&quot;
+      RenderBlock {OL} at (0,739) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-25,0) size 20x19: &quot;A&quot;
+          RenderText {#text} at (0,0) size 160x19
+            text run at (0,0) width 160: &quot;This list should feature...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderListMarker at (-24,0) size 19x19: &quot;B&quot;
+          RenderText {#text} at (0,0) size 152x19
+            text run at (0,0) width 152: &quot;...letters for each item...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;3&quot;
+          RenderText {#text} at (0,0) size 112x19
+            text run at (0,0) width 112: &quot;...except this one.&quot;
+      RenderBlock {UL} at (0,815) size 784x60
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderText {#text} at (0,0) size 65x19
+            text run at (0,0) width 65: &quot;This list...&quot;
+        RenderListItem {LI} at (40,20) size 744x20
+          RenderText {#text} at (0,0) size 116x19
+            text run at (0,0) width 116: &quot;...should feature...&quot;
+        RenderListItem {LI} at (40,40) size 744x20
+          RenderText {#text} at (0,0) size 154x19
+            text run at (0,0) width 154: &quot;...nothing for each item.&quot;
+      RenderTable {TABLE} at (0,891) size 344x722 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 342x720
+          RenderTableRow {TR} at (0,0) size 342x28
+            RenderTableCell {TD} at (0,0) size 342x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 342x692
+            RenderTableCell {TD} at (0,360) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 330x692 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {UL} at (4,4) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 137x19
+                    text run at (0,0) width 137: &quot;...discs for each item.&quot;
+              RenderBlock {UL} at (4,80) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: white bullet
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: white bullet
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: white bullet
+                  RenderText {#text} at (0,0) size 147x19
+                    text run at (0,0) width 147: &quot;...circles for each item.&quot;
+              RenderBlock {UL} at (4,156) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: black square
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: black square
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-18,0) size 7x19: black square
+                  RenderText {#text} at (0,0) size 153x19
+                    text run at (0,0) width 153: &quot;...squares for each item.&quot;
+              RenderBlock {OL} at (4,232) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-18,0) size 13x19: &quot;i&quot;
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-22,0) size 17x19: &quot;ii&quot;
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-27,0) size 22x19: &quot;iii&quot;
+                  RenderText {#text} at (0,0) size 282x19
+                    text run at (0,0) width 282: &quot;...lowercase Roman numerals for each item.&quot;
+              RenderBlock {OL} at (4,308) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-19,0) size 14x19: &quot;I&quot;
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-24,0) size 19x19: &quot;II&quot;
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-29,0) size 24x19: &quot;III&quot;
+                  RenderText {#text} at (0,0) size 282x19
+                    text run at (0,0) width 282: &quot;...uppercase Roman numerals for each item.&quot;
+              RenderBlock {OL} at (4,384) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;a&quot;
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;b&quot;
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;c&quot;
+                  RenderText {#text} at (0,0) size 212x19
+                    text run at (0,0) width 212: &quot;...lowercase letters for each item.&quot;
+              RenderBlock {OL} at (4,460) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-25,0) size 20x19: &quot;A&quot;
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-24,0) size 19x19: &quot;B&quot;
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-24,0) size 19x19: &quot;C&quot;
+                  RenderText {#text} at (0,0) size 212x19
+                    text run at (0,0) width 212: &quot;...uppercase letters for each item.&quot;
+              RenderBlock {OL} at (4,536) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderListMarker at (-25,0) size 20x19: &quot;A&quot;
+                  RenderText {#text} at (0,0) size 160x19
+                    text run at (0,0) width 160: &quot;This list should feature...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderListMarker at (-24,0) size 19x19: &quot;B&quot;
+                  RenderText {#text} at (0,0) size 152x19
+                    text run at (0,0) width 152: &quot;...letters for each item...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;3&quot;
+                  RenderText {#text} at (0,0) size 112x19
+                    text run at (0,0) width 112: &quot;...except this one.&quot;
+              RenderBlock {UL} at (4,612) size 322x60
+                RenderListItem {LI} at (40,0) size 282x20
+                  RenderText {#text} at (0,0) size 65x19
+                    text run at (0,0) width 65: &quot;This list...&quot;
+                RenderListItem {LI} at (40,20) size 282x20
+                  RenderText {#text} at (0,0) size 116x19
+                    text run at (0,0) width 116: &quot;...should feature...&quot;
+                RenderListItem {LI} at (40,40) size 282x20
+                  RenderText {#text} at (0,0) size 154x19
+                    text run at (0,0) width 154: &quot;...nothing for each item.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1classificationwhite_spaceexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/classification/white_space-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/classification/white_space-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/classification/white_space-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,80 @@
</span><ins>+layer at (0,0) size 936x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 227x56
+          text run at (0,0) width 188: &quot;.one {white-space: pre;}&quot;
+          text run at (187,0) width 1: &quot; &quot;
+          text run at (0,14) width 211: &quot;.two {white-space: nowrap;}&quot;
+          text run at (210,14) width 1: &quot; &quot;
+          text run at (0,28) width 227: &quot;.three {white-space: normal;}&quot;
+          text run at (226,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x100
+        RenderText {#text} at (0,0) size 576x99
+          text run at (0,0) width 0: &quot; &quot;
+          text run at (0,20) width 576: &quot;This sentence should     show extra space  where there    would ordinarily         not be any.&quot;
+          text run at (575,20) width 1: &quot; &quot;
+          text run at (0,40) width 302: &quot;     There should also be preservation of returns&quot;
+          text run at (301,40) width 1: &quot; &quot;
+          text run at (0,60) width 100: &quot;as this sentence&quot;
+          text run at (99,60) width 1: &quot; &quot;
+          text run at (0,80) width 189: &quot;     very clearly demonstrates.&quot;
+          text run at (188,80) width 1: &quot; &quot;
+      RenderBlock {P} at (0,239) size 784x20
+        RenderText {#text} at (0,0) size 906x19
+          text run at (0,0) width 906: &quot;This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.&quot;
+      RenderBlock {P} at (0,275) size 784x40
+        RenderText {#text} at (0,0) size 300x39
+          text run at (0,0) width 0: &quot; &quot;
+          text run at (0,20) width 300: &quot;This sentence      should     show extra   space, &quot;
+        RenderInline {SPAN} at (0,0) size 160x19
+          RenderText {#text} at (299,20) size 160x19
+            text run at (299,20) width 87: &quot;except in the &quot;
+            text run at (385,20) width 74: &quot;second half&quot;
+        RenderText {#text} at (458,20) size 5x19
+          text run at (458,20) width 5: &quot;.&quot;
+          text run at (462,20) width 1: &quot; &quot;
+      RenderTable {TABLE} at (0,331) size 928x230 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 926x228
+          RenderTableRow {TR} at (0,0) size 926x28
+            RenderTableCell {TD} at (0,0) size 926x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 926x200
+            RenderTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 914x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 906x100
+                RenderText {#text} at (0,0) size 576x99
+                  text run at (0,0) width 0: &quot; &quot;
+                  text run at (0,20) width 576: &quot;This sentence should     show extra space  where there    would ordinarily         not be any.&quot;
+                  text run at (575,20) width 1: &quot; &quot;
+                  text run at (0,40) width 302: &quot;     There should also be preservation of returns&quot;
+                  text run at (301,40) width 1: &quot; &quot;
+                  text run at (0,60) width 100: &quot;as this sentence&quot;
+                  text run at (99,60) width 1: &quot; &quot;
+                  text run at (0,80) width 189: &quot;     very clearly demonstrates.&quot;
+                  text run at (188,80) width 1: &quot; &quot;
+              RenderBlock {P} at (4,120) size 906x20
+                RenderText {#text} at (0,0) size 906x19
+                  text run at (0,0) width 906: &quot;This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.&quot;
+              RenderBlock {P} at (4,156) size 906x40
+                RenderText {#text} at (0,0) size 300x39
+                  text run at (0,0) width 0: &quot; &quot;
+                  text run at (0,20) width 300: &quot;This sentence      should     show extra   space, &quot;
+                RenderInline {SPAN} at (0,0) size 160x19
+                  RenderText {#text} at (299,20) size 160x19
+                    text run at (299,20) width 87: &quot;except in the &quot;
+                    text run at (385,20) width 74: &quot;second half&quot;
+                RenderText {#text} at (458,20) size 5x19
+                  text run at (458,20) width 5: &quot;.&quot;
+                  text run at (462,20) width 1: &quot; &quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackgroundexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,90 @@
</span><ins>+layer at (0,0) size 800x769
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x769
+  RenderBlock {HTML} at (0,0) size 800x769
+    RenderBody {BODY} at (8,8) size 784x753 [bgcolor=#008000]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 632x56
+          text run at (0,0) width 632: &quot;BODY {background: green url(../resources/oransqr.gif) repeat-x center top fixed;}&quot;
+          text run at (631,0) width 1: &quot; &quot;
+          text run at (0,14) width 554: &quot;.one {background: lime url(../resources/oransqr.gif) repeat-y 100% 0%;}&quot;
+          text run at (553,14) width 1: &quot; &quot;
+          text run at (0,28) width 578: &quot;.two {background: lime url(../resources/oransqr.gif) repeat-y center top;}&quot;
+          text run at (577,28) width 1: &quot; &quot;
+          text run at (0,42) width 578: &quot;.three {background: lime url(../resources/oransqr.gif) repeat-x left top;}&quot;
+          text run at (577,42) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x60
+        RenderText {#text} at (0,0) size 741x19
+          text run at (0,0) width 741: &quot;This document should have a green background with an orange strip running across the entire top of the page, since&quot;
+        RenderInline {CODE} at (0,0) size 63x14
+          RenderText {#text} at (0,25) size 63x14
+            text run at (0,25) width 63: &quot;repeat-x&quot;
+        RenderText {#text} at (62,20) size 769x39
+          text run at (62,20) width 308: &quot; indicates tiling in both directions of the x-axis. &quot;
+          text run at (369,20) width 305: &quot;Furthermore, the strip should be fixed in place. &quot;
+          text run at (673,20) width 96: &quot;I'll have to add&quot;
+          text run at (0,40) width 502: &quot;extra text at the end of this page to make it long enough to scroll conveniently.&quot;
+      RenderBlock {P} at (0,199) size 784x60 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 777x59
+          text run at (0,0) width 758: &quot;This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom.&quot;
+          text run at (0,20) width 777: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling&quot;
+          text run at (0,40) width 123: &quot;these declarations. &quot;
+          text run at (122,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
+      RenderBlock {P} at (0,275) size 784x60 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 777x59
+          text run at (0,0) width 767: &quot;This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom.&quot;
+          text run at (0,20) width 777: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling&quot;
+          text run at (0,40) width 123: &quot;these declarations. &quot;
+          text run at (122,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
+      RenderBlock {P} at (0,351) size 784x60 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 777x59
+          text run at (0,0) width 758: &quot;This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right.&quot;
+          text run at (0,20) width 777: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling&quot;
+          text run at (0,40) width 123: &quot;these declarations. &quot;
+          text run at (122,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
+      RenderTable {TABLE} at (0,427) size 784x326 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x324
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x296
+            RenderTableCell {TD} at (0,162) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x296 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderText {#text} at (0,0) size 741x19
+                  text run at (0,0) width 741: &quot;This document should have a green background with an orange strip running across the entire top of the page, since&quot;
+                RenderInline {CODE} at (0,0) size 63x14
+                  RenderText {#text} at (0,25) size 63x14
+                    text run at (0,25) width 63: &quot;repeat-x&quot;
+                RenderText {#text} at (62,20) size 742x39
+                  text run at (62,20) width 308: &quot; indicates tiling in both directions of the x-axis. &quot;
+                  text run at (369,20) width 305: &quot;Furthermore, the strip should be fixed in place. &quot;
+                  text run at (673,20) width 69: &quot;I'll have to&quot;
+                  text run at (0,40) width 530: &quot;add extra text at the end of this page to make it long enough to scroll conveniently.&quot;
+              RenderBlock {P} at (4,80) size 762x60 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 758x59
+                  text run at (0,0) width 758: &quot;This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom.&quot;
+                  text run at (0,20) width 717: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in&quot;
+                  text run at (0,40) width 183: &quot;handling these declarations. &quot;
+                  text run at (182,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
+              RenderBlock {P} at (4,156) size 762x60 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 754x59
+                  text run at (0,0) width 713: &quot;This paragraph should have a lime background and an orange strip which starts at the center top and runs to the&quot;
+                  text run at (0,20) width 54: &quot;bottom. &quot;
+                  text run at (53,20) width 701: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser&quot;
+                  text run at (0,40) width 199: &quot;in handling these declarations. &quot;
+                  text run at (198,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
+              RenderBlock {P} at (4,232) size 762x60 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 758x59
+                  text run at (0,0) width 758: &quot;This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right.&quot;
+                  text run at (0,20) width 717: &quot;Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in&quot;
+                  text run at (0,40) width 183: &quot;handling these declarations. &quot;
+                  text run at (182,40) width 311: &quot;Hey, I didn't say the page would be pretty, did I?&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_attachmentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_attachment-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,180 @@
</span><ins>+layer at (0,0) size 858x1255
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1255
+  RenderBlock {HTML} at (0,0) size 800x1255
+    RenderBody {BODY} at (8,8) size 784x1239 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 851x28
+          text run at (0,0) width 851: &quot;BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}&quot;
+          text run at (850,0) width 1: &quot; &quot;
+          text run at (0,14) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x100
+        RenderText {#text} at (0,0) size 778x99
+          text run at (0,0) width 778: &quot;This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does&quot;
+          text run at (0,20) width 204: &quot;NOT scroll with the document. &quot;
+          text run at (203,20) width 563: &quot;It should, instead, appear to be a fixed pattern past which the content scrolls, even when&quot;
+          text run at (0,40) width 199: &quot;the end of the page is reached. &quot;
+          text run at (198,40) width 573: &quot;In addition, the default Test Suite background should NOT appear, as it's been overridden&quot;
+          text run at (0,60) width 176: &quot;by the styles shown above. &quot;
+          text run at (175,60) width 560: &quot;I'll have to add a lot of extra text to the page in order to make all this something we can&quot;
+          text run at (0,80) width 100: &quot;actually check. &quot;
+          text run at (99,80) width 231: &quot;Don't worry, I'll think of something.&quot;
+      RenderBlock {P} at (0,211) size 784x20
+        RenderText {#text} at (0,0) size 518x19
+          text run at (0,0) width 426: &quot;In fact, why not the relevant section from the CSS1 specification? &quot;
+          text run at (425,0) width 93: &quot;A capital idea.&quot;
+      RenderBlock {HR} at (0,247) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {HR} at (0,257) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {H4} at (0,280) size 784x21
+        RenderInline {A} at (0,0) size 222x19
+          RenderText {#text} at (0,0) size 222x19
+            text run at (0,0) width 222: &quot;5.3.5    'background-attachment'&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,321) size 784x101
+        RenderInline {EM} at (0,0) size 41x19
+          RenderText {#text} at (0,0) size 41x19
+            text run at (0,0) width 41: &quot;Value:&quot;
+        RenderText {#text} at (40,0) size 85x19
+          text run at (40,0) width 85: &quot; scroll | fixed&quot;
+        RenderBR {BR} at (124,15) size 1x0
+        RenderInline {EM} at (0,0) size 45x19
+          RenderText {#text} at (0,20) size 45x19
+            text run at (0,20) width 45: &quot;Initial:&quot;
+        RenderText {#text} at (44,20) size 40x19
+          text run at (44,20) width 40: &quot; scroll&quot;
+        RenderBR {BR} at (83,35) size 1x0
+        RenderInline {EM} at (0,0) size 70x19
+          RenderText {#text} at (0,40) size 70x19
+            text run at (0,40) width 70: &quot;Applies to:&quot;
+        RenderText {#text} at (69,40) size 82x19
+          text run at (69,40) width 82: &quot; all elements&quot;
+        RenderBR {BR} at (150,55) size 1x0
+        RenderInline {EM} at (0,0) size 64x19
+          RenderText {#text} at (0,60) size 64x19
+            text run at (0,60) width 64: &quot;Inherited:&quot;
+        RenderText {#text} at (63,60) size 21x19
+          text run at (63,60) width 21: &quot; no&quot;
+        RenderBR {BR} at (83,75) size 1x0
+        RenderInline {EM} at (0,0) size 123x19
+          RenderText {#text} at (0,80) size 123x19
+            text run at (0,80) width 123: &quot;Percentage values:&quot;
+        RenderText {#text} at (122,80) size 33x19
+          text run at (122,80) width 33: &quot; N/A&quot;
+        RenderBR {BR} at (154,95) size 1x0
+      RenderBlock {P} at (0,437) size 784x41
+        RenderText {#text} at (0,0) size 783x39
+          text run at (0,0) width 783: &quot;If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas&quot;
+          text run at (0,20) width 237: &quot;or if it scrolls along with the content.&quot;
+      RenderBlock {PRE} at (0,493) size 784x71
+        RenderText {#text} at (0,0) size 289x70
+          text run at (0,0) width 71: &quot;  BODY { &quot;
+          text run at (70,0) width 1: &quot; &quot;
+          text run at (0,14) width 289: &quot;    background: red url(pendant.gif);&quot;
+          text run at (288,14) width 1: &quot; &quot;
+          text run at (0,28) width 250: &quot;    background-repeat: repeat-y;&quot;
+          text run at (249,28) width 1: &quot; &quot;
+          text run at (0,42) width 258: &quot;    background-attachment: fixed;&quot;
+          text run at (257,42) width 1: &quot; &quot;
+          text run at (0,56) width 24: &quot;  }&quot;
+          text run at (23,56) width 1: &quot; &quot;
+      RenderBlock {P} at (0,579) size 784x61
+        RenderInline {EM} at (0,0) size 72x19
+          RenderText {#text} at (0,0) size 72x19
+            text run at (0,0) width 72: &quot;CSS1 core:&quot;
+        RenderText {#text} at (71,0) size 777x59
+          text run at (71,0) width 685: &quot; UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the&quot;
+          text run at (0,20) width 777: &quot;HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support&quot;
+          text run at (0,40) width 43: &quot;'fixed'.&quot;
+      RenderTable {TABLE} at (0,655) size 784x584 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x581
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x553
+            RenderTableCell {TD} at (0,290) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x553 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x100
+                RenderText {#text} at (0,0) size 761x99
+                  text run at (0,0) width 745: &quot;This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which&quot;
+                  text run at (0,20) width 237: &quot;does NOT scroll with the document. &quot;
+                  text run at (236,20) width 525: &quot;It should, instead, appear to be a fixed pattern past which the content scrolls, even&quot;
+                  text run at (0,40) width 237: &quot;when the end of the page is reached. &quot;
+                  text run at (236,40) width 501: &quot;In addition, the default Test Suite background should NOT appear, as it's been&quot;
+                  text run at (0,60) width 250: &quot;overridden by the styles shown above. &quot;
+                  text run at (249,60) width 510: &quot;I'll have to add a lot of extra text to the page in order to make all this something&quot;
+                  text run at (0,80) width 149: &quot;we can actually check. &quot;
+                  text run at (148,80) width 231: &quot;Don't worry, I'll think of something.&quot;
+              RenderBlock {P} at (4,120) size 762x20
+                RenderText {#text} at (0,0) size 518x19
+                  text run at (0,0) width 426: &quot;In fact, why not the relevant section from the CSS1 specification? &quot;
+                  text run at (425,0) width 93: &quot;A capital idea.&quot;
+              RenderBlock {HR} at (4,156) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {HR} at (4,166) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {H4} at (4,189) size 762x21
+                RenderInline {A} at (0,0) size 222x19
+                  RenderText {#text} at (0,0) size 222x19
+                    text run at (0,0) width 222: &quot;5.3.5    'background-attachment'&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,230) size 762x101
+                RenderInline {EM} at (0,0) size 41x19
+                  RenderText {#text} at (0,0) size 41x19
+                    text run at (0,0) width 41: &quot;Value:&quot;
+                RenderText {#text} at (40,0) size 85x19
+                  text run at (40,0) width 85: &quot; scroll | fixed&quot;
+                RenderBR {BR} at (124,15) size 1x0
+                RenderInline {EM} at (0,0) size 45x19
+                  RenderText {#text} at (0,20) size 45x19
+                    text run at (0,20) width 45: &quot;Initial:&quot;
+                RenderText {#text} at (44,20) size 40x19
+                  text run at (44,20) width 40: &quot; scroll&quot;
+                RenderBR {BR} at (83,35) size 1x0
+                RenderInline {EM} at (0,0) size 70x19
+                  RenderText {#text} at (0,40) size 70x19
+                    text run at (0,40) width 70: &quot;Applies to:&quot;
+                RenderText {#text} at (69,40) size 82x19
+                  text run at (69,40) width 82: &quot; all elements&quot;
+                RenderBR {BR} at (150,55) size 1x0
+                RenderInline {EM} at (0,0) size 64x19
+                  RenderText {#text} at (0,60) size 64x19
+                    text run at (0,60) width 64: &quot;Inherited:&quot;
+                RenderText {#text} at (63,60) size 21x19
+                  text run at (63,60) width 21: &quot; no&quot;
+                RenderBR {BR} at (83,75) size 1x0
+                RenderInline {EM} at (0,0) size 123x19
+                  RenderText {#text} at (0,80) size 123x19
+                    text run at (0,80) width 123: &quot;Percentage values:&quot;
+                RenderText {#text} at (122,80) size 33x19
+                  text run at (122,80) width 33: &quot; N/A&quot;
+                RenderBR {BR} at (154,95) size 1x0
+              RenderBlock {P} at (4,346) size 762x41
+                RenderText {#text} at (0,0) size 735x39
+                  text run at (0,0) width 735: &quot;If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the&quot;
+                  text run at (0,20) width 284: &quot;canvas or if it scrolls along with the content.&quot;
+              RenderBlock {PRE} at (4,402) size 762x71
+                RenderText {#text} at (0,0) size 289x70
+                  text run at (0,0) width 71: &quot;  BODY { &quot;
+                  text run at (70,0) width 1: &quot; &quot;
+                  text run at (0,14) width 289: &quot;    background: red url(pendant.gif);&quot;
+                  text run at (288,14) width 1: &quot; &quot;
+                  text run at (0,28) width 250: &quot;    background-repeat: repeat-y;&quot;
+                  text run at (249,28) width 1: &quot; &quot;
+                  text run at (0,42) width 258: &quot;    background-attachment: fixed;&quot;
+                  text run at (257,42) width 1: &quot; &quot;
+                  text run at (0,56) width 24: &quot;  }&quot;
+                  text run at (23,56) width 1: &quot; &quot;
+              RenderBlock {P} at (4,488) size 762x61
+                RenderInline {EM} at (0,0) size 72x19
+                  RenderText {#text} at (0,0) size 72x19
+                    text run at (0,0) width 72: &quot;CSS1 core:&quot;
+                RenderText {#text} at (71,0) size 756x59
+                  text run at (71,0) width 685: &quot; UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the&quot;
+                  text run at (0,20) width 725: &quot;HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that&quot;
+                  text run at (0,40) width 95: &quot;support 'fixed'.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_colorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_color-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_color-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_color-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,83 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20 [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 289x56
+          text run at (0,0) width 219: &quot;P {background-color: green;}&quot;
+          text run at (218,0) width 1: &quot; &quot;
+          text run at (0,14) width 235: &quot;.one {background-color: lime;}&quot;
+          text run at (234,14) width 1: &quot; &quot;
+          text run at (0,28) width 289: &quot;.two {background-color: transparent;}&quot;
+          text run at (288,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x20 [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 282x19
+          text run at (0,0) width 282: &quot;This element's background should be green.&quot;
+      RenderBlock {P} at (0,159) size 784x20 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 358x19
+          text run at (0,0) width 358: &quot;This element's background should be lime (light green).&quot;
+      RenderBlock {P} at (0,195) size 784x60 [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 663x19
+          text run at (0,0) width 663: &quot;This element's background should be green, and the last word in this sentence should also have a green &quot;
+        RenderInline {SPAN} at (0,0) size 77x19
+          RenderText {#text} at (662,0) size 77x19
+            text run at (662,0) width 77: &quot;background&quot;
+        RenderText {#text} at (738,0) size 775x59
+          text run at (738,0) width 9: &quot;. &quot;
+          text run at (746,0) width 29: &quot;This&quot;
+          text run at (0,20) width 726: &quot;is because the background color of the parent element (the paragraph) should \&quot;shine through\&quot; the SPANned word&quot;
+          text run at (0,40) width 187: &quot;\&quot;sentence,\&quot; which was set to &quot;
+        RenderInline {CODE} at (0,0) size 87x14
+          RenderText {#text} at (186,45) size 87x14
+            text run at (186,45) width 87: &quot;transparent&quot;
+        RenderText {#text} at (272,40) size 403x19
+          text run at (272,40) width 9: &quot;. &quot;
+          text run at (280,40) width 395: &quot;If the document background is visible, the browser is in error.&quot;
+      RenderBlock {P} at (0,271) size 784x20
+        RenderText {#text} at (0,0) size 754x19
+          text run at (0,0) width 469: &quot;This element should allow the document background to \&quot;shine through.\&quot; &quot;
+          text run at (468,0) width 286: &quot;There should be no green backgrounds here!&quot;
+      RenderTable {TABLE} at (0,307) size 784x206 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x204
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x176
+            RenderTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x176 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#008000]
+                RenderText {#text} at (0,0) size 282x19
+                  text run at (0,0) width 282: &quot;This element's background should be green.&quot;
+              RenderBlock {P} at (4,40) size 762x20 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 358x19
+                  text run at (0,0) width 358: &quot;This element's background should be lime (light green).&quot;
+              RenderBlock {P} at (4,76) size 762x60 [bgcolor=#008000]
+                RenderText {#text} at (0,0) size 663x19
+                  text run at (0,0) width 663: &quot;This element's background should be green, and the last word in this sentence should also have a green &quot;
+                RenderInline {SPAN} at (0,0) size 77x19
+                  RenderText {#text} at (662,0) size 77x19
+                    text run at (662,0) width 77: &quot;background&quot;
+                RenderText {#text} at (738,0) size 758x59
+                  text run at (738,0) width 5: &quot;.&quot;
+                  text run at (0,20) width 758: &quot;This is because the background color of the parent element (the paragraph) should \&quot;shine through\&quot; the SPANned word&quot;
+                  text run at (0,40) width 187: &quot;\&quot;sentence,\&quot; which was set to &quot;
+                RenderInline {CODE} at (0,0) size 87x14
+                  RenderText {#text} at (186,45) size 87x14
+                    text run at (186,45) width 87: &quot;transparent&quot;
+                RenderText {#text} at (272,40) size 403x19
+                  text run at (272,40) width 9: &quot;. &quot;
+                  text run at (280,40) width 395: &quot;If the document background is visible, the browser is in error.&quot;
+              RenderBlock {P} at (4,152) size 762x20
+                RenderText {#text} at (0,0) size 754x19
+                  text run at (0,0) width 469: &quot;This element should allow the document background to \&quot;shine through.\&quot; &quot;
+                  text run at (468,0) width 286: &quot;There should be no green backgrounds here!&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_imageexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_image-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_image-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_image-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,94 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 367x42
+          text run at (0,0) width 367: &quot;P {background-image: url(../resources/bg.gif);}&quot;
+          text run at (366,0) width 1: &quot; &quot;
+          text run at (0,14) width 235: &quot;.one {background-image: none;}&quot;
+          text run at (234,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x40
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 512: &quot;This sentence should be backed by an image-- a green grid pattern, in this case. &quot;
+          text run at (511,0) width 249: &quot;The background image should also tile&quot;
+          text run at (0,20) width 680: &quot;along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).&quot;
+      RenderBlock {P} at (0,165) size 784x80
+        RenderText {#text} at (0,0) size 607x19
+          text run at (0,0) width 607: &quot;This sentence should be backed by a repeated green-grid image, as should the last three words &quot;
+        RenderInline {STRONG} at (0,0) size 105x19
+          RenderInline {SPAN} at (0,0) size 105x19
+            RenderText {#text} at (606,0) size 105x19
+              text run at (606,0) width 105: &quot;in this sentence&quot;
+        RenderText {#text} at (710,0) size 757x39
+          text run at (710,0) width 9: &quot;. &quot;
+          text run at (718,0) width 39: &quot;If it is&quot;
+          text run at (0,20) width 60: &quot;not, then &quot;
+        RenderInline {CODE} at (0,0) size 33x14
+          RenderText {#text} at (59,25) size 33x14
+            text run at (59,25) width 33: &quot;none&quot;
+        RenderText {#text} at (91,20) size 174x19
+          text run at (91,20) width 169: &quot; is interpreted incorrectly. &quot;
+          text run at (259,20) width 6: &quot;(&quot;
+        RenderInline {CODE} at (0,0) size 32x14
+          RenderText {#text} at (264,25) size 32x14
+            text run at (264,25) width 32: &quot;none&quot;
+        RenderText {#text} at (295,20) size 763x59
+          text run at (295,20) width 468: &quot; means that the element has no background image, allowing the parent to&quot;
+          text run at (0,40) width 763: &quot;\&quot;shine through\&quot; by default; since the parent of the words \&quot;in this sentence\&quot; is the paragraph, then the paragraph's image&quot;
+          text run at (0,60) width 118: &quot;should be visible.)&quot;
+      RenderBlock {P} at (0,261) size 784x40
+        RenderText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: &quot;This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \&quot;shine through\&quot;&quot;
+          text run at (0,20) width 50: &quot;instead.&quot;
+      RenderTable {TABLE} at (0,317) size 784x230 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x228
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x200
+            RenderTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 760x39
+                  text run at (0,0) width 512: &quot;This sentence should be backed by an image-- a green grid pattern, in this case. &quot;
+                  text run at (511,0) width 249: &quot;The background image should also tile&quot;
+                  text run at (0,20) width 680: &quot;along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).&quot;
+              RenderBlock {P} at (4,60) size 762x80
+                RenderText {#text} at (0,0) size 607x19
+                  text run at (0,0) width 607: &quot;This sentence should be backed by a repeated green-grid image, as should the last three words &quot;
+                RenderInline {STRONG} at (0,0) size 105x19
+                  RenderInline {SPAN} at (0,0) size 105x19
+                    RenderText {#text} at (606,0) size 105x19
+                      text run at (606,0) width 105: &quot;in this sentence&quot;
+                RenderText {#text} at (710,0) size 757x39
+                  text run at (710,0) width 9: &quot;. &quot;
+                  text run at (718,0) width 39: &quot;If it is&quot;
+                  text run at (0,20) width 60: &quot;not, then &quot;
+                RenderInline {CODE} at (0,0) size 33x14
+                  RenderText {#text} at (59,25) size 33x14
+                    text run at (59,25) width 33: &quot;none&quot;
+                RenderText {#text} at (91,20) size 174x19
+                  text run at (91,20) width 169: &quot; is interpreted incorrectly. &quot;
+                  text run at (259,20) width 6: &quot;(&quot;
+                RenderInline {CODE} at (0,0) size 32x14
+                  RenderText {#text} at (264,25) size 32x14
+                    text run at (264,25) width 32: &quot;none&quot;
+                RenderText {#text} at (295,20) size 747x59
+                  text run at (295,20) width 452: &quot; means that the element has no background image, allowing the parent&quot;
+                  text run at (0,40) width 737: &quot;to \&quot;shine through\&quot; by default; since the parent of the words \&quot;in this sentence\&quot; is the paragraph, then the paragraph's&quot;
+                  text run at (0,60) width 161: &quot;image should be visible.)&quot;
+              RenderBlock {P} at (4,156) size 762x40
+                RenderText {#text} at (0,0) size 714x39
+                  text run at (0,0) width 714: &quot;This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \&quot;shine&quot;
+                  text run at (0,20) width 110: &quot;through\&quot; instead.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_positionexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_position-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_position-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_position-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,146 @@
</span><ins>+layer at (0,0) size 800x1519
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1519
+  RenderBlock {HTML} at (0,0) size 800x1519
+    RenderBody {BODY} at (8,8) size 784x1503 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x238
+        RenderText {#text} at (0,0) size 671x238
+          text run at (0,0) width 632: &quot;BODY {background-image: url(../resources/bg.gif); background-position: right top;&quot;
+          text run at (631,0) width 1: &quot; &quot;
+          text run at (0,14) width 281: &quot;      background-repeat: no-repeat;}&quot;
+          text run at (280,14) width 1: &quot; &quot;
+          text run at (0,28) width 609: &quot;.one {background-image: url(../resources/bg.gif); background-position: center;&quot;
+          text run at (608,28) width 1: &quot; &quot;
+          text run at (0,42) width 469: &quot;      background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (468,42) width 1: &quot; &quot;
+          text run at (0,56) width 617: &quot;.two {background-image: url(../resources/bg.gif); background-position: 50% 50%;&quot;
+          text run at (616,56) width 1: &quot; &quot;
+          text run at (0,70) width 469: &quot;      background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (468,70) width 1: &quot; &quot;
+          text run at (0,84) width 671: &quot;.three {background-image: url(../resources/bg.gif); background-position: bottom right;&quot;
+          text run at (670,84) width 1: &quot; &quot;
+          text run at (0,98) width 484: &quot;        background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (483,98) width 1: &quot; &quot;
+          text run at (0,112) width 640: &quot;.four {background-image: url(../resources/bg.gif); background-position: 100% 100%;&quot;
+          text run at (639,112) width 1: &quot; &quot;
+          text run at (0,126) width 476: &quot;       background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (475,126) width 1: &quot; &quot;
+          text run at (0,140) width 617: &quot;.five {background-image: url(../resources/bg.gif); background-position: 0% 50%;&quot;
+          text run at (616,140) width 1: &quot; &quot;
+          text run at (0,154) width 476: &quot;       background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (475,154) width 1: &quot; &quot;
+          text run at (0,168) width 617: &quot;.six {background-image: url(../resources/bg.gif); background-position: 75% 25%;&quot;
+          text run at (616,168) width 1: &quot; &quot;
+          text run at (0,182) width 476: &quot;       background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (475,182) width 1: &quot; &quot;
+          text run at (0,196) width 648: &quot;.seven {background-image: url(../resources/bg.gif); background-position: 20px 20px;&quot;
+          text run at (647,196) width 1: &quot; &quot;
+          text run at (0,210) width 476: &quot;       background-repeat: no-repeat; background-color: aqua;}&quot;
+          text run at (475,210) width 1: &quot; &quot;
+          text run at (0,224) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,287) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,305) size 784x20
+        RenderText {#text} at (0,0) size 514x19
+          text run at (0,0) width 514: &quot;This document should have a single, small green image in its upper right corner.&quot;
+      RenderBlock {P} at (0,341) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 784x59
+          text run at (0,0) width 753: &quot;This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be&quot;
+          text run at (0,20) width 232: &quot;fixed at the center of the paragraph. &quot;
+          text run at (231,20) width 553: &quot;The background color will make it easier to determine the edges of the paragraph, and&quot;
+          text run at (0,40) width 268: &quot;therefore allow you to calculate its center.&quot;
+      RenderBlock {P} at (0,417) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 784x59
+          text run at (0,0) width 753: &quot;This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be&quot;
+          text run at (0,20) width 232: &quot;fixed at the center of the paragraph. &quot;
+          text run at (231,20) width 553: &quot;The background color will make it easier to determine the edges of the paragraph, and&quot;
+          text run at (0,40) width 268: &quot;therefore allow you to calculate its center.&quot;
+      RenderBlock {P} at (0,493) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 765x59
+          text run at (0,0) width 748: &quot;This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the&quot;
+          text run at (0,20) width 418: &quot;image should be fixed at the lower right corner of the paragraph. &quot;
+          text run at (417,20) width 348: &quot;The background color will make it easier to determine&quot;
+          text run at (0,40) width 445: &quot;the edges of the paragraph, and therefore allow you to see its corners.&quot;
+      RenderBlock {P} at (0,569) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 765x59
+          text run at (0,0) width 748: &quot;This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the&quot;
+          text run at (0,20) width 418: &quot;image should be fixed at the lower right corner of the paragraph. &quot;
+          text run at (417,20) width 348: &quot;The background color will make it easier to determine&quot;
+          text run at (0,40) width 445: &quot;the edges of the paragraph, and therefore allow you to see its corners.&quot;
+      RenderBlock {P} at (0,645) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 776x59
+          text run at (0,0) width 741: &quot;This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image&quot;
+          text run at (0,20) width 323: &quot;should be fixed at the left center of the paragraph. &quot;
+          text run at (322,20) width 454: &quot;The background color will make it easier to determine the edges of the&quot;
+          text run at (0,40) width 367: &quot;paragraph, and therefore allow you to calculate its center.&quot;
+      RenderBlock {P} at (0,721) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 778x59
+          text run at (0,0) width 762: &quot;This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down.&quot;
+          text run at (0,20) width 778: &quot;The background color will make it easier to determine the edges of the paragraph, which should help in determining if all&quot;
+          text run at (0,40) width 663: &quot;this is so, and the extra text should make the element long enough for this test to be simpler to evaluate.&quot;
+      RenderBlock {P} at (0,797) size 784x80 [bgcolor=#00FFFF]
+        RenderText {#text} at (0,0) size 777x79
+          text run at (0,0) width 764: &quot;This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-hand&quot;
+          text run at (0,20) width 777: &quot;corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left corner of&quot;
+          text run at (0,40) width 83: &quot;the element. &quot;
+          text run at (82,40) width 670: &quot;The background color will make it easier to determine the edges of the paragraph, which should assist in&quot;
+          text run at (0,60) width 124: &quot;evaluating this test.&quot;
+      RenderTable {TABLE} at (0,893) size 784x610 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x608
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x580
+            RenderTableCell {TD} at (0,304) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x580 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 514: &quot;This document should have a single, small green image in its upper right corner.&quot;
+              RenderBlock {P} at (4,40) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 757x59
+                  text run at (0,0) width 753: &quot;This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be&quot;
+                  text run at (0,20) width 232: &quot;fixed at the center of the paragraph. &quot;
+                  text run at (231,20) width 526: &quot;The background color will make it easier to determine the edges of the paragraph,&quot;
+                  text run at (0,40) width 295: &quot;and therefore allow you to calculate its center.&quot;
+              RenderBlock {P} at (4,116) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 757x59
+                  text run at (0,0) width 753: &quot;This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be&quot;
+                  text run at (0,20) width 232: &quot;fixed at the center of the paragraph. &quot;
+                  text run at (231,20) width 526: &quot;The background color will make it easier to determine the edges of the paragraph,&quot;
+                  text run at (0,40) width 295: &quot;and therefore allow you to calculate its center.&quot;
+              RenderBlock {P} at (4,192) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 748x59
+                  text run at (0,0) width 748: &quot;This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the&quot;
+                  text run at (0,20) width 418: &quot;image should be fixed at the lower right corner of the paragraph. &quot;
+                  text run at (417,20) width 280: &quot;The background color will make it easier to&quot;
+                  text run at (0,40) width 513: &quot;determine the edges of the paragraph, and therefore allow you to see its corners.&quot;
+              RenderBlock {P} at (4,268) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 748x59
+                  text run at (0,0) width 748: &quot;This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the&quot;
+                  text run at (0,20) width 418: &quot;image should be fixed at the lower right corner of the paragraph. &quot;
+                  text run at (417,20) width 280: &quot;The background color will make it easier to&quot;
+                  text run at (0,40) width 513: &quot;determine the edges of the paragraph, and therefore allow you to see its corners.&quot;
+              RenderBlock {P} at (4,344) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 752x59
+                  text run at (0,0) width 741: &quot;This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image&quot;
+                  text run at (0,20) width 323: &quot;should be fixed at the left center of the paragraph. &quot;
+                  text run at (322,20) width 430: &quot;The background color will make it easier to determine the edges of&quot;
+                  text run at (0,40) width 391: &quot;the paragraph, and therefore allow you to calculate its center.&quot;
+              RenderBlock {P} at (4,420) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 762x59
+                  text run at (0,0) width 762: &quot;This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down.&quot;
+                  text run at (0,20) width 758: &quot;The background color will make it easier to determine the edges of the paragraph, which should help in determining if&quot;
+                  text run at (0,40) width 683: &quot;all this is so, and the extra text should make the element long enough for this test to be simpler to evaluate.&quot;
+              RenderBlock {P} at (4,496) size 762x80 [bgcolor=#00FFFF]
+                RenderText {#text} at (0,0) size 759x79
+                  text run at (0,0) width 733: &quot;This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-&quot;
+                  text run at (0,20) width 750: &quot;hand corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left&quot;
+                  text run at (0,40) width 145: &quot;corner of the element. &quot;
+                  text run at (144,40) width 615: &quot;The background color will make it easier to determine the edges of the paragraph, which should&quot;
+                  text run at (0,60) width 180: &quot;assist in evaluating this test.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundbackground_repeatexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/background_repeat-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,310 @@
</span><ins>+layer at (0,0) size 866x1963
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1963
+  RenderBlock {HTML} at (0,0) size 800x1963
+    RenderBody {BODY} at (8,8) size 784x1947 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x210
+        RenderText {#text} at (0,0) size 859x210
+          text run at (0,0) width 656: &quot;.one {background-image: url(../resources/oransqr.gif); background-repeat: repeat-y;}&quot;
+          text run at (655,0) width 1: &quot; &quot;
+          text run at (0,14) width 656: &quot;.two {background-image: url(../resources/oransqr.gif); background-repeat: repeat-x;}&quot;
+          text run at (655,14) width 1: &quot; &quot;
+          text run at (0,28) width 679: &quot;.three {background-image: url(../resources/oransqr.gif); background-repeat: no-repeat;}&quot;
+          text run at (678,28) width 1: &quot; &quot;
+          text run at (0,42) width 859: &quot;.four {background-image: url(../resources/bg.gif); background-position: 50% 50%; background-repeat: repeat-y;}&quot;
+          text run at (858,42) width 1: &quot; &quot;
+          text run at (0,56) width 687: &quot;.five {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;&quot;
+          text run at (686,56) width 1: &quot; &quot;
+          text run at (0,70) width 235: &quot;       background-color: red;}&quot;
+          text run at (234,70) width 1: &quot; &quot;
+          text run at (0,84) width 703: &quot;.six {background-image: url(../resources/crosshair2.gif); background-position: center top;&quot;
+          text run at (702,84) width 1: &quot; &quot;
+          text run at (0,98) width 227: &quot;      background-color: red;}&quot;
+          text run at (226,98) width 1: &quot; &quot;
+          text run at (0,112) width 703: &quot;.seven {background-image: url(../resources/crosshair2.gif); background-position: top left;&quot;
+          text run at (702,112) width 1: &quot; &quot;
+          text run at (0,126) width 242: &quot;        background-color: red;}&quot;
+          text run at (241,126) width 1: &quot; &quot;
+          text run at (0,140) width 734: &quot;.eight {background-image: url(../resources/crosshair2.gif); background-position: bottom right;&quot;
+          text run at (733,140) width 1: &quot; &quot;
+          text run at (0,154) width 242: &quot;        background-color: red;}&quot;
+          text run at (241,154) width 1: &quot; &quot;
+          text run at (0,168) width 687: &quot;.nine {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;&quot;
+          text run at (686,168) width 1: &quot; &quot;
+          text run at (0,182) width 235: &quot;       background-color: red;}&quot;
+          text run at (234,182) width 1: &quot; &quot;
+          text run at (0,196) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,259) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,277) size 784x60
+        RenderText {#text} at (0,0) size 779x39
+          text run at (0,0) width 779: &quot;This sentence should have an orange stripe repeated in the \&quot;y\&quot; direction, starting at the upper left corner (since the default&quot;
+          text run at (0,20) width 23: &quot;for &quot;
+        RenderInline {CODE} at (0,0) size 149x14
+          RenderText {#text} at (22,25) size 149x14
+            text run at (22,25) width 149: &quot;background-position&quot;
+        RenderText {#text} at (170,20) size 740x39
+          text run at (170,20) width 328: &quot; is '0% 0%' and that property is not declared here). &quot;
+          text run at (497,20) width 243: &quot;This is extra text included for the sole&quot;
+          text run at (0,40) width 264: &quot;purpose of making the paragraph longer. &quot;
+          text run at (263,40) width 224: &quot;Thank you for your understanding.&quot;
+      RenderBlock {P} at (0,353) size 784x60
+        RenderText {#text} at (0,0) size 779x39
+          text run at (0,0) width 779: &quot;This sentence should have an orange stripe repeated in the \&quot;x\&quot; direction, starting at the upper left corner (since the default&quot;
+          text run at (0,20) width 23: &quot;for &quot;
+        RenderInline {CODE} at (0,0) size 149x14
+          RenderText {#text} at (22,25) size 149x14
+            text run at (22,25) width 149: &quot;background-position&quot;
+        RenderText {#text} at (170,20) size 740x39
+          text run at (170,20) width 328: &quot; is '0% 0%' and that property is not declared here). &quot;
+          text run at (497,20) width 243: &quot;This is extra text included for the sole&quot;
+          text run at (0,40) width 264: &quot;purpose of making the paragraph longer. &quot;
+          text run at (263,40) width 224: &quot;Thank you for your understanding.&quot;
+      RenderBlock {P} at (0,429) size 784x60
+        RenderText {#text} at (0,0) size 712x19
+          text run at (0,0) width 712: &quot;This sentence should have a single orange square behind it, placed at the upper left corner (since the default for&quot;
+        RenderInline {CODE} at (0,0) size 149x14
+          RenderText {#text} at (0,25) size 149x14
+            text run at (0,25) width 149: &quot;background-position&quot;
+        RenderText {#text} at (148,20) size 772x39
+          text run at (148,20) width 327: &quot; is '0% 0%' and that property is not declared here). &quot;
+          text run at (474,20) width 298: &quot;This is extra text included for the sole purpose&quot;
+          text run at (0,40) width 209: &quot;of making the paragraph longer. &quot;
+          text run at (208,40) width 225: &quot;Thank you for your understanding.&quot;
+      RenderBlock {P} at (0,505) size 784x80
+        RenderText {#text} at (0,0) size 778x39
+          text run at (0,0) width 778: &quot;This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image&quot;
+          text run at (0,20) width 221: &quot;exactly centered in the paragraph. &quot;
+          text run at (220,20) width 103: &quot;This is because &quot;
+        RenderInline {CODE} at (0,0) size 63x14
+          RenderText {#text} at (322,25) size 63x14
+            text run at (322,25) width 63: &quot;repeat-y&quot;
+        RenderText {#text} at (384,20) size 119x19
+          text run at (384,20) width 119: &quot; specifies tiling in &quot;
+        RenderInline {EM} at (0,0) size 30x19
+          RenderText {#text} at (502,20) size 30x19
+            text run at (502,20) width 30: &quot;both&quot;
+        RenderText {#text} at (531,20) size 780x39
+          text run at (531,20) width 162: &quot; directions on the y-axis. &quot;
+          text run at (692,20) width 88: &quot;Note that this&quot;
+          text run at (0,40) width 275: &quot;test is only valid if the user agent supports &quot;
+        RenderInline {CODE} at (0,0) size 149x14
+          RenderText {#text} at (274,45) size 149x14
+            text run at (274,45) width 149: &quot;background-position&quot;
+        RenderText {#text} at (422,40) size 35x19
+          text run at (422,40) width 35: &quot; (see &quot;
+        RenderInline {A} at (0,0) size 59x19 [color=#0000FF]
+          RenderText {#text} at (456,40) size 59x19
+            text run at (456,40) width 59: &quot;test 5.3.6&quot;
+        RenderText {#text} at (514,40) size 772x39
+          text run at (514,40) width 14: &quot;). &quot;
+          text run at (527,40) width 245: &quot;I'll fill the paragraph with extra text to&quot;
+          text run at (0,60) width 350: &quot;make the conformance (or lack thereof) more obvious.&quot;
+      RenderBlock {P} at (0,601) size 784x100 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 768x19
+          text run at (0,0) width 670: &quot;This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. &quot;
+          text run at (669,0) width 99: &quot;This is because&quot;
+        RenderInline {CODE} at (0,0) size 133x14
+          RenderText {#text} at (0,25) size 133x14
+            text run at (0,25) width 133: &quot;background-repeat&quot;
+        RenderText {#text} at (132,20) size 119x19
+          text run at (132,20) width 119: &quot; specifies tiling in &quot;
+        RenderInline {EM} at (0,0) size 18x19
+          RenderText {#text} at (250,20) size 18x19
+            text run at (250,20) width 18: &quot;all&quot;
+        RenderText {#text} at (267,20) size 766x39
+          text run at (267,20) width 372: &quot; directions, regardless of the position of the origin image. &quot;
+          text run at (638,20) width 128: &quot;Note that this test is&quot;
+          text run at (0,40) width 234: &quot;only valid if the user agent supports &quot;
+        RenderInline {CODE} at (0,0) size 149x14
+          RenderText {#text} at (233,45) size 149x14
+            text run at (233,45) width 149: &quot;background-position&quot;
+        RenderText {#text} at (381,40) size 35x19
+          text run at (381,40) width 35: &quot; (see &quot;
+        RenderInline {A} at (0,0) size 59x19 [color=#0000FF]
+          RenderText {#text} at (415,40) size 59x19
+            text run at (415,40) width 59: &quot;test 5.3.6&quot;
+        RenderText {#text} at (473,40) size 782x59
+          text run at (473,40) width 14: &quot;). &quot;
+          text run at (486,40) width 284: &quot;I'll fill the paragraph with extra text to make&quot;
+          text run at (0,60) width 315: &quot;the conformance (or lack thereof) more obvious. &quot;
+          text run at (314,60) width 468: &quot;A background color is present, although if it is visible then the image has&quot;
+          text run at (0,80) width 144: &quot;not bee correctly tiled.&quot;
+      RenderBlock {P} at (0,717) size 784x60 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 781x59
+          text run at (0,0) width 781: &quot;This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be&quot;
+          text run at (0,20) width 283: &quot;the exact center of the top of the paragraph. &quot;
+          text run at (282,20) width 461: &quot;I'll fill it with extra text to make the conformance (or lack thereof) more&quot;
+          text run at (0,40) width 59: &quot;obvious. &quot;
+          text run at (58,40) width 668: &quot;A background color is present, although if it is visible, then the image may not have been tiled correctly.&quot;
+      RenderBlock {P} at (0,793) size 784x60 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 769x59
+          text run at (0,0) width 499: &quot;This sentence should have a fully tiled background which starts at its top left. &quot;
+          text run at (498,0) width 229: &quot;I'll fill it with extra text to make the&quot;
+          text run at (0,20) width 291: &quot;conformance (or lack thereof) more obvious. &quot;
+          text run at (290,20) width 479: &quot;A background color is present, although if it is visible, then the image may&quot;
+          text run at (0,40) width 186: &quot;not have been tiled correctly.&quot;
+      RenderBlock {P} at (0,869) size 784x80 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 778x79
+          text run at (0,0) width 778: &quot;This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of&quot;
+          text run at (0,20) width 702: &quot;the image should be anchored in the bottom right corner, with the tiled background extending out from there. &quot;
+          text run at (701,20) width 54: &quot;I'll fill it&quot;
+          text run at (0,40) width 467: &quot;with extra text to make the conformance (or lack thereof) more obvious. &quot;
+          text run at (466,40) width 298: &quot;A background color is present, although if it is&quot;
+          text run at (0,60) width 366: &quot;visible, then the image may not have been tiled correctly.&quot;
+      RenderBlock {P} at (0,965) size 784x120 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 783x119
+          text run at (0,0) width 737: &quot;This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the&quot;
+          text run at (0,20) width 414: &quot;background's origin should be the exact center of the paragraph. &quot;
+          text run at (413,20) width 370: &quot;I'll fill it with extra text to make the conformance (or lack&quot;
+          text run at (0,40) width 151: &quot;thereof) more obvious. &quot;
+          text run at (150,40) width 454: &quot;In fact, a lot of extra text will be necessary to make this at all obvious. &quot;
+          text run at (603,40) width 160: &quot;This is true because I am&quot;
+          text run at (0,60) width 765: &quot;not able to increase the text size without resorting to either headings or other CSS properties, neither of which I want to&quot;
+          text run at (0,80) width 162: &quot;use in this circumstance. &quot;
+          text run at (161,80) width 245: &quot;This ought to be enough text, though. &quot;
+          text run at (405,80) width 349: &quot;A background color is present, although if it is visible,&quot;
+          text run at (0,100) width 315: &quot;then the image may not have been tiled correctly.&quot;
+      RenderTable {TABLE} at (0,1101) size 784x846 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x844
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x816
+            RenderTableCell {TD} at (0,422) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x816 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 731: &quot;This sentence should have an orange stripe repeated in the \&quot;y\&quot; direction, starting at the upper left corner (since the&quot;
+                  text run at (0,20) width 72: &quot;default for &quot;
+                RenderInline {CODE} at (0,0) size 149x14
+                  RenderText {#text} at (71,25) size 149x14
+                    text run at (71,25) width 149: &quot;background-position&quot;
+                RenderText {#text} at (219,20) size 759x39
+                  text run at (219,20) width 327: &quot; is '0% 0%' and that property is not declared here). &quot;
+                  text run at (545,20) width 214: &quot;This is extra text included for the&quot;
+                  text run at (0,40) width 294: &quot;sole purpose of making the paragraph longer. &quot;
+                  text run at (293,40) width 224: &quot;Thank you for your understanding.&quot;
+              RenderBlock {P} at (4,80) size 762x60
+                RenderText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 731: &quot;This sentence should have an orange stripe repeated in the \&quot;x\&quot; direction, starting at the upper left corner (since the&quot;
+                  text run at (0,20) width 72: &quot;default for &quot;
+                RenderInline {CODE} at (0,0) size 149x14
+                  RenderText {#text} at (71,25) size 149x14
+                    text run at (71,25) width 149: &quot;background-position&quot;
+                RenderText {#text} at (219,20) size 759x39
+                  text run at (219,20) width 327: &quot; is '0% 0%' and that property is not declared here). &quot;
+                  text run at (545,20) width 214: &quot;This is extra text included for the&quot;
+                  text run at (0,40) width 294: &quot;sole purpose of making the paragraph longer. &quot;
+                  text run at (293,40) width 224: &quot;Thank you for your understanding.&quot;
+              RenderBlock {P} at (4,156) size 762x60
+                RenderText {#text} at (0,0) size 712x19
+                  text run at (0,0) width 712: &quot;This sentence should have a single orange square behind it, placed at the upper left corner (since the default for&quot;
+                RenderInline {CODE} at (0,0) size 149x14
+                  RenderText {#text} at (0,25) size 149x14
+                    text run at (0,25) width 149: &quot;background-position&quot;
+                RenderText {#text} at (148,20) size 717x39
+                  text run at (148,20) width 327: &quot; is '0% 0%' and that property is not declared here). &quot;
+                  text run at (474,20) width 243: &quot;This is extra text included for the sole&quot;
+                  text run at (0,40) width 264: &quot;purpose of making the paragraph longer. &quot;
+                  text run at (263,40) width 224: &quot;Thank you for your understanding.&quot;
+              RenderBlock {P} at (4,232) size 762x80
+                RenderText {#text} at (0,0) size 734x39
+                  text run at (0,0) width 734: &quot;This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin&quot;
+                  text run at (0,20) width 264: &quot;image exactly centered in the paragraph. &quot;
+                  text run at (263,20) width 103: &quot;This is because &quot;
+                RenderInline {CODE} at (0,0) size 63x14
+                  RenderText {#text} at (365,25) size 63x14
+                    text run at (365,25) width 63: &quot;repeat-y&quot;
+                RenderText {#text} at (427,20) size 119x19
+                  text run at (427,20) width 119: &quot; specifies tiling in &quot;
+                RenderInline {EM} at (0,0) size 30x19
+                  RenderText {#text} at (545,20) size 30x19
+                    text run at (545,20) width 30: &quot;both&quot;
+                RenderText {#text} at (574,20) size 732x39
+                  text run at (574,20) width 158: &quot; directions on the y-axis.&quot;
+                  text run at (0,40) width 365: &quot;Note that this test is only valid if the user agent supports &quot;
+                RenderInline {CODE} at (0,0) size 149x14
+                  RenderText {#text} at (364,45) size 149x14
+                    text run at (364,45) width 149: &quot;background-position&quot;
+                RenderText {#text} at (512,40) size 35x19
+                  text run at (512,40) width 35: &quot; (see &quot;
+                RenderInline {A} at (0,0) size 59x19 [color=#0000FF]
+                  RenderText {#text} at (546,40) size 59x19
+                    text run at (546,40) width 59: &quot;test 5.3.6&quot;
+                RenderText {#text} at (604,40) size 750x39
+                  text run at (604,40) width 14: &quot;). &quot;
+                  text run at (617,40) width 133: &quot;I'll fill the paragraph&quot;
+                  text run at (0,60) width 463: &quot;with extra text to make the conformance (or lack thereof) more obvious.&quot;
+              RenderBlock {P} at (4,328) size 762x100 [bgcolor=#FF0000]
+                RenderText {#text} at (0,0) size 714x39
+                  text run at (0,0) width 670: &quot;This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. &quot;
+                  text run at (669,0) width 45: &quot;This is&quot;
+                  text run at (0,20) width 55: &quot;because &quot;
+                RenderInline {CODE} at (0,0) size 134x14
+                  RenderText {#text} at (54,25) size 134x14
+                    text run at (54,25) width 134: &quot;background-repeat&quot;
+                RenderText {#text} at (187,20) size 119x19
+                  text run at (187,20) width 119: &quot; specifies tiling in &quot;
+                RenderInline {EM} at (0,0) size 18x19
+                  RenderText {#text} at (305,20) size 18x19
+                    text run at (305,20) width 18: &quot;all&quot;
+                RenderText {#text} at (322,20) size 753x39
+                  text run at (322,20) width 371: &quot; directions, regardless of the position of the origin image. &quot;
+                  text run at (692,20) width 61: &quot;Note that&quot;
+                  text run at (0,40) width 302: &quot;this test is only valid if the user agent supports &quot;
+                RenderInline {CODE} at (0,0) size 149x14
+                  RenderText {#text} at (301,45) size 149x14
+                    text run at (301,45) width 149: &quot;background-position&quot;
+                RenderText {#text} at (449,40) size 35x19
+                  text run at (449,40) width 35: &quot; (see &quot;
+                RenderInline {A} at (0,0) size 59x19 [color=#0000FF]
+                  RenderText {#text} at (483,40) size 59x19
+                    text run at (483,40) width 59: &quot;test 5.3.6&quot;
+                RenderText {#text} at (541,40) size 755x59
+                  text run at (541,40) width 14: &quot;). &quot;
+                  text run at (554,40) width 201: &quot;I'll fill the paragraph with extra&quot;
+                  text run at (0,60) width 398: &quot;text to make the conformance (or lack thereof) more obvious. &quot;
+                  text run at (397,60) width 345: &quot;A background color is present, although if it is visible&quot;
+                  text run at (0,80) width 268: &quot;then the image has not bee correctly tiled.&quot;
+              RenderBlock {P} at (4,444) size 762x60 [bgcolor=#FF0000]
+                RenderText {#text} at (0,0) size 762x59
+                  text run at (0,0) width 761: &quot;This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should&quot;
+                  text run at (0,20) width 302: &quot;be the exact center of the top of the paragraph. &quot;
+                  text run at (301,20) width 461: &quot;I'll fill it with extra text to make the conformance (or lack thereof) more&quot;
+                  text run at (0,40) width 59: &quot;obvious. &quot;
+                  text run at (58,40) width 668: &quot;A background color is present, although if it is visible, then the image may not have been tiled correctly.&quot;
+              RenderBlock {P} at (4,520) size 762x60 [bgcolor=#FF0000]
+                RenderText {#text} at (0,0) size 738x59
+                  text run at (0,0) width 499: &quot;This sentence should have a fully tiled background which starts at its top left. &quot;
+                  text run at (498,0) width 229: &quot;I'll fill it with extra text to make the&quot;
+                  text run at (0,20) width 291: &quot;conformance (or lack thereof) more obvious. &quot;
+                  text run at (290,20) width 448: &quot;A background color is present, although if it is visible, then the image&quot;
+                  text run at (0,40) width 217: &quot;may not have been tiled correctly.&quot;
+              RenderBlock {P} at (4,596) size 762x80 [bgcolor=#FF0000]
+                RenderText {#text} at (0,0) size 762x79
+                  text run at (0,0) width 760: &quot;This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance&quot;
+                  text run at (0,20) width 719: &quot;of the image should be anchored in the bottom right corner, with the tiled background extending out from there. &quot;
+                  text run at (718,20) width 41: &quot;I'll fill&quot;
+                  text run at (0,40) width 479: &quot;it with extra text to make the conformance (or lack thereof) more obvious. &quot;
+                  text run at (478,40) width 284: &quot;A background color is present, although if it&quot;
+                  text run at (0,60) width 381: &quot;is visible, then the image may not have been tiled correctly.&quot;
+              RenderBlock {P} at (4,692) size 762x120 [bgcolor=#FF0000]
+                RenderText {#text} at (0,0) size 761x119
+                  text run at (0,0) width 737: &quot;This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the&quot;
+                  text run at (0,20) width 414: &quot;background's origin should be the exact center of the paragraph. &quot;
+                  text run at (413,20) width 339: &quot;I'll fill it with extra text to make the conformance (or&quot;
+                  text run at (0,40) width 181: &quot;lack thereof) more obvious. &quot;
+                  text run at (180,40) width 455: &quot;In fact, a lot of extra text will be necessary to make this at all obvious. &quot;
+                  text run at (634,40) width 127: &quot;This is true because&quot;
+                  text run at (0,60) width 746: &quot;I am not able to increase the text size without resorting to either headings or other CSS properties, neither of which I&quot;
+                  text run at (0,80) width 213: &quot;want to use in this circumstance. &quot;
+                  text run at (212,80) width 245: &quot;This ought to be enough text, though. &quot;
+                  text run at (456,80) width 299: &quot;A background color is present, although if it is&quot;
+                  text run at (0,100) width 366: &quot;visible, then the image may not have been tiled correctly.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1color_and_backgroundcolorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/color-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/color-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/color_and_background/color-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x28
+        RenderText {#text} at (0,0) size 157x28
+          text run at (0,0) width 157: &quot;.one {color: green;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,131) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderTable {TABLE} at (0,167) size 219x94 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 217x92
+          RenderTableRow {TR} at (0,0) size 217x28
+            RenderTableCell {TD} at (0,0) size 217x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 217x64
+            RenderTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 205x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 197x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,40) size 197x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1conformanceforward_compatible_parsingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/conformance/forward_compatible_parsing-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,545 @@
</span><ins>+layer at (0,0) size 800x4213
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x4213
+  RenderBlock {HTML} at (0,0) size 800x4213
+    RenderBody {BODY} at (8,8) size 784x4197 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x756
+        RenderText {#text} at (0,0) size 554x756
+          text run at (0,0) width 297: &quot;P.one {color: green; rotation: 70deg;}&quot;
+          text run at (296,0) width 1: &quot; &quot;
+          text run at (0,14) width 172: &quot;P.oneb {color: green;}&quot;
+          text run at (171,14) width 1: &quot; &quot;
+          text run at (0,28) width 227: &quot;P.oneb {color: invalidValue;}&quot;
+          text run at (226,28) width 1: &quot; &quot;
+          text run at (0,42) width 266: &quot;P.two {background-color: inherit;}&quot;
+          text run at (265,42) width 1: &quot; &quot;
+          text run at (0,56) width 211: &quot;H1 + P.three {color: blue;}&quot;
+          text run at (210,56) width 1: &quot; &quot;
+          text run at (0,70) width 196: &quot;P.four + H1 {color: red;}&quot;
+          text run at (195,70) width 1: &quot; &quot;
+          text run at (0,84) width 258: &quot;P.five {background-color: \&quot;red\&quot;;}&quot;
+          text run at (257,84) width 1: &quot; &quot;
+          text run at (0,98) width 398: &quot;P.sixa {border-width: medium; border-style: solid;}&quot;
+          text run at (397,98) width 1: &quot; &quot;
+          text run at (0,112) width 391: &quot;P.sixb {border-width: funny; border-style: solid;}&quot;
+          text run at (390,112) width 1: &quot; &quot;
+          text run at (0,126) width 383: &quot;P.sixc {border-width: 50zu; border-style: solid;}&quot;
+          text run at (382,126) width 1: &quot; &quot;
+          text run at (0,140) width 367: &quot;P.sixd {border-width: px; border-style: solid;}&quot;
+          text run at (366,140) width 1: &quot; &quot;
+          text run at (0,154) width 94: &quot;@three-dee {&quot;
+          text run at (93,154) width 1: &quot; &quot;
+          text run at (0,168) width 180: &quot; @background-lighting {&quot;
+          text run at (179,168) width 1: &quot; &quot;
+          text run at (0,182) width 133: &quot;  azimuth: 30deg;&quot;
+          text run at (132,182) width 1: &quot; &quot;
+          text run at (0,196) width 157: &quot;  elevation: 190deg;&quot;
+          text run at (156,196) width 1: &quot; &quot;
+          text run at (0,210) width 24: &quot;  }&quot;
+          text run at (23,210) width 1: &quot; &quot;
+          text run at (0,224) width 180: &quot; P.seven { color: red }&quot;
+          text run at (179,224) width 1: &quot; &quot;
+          text run at (0,238) width 16: &quot; }&quot;
+          text run at (15,238) width 1: &quot; &quot;
+          text run at (0,252) width 180: &quot;P.eight {COLOR: GREEN;}&quot;
+          text run at (179,252) width 1: &quot; &quot;
+          text run at (0,266) width 188: &quot;OL:wait {color: maroon;}&quot;
+          text run at (187,266) width 1: &quot; &quot;
+          text run at (0,280) width 266: &quot;P.ten:first-child {color: maroon;}&quot;
+          text run at (265,280) width 1: &quot; &quot;
+          text run at (0,294) width 203: &quot;UL:lang(fr) {color: gray;}&quot;
+          text run at (202,294) width 1: &quot; &quot;
+          text run at (0,308) width 242: &quot;BLOCKQUOTE[href] {color: navy;}&quot;
+          text run at (241,308) width 1: &quot; &quot;
+          text run at (0,322) width 281: &quot;ACRONYM[href=\&quot;foo\&quot;] {color: purple;}&quot;
+          text run at (280,322) width 1: &quot; &quot;
+          text run at (0,336) width 289: &quot;ADDRESS[href~=\&quot;foo\&quot;] {color: purple;}&quot;
+          text run at (288,336) width 1: &quot; &quot;
+          text run at (0,350) width 242: &quot;SPAN[lang|=\&quot;fr\&quot;] {color: #c37;}&quot;
+          text run at (241,350) width 1: &quot; &quot;
+          text run at (0,364) width 94: &quot;@media tty {&quot;
+          text run at (93,364) width 1: &quot; &quot;
+          text run at (0,378) width 133: &quot; H1 {color: red;}&quot;
+          text run at (132,378) width 1: &quot; &quot;
+          text run at (0,392) width 188: &quot; P.sixteen {color: red;}&quot;
+          text run at (187,392) width 1: &quot; &quot;
+          text run at (0,406) width 16: &quot; }&quot;
+          text run at (15,406) width 1: &quot; &quot;
+          text run at (0,420) width 94: &quot;@three-dee {&quot;
+          text run at (93,420) width 1: &quot; &quot;
+          text run at (0,434) width 203: &quot; P.seventeen {color: red }&quot;
+          text run at (202,434) width 1: &quot; &quot;
+          text run at (0,448) width 16: &quot; }&quot;
+          text run at (15,448) width 1: &quot; &quot;
+          text run at (0,462) width 554: &quot;P.eighteena {text-decoration: underline overline line-through diagonal;&quot;
+          text run at (553,462) width 1: &quot; &quot;
+          text run at (0,476) width 406: &quot;            font: bold highlighted 100% sans-serif;}&quot;
+          text run at (405,476) width 1: &quot; &quot;
+          text run at (0,490) width 554: &quot;P.eighteenb {text-decoration: underline overline line-through diagonal;&quot;
+          text run at (553,490) width 1: &quot; &quot;
+          text run at (0,504) width 367: &quot;            font: bold highlighted 100% serif;}&quot;
+          text run at (366,504) width 1: &quot; &quot;
+          text run at (0,518) width 375: &quot;EM, P.nineteena ! EM, STRONG {font-size: 200%; }&quot;
+          text run at (374,518) width 1: &quot; &quot;
+          text run at (0,532) width 0: &quot; &quot;
+          text run at (0,546) width 125: &quot;// UL.nineteenb,&quot;
+          text run at (124,546) width 1: &quot; &quot;
+          text run at (0,560) width 196: &quot;P.nineteenb {color: red;}&quot;
+          text run at (195,560) width 1: &quot; &quot;
+          text run at (0,574) width 0: &quot; &quot;
+          text run at (0,588) width 352: &quot;P.twentya {rotation-code: \&quot;}\&quot;; color: blue;} &quot;
+          text run at (351,588) width 1: &quot; &quot;
+          text run at (0,602) width 383: &quot;P.twentyb {rotation-code: \&quot;\\\&quot;}\\\&quot;\&quot;; color: green;}&quot;
+          text run at (382,602) width 1: &quot; &quot;
+          text run at (0,616) width 391: &quot;P.twentyonea {rotation-code: '}'; color: purple;} &quot;
+          text run at (390,616) width 1: &quot; &quot;
+          text run at (0,630) width 406: &quot;P.twentyoneb {rotation-code: '\\'}\\''; color: green;}&quot;
+          text run at (405,630) width 1: &quot; &quot;
+          text run at (0,644) width 102: &quot;P.twentytwo {&quot;
+          text run at (101,644) width 1: &quot; &quot;
+          text run at (0,658) width 367: &quot; type-display: @threedee {rotation-code: '}';};&quot;
+          text run at (366,658) width 1: &quot; &quot;
+          text run at (0,672) width 110: &quot; color: green;&quot;
+          text run at (109,672) width 1: &quot; &quot;
+          text run at (0,686) width 16: &quot; }&quot;
+          text run at (15,686) width 1: &quot; &quot;
+          text run at (0,700) width 274: &quot;P.twentythree {text-indent: 0.5in;}&quot;
+          text run at (273,700) width 1: &quot; &quot;
+          text run at (0,714) width 110: &quot; color: maroon&quot;
+          text run at (109,714) width 1: &quot; &quot;
+          text run at (0,728) width 203: &quot;P.twentyfour {color: red;}&quot;
+          text run at (202,728) width 1: &quot; &quot;
+          text run at (0,742) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,805) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,823) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 493x19
+          text run at (0,0) width 493: &quot;This paragraph should be green, because only the rotation should be ignored.&quot;
+      RenderBlock {P} at (0,859) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 634x19
+          text run at (0,0) width 634: &quot;This paragraph should be green, since error-checking should be done before calculating specificity.&quot;
+      RenderBlock {P} at (0,895) size 784x40
+        RenderText {#text} at (0,0) size 568x19
+          text run at (0,0) width 568: &quot;This paragraph should have a solid gray background (or a white grid), because in CSS1, &quot;
+        RenderInline {CODE} at (0,0) size 56x14
+          RenderText {#text} at (567,5) size 56x14
+            text run at (567,5) width 56: &quot;inherit&quot;
+        RenderText {#text} at (622,0) size 769x39
+          text run at (622,0) width 147: &quot; is an invalid keyword,&quot;
+          text run at (0,20) width 530: &quot;and in CSS2, it will cause the gray background (not the white grid) to be inherited.&quot;
+      RenderBlock {P} at (0,951) size 784x20
+        RenderText {#text} at (0,0) size 649x19
+          text run at (0,0) width 649: &quot;This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply.&quot;
+      RenderBlock {P} at (0,987) size 784x20
+        RenderText {#text} at (0,0) size 649x19
+          text run at (0,0) width 649: &quot;This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply.&quot;
+      RenderBlock {P} at (0,1023) size 784x20
+        RenderText {#text} at (0,0) size 532x19
+          text run at (0,0) width 532: &quot;This paragraph should have a white background, since keywords cannot be quoted.&quot;
+      RenderBlock {P} at (0,1059) size 784x46 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 770x39
+          text run at (3,3) width 656: &quot;This paragraph should have a medium-width border around it (the same as the next three paragraphs). &quot;
+          text run at (658,3) width 115: &quot;This should cause&quot;
+          text run at (3,23) width 325: &quot;the user agent to use the default value of 'medium'.&quot;
+      RenderBlock {P} at (0,1121) size 784x46 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 754x39
+          text run at (3,3) width 754: &quot;This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),&quot;
+          text run at (3,23) width 233: &quot;because the border-width is invalid. &quot;
+          text run at (235,23) width 444: &quot;This should cause the user agent to use the default value of 'medium'.&quot;
+      RenderBlock {P} at (0,1183) size 784x66 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 768x59
+          text run at (3,3) width 754: &quot;This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),&quot;
+          text run at (3,23) width 599: &quot;because the border-width units are invalid, and therefore the border-width should be ignored. &quot;
+          text run at (601,23) width 170: &quot;This should cause the user&quot;
+          text run at (3,43) width 271: &quot;agent to use the default value of 'medium'.&quot;
+      RenderBlock {P} at (0,1265) size 784x66 [border: (3px solid #000000)]
+        RenderText {#text} at (3,3) size 766x59
+          text run at (3,3) width 758: &quot;This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the&quot;
+          text run at (3,23) width 558: &quot;border-width does not have any value to go with its pixel unit, and is therefore invalid. &quot;
+          text run at (560,23) width 209: &quot;This should cause the user agent&quot;
+          text run at (3,43) width 232: &quot;to use the default value of 'medium'.&quot;
+      RenderBlock {P} at (0,1347) size 784x20
+        RenderText {#text} at (0,0) size 676x19
+          text run at (0,0) width 676: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule.&quot;
+      RenderBlock {P} at (0,1383) size 784x40 [color=#008000]
+        RenderText {#text} at (0,0) size 776x39
+          text run at (0,0) width 210: &quot;This paragraph should be green. &quot;
+          text run at (209,0) width 567: &quot;CSS is case-insensitive, unless required to be case sensitive due to interaction with other&quot;
+          text run at (0,20) width 241: &quot;standards (e.g., font names or URLs.)&quot;
+      RenderBlock {OL} at (0,1439) size 784x20
+        RenderListItem {LI} at (40,0) size 744x20
+          RenderListMarker at (-21,0) size 16x19: &quot;1&quot;
+          RenderText {#text} at (0,0) size 635x19
+            text run at (0,0) width 635: &quot;This ordered list item should be black, because the declaration has an invalid pseudo-class selector.&quot;
+      RenderBlock {P} at (0,1475) size 784x40
+        RenderText {#text} at (0,0) size 766x39
+          text run at (0,0) width 766: &quot;This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is&quot;
+          text run at (0,20) width 114: &quot;not the first child.&quot;
+      RenderBlock {UL} at (0,1531) size 784x40
+        RenderListItem {LI} at (40,0) size 744x40
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 704x39
+            text run at (0,0) width 704: &quot;This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to&quot;
+            text run at (0,20) width 232: &quot;CSS2, the selector should not apply.&quot;
+      RenderBlock {BLOCKQUOTE} at (40,1587) size 704x40
+        RenderText {#text} at (0,0) size 699x39
+          text run at (0,0) width 699: &quot;This blockquote should be black, because, according to CSS1, the selector is invalid, and according to CSS2,&quot;
+          text run at (0,20) width 187: &quot;the selector should not apply.&quot;
+      RenderBlock {P} at (0,1643) size 784x40
+        RenderInline {ACRONYM} at (0,0) size 761x39
+          RenderText {#text} at (0,0) size 761x39
+            text run at (0,0) width 761: &quot;This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector&quot;
+            text run at (0,20) width 110: &quot;should not apply.&quot;
+      RenderBlock {ADDRESS} at (0,1699) size 784x40
+        RenderText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: &quot;This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector&quot;
+          text run at (0,20) width 110: &quot;should not apply.&quot;
+      RenderBlock {P} at (0,1755) size 784x40
+        RenderInline {SPAN} at (0,0) size 781x39
+          RenderText {#text} at (0,0) size 781x39
+            text run at (0,0) width 781: &quot;This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should&quot;
+            text run at (0,20) width 63: &quot;not apply.&quot;
+      RenderBlock {P} at (0,1811) size 784x40
+        RenderText {#text} at (0,0) size 770x39
+          text run at (0,0) width 680: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. &quot;
+          text run at (679,0) width 91: &quot;However, it is&quot;
+          text run at (0,20) width 602: &quot;valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red.&quot;
+      RenderBlock {P} at (0,1867) size 784x20
+        RenderText {#text} at (0,0) size 676x19
+          text run at (0,0) width 676: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule.&quot;
+      RenderBlock {P} at (0,1903) size 784x80
+        RenderText {#text} at (0,0) size 753x19
+          text run at (0,0) width 753: &quot;The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because&quot;
+        RenderInline {CODE} at (0,0) size 63x14
+          RenderText {#text} at (0,25) size 63x14
+            text run at (0,25) width 63: &quot;diagonal&quot;
+        RenderText {#text} at (62,20) size 231x19
+          text run at (62,20) width 231: &quot; is not a valid keyword, making the &quot;
+        RenderInline {CODE} at (0,0) size 118x14
+          RenderText {#text} at (292,25) size 118x14
+            text run at (292,25) width 118: &quot;text-decoration&quot;
+        RenderText {#text} at (409,20) size 135x19
+          text run at (409,20) width 57: &quot; invalid. &quot;
+          text run at (465,20) width 79: &quot;In addition, &quot;
+        RenderInline {CODE} at (0,0) size 87x14
+          RenderText {#text} at (543,25) size 87x14
+            text run at (543,25) width 87: &quot;highlighted&quot;
+        RenderText {#text} at (629,20) size 762x39
+          text run at (629,20) width 133: &quot; is not a valid part of&quot;
+          text run at (0,40) width 24: &quot;the &quot;
+        RenderInline {CODE} at (0,0) size 32x14
+          RenderText {#text} at (23,45) size 32x14
+            text run at (23,45) width 32: &quot;font&quot;
+        RenderText {#text} at (54,40) size 732x39
+          text run at (54,40) width 184: &quot; property, making it invalid. &quot;
+          text run at (237,40) width 495: &quot;Therefore, this paragraph's font should be the UA default, and match the next&quot;
+          text run at (0,60) width 72: &quot;paragraph. &quot;
+          text run at (71,60) width 197: &quot;If this is not the case, then the &quot;
+        RenderInline {CODE} at (0,0) size 32x14
+          RenderText {#text} at (267,65) size 32x14
+            text run at (267,65) width 32: &quot;font&quot;
+        RenderText {#text} at (298,60) size 255x19
+          text run at (298,60) width 255: &quot; declaration is being improperly parsed.&quot;
+      RenderBlock {P} at (0,1999) size 784x80
+        RenderText {#text} at (0,0) size 753x19
+          text run at (0,0) width 753: &quot;The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because&quot;
+        RenderInline {CODE} at (0,0) size 63x14
+          RenderText {#text} at (0,25) size 63x14
+            text run at (0,25) width 63: &quot;diagonal&quot;
+        RenderText {#text} at (62,20) size 231x19
+          text run at (62,20) width 231: &quot; is not a valid keyword, making the &quot;
+        RenderInline {CODE} at (0,0) size 118x14
+          RenderText {#text} at (292,25) size 118x14
+            text run at (292,25) width 118: &quot;text-decoration&quot;
+        RenderText {#text} at (409,20) size 135x19
+          text run at (409,20) width 57: &quot; invalid. &quot;
+          text run at (465,20) width 79: &quot;In addition, &quot;
+        RenderInline {CODE} at (0,0) size 87x14
+          RenderText {#text} at (543,25) size 87x14
+            text run at (543,25) width 87: &quot;highlighted&quot;
+        RenderText {#text} at (629,20) size 762x39
+          text run at (629,20) width 133: &quot; is not a valid part of&quot;
+          text run at (0,40) width 24: &quot;the &quot;
+        RenderInline {CODE} at (0,0) size 32x14
+          RenderText {#text} at (23,45) size 32x14
+            text run at (23,45) width 32: &quot;font&quot;
+        RenderText {#text} at (54,40) size 760x39
+          text run at (54,40) width 184: &quot; property, making it invalid. &quot;
+          text run at (237,40) width 523: &quot;Therefore, this paragraph's font should be the UA default, and match the previous&quot;
+          text run at (0,60) width 72: &quot;paragraph. &quot;
+          text run at (71,60) width 197: &quot;If this is not the case, then the &quot;
+        RenderInline {CODE} at (0,0) size 32x14
+          RenderText {#text} at (267,65) size 32x14
+            text run at (267,65) width 32: &quot;font&quot;
+        RenderText {#text} at (298,60) size 255x19
+          text run at (298,60) width 255: &quot; declaration is being improperly parsed.&quot;
+      RenderBlock {P} at (0,2095) size 784x60
+        RenderText {#text} at (0,0) size 542x19
+          text run at (0,0) width 513: &quot;The text of this paragraph should be normal size because the selector is invalid. &quot;
+          text run at (512,0) width 30: &quot;The &quot;
+        RenderInline {EM} at (0,0) size 102x19
+          RenderText {#text} at (541,0) size 102x19
+            text run at (541,0) width 102: &quot;emphasized text&quot;
+        RenderText {#text} at (642,0) size 56x19
+          text run at (642,0) width 56: &quot; and the &quot;
+        RenderInline {STRONG} at (0,0) size 74x19
+          RenderText {#text} at (697,0) size 74x19
+            text run at (697,0) width 74: &quot;strong text&quot;
+        RenderText {#text} at (0,20) size 779x39
+          text run at (0,20) width 779: &quot;within it should also be normal size, since the entire ruleset should be skipped (since in some future version of CSS, there&quot;
+          text run at (0,40) width 531: &quot;could be an operator within the selector that has higher precedence than a comma).&quot;
+      RenderBlock {P} at (0,2171) size 784x40
+        RenderText {#text} at (0,0) size 474x19
+          text run at (0,0) width 474: &quot;This paragraph should be black, because the line before the declaration is &quot;
+        RenderInline {STRONG} at (0,0) size 23x19
+          RenderText {#text} at (473,0) size 23x19
+            text run at (473,0) width 23: &quot;not&quot;
+        RenderText {#text} at (495,0) size 759x39
+          text run at (495,0) width 264: &quot; a comment and therefore the selector for&quot;
+          text run at (0,20) width 141: &quot;P.nineteenb is invalid.&quot;
+      RenderBlock {P} at (0,2227) size 784x20 [color=#0000FF]
+        RenderText {#text} at (0,0) size 481x19
+          text run at (0,0) width 481: &quot;This paragraph should be blue, because only the first declaration is invalid.&quot;
+      RenderBlock {P} at (0,2263) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+      RenderBlock {P} at (0,2299) size 784x20 [color=#800080]
+        RenderText {#text} at (0,0) size 494x19
+          text run at (0,0) width 494: &quot;This paragraph should be purple, because only the first declaration is invalid.&quot;
+      RenderBlock {P} at (0,2335) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+      RenderBlock {P} at (0,2371) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+      RenderBlock {P} at (0,2407) size 784x20
+        RenderText {#text} at (48,0) size 612x19
+          text run at (48,0) width 494: &quot;This paragraph should be indented half an inch, but it should not be maroon. &quot;
+          text run at (541,0) width 119: &quot;It should be black.&quot;
+      RenderBlock {P} at (0,2443) size 784x40
+        RenderText {#text} at (0,0) size 767x39
+          text run at (0,0) width 767: &quot;This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the&quot;
+          text run at (0,20) width 632: &quot;selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied.&quot;
+      RenderTable {TABLE} at (0,2499) size 784x1698 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1696
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1668
+            RenderTableCell {TD} at (0,848) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1668 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 493x19
+                  text run at (0,0) width 493: &quot;This paragraph should be green, because only the rotation should be ignored.&quot;
+              RenderBlock {P} at (4,40) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 634x19
+                  text run at (0,0) width 634: &quot;This paragraph should be green, since error-checking should be done before calculating specificity.&quot;
+              RenderBlock {P} at (4,76) size 762x40
+                RenderText {#text} at (0,0) size 568x19
+                  text run at (0,0) width 568: &quot;This paragraph should have a solid gray background (or a white grid), because in CSS1, &quot;
+                RenderInline {CODE} at (0,0) size 56x14
+                  RenderText {#text} at (567,5) size 56x14
+                    text run at (567,5) width 56: &quot;inherit&quot;
+                RenderText {#text} at (622,0) size 705x39
+                  text run at (622,0) width 83: &quot; is an invalid&quot;
+                  text run at (0,20) width 594: &quot;keyword, and in CSS2, it will cause the gray background (not the white grid) to be inherited.&quot;
+              RenderBlock {P} at (4,132) size 762x20
+                RenderText {#text} at (0,0) size 649x19
+                  text run at (0,0) width 649: &quot;This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply.&quot;
+              RenderBlock {P} at (4,168) size 762x20
+                RenderText {#text} at (0,0) size 649x19
+                  text run at (0,0) width 649: &quot;This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply.&quot;
+              RenderBlock {P} at (4,204) size 762x20
+                RenderText {#text} at (0,0) size 532x19
+                  text run at (0,0) width 532: &quot;This paragraph should have a white background, since keywords cannot be quoted.&quot;
+              RenderBlock {P} at (4,240) size 762x46 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 731x39
+                  text run at (3,3) width 656: &quot;This paragraph should have a medium-width border around it (the same as the next three paragraphs). &quot;
+                  text run at (658,3) width 76: &quot;This should&quot;
+                  text run at (3,23) width 365: &quot;cause the user agent to use the default value of 'medium'.&quot;
+              RenderBlock {P} at (4,302) size 762x46 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 754x39
+                  text run at (3,3) width 754: &quot;This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),&quot;
+                  text run at (3,23) width 233: &quot;because the border-width is invalid. &quot;
+                  text run at (235,23) width 444: &quot;This should cause the user agent to use the default value of 'medium'.&quot;
+              RenderBlock {P} at (4,364) size 762x66 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 754x59
+                  text run at (3,3) width 754: &quot;This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),&quot;
+                  text run at (3,23) width 599: &quot;because the border-width units are invalid, and therefore the border-width should be ignored. &quot;
+                  text run at (601,23) width 139: &quot;This should cause the&quot;
+                  text run at (3,43) width 302: &quot;user agent to use the default value of 'medium'.&quot;
+              RenderBlock {P} at (4,446) size 762x66 [border: (3px solid #000000)]
+                RenderText {#text} at (3,3) size 751x59
+                  text run at (3,3) width 734: &quot;This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because&quot;
+                  text run at (3,23) width 582: &quot;the border-width does not have any value to go with its pixel unit, and is therefore invalid. &quot;
+                  text run at (584,23) width 170: &quot;This should cause the user&quot;
+                  text run at (3,43) width 271: &quot;agent to use the default value of 'medium'.&quot;
+              RenderBlock {P} at (4,528) size 762x20
+                RenderText {#text} at (0,0) size 676x19
+                  text run at (0,0) width 676: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule.&quot;
+              RenderBlock {P} at (4,564) size 762x40 [color=#008000]
+                RenderText {#text} at (0,0) size 739x39
+                  text run at (0,0) width 210: &quot;This paragraph should be green. &quot;
+                  text run at (209,0) width 530: &quot;CSS is case-insensitive, unless required to be case sensitive due to interaction with&quot;
+                  text run at (0,20) width 278: &quot;other standards (e.g., font names or URLs.)&quot;
+              RenderBlock {OL} at (4,620) size 762x20
+                RenderListItem {LI} at (40,0) size 722x20
+                  RenderListMarker at (-21,0) size 16x19: &quot;1&quot;
+                  RenderText {#text} at (0,0) size 635x19
+                    text run at (0,0) width 635: &quot;This ordered list item should be black, because the declaration has an invalid pseudo-class selector.&quot;
+              RenderBlock {P} at (4,656) size 762x40
+                RenderText {#text} at (0,0) size 751x39
+                  text run at (0,0) width 751: &quot;This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph&quot;
+                  text run at (0,20) width 129: &quot;is not the first child.&quot;
+              RenderBlock {UL} at (4,712) size 762x40
+                RenderListItem {LI} at (40,0) size 722x40
+                  RenderListMarker at (-18,0) size 7x19: bullet
+                  RenderText {#text} at (0,0) size 704x39
+                    text run at (0,0) width 704: &quot;This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to&quot;
+                    text run at (0,20) width 232: &quot;CSS2, the selector should not apply.&quot;
+              RenderBlock {BLOCKQUOTE} at (44,768) size 682x40
+                RenderText {#text} at (0,0) size 654x39
+                  text run at (0,0) width 654: &quot;This blockquote should be black, because, according to CSS1, the selector is invalid, and according to&quot;
+                  text run at (0,20) width 232: &quot;CSS2, the selector should not apply.&quot;
+              RenderBlock {P} at (4,824) size 762x40
+                RenderInline {ACRONYM} at (0,0) size 761x39
+                  RenderText {#text} at (0,0) size 761x39
+                    text run at (0,0) width 761: &quot;This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector&quot;
+                    text run at (0,20) width 110: &quot;should not apply.&quot;
+              RenderBlock {ADDRESS} at (4,880) size 762x40
+                RenderText {#text} at (0,0) size 756x39
+                  text run at (0,0) width 756: &quot;This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector&quot;
+                  text run at (0,20) width 110: &quot;should not apply.&quot;
+              RenderBlock {P} at (4,936) size 762x40
+                RenderInline {SPAN} at (0,0) size 734x39
+                  RenderText {#text} at (0,0) size 734x39
+                    text run at (0,0) width 734: &quot;This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector&quot;
+                    text run at (0,20) width 110: &quot;should not apply.&quot;
+              RenderBlock {P} at (4,992) size 762x40
+                RenderText {#text} at (0,0) size 755x39
+                  text run at (0,0) width 680: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. &quot;
+                  text run at (679,0) width 76: &quot;However, it&quot;
+                  text run at (0,20) width 617: &quot;is valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red.&quot;
+              RenderBlock {P} at (4,1048) size 762x20
+                RenderText {#text} at (0,0) size 676x19
+                  text run at (0,0) width 676: &quot;This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule.&quot;
+              RenderBlock {P} at (4,1084) size 762x80
+                RenderText {#text} at (0,0) size 753x19
+                  text run at (0,0) width 753: &quot;The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because&quot;
+                RenderInline {CODE} at (0,0) size 63x14
+                  RenderText {#text} at (0,25) size 63x14
+                    text run at (0,25) width 63: &quot;diagonal&quot;
+                RenderText {#text} at (62,20) size 231x19
+                  text run at (62,20) width 231: &quot; is not a valid keyword, making the &quot;
+                RenderInline {CODE} at (0,0) size 118x14
+                  RenderText {#text} at (292,25) size 118x14
+                    text run at (292,25) width 118: &quot;text-decoration&quot;
+                RenderText {#text} at (409,20) size 135x19
+                  text run at (409,20) width 57: &quot; invalid. &quot;
+                  text run at (465,20) width 79: &quot;In addition, &quot;
+                RenderInline {CODE} at (0,0) size 87x14
+                  RenderText {#text} at (543,25) size 87x14
+                    text run at (543,25) width 87: &quot;highlighted&quot;
+                RenderText {#text} at (629,20) size 762x39
+                  text run at (629,20) width 133: &quot; is not a valid part of&quot;
+                  text run at (0,40) width 24: &quot;the &quot;
+                RenderInline {CODE} at (0,0) size 32x14
+                  RenderText {#text} at (23,45) size 32x14
+                    text run at (23,45) width 32: &quot;font&quot;
+                RenderText {#text} at (54,40) size 732x39
+                  text run at (54,40) width 184: &quot; property, making it invalid. &quot;
+                  text run at (237,40) width 495: &quot;Therefore, this paragraph's font should be the UA default, and match the next&quot;
+                  text run at (0,60) width 72: &quot;paragraph. &quot;
+                  text run at (71,60) width 197: &quot;If this is not the case, then the &quot;
+                RenderInline {CODE} at (0,0) size 32x14
+                  RenderText {#text} at (267,65) size 32x14
+                    text run at (267,65) width 32: &quot;font&quot;
+                RenderText {#text} at (298,60) size 255x19
+                  text run at (298,60) width 255: &quot; declaration is being improperly parsed.&quot;
+              RenderBlock {P} at (4,1180) size 762x80
+                RenderText {#text} at (0,0) size 753x19
+                  text run at (0,0) width 753: &quot;The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because&quot;
+                RenderInline {CODE} at (0,0) size 63x14
+                  RenderText {#text} at (0,25) size 63x14
+                    text run at (0,25) width 63: &quot;diagonal&quot;
+                RenderText {#text} at (62,20) size 231x19
+                  text run at (62,20) width 231: &quot; is not a valid keyword, making the &quot;
+                RenderInline {CODE} at (0,0) size 118x14
+                  RenderText {#text} at (292,25) size 118x14
+                    text run at (292,25) width 118: &quot;text-decoration&quot;
+                RenderText {#text} at (409,20) size 135x19
+                  text run at (409,20) width 57: &quot; invalid. &quot;
+                  text run at (465,20) width 79: &quot;In addition, &quot;
+                RenderInline {CODE} at (0,0) size 87x14
+                  RenderText {#text} at (543,25) size 87x14
+                    text run at (543,25) width 87: &quot;highlighted&quot;
+                RenderText {#text} at (629,20) size 762x39
+                  text run at (629,20) width 133: &quot; is not a valid part of&quot;
+                  text run at (0,40) width 24: &quot;the &quot;
+                RenderInline {CODE} at (0,0) size 32x14
+                  RenderText {#text} at (23,45) size 32x14
+                    text run at (23,45) width 32: &quot;font&quot;
+                RenderText {#text} at (54,40) size 760x39
+                  text run at (54,40) width 184: &quot; property, making it invalid. &quot;
+                  text run at (237,40) width 523: &quot;Therefore, this paragraph's font should be the UA default, and match the previous&quot;
+                  text run at (0,60) width 72: &quot;paragraph. &quot;
+                  text run at (71,60) width 197: &quot;If this is not the case, then the &quot;
+                RenderInline {CODE} at (0,0) size 32x14
+                  RenderText {#text} at (267,65) size 32x14
+                    text run at (267,65) width 32: &quot;font&quot;
+                RenderText {#text} at (298,60) size 255x19
+                  text run at (298,60) width 255: &quot; declaration is being improperly parsed.&quot;
+              RenderBlock {P} at (4,1276) size 762x60
+                RenderText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 513: &quot;The text of this paragraph should be normal size because the selector is invalid. &quot;
+                  text run at (512,0) width 30: &quot;The &quot;
+                RenderInline {EM} at (0,0) size 102x19
+                  RenderText {#text} at (541,0) size 102x19
+                    text run at (541,0) width 102: &quot;emphasized text&quot;
+                RenderText {#text} at (642,0) size 56x19
+                  text run at (642,0) width 56: &quot; and the &quot;
+                RenderInline {STRONG} at (0,0) size 741x39
+                  RenderText {#text} at (697,0) size 741x39
+                    text run at (697,0) width 44: &quot;strong&quot;
+                    text run at (0,20) width 26: &quot;text&quot;
+                RenderText {#text} at (25,20) size 736x39
+                  text run at (25,20) width 711: &quot; within it should also be normal size, since the entire ruleset should be skipped (since in some future version of&quot;
+                  text run at (0,40) width 603: &quot;CSS, there could be an operator within the selector that has higher precedence than a comma).&quot;
+              RenderBlock {P} at (4,1352) size 762x40
+                RenderText {#text} at (0,0) size 474x19
+                  text run at (0,0) width 474: &quot;This paragraph should be black, because the line before the declaration is &quot;
+                RenderInline {STRONG} at (0,0) size 23x19
+                  RenderText {#text} at (473,0) size 23x19
+                    text run at (473,0) width 23: &quot;not&quot;
+                RenderText {#text} at (495,0) size 759x39
+                  text run at (495,0) width 264: &quot; a comment and therefore the selector for&quot;
+                  text run at (0,20) width 141: &quot;P.nineteenb is invalid.&quot;
+              RenderBlock {P} at (4,1408) size 762x20 [color=#0000FF]
+                RenderText {#text} at (0,0) size 481x19
+                  text run at (0,0) width 481: &quot;This paragraph should be blue, because only the first declaration is invalid.&quot;
+              RenderBlock {P} at (4,1444) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 489x19
+                  text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+              RenderBlock {P} at (4,1480) size 762x20 [color=#800080]
+                RenderText {#text} at (0,0) size 494x19
+                  text run at (0,0) width 494: &quot;This paragraph should be purple, because only the first declaration is invalid.&quot;
+              RenderBlock {P} at (4,1516) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 489x19
+                  text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+              RenderBlock {P} at (4,1552) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 489x19
+                  text run at (0,0) width 489: &quot;This paragraph should be green, because only the first declaration is invalid.&quot;
+              RenderBlock {P} at (4,1588) size 762x20
+                RenderText {#text} at (48,0) size 612x19
+                  text run at (48,0) width 494: &quot;This paragraph should be indented half an inch, but it should not be maroon. &quot;
+                  text run at (541,0) width 119: &quot;It should be black.&quot;
+              RenderBlock {P} at (4,1624) size 762x40
+                RenderText {#text} at (0,0) size 743x39
+                  text run at (0,0) width 743: &quot;This paragraph should be black, because the color declaration after the previous ruleset should be considered part of&quot;
+                  text run at (0,20) width 656: &quot;the selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfontexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,226 @@
</span><ins>+layer at (0,0) size 800x4172
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x4172
+  RenderBlock {HTML} at (0,0) size 800x4173
+    RenderBody {BODY} at (8,8) size 784x4157 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x15
+        RenderText {#text} at (0,0) size 272x14
+          text run at (0,0) width 272: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,27) size 784x156
+        RenderText {#text} at (0,0) size 411x156
+          text run at (0,0) width 166: &quot;BODY {font-size: 12px;}&quot;
+          text run at (165,0) width 1: &quot; &quot;
+          text run at (0,13) width 332: &quot;.one {font: italic small-caps 13pt Helvetica;}&quot;
+          text run at (331,13) width 1: &quot; &quot;
+          text run at (0,26) width 209: &quot;.two {font: 150%/150% serif;}&quot;
+          text run at (208,26) width 1: &quot; &quot;
+          text run at (0,39) width 260: &quot;.three {font: 150%/150% sans-serif;}&quot;
+          text run at (259,39) width 1: &quot; &quot;
+          text run at (0,52) width 238: &quot;.four {font: small/200% cursive;}&quot;
+          text run at (237,52) width 1: &quot; &quot;
+          text run at (0,65) width 411: &quot;.five {font: italic small-caps 900 150%/150% sans-serif;}&quot;
+          text run at (410,65) width 1: &quot; &quot;
+          text run at (0,78) width 404: &quot;.six {font: italic small-caps 100 150%/300% sans-serif;}&quot;
+          text run at (403,78) width 1: &quot; &quot;
+          text run at (0,91) width 404: &quot;.seven {font: italic small-caps 900 150%/2em monospace;}&quot;
+          text run at (403,91) width 1: &quot; &quot;
+          text run at (0,104) width 411: &quot;.eight {font: italic small-caps 500 150%/1in sans-serif;}&quot;
+          text run at (410,104) width 1: &quot; &quot;
+          text run at (0,117) width 389: &quot;.nine {font: oblique normal 700 18px/200% sans-serif;}&quot;
+          text run at (388,117) width 1: &quot; &quot;
+          text run at (0,130) width 310: &quot;.ten {font: normal 400 80%/2.5 sans-serif;}&quot;
+          text run at (309,130) width 1: &quot; &quot;
+          text run at (0,143) width 274: &quot;SPAN.color {background-color: silver;}&quot;
+          text run at (273,143) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,195) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,209) size 784x15
+        RenderText {#text} at (0,0) size 719x14
+          text run at (0,0) width 431: &quot;This element is unstyled, and should inherit a font-size of 12px from the BODY element. &quot;
+          text run at (430,0) width 289: &quot;This is the \&quot;base font size\&quot; referred to in the following tests.&quot;
+      RenderBlock {P} at (0,241) size 784x22
+        RenderText {#text} at (0,0) size 489x21
+          text run at (0,0) width 489: &quot;This element should be 13pt. Helvetica which is in small-cap italics.&quot;
+      RenderBlock {P} at (0,280) size 784x82
+        RenderText {#text} at (0,3) size 764x75
+          text run at (0,3) width 278: &quot;This element should be in a serif font. &quot;
+          text run at (277,3) width 475: &quot;Its font-size should be 150% the base font size, and its line-height&quot;
+          text run at (0,30) width 418: &quot;should 150% of that value (18px and 27px, respectively). &quot;
+          text run at (417,30) width 347: &quot;Extra text is included for the purposes of testing&quot;
+          text run at (0,57) width 152: &quot;this more effectively.&quot;
+      RenderBlock {P} at (0,379) size 784x82
+        RenderText {#text} at (0,2) size 784x76
+          text run at (0,2) width 349: &quot;This element should be in a sans-serif font. &quot;
+          text run at (348,2) width 436: &quot;Its font-size should be 150% the base font size, and its&quot;
+          text run at (0,29) width 546: &quot;line-height should 150% of that value (18px and 27px, respectively). &quot;
+          text run at (545,29) width 223: &quot;Extra text is included for the&quot;
+          text run at (0,56) width 320: &quot;purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,478) size 784x81
+        RenderText {#text} at (0,5) size 778x15
+          text run at (0,5) width 599: &quot;This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. &quot;
+          text run at (598,5) width 180: &quot;For example, if the font-size value&quot;
+        RenderInline {CODE} at (0,0) size 31x11
+          RenderText {#text} at (0,35) size 31x11
+            text run at (0,35) width 31: &quot;small&quot;
+        RenderText {#text} at (30,31) size 751x43
+          text run at (30,31) width 307: &quot; is calculated at 10px, then the line-height should be 20px. &quot;
+          text run at (336,31) width 267: &quot;The actual value of the font-size is UA-dependent. &quot;
+          text run at (602,31) width 149: &quot;Extra text is included for the&quot;
+          text run at (0,59) width 212: &quot;purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,576) size 784x82
+        RenderText {#text} at (0,2) size 777x76
+          text run at (0,2) width 711: &quot;This element should be in a sans-serif font, italicized and small caps, with a weight of 900. &quot;
+          text run at (710,2) width 67: &quot;Its font-&quot;
+          text run at (0,29) width 771: &quot;size should be 150% the base font size, and its line-height should be 150% of that value (18px and&quot;
+          text run at (0,56) width 158: &quot;27px, respectively). &quot;
+          text run at (157,56) width 561: &quot;Extra text is included for the purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,675) size 784x163
+        RenderText {#text} at (0,16) size 773x130
+          text run at (0,16) width 682: &quot;This element should be in a sans-serif font, italicized and small caps, with a weight of 100. &quot;
+          text run at (681,16) width 92: &quot;Its font-size&quot;
+          text run at (0,70) width 758: &quot;should be 150% the base font size, and its line-height should be 300% of that value (18px and 54px,&quot;
+          text run at (0,124) width 104: &quot;respectively). &quot;
+          text run at (103,124) width 533: &quot;Extra text is included for the purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,855) size 784x145
+        RenderText {#text} at (0,8) size 780x127
+          text run at (0,8) width 771: &quot;This element should be in a monospace font, italicized and small caps, with a weight of 900.&quot;
+          text run at (0,44) width 780: &quot;Its font-size should be 150% the base font size, and its line-height should be 2em, or twice&quot;
+          text run at (0,80) width 471: &quot;the element's font size (18px and 36px, respectively). &quot;
+          text run at (470,80) width 248: &quot;Extra text is included for the&quot;
+          text run at (0,116) width 338: &quot;purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,1017) size 784x289
+        RenderText {#text} at (0,37) size 768x214
+          text run at (0,37) width 702: &quot;This element should be in a sans-serif font, italicized and small caps, with a weight of 500. &quot;
+          text run at (701,37) width 67: &quot;Its font-&quot;
+          text run at (0,133) width 635: &quot;size should be 150% the base font size, or 18px, and its line-height should be 1in. &quot;
+          text run at (634,133) width 101: &quot;Extra text is&quot;
+          text run at (0,229) width 454: &quot;included for the purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,1323) size 784x109
+        RenderText {#text} at (0,7) size 774x94
+          text run at (0,7) width 753: &quot;This element should be in a sans-serif font, oblique and not small-caps, with a weight of&quot;
+          text run at (0,43) width 41: &quot;700. &quot;
+          text run at (40,43) width 666: &quot;Its font-size should be 18 pixels, and its line-height should be 36px (200% this&quot;
+          text run at (0,79) width 177: &quot;element's font size). &quot;
+          text run at (176,79) width 598: &quot;Extra text is included for the purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,1449) size 784x51
+        RenderText {#text} at (0,6) size 773x38
+          text run at (0,6) width 288: &quot;This element should be in a sans-serif font, with a weight of 400. &quot;
+          text run at (287,6) width 433: &quot;Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px. &quot;
+          text run at (719,6) width 54: &quot;Extra text is&quot;
+          text run at (0,31) width 249: &quot;included for the purposes of testing this more effectively.&quot;
+      RenderBlock {P} at (0,1517) size 784x217
+        RenderInline {SPAN} at (0,0) size 780x184 [bgcolor=#C0C0C0]
+          RenderText {#text} at (0,16) size 780x184
+            text run at (0,16) width 682: &quot;This element should be in a sans-serif font, italicized and small caps, with a weight of 100. &quot;
+            text run at (681,16) width 92: &quot;Its font-size&quot;
+            text run at (0,70) width 758: &quot;should be 150% the base font size, and its line-height should be 300% of that value (18px and 54px,&quot;
+            text run at (0,124) width 780: &quot;respectively). The text should have a silver background. The background color has been set on an inline&quot;
+            text run at (0,178) width 569: &quot;element and should therefore only cover the text, not the interline spacing.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderTable {TABLE} at (0,1751) size 784x2406 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x2403
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x2375
+            RenderTableCell {TD} at (0,1201) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x2376 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 574: &quot;This element is unstyled, and should inherit a font-size of 12px from the BODY element. &quot;
+                  text run at (573,0) width 172: &quot;This is the \&quot;base font size\&quot;&quot;
+                  text run at (0,20) width 210: &quot;referred to in the following tests.&quot;
+              RenderBlock {P} at (4,61) size 762x22
+                RenderText {#text} at (0,0) size 489x21
+                  text run at (0,0) width 489: &quot;This element should be 13pt. Helvetica which is in small-cap italics.&quot;
+              RenderBlock {P} at (4,106) size 762x145
+                RenderText {#text} at (0,4) size 729x136
+                  text run at (0,4) width 370: &quot;This element should be in a serif font. &quot;
+                  text run at (369,4) width 360: &quot;Its font-size should be 150% the base&quot;
+                  text run at (0,40) width 688: &quot;font size, and its line-height should 150% of that value (18px and 27px,&quot;
+                  text run at (0,76) width 136: &quot;respectively). &quot;
+                  text run at (135,76) width 559: &quot;Extra text is included for the purposes of testing this more&quot;
+                  text run at (0,112) width 107: &quot;effectively.&quot;
+              RenderBlock {P} at (4,274) size 762x145
+                RenderText {#text} at (0,3) size 756x137
+                  text run at (0,3) width 465: &quot;This element should be in a sans-serif font. &quot;
+                  text run at (464,3) width 234: &quot;Its font-size should be&quot;
+                  text run at (0,39) width 741: &quot;150% the base font size, and its line-height should 150% of that value&quot;
+                  text run at (0,75) width 327: &quot;(18px and 27px, respectively). &quot;
+                  text run at (326,75) width 430: &quot;Extra text is included for the purposes of&quot;
+                  text run at (0,111) width 294: &quot;testing this more effectively.&quot;
+              RenderBlock {P} at (4,442) size 762x81
+                RenderText {#text} at (0,5) size 747x41
+                  text run at (0,5) width 599: &quot;This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. &quot;
+                  text run at (598,5) width 149: &quot;For example, if the font-size&quot;
+                  text run at (0,31) width 32: &quot;value &quot;
+                RenderInline {CODE} at (0,0) size 31x11
+                  RenderText {#text} at (31,35) size 31x11
+                    text run at (31,35) width 31: &quot;small&quot;
+                RenderText {#text} at (61,31) size 745x43
+                  text run at (61,31) width 307: &quot; is calculated at 10px, then the line-height should be 20px. &quot;
+                  text run at (367,31) width 267: &quot;The actual value of the font-size is UA-dependent. &quot;
+                  text run at (633,31) width 112: &quot;Extra text is included&quot;
+                  text run at (0,59) width 249: &quot;for the purposes of testing this more effectively.&quot;
+              RenderBlock {P} at (4,546) size 762x181
+                RenderText {#text} at (0,3) size 724x173
+                  text run at (0,3) width 715: &quot;This element should be in a sans-serif font, italicized and small caps,&quot;
+                  text run at (0,39) width 226: &quot;with a weight of 900. &quot;
+                  text run at (225,39) width 499: &quot;Its font-size should be 150% the base font size,&quot;
+                  text run at (0,75) width 674: &quot;and its line-height should be 150% of that value (18px and 27px,&quot;
+                  text run at (0,111) width 148: &quot;respectively). &quot;
+                  text run at (147,111) width 565: &quot;Extra text is included for the purposes of testing this&quot;
+                  text run at (0,147) width 177: &quot;more effectively.&quot;
+              RenderBlock {P} at (4,750) size 762x289
+                RenderText {#text} at (0,21) size 758x245
+                  text run at (0,21) width 750: &quot;This element should be in a sans-serif font, italicized and small caps, with a&quot;
+                  text run at (0,93) width 154: &quot;weight of 100. &quot;
+                  text run at (153,93) width 605: &quot;Its font-size should be 150% the base font size, and its line-&quot;
+                  text run at (0,165) width 678: &quot;height should be 300% of that value (18px and 54px, respectively). &quot;
+                  text run at (677,165) width 58: &quot;Extra&quot;
+                  text run at (0,237) width 646: &quot;text is included for the purposes of testing this more effectively.&quot;
+              RenderBlock {P} at (4,1062) size 762x196
+                RenderText {#text} at (0,9) size 741x177
+                  text run at (0,9) width 705: &quot;This element should be in a monospace font, italicized and small caps, with a&quot;
+                  text run at (0,48) width 152: &quot;weight of 900. &quot;
+                  text run at (151,48) width 590: &quot;Its font-size should be 150% the base font size, and its line-&quot;
+                  text run at (0,87) width 664: &quot;height should be 2em, or twice the element's font size (18px and 36px,&quot;
+                  text run at (0,126) width 137: &quot;respectively). &quot;
+                  text run at (136,126) width 545: &quot;Extra text is included for the purposes of testing this more&quot;
+                  text run at (0,165) width 105: &quot;effectively.&quot;
+              RenderBlock {P} at (4,1281) size 762x385
+                RenderText {#text} at (0,33) size 754x317
+                  text run at (0,33) width 754: &quot;This element should be in a sans-serif font, italicized and small caps, with&quot;
+                  text run at (0,129) width 176: &quot;a weight of 500. &quot;
+                  text run at (175,129) width 527: &quot;Its font-size should be 150% the base font size, or&quot;
+                  text run at (0,225) width 403: &quot;18px, and its line-height should be 1in. &quot;
+                  text run at (402,225) width 309: &quot;Extra text is included for the&quot;
+                  text run at (0,321) width 430: &quot;purposes of testing this more effectively.&quot;
+              RenderBlock {P} at (4,1689) size 762x145
+                RenderText {#text} at (0,7) size 753x130
+                  text run at (0,7) width 753: &quot;This element should be in a sans-serif font, oblique and not small-caps, with a weight of&quot;
+                  text run at (0,43) width 41: &quot;700. &quot;
+                  text run at (40,43) width 666: &quot;Its font-size should be 18 pixels, and its line-height should be 36px (200% this&quot;
+                  text run at (0,79) width 177: &quot;element's font size). &quot;
+                  text run at (176,79) width 501: &quot;Extra text is included for the purposes of testing this more&quot;
+                  text run at (0,115) width 92: &quot;effectively.&quot;
+              RenderBlock {P} at (4,1851) size 762x65
+                RenderText {#text} at (0,8) size 740x48
+                  text run at (0,8) width 374: &quot;This element should be in a sans-serif font, with a weight of 400. &quot;
+                  text run at (373,8) width 367: &quot;Its font-size should be 80% of 12px, or 9.6px, and its line-height&quot;
+                  text run at (0,40) width 193: &quot;shoud be 2.5 times that, or 24px. &quot;
+                  text run at (192,40) width 396: &quot;Extra text is included for the purposes of testing this more effectively.&quot;
+              RenderBlock {P} at (4,1939) size 762x433
+                RenderInline {SPAN} at (0,0) size 760x389 [bgcolor=#C0C0C0]
+                  RenderText {#text} at (0,21) size 760x389
+                    text run at (0,21) width 750: &quot;This element should be in a sans-serif font, italicized and small caps, with a&quot;
+                    text run at (0,93) width 154: &quot;weight of 100. &quot;
+                    text run at (153,93) width 605: &quot;Its font-size should be 150% the base font size, and its line-&quot;
+                    text run at (0,165) width 760: &quot;height should be 300% of that value (18px and 54px, respectively). The text&quot;
+                    text run at (0,237) width 754: &quot;should have a silver background. The background color has been set on an&quot;
+                    text run at (0,309) width 732: &quot;inline element and should therefore only cover the text, not the interline&quot;
+                    text run at (0,381) width 80: &quot;spacing.&quot;
+                RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_familyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_family-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_family-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_family-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,135 @@
</span><ins>+layer at (0,0) size 800x1306
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1306
+  RenderBlock {HTML} at (0,0) size 800x1306
+    RenderBody {BODY} at (8,8) size 784x1290 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x126
+        RenderText {#text} at (0,0) size 305x126
+          text run at (0,0) width 211: &quot;DIV.a {font-family: serif;}&quot;
+          text run at (210,0) width 1: &quot; &quot;
+          text run at (0,14) width 242: &quot;DIV.b {font-family: monospace;}&quot;
+          text run at (241,14) width 1: &quot; &quot;
+          text run at (0,28) width 203: &quot;.one {font-family: serif;}&quot;
+          text run at (202,28) width 1: &quot; &quot;
+          text run at (0,42) width 242: &quot;.two {font-family: sans-serif;}&quot;
+          text run at (241,42) width 1: &quot; &quot;
+          text run at (0,56) width 235: &quot;.three {font-family: cursive;}&quot;
+          text run at (234,56) width 1: &quot; &quot;
+          text run at (0,70) width 227: &quot;.four {font-family: fantasy;}&quot;
+          text run at (226,70) width 1: &quot; &quot;
+          text run at (0,84) width 242: &quot;.five {font-family: monospace;}&quot;
+          text run at (241,84) width 1: &quot; &quot;
+          text run at (0,98) width 305: &quot;.six {font-family: sans-serif,cursive;}&quot;
+          text run at (304,98) width 1: &quot; &quot;
+          text run at (0,112) width 297: &quot;.seven {font-family: monospace,serif;}&quot;
+          text run at (296,112) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,175) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (0,193) size 784x200
+        RenderBlock {P} at (0,0) size 784x20
+          RenderText {#text} at (0,0) size 655x19
+            text run at (0,0) width 655: &quot;This sentence is normal for the first division, which is the next five sentences; it should be a serif font.&quot;
+        RenderBlock {P} at (0,36) size 784x20
+          RenderText {#text} at (0,0) size 248x19
+            text run at (0,0) width 248: &quot;This sentence should be in a serif font.&quot;
+        RenderBlock {P} at (0,72) size 784x20
+          RenderText {#text} at (0,0) size 314x20
+            text run at (0,0) width 314: &quot;This sentence should be in a sans-serif font.&quot;
+        RenderBlock {P} at (0,108) size 784x20
+          RenderText {#text} at (0,0) size 265x19
+            text run at (0,0) width 265: &quot;This sentence should be in a cursive font.&quot;
+        RenderBlock {P} at (0,144) size 784x26
+          RenderText {#text} at (0,0) size 296x26
+            text run at (0,0) width 296: &quot;This sentence should be in a fantasy font.&quot;
+        RenderBlock {P} at (0,186) size 784x14
+          RenderText {#text} at (0,0) size 344x14
+            text run at (0,0) width 344: &quot;This sentence should be in a monospace font.&quot;
+      RenderBlock {HR} at (0,406) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,424) size 784x20
+        RenderText {#text} at (0,0) size 400x20
+          text run at (0,0) width 400: &quot;This sentence should be in a sans-serif font, not cursive.&quot;
+      RenderBlock {P} at (0,460) size 784x17
+        RenderText {#text} at (0,0) size 529x17
+          text run at (0,0) width 529: &quot;This sentence should be in a monospace font, not serif.&quot;
+      RenderBlock {HR} at (0,493) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (0,508) size 784x208
+        RenderBlock {P} at (0,0) size 784x28
+          RenderText {#text} at (0,0) size 749x28
+            text run at (0,0) width 749: &quot;This sentence is normal for the first division, which is the next five sentences; it should be a&quot;
+            text run at (0,14) width 118: &quot;monospace font.&quot;
+        RenderBlock {P} at (0,44) size 784x20
+          RenderText {#text} at (0,0) size 248x19
+            text run at (0,0) width 248: &quot;This sentence should be in a serif font.&quot;
+        RenderBlock {P} at (0,80) size 784x20
+          RenderText {#text} at (0,0) size 314x20
+            text run at (0,0) width 314: &quot;This sentence should be in a sans-serif font.&quot;
+        RenderBlock {P} at (0,116) size 784x20
+          RenderText {#text} at (0,0) size 265x19
+            text run at (0,0) width 265: &quot;This sentence should be in a cursive font.&quot;
+        RenderBlock {P} at (0,152) size 784x26
+          RenderText {#text} at (0,0) size 296x26
+            text run at (0,0) width 296: &quot;This sentence should be in a fantasy font.&quot;
+        RenderBlock {P} at (0,194) size 784x14
+          RenderText {#text} at (0,0) size 344x14
+            text run at (0,0) width 344: &quot;This sentence should be in a monospace font.&quot;
+      RenderTable {TABLE} at (0,729) size 784x561 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x559
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x531
+            RenderTableCell {TD} at (0,279) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x531 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (4,4) size 762x200
+                RenderBlock {P} at (0,0) size 762x20
+                  RenderText {#text} at (0,0) size 655x19
+                    text run at (0,0) width 655: &quot;This sentence is normal for the first division, which is the next five sentences; it should be a serif font.&quot;
+                RenderBlock {P} at (0,36) size 762x20
+                  RenderText {#text} at (0,0) size 248x19
+                    text run at (0,0) width 248: &quot;This sentence should be in a serif font.&quot;
+                RenderBlock {P} at (0,72) size 762x20
+                  RenderText {#text} at (0,0) size 314x20
+                    text run at (0,0) width 314: &quot;This sentence should be in a sans-serif font.&quot;
+                RenderBlock {P} at (0,108) size 762x20
+                  RenderText {#text} at (0,0) size 265x19
+                    text run at (0,0) width 265: &quot;This sentence should be in a cursive font.&quot;
+                RenderBlock {P} at (0,144) size 762x26
+                  RenderText {#text} at (0,0) size 296x26
+                    text run at (0,0) width 296: &quot;This sentence should be in a fantasy font.&quot;
+                RenderBlock {P} at (0,186) size 762x14
+                  RenderText {#text} at (0,0) size 344x14
+                    text run at (0,0) width 344: &quot;This sentence should be in a monospace font.&quot;
+              RenderBlock {HR} at (4,217) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {P} at (4,235) size 762x20
+                RenderText {#text} at (0,0) size 400x20
+                  text run at (0,0) width 400: &quot;This sentence should be in a sans-serif font, not cursive.&quot;
+              RenderBlock {P} at (4,271) size 762x17
+                RenderText {#text} at (0,0) size 529x17
+                  text run at (0,0) width 529: &quot;This sentence should be in a monospace font, not serif.&quot;
+              RenderBlock {HR} at (4,304) size 762x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (4,319) size 762x208
+                RenderBlock {P} at (0,0) size 762x28
+                  RenderText {#text} at (0,0) size 749x28
+                    text run at (0,0) width 749: &quot;This sentence is normal for the first division, which is the next five sentences; it should be a&quot;
+                    text run at (0,14) width 118: &quot;monospace font.&quot;
+                RenderBlock {P} at (0,44) size 762x20
+                  RenderText {#text} at (0,0) size 248x19
+                    text run at (0,0) width 248: &quot;This sentence should be in a serif font.&quot;
+                RenderBlock {P} at (0,80) size 762x20
+                  RenderText {#text} at (0,0) size 314x20
+                    text run at (0,0) width 314: &quot;This sentence should be in a sans-serif font.&quot;
+                RenderBlock {P} at (0,116) size 762x20
+                  RenderText {#text} at (0,0) size 265x19
+                    text run at (0,0) width 265: &quot;This sentence should be in a cursive font.&quot;
+                RenderBlock {P} at (0,152) size 762x26
+                  RenderText {#text} at (0,0) size 296x26
+                    text run at (0,0) width 296: &quot;This sentence should be in a fantasy font.&quot;
+                RenderBlock {P} at (0,194) size 762x14
+                  RenderText {#text} at (0,0) size 344x14
+                    text run at (0,0) width 344: &quot;This sentence should be in a monospace font.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_sizeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_size-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_size-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_size-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,256 @@
</span><ins>+layer at (0,0) size 800x2812
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2812
+  RenderBlock {HTML} at (0,0) size 800x2813
+    RenderBody {BODY} at (8,8) size 784x2797 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x280
+        RenderText {#text} at (0,0) size 219x280
+          text run at (0,0) width 196: &quot;.one {font-size: medium;}&quot;
+          text run at (195,0) width 1: &quot; &quot;
+          text run at (0,14) width 196: &quot;.two {font-size: larger;}&quot;
+          text run at (195,14) width 1: &quot; &quot;
+          text run at (0,28) width 219: &quot;.three {font-size: smaller;}&quot;
+          text run at (218,28) width 1: &quot; &quot;
+          text run at (0,42) width 219: &quot;.four {font-size: xx-small;}&quot;
+          text run at (218,42) width 1: &quot; &quot;
+          text run at (0,56) width 211: &quot;.five {font-size: x-small;}&quot;
+          text run at (210,56) width 1: &quot; &quot;
+          text run at (0,70) width 188: &quot;.six {font-size: small;}&quot;
+          text run at (187,70) width 1: &quot; &quot;
+          text run at (0,84) width 203: &quot;.seven {font-size: large;}&quot;
+          text run at (202,84) width 1: &quot; &quot;
+          text run at (0,98) width 219: &quot;.eight {font-size: x-large;}&quot;
+          text run at (218,98) width 1: &quot; &quot;
+          text run at (0,112) width 219: &quot;.nine {font-size: xx-large;}&quot;
+          text run at (218,112) width 1: &quot; &quot;
+          text run at (0,126) width 172: &quot;.a {font-size: 0.5in;}&quot;
+          text run at (171,126) width 1: &quot; &quot;
+          text run at (0,140) width 157: &quot;.b {font-size: 1cm;}&quot;
+          text run at (156,140) width 1: &quot; &quot;
+          text run at (0,154) width 164: &quot;.c {font-size: 10mm;}&quot;
+          text run at (163,154) width 1: &quot; &quot;
+          text run at (0,168) width 164: &quot;.d {font-size: 18pt;}&quot;
+          text run at (163,168) width 1: &quot; &quot;
+          text run at (0,182) width 172: &quot;.e {font-size: 1.5pc;}&quot;
+          text run at (171,182) width 1: &quot; &quot;
+          text run at (0,196) width 157: &quot;.f {font-size: 2em;}&quot;
+          text run at (156,196) width 1: &quot; &quot;
+          text run at (0,210) width 157: &quot;.g {font-size: 3ex;}&quot;
+          text run at (156,210) width 1: &quot; &quot;
+          text run at (0,224) width 164: &quot;.h {font-size: 25px;}&quot;
+          text run at (163,224) width 1: &quot; &quot;
+          text run at (0,238) width 164: &quot;.i {font-size: 200%;}&quot;
+          text run at (163,238) width 1: &quot; &quot;
+          text run at (0,252) width 180: &quot;.j {font-size: -0.5in;}&quot;
+          text run at (179,252) width 1: &quot; &quot;
+          text run at (0,266) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,329) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,347) size 784x20
+        RenderText {#text} at (0,0) size 707x19
+          text run at (0,0) width 707: &quot;This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent.&quot;
+      RenderBlock {P} at (0,383) size 784x20
+        RenderText {#text} at (0,0) size 190x19
+          text run at (0,0) width 190: &quot;This sentence has been set to &quot;
+        RenderInline {CODE} at (0,0) size 48x14
+          RenderText {#text} at (189,5) size 48x14
+            text run at (189,5) width 48: &quot;medium&quot;
+        RenderText {#text} at (236,0) size 368x19
+          text run at (236,0) width 368: &quot;, which may or may not be the same size as unstyled text.&quot;
+      RenderBlock {P} at (0,422) size 784x24
+        RenderText {#text} at (0,0) size 376x22
+          text run at (0,0) width 376: &quot;This sentence should be larger than unstyled text.&quot;
+      RenderBlock {P} at (0,464) size 784x17
+        RenderText {#text} at (0,0) size 265x15
+          text run at (0,0) width 265: &quot;This sentence should be smaller than unstyled text.&quot;
+      RenderBlock {P} at (0,493) size 784x21
+        RenderText {#text} at (0,6) size 286x11
+          text run at (0,6) width 286: &quot;This sentence should be very small, but the last word in the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 54x19
+          RenderText {#text} at (285,0) size 54x19
+            text run at (285,0) width 54: &quot;medium&quot;
+        RenderText {#text} at (338,6) size 3x11
+          text run at (338,6) width 3: &quot;.&quot;
+      RenderBlock {P} at (0,523) size 784x21
+        RenderText {#text} at (0,6) size 324x12
+          text run at (0,6) width 324: &quot;This sentence should be rather small, but the last word in the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 53x19
+          RenderText {#text} at (323,0) size 53x19
+            text run at (323,0) width 53: &quot;medium&quot;
+        RenderText {#text} at (375,6) size 4x12
+          text run at (375,6) width 4: &quot;.&quot;
+      RenderBlock {P} at (0,556) size 784x21
+        RenderText {#text} at (0,3) size 387x15
+          text run at (0,3) width 387: &quot;This sentence should be small, but the last word in the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 54x19
+          RenderText {#text} at (386,0) size 54x19
+            text run at (386,0) width 54: &quot;medium&quot;
+        RenderText {#text} at (439,3) size 4x15
+          text run at (439,3) width 4: &quot;.&quot;
+      RenderBlock {P} at (0,594) size 784x23
+        RenderText {#text} at (0,0) size 533x21
+          text run at (0,0) width 533: &quot;This sentence should be large, but the last word in the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 53x19
+          RenderText {#text} at (532,2) size 53x19
+            text run at (532,2) width 53: &quot;medium&quot;
+        RenderText {#text} at (584,0) size 5x21
+          text run at (584,0) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,640) size 784x61
+        RenderText {#text} at (0,1) size 766x28
+          text run at (0,1) width 766: &quot;This sentence should be rather large, but the last word in the sentence should be&quot;
+        RenderInline {SPAN} at (0,0) size 53x19
+          RenderText {#text} at (0,38) size 53x19
+            text run at (0,38) width 53: &quot;medium&quot;
+        RenderText {#text} at (52,31) size 7x28
+          text run at (52,31) width 7: &quot;.&quot;
+      RenderBlock {P} at (0,732) size 784x77
+        RenderText {#text} at (0,1) size 753x74
+          text run at (0,1) width 753: &quot;This sentence should be very large, but the last word in the&quot;
+          text run at (0,39) width 250: &quot;sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 54x19
+          RenderText {#text} at (249,53) size 54x19
+            text run at (249,53) width 54: &quot;medium&quot;
+        RenderText {#text} at (302,39) size 9x36
+          text run at (302,39) width 9: &quot;.&quot;
+      RenderBlock {P} at (0,856) size 784x58
+        RenderText {#text} at (0,1) size 784x54
+          text run at (0,1) width 784: &quot;This sentence should be half an inch tall.&quot;
+      RenderBlock {P} at (0,961) size 784x46
+        RenderText {#text} at (0,1) size 666x43
+          text run at (0,1) width 666: &quot;This sentence should be one centimeter tall.&quot;
+      RenderBlock {P} at (0,1044) size 784x46
+        RenderText {#text} at (0,1) size 671x43
+          text run at (0,1) width 671: &quot;This sentence should be ten millimeters tall.&quot;
+      RenderBlock {P} at (0,1127) size 784x31
+        RenderText {#text} at (0,1) size 425x28
+          text run at (0,1) width 425: &quot;This sentence should be eighteen points tall.&quot;
+      RenderBlock {P} at (0,1181) size 784x31
+        RenderText {#text} at (0,1) size 494x28
+          text run at (0,1) width 494: &quot;This sentence should be one and one half picas tall.&quot;
+      RenderBlock {P} at (0,1243) size 784x39
+        RenderText {#text} at (0,1) size 467x36
+          text run at (0,1) width 467: &quot;This sentence should be two em tall.&quot;
+      RenderBlock {P} at (0,1313) size 784x26
+        RenderText {#text} at (0,0) size 311x24
+          text run at (0,0) width 311: &quot;This sentence should be three ex tall.&quot;
+      RenderBlock {P} at (0,1363) size 784x32
+        RenderText {#text} at (0,1) size 472x29
+          text run at (0,1) width 472: &quot;This sentence should be twenty-five pixels tall.&quot;
+      RenderBlock {P} at (0,1426) size 784x39
+        RenderText {#text} at (0,1) size 549x36
+          text run at (0,1) width 549: &quot;This sentence should be twice normal size.&quot;
+      RenderBlock {P} at (0,1496) size 784x21
+        RenderText {#text} at (0,0) size 686x19
+          text run at (0,0) width 686: &quot;This sentence should be normal size, since no negative values are allowed and therefore should be ignored.&quot;
+      RenderTable {TABLE} at (0,1532) size 784x1265 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1262
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1234
+            RenderTableCell {TD} at (0,631) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1235 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 707x19
+                  text run at (0,0) width 707: &quot;This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent.&quot;
+              RenderBlock {P} at (4,40) size 762x20
+                RenderText {#text} at (0,0) size 190x19
+                  text run at (0,0) width 190: &quot;This sentence has been set to &quot;
+                RenderInline {CODE} at (0,0) size 48x14
+                  RenderText {#text} at (189,5) size 48x14
+                    text run at (189,5) width 48: &quot;medium&quot;
+                RenderText {#text} at (236,0) size 368x19
+                  text run at (236,0) width 368: &quot;, which may or may not be the same size as unstyled text.&quot;
+              RenderBlock {P} at (4,79) size 762x24
+                RenderText {#text} at (0,0) size 376x22
+                  text run at (0,0) width 376: &quot;This sentence should be larger than unstyled text.&quot;
+              RenderBlock {P} at (4,121) size 762x17
+                RenderText {#text} at (0,0) size 265x15
+                  text run at (0,0) width 265: &quot;This sentence should be smaller than unstyled text.&quot;
+              RenderBlock {P} at (4,150) size 762x21
+                RenderText {#text} at (0,6) size 286x11
+                  text run at (0,6) width 286: &quot;This sentence should be very small, but the last word in the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 54x19
+                  RenderText {#text} at (285,0) size 54x19
+                    text run at (285,0) width 54: &quot;medium&quot;
+                RenderText {#text} at (338,6) size 3x11
+                  text run at (338,6) width 3: &quot;.&quot;
+              RenderBlock {P} at (4,180) size 762x21
+                RenderText {#text} at (0,6) size 324x12
+                  text run at (0,6) width 324: &quot;This sentence should be rather small, but the last word in the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 53x19
+                  RenderText {#text} at (323,0) size 53x19
+                    text run at (323,0) width 53: &quot;medium&quot;
+                RenderText {#text} at (375,6) size 4x12
+                  text run at (375,6) width 4: &quot;.&quot;
+              RenderBlock {P} at (4,213) size 762x21
+                RenderText {#text} at (0,3) size 387x15
+                  text run at (0,3) width 387: &quot;This sentence should be small, but the last word in the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 54x19
+                  RenderText {#text} at (386,0) size 54x19
+                    text run at (386,0) width 54: &quot;medium&quot;
+                RenderText {#text} at (439,3) size 4x15
+                  text run at (439,3) width 4: &quot;.&quot;
+              RenderBlock {P} at (4,251) size 762x23
+                RenderText {#text} at (0,0) size 533x21
+                  text run at (0,0) width 533: &quot;This sentence should be large, but the last word in the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 53x19
+                  RenderText {#text} at (532,2) size 53x19
+                    text run at (532,2) width 53: &quot;medium&quot;
+                RenderText {#text} at (584,0) size 5x21
+                  text run at (584,0) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,297) size 762x61
+                RenderText {#text} at (0,1) size 737x58
+                  text run at (0,1) width 737: &quot;This sentence should be rather large, but the last word in the sentence should&quot;
+                  text run at (0,31) width 29: &quot;be &quot;
+                RenderInline {SPAN} at (0,0) size 54x19
+                  RenderText {#text} at (28,38) size 54x19
+                    text run at (28,38) width 54: &quot;medium&quot;
+                RenderText {#text} at (81,31) size 7x28
+                  text run at (81,31) width 7: &quot;.&quot;
+              RenderBlock {P} at (4,389) size 762x77
+                RenderText {#text} at (0,1) size 753x74
+                  text run at (0,1) width 753: &quot;This sentence should be very large, but the last word in the&quot;
+                  text run at (0,39) width 250: &quot;sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 54x19
+                  RenderText {#text} at (249,53) size 54x19
+                    text run at (249,53) width 54: &quot;medium&quot;
+                RenderText {#text} at (302,39) size 9x36
+                  text run at (302,39) width 9: &quot;.&quot;
+              RenderBlock {P} at (4,513) size 762x115
+                RenderText {#text} at (0,1) size 699x111
+                  text run at (0,1) width 699: &quot;This sentence should be half an inch&quot;
+                  text run at (0,58) width 74: &quot;tall.&quot;
+              RenderBlock {P} at (4,675) size 762x46
+                RenderText {#text} at (0,1) size 666x43
+                  text run at (0,1) width 666: &quot;This sentence should be one centimeter tall.&quot;
+              RenderBlock {P} at (4,758) size 762x46
+                RenderText {#text} at (0,1) size 671x43
+                  text run at (0,1) width 671: &quot;This sentence should be ten millimeters tall.&quot;
+              RenderBlock {P} at (4,841) size 762x31
+                RenderText {#text} at (0,1) size 425x28
+                  text run at (0,1) width 425: &quot;This sentence should be eighteen points tall.&quot;
+              RenderBlock {P} at (4,895) size 762x31
+                RenderText {#text} at (0,1) size 494x28
+                  text run at (0,1) width 494: &quot;This sentence should be one and one half picas tall.&quot;
+              RenderBlock {P} at (4,957) size 762x39
+                RenderText {#text} at (0,1) size 467x36
+                  text run at (0,1) width 467: &quot;This sentence should be two em tall.&quot;
+              RenderBlock {P} at (4,1027) size 762x26
+                RenderText {#text} at (0,0) size 311x24
+                  text run at (0,0) width 311: &quot;This sentence should be three ex tall.&quot;
+              RenderBlock {P} at (4,1077) size 762x32
+                RenderText {#text} at (0,1) size 472x29
+                  text run at (0,1) width 472: &quot;This sentence should be twenty-five pixels tall.&quot;
+              RenderBlock {P} at (4,1140) size 762x39
+                RenderText {#text} at (0,1) size 549x36
+                  text run at (0,1) width 549: &quot;This sentence should be twice normal size.&quot;
+              RenderBlock {P} at (4,1210) size 762x21
+                RenderText {#text} at (0,0) size 686x19
+                  text run at (0,0) width 686: &quot;This sentence should be normal size, since no negative values are allowed and therefore should be ignored.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_styleexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_style-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_style-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_style-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 242x56
+          text run at (0,0) width 203: &quot;.one {font-style: italic;}&quot;
+          text run at (202,0) width 1: &quot; &quot;
+          text run at (0,14) width 211: &quot;.two {font-style: oblique;}&quot;
+          text run at (210,14) width 1: &quot; &quot;
+          text run at (0,28) width 242: &quot;.three, I {font-style: normal;}&quot;
+          text run at (241,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x20
+        RenderText {#text} at (0,0) size 510x19
+          text run at (0,0) width 510: &quot;This paragraph should be in italics, but the last word of the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 46x19
+          RenderText {#text} at (509,0) size 46x19
+            text run at (509,0) width 46: &quot;normal&quot;
+        RenderText {#text} at (554,0) size 5x19
+          text run at (554,0) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,159) size 784x20
+        RenderText {#text} at (0,0) size 222x19
+          text run at (0,0) width 222: &quot;This paragraph should be oblique.&quot;
+      RenderBlock {P} at (0,195) size 784x20
+        RenderInline {I} at (0,0) size 216x19
+          RenderText {#text} at (0,0) size 216x19
+            text run at (0,0) width 216: &quot;This paragraph should be normal.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderTable {TABLE} at (0,231) size 581x130 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 579x128
+          RenderTableRow {TR} at (0,0) size 579x28
+            RenderTableCell {TD} at (0,0) size 579x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 579x100
+            RenderTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 567x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 559x20
+                RenderText {#text} at (0,0) size 510x19
+                  text run at (0,0) width 510: &quot;This paragraph should be in italics, but the last word of the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 46x19
+                  RenderText {#text} at (509,0) size 46x19
+                    text run at (509,0) width 46: &quot;normal&quot;
+                RenderText {#text} at (554,0) size 5x19
+                  text run at (554,0) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,40) size 559x20
+                RenderText {#text} at (0,0) size 222x19
+                  text run at (0,0) width 222: &quot;This paragraph should be oblique.&quot;
+              RenderBlock {P} at (4,76) size 559x20
+                RenderInline {I} at (0,0) size 216x19
+                  RenderText {#text} at (0,0) size 216x19
+                    text run at (0,0) width 216: &quot;This paragraph should be normal.&quot;
+                RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_variantexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_variant-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_variant-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_variant-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x42
+        RenderText {#text} at (0,0) size 250x42
+          text run at (0,0) width 250: &quot;.one {font-variant: small-caps;}&quot;
+          text run at (249,0) width 1: &quot; &quot;
+          text run at (0,14) width 219: &quot;.two {font-variant: normal;}&quot;
+          text run at (218,14) width 1: &quot; &quot;
+          text run at (0,28) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,91) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,109) size 784x20
+        RenderText {#text} at (0,0) size 270x19
+          text run at (0,0) width 270: &quot;This Paragraph should be in Small Caps.&quot;
+      RenderBlock {P} at (0,145) size 784x20
+        RenderText {#text} at (0,0) size 577x19
+          text run at (0,0) width 577: &quot;This Paragraph should be in Small Caps, but the Last Word in the Sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 50x19
+          RenderText {#text} at (576,0) size 50x19
+            text run at (576,0) width 50: &quot;Normal&quot;
+        RenderText {#text} at (625,0) size 5x19
+          text run at (625,0) width 5: &quot;.&quot;
+      RenderTable {TABLE} at (0,181) size 652x94 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 650x92
+          RenderTableRow {TR} at (0,0) size 650x28
+            RenderTableCell {TD} at (0,0) size 650x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 650x64
+            RenderTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 638x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 630x20
+                RenderText {#text} at (0,0) size 270x19
+                  text run at (0,0) width 270: &quot;This Paragraph should be in Small Caps.&quot;
+              RenderBlock {P} at (4,40) size 630x20
+                RenderText {#text} at (0,0) size 577x19
+                  text run at (0,0) width 577: &quot;This Paragraph should be in Small Caps, but the Last Word in the Sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 50x19
+                  RenderText {#text} at (576,0) size 50x19
+                    text run at (576,0) width 50: &quot;Normal&quot;
+                RenderText {#text} at (625,0) size 5x19
+                  text run at (625,0) width 5: &quot;.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1font_propertiesfont_weightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_weight-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_weight-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/font_properties/font_weight-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,124 @@
</span><ins>+layer at (0,0) size 800x1083
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1083
+  RenderBlock {HTML} at (0,0) size 800x1083
+    RenderBody {BODY} at (8,8) size 784x1067 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 235x154
+          text run at (0,0) width 196: &quot;.one {font-weight: bold;}&quot;
+          text run at (195,0) width 1: &quot; &quot;
+          text run at (0,14) width 211: &quot;.two {font-weight: bolder;}&quot;
+          text run at (210,14) width 1: &quot; &quot;
+          text run at (0,28) width 235: &quot;.three {font-weight: lighter;}&quot;
+          text run at (234,28) width 1: &quot; &quot;
+          text run at (0,42) width 196: &quot;.four {font-weight: 100;}&quot;
+          text run at (195,42) width 1: &quot; &quot;
+          text run at (0,56) width 196: &quot;.five {font-weight: 300;}&quot;
+          text run at (195,56) width 1: &quot; &quot;
+          text run at (0,70) width 188: &quot;.six {font-weight: 500;}&quot;
+          text run at (187,70) width 1: &quot; &quot;
+          text run at (0,84) width 203: &quot;.seven {font-weight: 700;}&quot;
+          text run at (202,84) width 1: &quot; &quot;
+          text run at (0,98) width 203: &quot;.eight {font-weight: 900;}&quot;
+          text run at (202,98) width 1: &quot; &quot;
+          text run at (0,112) width 219: &quot;.nine {font-weight: normal;}&quot;
+          text run at (218,112) width 1: &quot; &quot;
+          text run at (0,126) width 196: &quot;B {font-weight: lighter;}&quot;
+          text run at (195,126) width 1: &quot; &quot;
+          text run at (0,140) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,221) size 784x20
+        RenderText {#text} at (0,0) size 200x19
+          text run at (0,0) width 200: &quot;This sentence should be bold.&quot;
+      RenderBlock {P} at (0,257) size 784x20
+        RenderText {#text} at (0,0) size 303x19
+          text run at (0,0) width 303: &quot;This sentence should be bolder than normal.&quot;
+      RenderBlock {H4} at (0,298) size 784x21
+        RenderText {#text} at (0,0) size 133x19
+          text run at (0,0) width 133: &quot;This is a heading-4.&quot;
+      RenderBlock {H4} at (0,339) size 784x21
+        RenderText {#text} at (0,0) size 181x19
+          text run at (0,0) width 181: &quot;This is a bolder heading-4.&quot;
+      RenderBlock {P} at (0,380) size 784x21
+        RenderInline {B} at (0,0) size 361x19
+          RenderText {#text} at (0,0) size 361x19
+            text run at (0,0) width 361: &quot;This sentence should be normal (boldface made lighter).&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,416) size 784x21
+        RenderText {#text} at (0,0) size 233x19
+          text run at (0,0) width 233: &quot;This sentence should be weight 100.&quot;
+      RenderBlock {P} at (0,452) size 784x21
+        RenderText {#text} at (0,0) size 233x19
+          text run at (0,0) width 233: &quot;This sentence should be weight 300.&quot;
+      RenderBlock {P} at (0,488) size 784x21
+        RenderText {#text} at (0,0) size 233x19
+          text run at (0,0) width 233: &quot;This sentence should be weight 500.&quot;
+      RenderBlock {P} at (0,524) size 784x21
+        RenderText {#text} at (0,0) size 243x19
+          text run at (0,0) width 243: &quot;This sentence should be weight 700.&quot;
+      RenderBlock {P} at (0,560) size 784x21
+        RenderText {#text} at (0,0) size 243x19
+          text run at (0,0) width 243: &quot;This sentence should be weight 900.&quot;
+      RenderBlock {P} at (0,596) size 784x21
+        RenderText {#text} at (0,0) size 498x19
+          text run at (0,0) width 498: &quot;This sentence should be bold, but the last word in the sentence should be &quot;
+        RenderInline {SPAN} at (0,0) size 46x19
+          RenderText {#text} at (497,0) size 46x19
+            text run at (497,0) width 46: &quot;normal&quot;
+        RenderText {#text} at (542,0) size 5x19
+          text run at (542,0) width 5: &quot;.&quot;
+      RenderTable {TABLE} at (0,632) size 569x435 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 567x432
+          RenderTableRow {TR} at (0,0) size 567x28
+            RenderTableCell {TD} at (0,0) size 567x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 567x404
+            RenderTableCell {TD} at (0,216) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 555x404 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 547x20
+                RenderText {#text} at (0,0) size 200x19
+                  text run at (0,0) width 200: &quot;This sentence should be bold.&quot;
+              RenderBlock {P} at (4,40) size 547x20
+                RenderText {#text} at (0,0) size 303x19
+                  text run at (0,0) width 303: &quot;This sentence should be bolder than normal.&quot;
+              RenderBlock {H4} at (4,81) size 547x21
+                RenderText {#text} at (0,0) size 133x19
+                  text run at (0,0) width 133: &quot;This is a heading-4.&quot;
+              RenderBlock {H4} at (4,122) size 547x21
+                RenderText {#text} at (0,0) size 181x19
+                  text run at (0,0) width 181: &quot;This is a bolder heading-4.&quot;
+              RenderBlock {P} at (4,163) size 547x21
+                RenderInline {B} at (0,0) size 361x19
+                  RenderText {#text} at (0,0) size 361x19
+                    text run at (0,0) width 361: &quot;This sentence should be normal (boldface made lighter).&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,199) size 547x21
+                RenderText {#text} at (0,0) size 233x19
+                  text run at (0,0) width 233: &quot;This sentence should be weight 100.&quot;
+              RenderBlock {P} at (4,235) size 547x21
+                RenderText {#text} at (0,0) size 233x19
+                  text run at (0,0) width 233: &quot;This sentence should be weight 300.&quot;
+              RenderBlock {P} at (4,271) size 547x21
+                RenderText {#text} at (0,0) size 233x19
+                  text run at (0,0) width 233: &quot;This sentence should be weight 500.&quot;
+              RenderBlock {P} at (4,307) size 547x21
+                RenderText {#text} at (0,0) size 243x19
+                  text run at (0,0) width 243: &quot;This sentence should be weight 700.&quot;
+              RenderBlock {P} at (4,343) size 547x21
+                RenderText {#text} at (0,0) size 243x19
+                  text run at (0,0) width 243: &quot;This sentence should be weight 900.&quot;
+              RenderBlock {P} at (4,379) size 547x21
+                RenderText {#text} at (0,0) size 498x19
+                  text run at (0,0) width 498: &quot;This sentence should be bold, but the last word in the sentence should be &quot;
+                RenderInline {SPAN} at (0,0) size 46x19
+                  RenderText {#text} at (497,0) size 46x19
+                    text run at (497,0) width 46: &quot;normal&quot;
+                RenderText {#text} at (542,0) size 5x19
+                  text run at (542,0) width 5: &quot;.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelcanvasexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/canvas-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/canvas-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/canvas-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600 [bgcolor=#00FFFF]
+    RenderBody {BODY} at (25,25) size 750x550 [bgcolor=#008000]
+      RenderBlock {P} at (0,0) size 750x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 750x28
+        RenderText {#text} at (0,0) size 539x28
+          text run at (0,0) width 235: &quot;HTML {background-color: aqua;}&quot;
+          text run at (234,0) width 1: &quot; &quot;
+          text run at (0,14) width 539: &quot;BODY {background-color: green; background-image: none; margin: 25px;}&quot;
+          text run at (538,14) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,77) size 750x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,95) size 750x60
+        RenderText {#text} at (0,0) size 746x59
+          text run at (0,0) width 392: &quot;The body of this document should have a green background. &quot;
+          text run at (391,0) width 316: &quot;It also has a margin of 25 pixels, so the light blue&quot;
+          text run at (0,20) width 434: &quot;background set for the HTML element should surround the BODY. &quot;
+          text run at (433,20) width 313: &quot;If the BODY content is significantly shorter than&quot;
+          text run at (0,40) width 528: &quot;the browser's window height, then the bottom border may be larger than 25 pixels.&quot;
+      RenderTable {TABLE} at (0,171) size 750x98 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 748x96
+          RenderTableRow {TR} at (0,0) size 748x28
+            RenderTableCell {TD} at (0,0) size 748x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 748x68
+            RenderTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 736x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 728x60
+                RenderText {#text} at (0,0) size 715x59
+                  text run at (0,0) width 392: &quot;The body of this document should have a green background. &quot;
+                  text run at (391,0) width 316: &quot;It also has a margin of 25 pixels, so the light blue&quot;
+                  text run at (0,20) width 434: &quot;background set for the HTML element should surround the BODY. &quot;
+                  text run at (433,20) width 282: &quot;If the BODY content is significantly shorter&quot;
+                  text run at (0,40) width 559: &quot;than the browser's window height, then the bottom border may be larger than 25 pixels.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelfloating_elementsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/floating_elements-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,721 @@
</span><ins>+layer at (0,0) size 800x6801
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x6801
+  RenderBlock {HTML} at (0,0) size 800x6801
+    RenderBody {BODY} at (8,8) size 784x6785 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x126
+        RenderText {#text} at (0,0) size 469x126
+          text run at (0,0) width 266: &quot;HR.minor {clear: both; width: 5%;}&quot;
+          text run at (265,0) width 1: &quot; &quot;
+          text run at (0,14) width 391: &quot;HR.major {clear: both; width: 75%; margin: 1.5em;}&quot;
+          text run at (390,14) width 1: &quot; &quot;
+          text run at (0,28) width 469: &quot;DIV {border: 5px solid purple; padding: 0; margin: 0.125em;}&quot;
+          text run at (468,28) width 1: &quot; &quot;
+          text run at (0,42) width 422: &quot;P.left, P.right {width: 10em; padding: 1em; margin: 0;&quot;
+          text run at (421,42) width 1: &quot; &quot;
+          text run at (0,56) width 414: &quot;   border: 1px solid lime; background-color: silver;}&quot;
+          text run at (413,56) width 1: &quot; &quot;
+          text run at (0,70) width 445: &quot;IMG.left, IMG.right {margin: 0; border: 3px solid black;}&quot;
+          text run at (444,70) width 1: &quot; &quot;
+          text run at (0,84) width 157: &quot;.left {float: left;}&quot;
+          text run at (156,84) width 1: &quot; &quot;
+          text run at (0,98) width 172: &quot;.right {float: right;}&quot;
+          text run at (171,98) width 1: &quot; &quot;
+          text run at (0,112) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,175) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,193) size 784x40
+        RenderText {#text} at (0,0) size 772x39
+          text run at (0,0) width 696: &quot;On this test page, each test is performed once with floating paragraphs, and then again with floating images. &quot;
+          text run at (695,0) width 69: &quot;Other than&quot;
+          text run at (0,20) width 772: &quot;the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats.&quot;
+      RenderBlock {HR} at (24,257) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,283) size 780x110 [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderBlock (floating) {P} at (581,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (199,5) size 369x99
+          text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (376,5) width 186: &quot;The floating elements within&quot;
+          text run at (199,25) width 369: &quot;this DIV should not go beyond the left or right inner edge&quot;
+          text run at (199,45) width 361: &quot;of this DIV, which means that the borders of the floating&quot;
+          text run at (199,65) width 368: &quot;elements should not overlap the top or side borders of the&quot;
+          text run at (199,85) width 31: &quot;DIV.&quot;
+      RenderBlock {HR} at (371,401) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,411) size 780x70 [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        RenderImage {IMG} at (760,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (20,5) size 739x59
+          text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (197,5) width 547: &quot;The floating images within this DIV should not go beyond the left or right inner edge&quot;
+          text run at (20,25) width 722: &quot;of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the&quot;
+          text run at (5,45) width 31: &quot;DIV.&quot;
+      RenderBlock {HR} at (24,505) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,531) size 442x250 [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 128x39
+            text run at (17,17) width 128: &quot;This is the first left-&quot;
+            text run at (17,37) width 122: &quot;floating paragraph.&quot;
+        RenderBlock (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 146x39
+            text run at (17,17) width 146: &quot;This is the second left-&quot;
+            text run at (17,37) width 122: &quot;floating paragraph.&quot;
+        RenderBlock (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 132x39
+            text run at (17,17) width 132: &quot;This is the third left-&quot;
+            text run at (17,37) width 122: &quot;floating paragraph.&quot;
+        RenderText {#text} at (393,5) size 432x239
+          text run at (393,5) width 44: &quot;This is&quot;
+          text run at (393,25) width 24: &quot;text&quot;
+          text run at (393,45) width 41: &quot;within&quot;
+          text run at (393,65) width 20: &quot;the&quot;
+          text run at (199,85) width 35: &quot;DIV. &quot;
+          text run at (233,85) width 185: &quot;The floating elements within&quot;
+          text run at (199,105) width 222: &quot;this DIV should not go beyond the&quot;
+          text run at (199,125) width 223: &quot;left or right inner edge of this DIV,&quot;
+          text run at (199,145) width 229: &quot;which means that the borders of the&quot;
+          text run at (5,165) width 422: &quot;floating elements should not overlap the top or side borders of the&quot;
+          text run at (5,185) width 110: &quot;DIV in any way. &quot;
+          text run at (114,185) width 303: &quot;In addition, they should not overlap each other.&quot;
+          text run at (5,205) width 432: &quot;The first two should be side by side, whereas the third should be on&quot;
+          text run at (5,225) width 97: &quot;the next \&quot;line.\&quot;&quot;
+      RenderBlock {HR} at (371,789) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,799) size 360x230 [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+        RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+        RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+        RenderText {#text} at (317,5) size 345x219
+          text run at (317,5) width 29: &quot;This&quot;
+          text run at (317,25) width 11: &quot;is&quot;
+          text run at (161,45) width 131: &quot;text within the DIV. &quot;
+          text run at (291,45) width 26: &quot;The&quot;
+          text run at (161,65) width 172: &quot;floating images within this&quot;
+          text run at (5,85) width 342: &quot;DIV should not go beyond the left or right inner edge&quot;
+          text run at (5,105) width 308: &quot;of this DIV, which means that the borders of the&quot;
+          text run at (5,125) width 318: &quot;floating images should not overlap the top or side&quot;
+          text run at (5,145) width 203: &quot;borders of the DIV in any way. &quot;
+          text run at (207,145) width 106: &quot;In addition, they&quot;
+          text run at (5,165) width 197: &quot;should not overlap each other. &quot;
+          text run at (201,165) width 149: &quot;The first two should be&quot;
+          text run at (5,185) width 335: &quot;side by side, whereas the third should be on the next&quot;
+          text run at (5,205) width 42: &quot;\&quot;line.\&quot;&quot;
+      RenderBlock {HR} at (24,1053) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1079) size 314x384 [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderBlock (floating) {P} at (115,99) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (199,5) size 302x373
+          text run at (199,5) width 72: &quot;This is text&quot;
+          text run at (199,25) width 99: &quot;within the DIV.&quot;
+          text run at (199,45) width 79: &quot;The floating&quot;
+          text run at (199,65) width 102: &quot;elements within&quot;
+          text run at (5,99) width 102: &quot;this DIV should&quot;
+          text run at (5,119) width 92: &quot;not go beyond&quot;
+          text run at (5,139) width 97: &quot;the left or right&quot;
+          text run at (5,159) width 85: &quot;inner edge of&quot;
+          text run at (5,179) width 101: &quot;this DIV, which&quot;
+          text run at (5,199) width 300: &quot;means that the borders of the floating elements&quot;
+          text run at (5,219) width 284: &quot;should not overlap the top or side borders of&quot;
+          text run at (5,239) width 133: &quot;the DIV in any way. &quot;
+          text run at (137,239) width 153: &quot;In addition, they should&quot;
+          text run at (5,259) width 292: &quot;not overlap each other in any way, nor should&quot;
+          text run at (5,279) width 302: &quot;the floated elements be overwritten by the DIV&quot;
+          text run at (5,299) width 32: &quot;text. &quot;
+          text run at (36,299) width 255: &quot;In addition, the floated elements should&quot;
+          text run at (5,319) width 300: &quot;not be side-by-side, but instead the first should&quot;
+          text run at (5,339) width 281: &quot;be floated left, and the second floated to the&quot;
+          text run at (5,359) width 131: &quot;right below the first.&quot;
+      RenderBlock {HR} at (371,1471) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1481) size 410x246 [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+        RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+        RenderText {#text} at (261,5) size 396x235
+          text run at (261,5) width 140: &quot;This is text within the&quot;
+          text run at (5,41) width 35: &quot;DIV. &quot;
+          text run at (39,41) width 80: &quot;The floating&quot;
+          text run at (5,61) width 118: &quot;images within this&quot;
+          text run at (5,81) width 387: &quot;DIV should not go beyond the left or right inner edge of this&quot;
+          text run at (5,101) width 366: &quot;DIV, which means that the borders of the floating images&quot;
+          text run at (5,121) width 383: &quot;should not overlap the top or side borders of the DIV in any&quot;
+          text run at (5,141) width 34: &quot;way. &quot;
+          text run at (38,141) width 343: &quot;In addition, they should not overlap each other in any&quot;
+          text run at (5,161) width 375: &quot;way, nor should the floated elements be overwritten by the&quot;
+          text run at (5,181) width 65: &quot;DIV text. &quot;
+          text run at (69,181) width 321: &quot;In addition, the floated images should not be side-&quot;
+          text run at (5,201) width 373: &quot;by-side, but instead the first should be floated left, and the&quot;
+          text run at (5,221) width 268: &quot;second floated to the right below the first.&quot;
+      RenderBlock {HR} at (24,1751) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1777) size 780x130 [border: (5px solid #800080)]
+        RenderBlock (floating) {P} at (581,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (199,5) size 573x119
+          text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (376,5) width 186: &quot;The floating elements within&quot;
+          text run at (199,25) width 355: &quot;this DIV should not go beyond the top side of this DIV,&quot;
+          text run at (199,45) width 344: &quot;which means that the borders of the floating elements&quot;
+          text run at (199,65) width 356: &quot;should not overlap the top or side borders of the DIV in&quot;
+          text run at (199,85) width 61: &quot;any way. &quot;
+          text run at (259,85) width 319: &quot;In addition, the top of the left-floating box should&quot;
+          text run at (5,105) width 327: &quot;not be higher than the top of the right-floating box.&quot;
+      RenderBlock {HR} at (371,1915) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,1925) size 780x70 [border: (5px solid #800080)]
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        RenderImage {IMG} at (760,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (20,5) size 734x59
+          text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (197,5) width 532: &quot;The floating images within this DIV should not go beyond the top side of this DIV,&quot;
+          text run at (20,25) width 719: &quot;which means that the borders of the floating images should not overlap the top or side borders of the DIV in any&quot;
+          text run at (5,45) width 34: &quot;way. &quot;
+          text run at (38,45) width 679: &quot;In addition, the top of the left-floating image should not be higher than the top of the right-floating image.&quot;
+      RenderBlock {HR} at (24,2019) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2045) size 780x130 [border: (5px solid #800080)]
+        RenderText {#text} at (199,5) size 186x19
+          text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (376,5) width 9: &quot;*&quot;
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (384,5) size 552x39
+          text run at (384,5) width 367: &quot; The floating elements within this DIV should not go any&quot;
+          text run at (199,25) width 487: &quot;higher than the line-box containing the inline content which precedes them. &quot;
+          text run at (685,25) width 13: &quot;* &quot;
+        RenderBlock (floating) {P} at (581,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (697,25) size 767x99
+          text run at (697,25) width 75: &quot;This means&quot;
+          text run at (199,45) width 381: &quot;that the top side of each float can be, at most, as high as the&quot;
+          text run at (199,65) width 364: &quot;top edge of the inline element containing the content just&quot;
+          text run at (199,85) width 313: &quot;before the floating elements occur in the source. &quot;
+          text run at (511,85) width 68: &quot;In order to&quot;
+          text run at (5,105) width 562: &quot;mark these points clearly, an asterisk has been inserted just before each floated element.&quot;
+      RenderBlock {HR} at (371,2184) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2194) size 780x90 [border: (5px solid #800080)]
+        RenderText {#text} at (20,5) size 186x19
+          text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (197,5) width 9: &quot;*&quot;
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (205,5) size 698x39
+          text run at (205,5) width 513: &quot; The floating images within this DIV should not go any higher than the line-box&quot;
+          text run at (20,25) width 330: &quot;containing the inline content which precedes them. &quot;
+          text run at (349,25) width 13: &quot;* &quot;
+        RenderImage {IMG} at (760,25) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (361,25) size 741x59
+          text run at (361,25) width 385: &quot;This means that the top side of each float can be, at most, as&quot;
+          text run at (5,45) width 738: &quot;high as the top edge of the inline element containing the content just before the floating images occur in the source.&quot;
+          text run at (5,65) width 622: &quot;In order to mark these points clearly, an asterisk has been inserted just before each floated image.&quot;
+      RenderBlock {HR} at (24,2308) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2334) size 780x290 [border: (5px solid #800080)]
+        RenderText {#text} at (199,5) size 186x19
+          text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (376,5) width 9: &quot;*&quot;
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (384,5) size 552x39
+          text run at (384,5) width 367: &quot; The floating elements within this DIV should not go any&quot;
+          text run at (199,25) width 487: &quot;higher than the line-box containing the inline content which precedes them. &quot;
+          text run at (685,25) width 13: &quot;* &quot;
+        RenderBlock (floating) {P} at (581,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (697,25) size 573x39
+          text run at (697,25) width 75: &quot;This means&quot;
+          text run at (199,45) width 244: &quot;that the top side of each float can be,*&quot;
+        RenderBlock (floating) {P} at (199,65) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 120: &quot;paragraph (third in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (442,45) size 276x119
+          text run at (442,45) width 122: &quot; at most, as high as&quot;
+          text run at (393,65) width 160: &quot;the top edge of the inline&quot;
+          text run at (393,85) width 146: &quot;element containing the&quot;
+          text run at (393,105) width 143: &quot;content just before the&quot;
+          text run at (393,125) width 167: &quot;floating elements occur in&quot;
+          text run at (587,145) width 74: &quot;the source. &quot;
+          text run at (660,145) width 9: &quot;*&quot;
+        RenderBlock (floating) {P} at (393,145) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 129: &quot;paragraph (fourth in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (668,145) size 765x139
+          text run at (668,145) width 72: &quot; In order to&quot;
+          text run at (587,165) width 183: &quot;mark these points clearly, an&quot;
+          text run at (587,185) width 164: &quot;asterisk has been inserted&quot;
+          text run at (587,205) width 150: &quot;just before each floated&quot;
+          text run at (587,225) width 59: &quot;element. &quot;
+          text run at (645,225) width 114: &quot;If a line has room&quot;
+          text run at (5,245) width 744: &quot;for a floated element, then the element should float so that its top is aligned with the top of the line-box in which the&quot;
+          text run at (5,265) width 110: &quot;asterisk appears. &quot;
+          text run at (114,265) width 411: &quot;Otherwise, its top should align with the top of the next line-box.&quot;
+      RenderBlock {HR} at (371,2632) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2642) size 780x130 [border: (5px solid #800080)]
+        RenderText {#text} at (20,5) size 186x19
+          text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+          text run at (197,5) width 9: &quot;*&quot;
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (205,5) size 683x39
+          text run at (205,5) width 513: &quot; The floating images within this DIV should not go any higher than the line-box&quot;
+          text run at (35,25) width 330: &quot;containing the inline content which precedes them. &quot;
+          text run at (364,25) width 13: &quot;* &quot;
+        RenderImage {IMG} at (760,25) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (376,25) size 326x19
+          text run at (376,25) width 318: &quot;This means that the top side of each float can be, &quot;
+          text run at (693,25) width 9: &quot;*&quot;
+        RenderImage {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (701,25) size 736x59
+          text run at (701,25) width 55: &quot; at most,&quot;
+          text run at (35,45) width 706: &quot;as high as the top edge of the inline element containing the content just before the floating images occur in the&quot;
+          text run at (20,65) width 50: &quot;source. &quot;
+          text run at (69,65) width 9: &quot;*&quot;
+        RenderImage {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (77,65) size 753x59
+          text run at (77,65) width 631: &quot; In order to mark these points clearly, an asterisk has been inserted just before each floated image. &quot;
+          text run at (707,65) width 51: &quot;If a line&quot;
+          text run at (20,85) width 718: &quot;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&quot;
+          text run at (5,105) width 177: &quot;which the asterisk appears. &quot;
+          text run at (181,105) width 411: &quot;Otherwise, its top should align with the top of the next line-box.&quot;
+      RenderBlock {HR} at (24,2796) size 590x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,2822) size 490x330 [border: (5px solid #800080)]
+        RenderText {#text} at (199,5) size 56x19
+          text run at (199,5) width 56: &quot;This is *&quot;
+        RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 135x59
+            text run at (17,17) width 135: &quot;This is a left-floating&quot;
+            text run at (17,37) width 116: &quot;paragraph (first in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (254,5) size 13x19
+          text run at (254,5) width 13: &quot; *&quot;
+        RenderBlock (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          RenderText {#text} at (17,17) size 144x59
+            text run at (17,17) width 144: &quot;This is a right-floating&quot;
+            text run at (17,37) width 135: &quot;paragraph (second in&quot;
+            text run at (17,57) width 52: &quot;source).&quot;
+        RenderText {#text} at (199,25) size 480x299
+          text run at (199,25) width 69: &quot;text within&quot;
+          text run at (199,45) width 54: &quot;the DIV.&quot;
+          text run at (199,65) width 85: &quot;Under CSS1,&quot;
+          text run at (199,85) width 45: &quot;the left&quot;
+          text run at (5,105) width 469: &quot;floating element should be placed in the upper left corner of the DIV, and&quot;
+          text run at (5,125) width 465: &quot;the purple border of the DIV should abut the green border of the floating&quot;
+          text run at (5,145) width 59: &quot;element. &quot;
+          text run at (63,145) width 422: &quot;Similarly, the right floating element should be placed in the upper&quot;
+          text run at (5,165) width 467: &quot;right corner of the DIV, and the purple border of the DIV should abut the&quot;
+          text run at (5,185) width 466: &quot;green border of the floating element. The text of the DIV element should&quot;
+          text run at (5,205) width 435: &quot;flow between and under the two floating elements. The two asterisk&quot;
+          text run at (5,225) width 478: &quot;characters mark the insertion points of the floating elements. It is expected&quot;
+          text run at (5,245) width 479: &quot;that, under future specifications, it may be acceptable for the top of floated&quot;
+          text run at (5,265) width 475: &quot;elements to align with the top of the line-box following the insertion point&quot;
+          text run at (5,285) width 451: &quot;of the floated element to avoid floating elements appearing before text&quot;
+          text run at (5,305) width 269: &quot;which precedes it in the source document.&quot;
+      RenderBlock {HR} at (371,3160) size 42x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (2,3170) size 490x250 [border: (5px solid #800080)]
+        RenderText {#text} at (20,5) size 56x19
+          text run at (20,5) width 56: &quot;This is *&quot;
+        RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (75,5) size 13x19
+          text run at (75,5) width 13: &quot; *&quot;
+        RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+        RenderText {#text} at (87,5) size 472x239
+          text run at (87,5) width 135: &quot; text within the DIV. &quot;
+          text run at (221,5) width 232: &quot;Under CSS1, the left floating image&quot;
+          text run at (20,25) width 429: &quot;should be placed in the upper left corner of the DIV, and the purple&quot;
+          text run at (5,45) width 444: &quot;border of the DIV should abut the green border of the floating image.&quot;
+          text run at (5,65) width 444: &quot;Similarly, the right floating image should be placed in the upper right&quot;
+          text run at (5,85) width 472: &quot;corner of the DIV, and the purple border of the DIV should abut the green&quot;
+          text run at (5,105) width 449: &quot;border of the floating image. The text of the DIV element should flow&quot;
+          text run at (5,125) width 452: &quot;between and under the two floating image. The two asterisk characters&quot;
+          text run at (5,145) width 306: &quot;mark the insertion points of the floating image. &quot;
+          text run at (310,145) width 158: &quot;It is expected that, under&quot;
+          text run at (5,165) width 467: &quot;future specifications, it may be acceptable for the top of floated elements&quot;
+          text run at (5,185) width 455: &quot;to align with the top of the line-box following the insertion point of the&quot;
+          text run at (5,205) width 453: &quot;floated element to avoid floating elements appearing before text which&quot;
+          text run at (5,225) width 226: &quot;precedes it in the source document.&quot;
+      RenderBlock {HR} at (24,3444) size 590x2 [border: (1px inset #000000)]
+      RenderTable {TABLE} at (0,3470) size 784x3315 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x3313
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x3285
+            RenderTableCell {TD} at (0,1656) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x3285 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderText {#text} at (0,0) size 760x59
+                  text run at (0,0) width 696: &quot;On this test page, each test is performed once with floating paragraphs, and then again with floating images. &quot;
+                  text run at (695,0) width 37: &quot;Other&quot;
+                  text run at (0,20) width 760: &quot;than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the&quot;
+                  text run at (0,40) width 40: &quot;floats.&quot;
+              RenderBlock {HR} at (28,88) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,114) size 758x110 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderBlock (floating) {P} at (559,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (199,5) size 355x99
+                  text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (376,5) width 141: &quot;The floating elements&quot;
+                  text run at (199,25) width 343: &quot;within this DIV should not go beyond the left or right&quot;
+                  text run at (199,45) width 355: &quot;inner edge of this DIV, which means that the borders of&quot;
+                  text run at (199,65) width 353: &quot;the floating elements should not overlap the top or side&quot;
+                  text run at (199,85) width 124: &quot;borders of the DIV.&quot;
+              RenderBlock {HR} at (364,232) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,242) size 758x70 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                RenderImage {IMG} at (738,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (20,5) size 730x59
+                  text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (197,5) width 513: &quot;The floating images within this DIV should not go beyond the left or right inner&quot;
+                  text run at (20,25) width 715: &quot;edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders&quot;
+                  text run at (5,45) width 72: &quot;of the DIV.&quot;
+              RenderBlock {HR} at (28,336) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,362) size 442x250 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 128x39
+                    text run at (17,17) width 128: &quot;This is the first left-&quot;
+                    text run at (17,37) width 122: &quot;floating paragraph.&quot;
+                RenderBlock (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 146x39
+                    text run at (17,17) width 146: &quot;This is the second left-&quot;
+                    text run at (17,37) width 122: &quot;floating paragraph.&quot;
+                RenderBlock (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 132x39
+                    text run at (17,17) width 132: &quot;This is the third left-&quot;
+                    text run at (17,37) width 122: &quot;floating paragraph.&quot;
+                RenderText {#text} at (393,5) size 432x239
+                  text run at (393,5) width 44: &quot;This is&quot;
+                  text run at (393,25) width 24: &quot;text&quot;
+                  text run at (393,45) width 41: &quot;within&quot;
+                  text run at (393,65) width 20: &quot;the&quot;
+                  text run at (199,85) width 35: &quot;DIV. &quot;
+                  text run at (233,85) width 185: &quot;The floating elements within&quot;
+                  text run at (199,105) width 222: &quot;this DIV should not go beyond the&quot;
+                  text run at (199,125) width 223: &quot;left or right inner edge of this DIV,&quot;
+                  text run at (199,145) width 229: &quot;which means that the borders of the&quot;
+                  text run at (5,165) width 422: &quot;floating elements should not overlap the top or side borders of the&quot;
+                  text run at (5,185) width 110: &quot;DIV in any way. &quot;
+                  text run at (114,185) width 303: &quot;In addition, they should not overlap each other.&quot;
+                  text run at (5,205) width 432: &quot;The first two should be side by side, whereas the third should be on&quot;
+                  text run at (5,225) width 97: &quot;the next \&quot;line.\&quot;&quot;
+              RenderBlock {HR} at (364,620) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,630) size 360x230 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+                RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+                RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+                RenderText {#text} at (317,5) size 345x219
+                  text run at (317,5) width 29: &quot;This&quot;
+                  text run at (317,25) width 11: &quot;is&quot;
+                  text run at (161,45) width 131: &quot;text within the DIV. &quot;
+                  text run at (291,45) width 26: &quot;The&quot;
+                  text run at (161,65) width 172: &quot;floating images within this&quot;
+                  text run at (5,85) width 342: &quot;DIV should not go beyond the left or right inner edge&quot;
+                  text run at (5,105) width 308: &quot;of this DIV, which means that the borders of the&quot;
+                  text run at (5,125) width 318: &quot;floating images should not overlap the top or side&quot;
+                  text run at (5,145) width 203: &quot;borders of the DIV in any way. &quot;
+                  text run at (207,145) width 106: &quot;In addition, they&quot;
+                  text run at (5,165) width 197: &quot;should not overlap each other. &quot;
+                  text run at (201,165) width 149: &quot;The first two should be&quot;
+                  text run at (5,185) width 335: &quot;side by side, whereas the third should be on the next&quot;
+                  text run at (5,205) width 42: &quot;\&quot;line.\&quot;&quot;
+              RenderBlock {HR} at (28,884) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,910) size 314x384 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderBlock (floating) {P} at (115,99) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (199,5) size 302x373
+                  text run at (199,5) width 72: &quot;This is text&quot;
+                  text run at (199,25) width 99: &quot;within the DIV.&quot;
+                  text run at (199,45) width 79: &quot;The floating&quot;
+                  text run at (199,65) width 102: &quot;elements within&quot;
+                  text run at (5,99) width 102: &quot;this DIV should&quot;
+                  text run at (5,119) width 92: &quot;not go beyond&quot;
+                  text run at (5,139) width 97: &quot;the left or right&quot;
+                  text run at (5,159) width 85: &quot;inner edge of&quot;
+                  text run at (5,179) width 101: &quot;this DIV, which&quot;
+                  text run at (5,199) width 300: &quot;means that the borders of the floating elements&quot;
+                  text run at (5,219) width 284: &quot;should not overlap the top or side borders of&quot;
+                  text run at (5,239) width 133: &quot;the DIV in any way. &quot;
+                  text run at (137,239) width 153: &quot;In addition, they should&quot;
+                  text run at (5,259) width 292: &quot;not overlap each other in any way, nor should&quot;
+                  text run at (5,279) width 302: &quot;the floated elements be overwritten by the DIV&quot;
+                  text run at (5,299) width 32: &quot;text. &quot;
+                  text run at (36,299) width 255: &quot;In addition, the floated elements should&quot;
+                  text run at (5,319) width 300: &quot;not be side-by-side, but instead the first should&quot;
+                  text run at (5,339) width 281: &quot;be floated left, and the second floated to the&quot;
+                  text run at (5,359) width 131: &quot;right below the first.&quot;
+              RenderBlock {HR} at (364,1302) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1312) size 410x246 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+                RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+                RenderText {#text} at (261,5) size 396x235
+                  text run at (261,5) width 140: &quot;This is text within the&quot;
+                  text run at (5,41) width 35: &quot;DIV. &quot;
+                  text run at (39,41) width 80: &quot;The floating&quot;
+                  text run at (5,61) width 118: &quot;images within this&quot;
+                  text run at (5,81) width 387: &quot;DIV should not go beyond the left or right inner edge of this&quot;
+                  text run at (5,101) width 366: &quot;DIV, which means that the borders of the floating images&quot;
+                  text run at (5,121) width 383: &quot;should not overlap the top or side borders of the DIV in any&quot;
+                  text run at (5,141) width 34: &quot;way. &quot;
+                  text run at (38,141) width 343: &quot;In addition, they should not overlap each other in any&quot;
+                  text run at (5,161) width 375: &quot;way, nor should the floated elements be overwritten by the&quot;
+                  text run at (5,181) width 65: &quot;DIV text. &quot;
+                  text run at (69,181) width 321: &quot;In addition, the floated images should not be side-&quot;
+                  text run at (5,201) width 373: &quot;by-side, but instead the first should be floated left, and the&quot;
+                  text run at (5,221) width 268: &quot;second floated to the right below the first.&quot;
+              RenderBlock {HR} at (28,1582) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1608) size 758x130 [border: (5px solid #800080)]
+                RenderBlock (floating) {P} at (559,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (199,5) size 539x119
+                  text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (376,5) width 141: &quot;The floating elements&quot;
+                  text run at (199,25) width 338: &quot;within this DIV should not go beyond the top side of&quot;
+                  text run at (199,45) width 344: &quot;this DIV, which means that the borders of the floating&quot;
+                  text run at (199,65) width 345: &quot;elements should not overlap the top or side borders of&quot;
+                  text run at (199,85) width 133: &quot;the DIV in any way. &quot;
+                  text run at (331,85) width 195: &quot;In addition, the top of the left-&quot;
+                  text run at (5,105) width 455: &quot;floating box should not be higher than the top of the right-floating box.&quot;
+              RenderBlock {HR} at (364,1746) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1756) size 758x70 [border: (5px solid #800080)]
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                RenderImage {IMG} at (738,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (20,5) size 739x59
+                  text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (197,5) width 532: &quot;The floating images within this DIV should not go beyond the top side of this DIV,&quot;
+                  text run at (20,25) width 692: &quot;which means that the borders of the floating images should not overlap the top or side borders of the DIV in&quot;
+                  text run at (5,45) width 61: &quot;any way. &quot;
+                  text run at (65,45) width 679: &quot;In addition, the top of the left-floating image should not be higher than the top of the right-floating image.&quot;
+              RenderBlock {HR} at (28,1850) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,1876) size 758x150 [border: (5px solid #800080)]
+                RenderText {#text} at (199,5) size 186x19
+                  text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (376,5) width 9: &quot;*&quot;
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (384,5) size 552x39
+                  text run at (384,5) width 367: &quot; The floating elements within this DIV should not go any&quot;
+                  text run at (199,25) width 487: &quot;higher than the line-box containing the inline content which precedes them. &quot;
+                  text run at (685,25) width 13: &quot;* &quot;
+                RenderBlock (floating) {P} at (559,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (697,25) size 722x119
+                  text run at (697,25) width 30: &quot;This&quot;
+                  text run at (199,45) width 352: &quot;means that the top side of each float can be, at most, as&quot;
+                  text run at (199,65) width 360: &quot;high as the top edge of the inline element containing the&quot;
+                  text run at (199,85) width 337: &quot;content just before the floating elements occur in the&quot;
+                  text run at (5,105) width 50: &quot;source. &quot;
+                  text run at (54,105) width 494: &quot;In order to mark these points clearly, an asterisk has been inserted just before&quot;
+                  text run at (5,125) width 137: &quot;each floated element.&quot;
+              RenderBlock {HR} at (364,2034) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2044) size 758x90 [border: (5px solid #800080)]
+                RenderText {#text} at (20,5) size 186x19
+                  text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (197,5) width 9: &quot;*&quot;
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (205,5) size 698x39
+                  text run at (205,5) width 513: &quot; The floating images within this DIV should not go any higher than the line-box&quot;
+                  text run at (20,25) width 330: &quot;containing the inline content which precedes them. &quot;
+                  text run at (349,25) width 13: &quot;* &quot;
+                RenderImage {IMG} at (738,25) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (361,25) size 724x59
+                  text run at (361,25) width 368: &quot;This means that the top side of each float can be, at most,&quot;
+                  text run at (5,45) width 706: &quot;as high as the top edge of the inline element containing the content just before the floating images occur in the&quot;
+                  text run at (5,65) width 50: &quot;source. &quot;
+                  text run at (54,65) width 623: &quot;In order to mark these points clearly, an asterisk has been inserted just before each floated image.&quot;
+              RenderBlock {HR} at (28,2158) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2184) size 758x250 [border: (5px solid #800080)]
+                RenderText {#text} at (199,5) size 186x19
+                  text run at (199,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (376,5) width 9: &quot;*&quot;
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (384,5) size 552x39
+                  text run at (384,5) width 367: &quot; The floating elements within this DIV should not go any&quot;
+                  text run at (199,25) width 487: &quot;higher than the line-box containing the inline content which precedes them. &quot;
+                  text run at (685,25) width 13: &quot;* &quot;
+                RenderBlock (floating) {P} at (559,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (697,25) size 528x39
+                  text run at (697,25) width 30: &quot;This&quot;
+                  text run at (199,45) width 288: &quot;means that the top side of each float can be,*&quot;
+                RenderBlock (floating) {P} at (199,65) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 120: &quot;paragraph (third in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (486,45) size 199x119
+                  text run at (486,45) width 73: &quot; at most, as&quot;
+                  text run at (393,65) width 146: &quot;high as the top edge of&quot;
+                  text run at (393,85) width 115: &quot;the inline element&quot;
+                  text run at (393,105) width 143: &quot;containing the content&quot;
+                  text run at (393,125) width 146: &quot;just before the floating&quot;
+                  text run at (393,145) width 191: &quot;elements occur in the source. &quot;
+                  text run at (583,145) width 9: &quot;*&quot;
+                RenderBlock (floating) {P} at (5,165) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 129: &quot;paragraph (fourth in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (591,145) size 546x99
+                  text run at (591,145) width 146: &quot; In order to mark these&quot;
+                  text run at (199,165) width 493: &quot;points clearly, an asterisk has been inserted just before each floated element. &quot;
+                  text run at (691,165) width 50: &quot;If a line&quot;
+                  text run at (199,185) width 546: &quot;has room for a floated element, then the element should float so that its top is aligned&quot;
+                  text run at (199,205) width 372: &quot;with the top of the line-box in which the asterisk appears. &quot;
+                  text run at (570,205) width 161: &quot;Otherwise, its top should&quot;
+                  text run at (199,225) width 247: &quot;align with the top of the next line-box.&quot;
+              RenderBlock {HR} at (364,2443) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2453) size 758x130 [border: (5px solid #800080)]
+                RenderText {#text} at (20,5) size 186x19
+                  text run at (20,5) width 178: &quot;This is text within the DIV. &quot;
+                  text run at (197,5) width 9: &quot;*&quot;
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (205,5) size 683x39
+                  text run at (205,5) width 513: &quot; The floating images within this DIV should not go any higher than the line-box&quot;
+                  text run at (35,25) width 330: &quot;containing the inline content which precedes them. &quot;
+                  text run at (364,25) width 13: &quot;* &quot;
+                RenderImage {IMG} at (738,25) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (376,25) size 326x19
+                  text run at (376,25) width 318: &quot;This means that the top side of each float can be, &quot;
+                  text run at (693,25) width 9: &quot;*&quot;
+                RenderImage {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (701,25) size 697x59
+                  text run at (701,25) width 16: &quot; at&quot;
+                  text run at (35,45) width 666: &quot;most, as high as the top edge of the inline element containing the content just before the floating images&quot;
+                  text run at (20,65) width 130: &quot;occur in the source. &quot;
+                  text run at (149,65) width 9: &quot;*&quot;
+                RenderImage {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (157,65) size 736x59
+                  text run at (157,65) width 580: &quot; In order to mark these points clearly, an asterisk has been inserted just before each floated&quot;
+                  text run at (20,85) width 48: &quot;image. &quot;
+                  text run at (67,85) width 674: &quot;If a line has room for a floated image, then the image should float so that its top is aligned with the top of&quot;
+                  text run at (5,105) width 274: &quot;the line-box in which the asterisk appears. &quot;
+                  text run at (278,105) width 411: &quot;Otherwise, its top should align with the top of the next line-box.&quot;
+              RenderBlock {HR} at (28,2607) size 574x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2633) size 490x330 [border: (5px solid #800080)]
+                RenderText {#text} at (199,5) size 56x19
+                  text run at (199,5) width 56: &quot;This is *&quot;
+                RenderBlock (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 135x59
+                    text run at (17,17) width 135: &quot;This is a left-floating&quot;
+                    text run at (17,37) width 116: &quot;paragraph (first in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (254,5) size 13x19
+                  text run at (254,5) width 13: &quot; *&quot;
+                RenderBlock (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  RenderText {#text} at (17,17) size 144x59
+                    text run at (17,17) width 144: &quot;This is a right-floating&quot;
+                    text run at (17,37) width 135: &quot;paragraph (second in&quot;
+                    text run at (17,57) width 52: &quot;source).&quot;
+                RenderText {#text} at (199,25) size 480x299
+                  text run at (199,25) width 69: &quot;text within&quot;
+                  text run at (199,45) width 54: &quot;the DIV.&quot;
+                  text run at (199,65) width 85: &quot;Under CSS1,&quot;
+                  text run at (199,85) width 45: &quot;the left&quot;
+                  text run at (5,105) width 469: &quot;floating element should be placed in the upper left corner of the DIV, and&quot;
+                  text run at (5,125) width 465: &quot;the purple border of the DIV should abut the green border of the floating&quot;
+                  text run at (5,145) width 59: &quot;element. &quot;
+                  text run at (63,145) width 422: &quot;Similarly, the right floating element should be placed in the upper&quot;
+                  text run at (5,165) width 467: &quot;right corner of the DIV, and the purple border of the DIV should abut the&quot;
+                  text run at (5,185) width 466: &quot;green border of the floating element. The text of the DIV element should&quot;
+                  text run at (5,205) width 435: &quot;flow between and under the two floating elements. The two asterisk&quot;
+                  text run at (5,225) width 478: &quot;characters mark the insertion points of the floating elements. It is expected&quot;
+                  text run at (5,245) width 479: &quot;that, under future specifications, it may be acceptable for the top of floated&quot;
+                  text run at (5,265) width 475: &quot;elements to align with the top of the line-box following the insertion point&quot;
+                  text run at (5,285) width 451: &quot;of the floated element to avoid floating elements appearing before text&quot;
+                  text run at (5,305) width 269: &quot;which precedes it in the source document.&quot;
+              RenderBlock {HR} at (364,2971) size 42x2 [border: (1px inset #000000)]
+              RenderBlock {DIV} at (6,2981) size 490x250 [border: (5px solid #800080)]
+                RenderText {#text} at (20,5) size 56x19
+                  text run at (20,5) width 56: &quot;This is *&quot;
+                RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (75,5) size 13x19
+                  text run at (75,5) width 13: &quot; *&quot;
+                RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+                RenderText {#text} at (87,5) size 472x239
+                  text run at (87,5) width 135: &quot; text within the DIV. &quot;
+                  text run at (221,5) width 232: &quot;Under CSS1, the left floating image&quot;
+                  text run at (20,25) width 429: &quot;should be placed in the upper left corner of the DIV, and the purple&quot;
+                  text run at (5,45) width 444: &quot;border of the DIV should abut the green border of the floating image.&quot;
+                  text run at (5,65) width 444: &quot;Similarly, the right floating image should be placed in the upper right&quot;
+                  text run at (5,85) width 472: &quot;corner of the DIV, and the purple border of the DIV should abut the green&quot;
+                  text run at (5,105) width 449: &quot;border of the floating image. The text of the DIV element should flow&quot;
+                  text run at (5,125) width 452: &quot;between and under the two floating image. The two asterisk characters&quot;
+                  text run at (5,145) width 306: &quot;mark the insertion points of the floating image. &quot;
+                  text run at (310,145) width 158: &quot;It is expected that, under&quot;
+                  text run at (5,165) width 467: &quot;future specifications, it may be acceptable for the top of floated elements&quot;
+                  text run at (5,185) width 455: &quot;to align with the top of the line-box following the insertion point of the&quot;
+                  text run at (5,205) width 453: &quot;floated element to avoid floating elements appearing before text which&quot;
+                  text run at (5,225) width 226: &quot;precedes it in the source document.&quot;
+              RenderBlock {HR} at (28,3255) size 574x2 [border: (1px inset #000000)]
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelheight_of_linesexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/height_of_lines-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,134 @@
</span><ins>+layer at (0,0) size 800x2285
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2285
+  RenderBlock {HTML} at (0,0) size 800x2285
+    RenderBody {BODY} at (8,8) size 784x2269 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x252
+        RenderText {#text} at (0,0) size 523x252
+          text run at (0,0) width 336: &quot;P.one {font-size: 14px; line-height: 20px;}&quot;
+          text run at (335,0) width 1: &quot; &quot;
+          text run at (0,14) width 297: &quot;IMG.onea {vertical-align: text-bottom;&quot;
+          text run at (296,14) width 1: &quot; &quot;
+          text run at (0,28) width 266: &quot;     width: 200px; height: 200px;}&quot;
+          text run at (265,28) width 1: &quot; &quot;
+          text run at (0,42) width 508: &quot;IMG.oneb {vertical-align: text-top; width: 200px; height: 200px;}&quot;
+          text run at (507,42) width 1: &quot; &quot;
+          text run at (0,56) width 0: &quot; &quot;
+          text run at (0,70) width 336: &quot;P.two {font-size: 14px; line-height: 20px;}&quot;
+          text run at (335,70) width 1: &quot; &quot;
+          text run at (0,84) width 523: &quot;IMG.twoa {vertical-align: text-bottom; width: 100px; height: 100px;&quot;
+          text run at (522,84) width 1: &quot; &quot;
+          text run at (0,98) width 305: &quot;     padding: 5px; border-style: solid;&quot;
+          text run at (304,98) width 1: &quot; &quot;
+          text run at (0,112) width 305: &quot;     border-width: 10px; margin: 15px;}&quot;
+          text run at (304,112) width 1: &quot; &quot;
+          text run at (0,126) width 274: &quot;IMG.twob {vertical-align: text-top;&quot;
+          text run at (273,126) width 1: &quot; &quot;
+          text run at (0,140) width 297: &quot;          width: 100px; height: 100px;&quot;
+          text run at (296,140) width 1: &quot; &quot;
+          text run at (0,154) width 305: &quot;     padding: 5px; border-style: solid;&quot;
+          text run at (304,154) width 1: &quot; &quot;
+          text run at (0,168) width 305: &quot;     border-width: 10px; margin: 15px;}&quot;
+          text run at (304,168) width 1: &quot; &quot;
+          text run at (0,182) width 0: &quot; &quot;
+          text run at (0,196) width 469: &quot;IMG.twoc {vertical-align: middle; width: 50px; height: 50px;&quot;
+          text run at (468,196) width 1: &quot; &quot;
+          text run at (0,210) width 305: &quot;     padding: 5px; border-style: solid;&quot;
+          text run at (304,210) width 1: &quot; &quot;
+          text run at (0,224) width 313: &quot;     border-width: 10px; margin: -10px;}&quot;
+          text run at (312,224) width 1: &quot; &quot;
+          text run at (0,238) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,301) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,317) size 784x443
+        RenderText {#text} at (0,1) size 774x239
+          text run at (0,1) width 413: &quot;This paragraph should have a font size of 14px and a line height of 20px. &quot;
+          text run at (412,1) width 362: &quot;This means that the lines of text within it should be separated by&quot;
+          text run at (0,21) width 349: &quot;six pixels, three of which are part of the line-box of each line. &quot;
+          text run at (348,21) width 423: &quot;Any images within the paragraph should increase the height of the line-box&quot;
+          text run at (0,223) width 241: &quot;so that they fit within the line box, such as &quot;
+        RenderImage {IMG} at (240,40) size 201x200
+        RenderText {#text} at (440,223) size 28x17
+          text run at (440,223) width 28: &quot; and &quot;
+        RenderImage {IMG} at (467,223) size 201x200
+        RenderText {#text} at (667,223) size 773x218
+          text run at (667,223) width 8: &quot;. &quot;
+          text run at (674,223) width 99: &quot;This is additional&quot;
+          text run at (0,424) width 710: &quot;text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top aligned.&quot;
+      RenderBlock {P} at (0,774) size 784x483
+        RenderText {#text} at (0,1) size 782x199
+          text run at (0,1) width 413: &quot;This paragraph should have a font size of 14px and a line height of 20px. &quot;
+          text run at (412,1) width 362: &quot;This means that the lines of text within it should be separated by&quot;
+          text run at (0,21) width 61: &quot;six pixels. &quot;
+          text run at (60,21) width 722: &quot;Any images within the paragraph should increase the height of the line-box so that they fit, including their padding (5px), border&quot;
+          text run at (0,183) width 311: &quot;(10px) and margins (15px) within the line box, such as &quot;
+        RenderImage {IMG} at (325,55) size 131x130 [border: (10px solid #000000)]
+        RenderText {#text} at (470,183) size 28x17
+          text run at (470,183) width 28: &quot; and &quot;
+        RenderImage {IMG} at (512,198) size 131x130 [border: (10px solid #000000)]
+        RenderText {#text} at (657,183) size 783x218
+          text run at (657,183) width 8: &quot;. &quot;
+          text run at (664,183) width 98: &quot;This is additional&quot;
+          text run at (0,344) width 713: &quot;text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top aligned. &quot;
+          text run at (712,344) width 43: &quot;It is the&quot;
+          text run at (0,364) width 765: &quot;outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image the bottom border of the&quot;
+          text run at (0,384) width 783: &quot;image should begin 15px above the bottom of the text, and for the second image the top border should begin 15px below the top of the text &quot;
+        RenderImage {IMG} at (-10,393) size 80x80 [border: (10px solid #000000)]
+        RenderText {#text} at (60,423) size 753x58
+          text run at (60,423) width 7: &quot;. &quot;
+          text run at (67,423) width 686: &quot;The last image in this paragraph has -10px margins set on it, so that should pull the text in toward the image in the vertical&quot;
+          text run at (0,464) width 256: &quot;direction, and also in the horizontal direction.&quot;
+      RenderTable {TABLE} at (0,1271) size 784x998 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x996
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x968
+            RenderTableCell {TD} at (0,498) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x968 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x463
+                RenderText {#text} at (0,1) size 757x239
+                  text run at (0,1) width 413: &quot;This paragraph should have a font size of 14px and a line height of 20px. &quot;
+                  text run at (412,1) width 345: &quot;This means that the lines of text within it should be separated&quot;
+                  text run at (0,21) width 367: &quot;by six pixels, three of which are part of the line-box of each line. &quot;
+                  text run at (366,21) width 372: &quot;Any images within the paragraph should increase the height of the&quot;
+                  text run at (0,223) width 291: &quot;line-box so that they fit within the line box, such as &quot;
+                RenderImage {IMG} at (290,40) size 201x200
+                RenderText {#text} at (490,223) size 29x17
+                  text run at (490,223) width 29: &quot; and &quot;
+                RenderImage {IMG} at (518,223) size 201x200
+                RenderText {#text} at (718,223) size 750x238
+                  text run at (718,223) width 8: &quot;. &quot;
+                  text run at (725,223) width 25: &quot;This&quot;
+                  text run at (0,424) width 734: &quot;is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top&quot;
+                  text run at (0,444) width 45: &quot;aligned.&quot;
+              RenderBlock {P} at (4,481) size 762x483
+                RenderText {#text} at (0,1) size 759x199
+                  text run at (0,1) width 413: &quot;This paragraph should have a font size of 14px and a line height of 20px. &quot;
+                  text run at (412,1) width 345: &quot;This means that the lines of text within it should be separated&quot;
+                  text run at (0,21) width 78: &quot;by six pixels. &quot;
+                  text run at (77,21) width 682: &quot;Any images within the paragraph should increase the height of the line-box so that they fit, including their padding (5px),&quot;
+                  text run at (0,183) width 351: &quot;border (10px) and margins (15px) within the line box, such as &quot;
+                RenderImage {IMG} at (365,55) size 131x130 [border: (10px solid #000000)]
+                RenderText {#text} at (510,183) size 28x17
+                  text run at (510,183) width 28: &quot; and &quot;
+                RenderImage {IMG} at (552,198) size 131x130 [border: (10px solid #000000)]
+                RenderText {#text} at (697,183) size 758x257
+                  text run at (697,183) width 8: &quot;. &quot;
+                  text run at (704,183) width 39: &quot;This is&quot;
+                  text run at (0,344) width 721: &quot;additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top&quot;
+                  text run at (0,364) width 49: &quot;aligned. &quot;
+                  text run at (48,364) width 692: &quot;It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image the&quot;
+                  text run at (0,384) width 758: &quot;bottom border of the image should begin 15px above the bottom of the text, and for the second image the top border should begin 15px&quot;
+                  text run at (0,423) width 140: &quot;below the top of the text &quot;
+                RenderImage {IMG} at (129,393) size 81x80 [border: (10px solid #000000)]
+                RenderText {#text} at (199,423) size 754x58
+                  text run at (199,423) width 8: &quot;. &quot;
+                  text run at (206,423) width 548: &quot;The last image in this paragraph has -10px margins set on it, so that should pull the text in toward&quot;
+                  text run at (0,464) width 394: &quot;the image in the vertical direction, and also in the horizontal direction.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelhorizontal_formattingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/horizontal_formatting-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+layer at (0,0) size 800x788
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x788
+  RenderBlock {HTML} at (0,0) size 800x788
+    RenderBody {BODY} at (8,8) size 784x764 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (10,0) size 774x20
+        RenderText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: &quot;This paragraph should be indented ten pixels.&quot;
+      RenderBlock {DIV} at (10,36) size 774x20
+        RenderBlock {P} at (10,0) size 764x20
+          RenderText {#text} at (0,0) size 581x19
+            text run at (0,0) width 581: &quot;This paragraph should be indented twenty pixels, since horizontal margins do not collapse.&quot;
+      RenderBlock {P} at (0,72) size 392x120 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 381x119
+          text run at (0,0) width 368: &quot;This element has a width of 50%, and due to 'auto' values&quot;
+          text run at (0,20) width 344: &quot;applied to the right margin, the element should be left&quot;
+          text run at (0,40) width 169: &quot;justified within its parent. &quot;
+          text run at (168,40) width 168: &quot;The gray rectangle should&quot;
+          text run at (0,60) width 366: &quot;therefore appear on the left edge of the viewport (e.g. the&quot;
+          text run at (0,80) width 381: &quot;browser window). The text inside the gray rectangle should&quot;
+          text run at (0,100) width 102: &quot;not be centered.&quot;
+      RenderBlock {P} at (196,208) size 392x120 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 381x119
+          text run at (0,0) width 368: &quot;This element has a width of 50%, and due to 'auto' values&quot;
+          text run at (0,20) width 377: &quot;applied to the left and right margins, the element should be&quot;
+          text run at (0,40) width 171: &quot;centered within its parent. &quot;
+          text run at (170,40) width 167: &quot;The gray rectangle should&quot;
+          text run at (0,60) width 351: &quot;therefore appear in the middle of the viewport (e.g. the&quot;
+          text run at (0,80) width 381: &quot;browser window). The text inside the gray rectangle should&quot;
+          text run at (0,100) width 102: &quot;not be centered.&quot;
+      RenderBlock {P} at (392,344) size 392x120 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 381x119
+          text run at (0,0) width 368: &quot;This element has a width of 50%, and due to 'auto' values&quot;
+          text run at (0,20) width 344: &quot;applied to the left margin, the element should be right&quot;
+          text run at (0,40) width 169: &quot;justified within its parent. &quot;
+          text run at (168,40) width 168: &quot;The gray rectangle should&quot;
+          text run at (0,60) width 375: &quot;therefore appear on the right edge of the viewport (e.g. the&quot;
+          text run at (0,80) width 381: &quot;browser window). The text inside the gray rectangle should&quot;
+          text run at (0,100) width 102: &quot;not be centered.&quot;
+      RenderBlock {P} at (0,480) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: &quot;Since the width is \&quot;auto,\&quot; the margins that are set to \&quot;auto\&quot; become zero and this paragraph should have width 100% and&quot;
+          text run at (0,20) width 200: &quot;the text should be left justified.&quot;
+      RenderBlock {P} at (0,536) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: &quot;Since the width is \&quot;auto,\&quot; the margins that are set to \&quot;auto\&quot; become zero and this paragraph should have width 100% and&quot;
+          text run at (0,20) width 200: &quot;the text should be left justified.&quot;
+      RenderBlock {P} at (0,592) size 784x40 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: &quot;Since the width is \&quot;auto,\&quot; the margins that are set to \&quot;auto\&quot; become zero and this paragraph should have width 100% and&quot;
+          text run at (0,20) width 200: &quot;the text should be left justified.&quot;
+      RenderBlock {P} at (0,648) size 392x80 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 379x39
+          text run at (0,0) width 379: &quot;Since auto is an invalid value for padding, the right-margin&quot;
+          text run at (0,20) width 229: &quot;of this paragraph should be reset to &quot;
+        RenderInline {CODE} at (0,0) size 33x14
+          RenderText {#text} at (228,25) size 33x14
+            text run at (228,25) width 33: &quot;auto&quot;
+        RenderText {#text} at (260,20) size 376x59
+          text run at (260,20) width 77: &quot; and thus be&quot;
+          text run at (0,40) width 376: &quot;expanded to 50% and it should only occupy the left half of&quot;
+          text run at (0,60) width 85: &quot;the viewport.&quot;
+      RenderBlock {P} at (0,744) size 784x20 [bgcolor=#808080]
+        RenderText {#text} at (0,0) size 643x19
+          text run at (0,0) width 643: &quot;Because this paragraph has width 100%, the auto margins become zero, so it should not be centered.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelinline_elementsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/inline_elements-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,94 @@
</span><ins>+layer at (0,0) size 800x776
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x776
+  RenderBlock {HTML} at (0,0) size 800x777
+    RenderBody {BODY} at (8,8) size 784x761 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 547x98
+          text run at (0,0) width 203: &quot;P.one {line-height: 200%;}&quot;
+          text run at (202,0) width 1: &quot; &quot;
+          text run at (0,14) width 539: &quot;SPAN.two {border-style: solid; border-width: 10px; border-color: red;&quot;
+          text run at (538,14) width 1: &quot; &quot;
+          text run at (0,28) width 297: &quot;          padding: 2pt; margin: 30pt;}&quot;
+          text run at (296,28) width 1: &quot; &quot;
+          text run at (0,42) width 352: &quot;P.three {font-size: 10pt; line-height: 12pt;}&quot;
+          text run at (351,42) width 1: &quot; &quot;
+          text run at (0,56) width 547: &quot;SPAN.four {border-style: solid; border-width: 12px; border-color: red;&quot;
+          text run at (546,56) width 1: &quot; &quot;
+          text run at (0,70) width 188: &quot;          padding: 2pt;}&quot;
+          text run at (187,70) width 1: &quot; &quot;
+          text run at (0,84) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,165) size 784x192
+        RenderText {#text} at (0,6) size 191x19
+          text run at (0,6) width 191: &quot;This is a paragraph that has a &quot;
+        RenderInline {SPAN} at (0,0) size 774x173 [border: (10px solid #FF0000)]
+          RenderText {#text} at (243,6) size 774x147
+            text run at (243,6) width 531: &quot;very long span in it, and the span has a 10px red border separated from the span by&quot;
+            text run at (0,38) width 170: &quot;2pt, and a margin of 30pt. &quot;
+            text run at (169,38) width 572: &quot;The padding and border should be present on all sides of the span (although vertical lines&quot;
+            text run at (0,70) width 547: &quot;should appear only at the beginning and the end of the whole span, not on each line). &quot;
+            text run at (546,70) width 211: &quot;The padding, border, and margin&quot;
+            text run at (0,102) width 395: &quot;should all be noticeable at the beginning and end of the span. &quot;
+            text run at (395,102) width 370: &quot;However, the line height should not be changed by any of&quot;
+            text run at (0,134) width 597: &quot;them, so the margin should be unnoticeable and the border should overlap text on other lines.&quot;
+        RenderText {#text} at (649,134) size 776x51
+          text run at (649,134) width 5: &quot; &quot;
+          text run at (653,134) width 123: &quot;The line spacing in&quot;
+          text run at (0,166) width 342: &quot;the whole paragraph should be 200% of the font size.&quot;
+      RenderBlock {P} at (0,373) size 784x64
+        RenderText {#text} at (0,0) size 155x15
+          text run at (0,0) width 155: &quot;This is a paragraph that has a &quot;
+        RenderInline {SPAN} at (0,0) size 777x77 [border: (12px solid #FF0000)]
+          RenderText {#text} at (169,0) size 777x47
+            text run at (169,0) width 590: &quot;very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the difference&quot;
+            text run at (0,16) width 777: &quot;between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding and border should&quot;
+            text run at (0,32) width 134: &quot;not effect the line height. &quot;
+            text run at (133,32) width 574: &quot;The span's border should have vertical lines only at the beginning and end of the whole span, not on each line.&quot;
+        RenderText {#text} at (720,32) size 767x31
+          text run at (720,32) width 4: &quot; &quot;
+          text run at (723,32) width 44: &quot;The line&quot;
+          text run at (0,48) width 351: &quot;spacing in the whole paragraph should be 12pt, with font-size 10pt.&quot;
+      RenderTable {TABLE} at (0,450) size 784x311 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x308
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x280
+            RenderTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x192
+                RenderText {#text} at (0,6) size 191x19
+                  text run at (0,6) width 191: &quot;This is a paragraph that has a &quot;
+                RenderInline {SPAN} at (0,0) size 761x173 [border: (10px solid #FF0000)]
+                  RenderText {#text} at (243,6) size 761x147
+                    text run at (243,6) width 511: &quot;very long span in it, and the span has a 10px red border separated from the span&quot;
+                    text run at (0,38) width 190: &quot;by 2pt, and a margin of 30pt. &quot;
+                    text run at (189,38) width 572: &quot;The padding and border should be present on all sides of the span (although vertical lines&quot;
+                    text run at (0,70) width 547: &quot;should appear only at the beginning and the end of the whole span, not on each line). &quot;
+                    text run at (546,70) width 211: &quot;The padding, border, and margin&quot;
+                    text run at (0,102) width 395: &quot;should all be noticeable at the beginning and end of the span. &quot;
+                    text run at (395,102) width 353: &quot;However, the line height should not be changed by any&quot;
+                    text run at (0,134) width 614: &quot;of them, so the margin should be unnoticeable and the border should overlap text on other lines.&quot;
+                RenderText {#text} at (666,134) size 724x51
+                  text run at (666,134) width 5: &quot; &quot;
+                  text run at (670,134) width 54: &quot;The line&quot;
+                  text run at (0,166) width 411: &quot;spacing in the whole paragraph should be 200% of the font size.&quot;
+              RenderBlock {P} at (4,212) size 762x64
+                RenderText {#text} at (0,0) size 155x15
+                  text run at (0,0) width 155: &quot;This is a paragraph that has a &quot;
+                RenderInline {SPAN} at (0,0) size 759x77 [border: (12px solid #FF0000)]
+                  RenderText {#text} at (169,0) size 759x47
+                    text run at (169,0) width 590: &quot;very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the difference&quot;
+                    text run at (0,16) width 739: &quot;between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding and border&quot;
+                    text run at (0,32) width 172: &quot;should not effect the line height. &quot;
+                    text run at (171,32) width 573: &quot;The span's border should have vertical lines only at the beginning and end of the whole span, not on each line.&quot;
+                RenderText {#text} at (0,48) size 397x15
+                  text run at (0,48) width 397: &quot;The line spacing in the whole paragraph should be 12pt, with font-size 10pt.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelreplaced_elementsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/replaced_elements-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+layer at (0,0) size 800x2391
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2391
+  RenderBlock {HTML} at (0,0) size 800x2391
+    RenderBody {BODY} at (8,8) size 784x2375 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x112
+        RenderText {#text} at (0,0) size 492x112
+          text run at (0,0) width 203: &quot;IMG.one {display: inline;}&quot;
+          text run at (202,0) width 1: &quot; &quot;
+          text run at (0,14) width 196: &quot;IMG.two {display: block;}&quot;
+          text run at (195,14) width 1: &quot; &quot;
+          text run at (0,28) width 203: &quot;IMG.three {display: block;&quot;
+          text run at (202,28) width 1: &quot; &quot;
+          text run at (0,42) width 492: &quot;           margin-right: auto; margin-left: auto; width: auto;}&quot;
+          text run at (491,42) width 1: &quot; &quot;
+          text run at (0,56) width 196: &quot;IMG.four {display: block;&quot;
+          text run at (195,56) width 1: &quot; &quot;
+          text run at (0,70) width 476: &quot;          margin-right: auto; margin-left: auto; width: 50%;}&quot;
+          text run at (475,70) width 1: &quot; &quot;
+          text run at (0,84) width 196: &quot;IMG.five {display: block;&quot;
+          text run at (195,84) width 1: &quot; &quot;
+          text run at (0,98) width 453: &quot;          margin-right: 0; margin-left: auto; width: 50%;}&quot;
+          text run at (452,98) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,161) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,179) size 784x20
+        RenderImage {IMG} at (0,0) size 15x15
+        RenderText {#text} at (15,0) size 442x19
+          text run at (15,0) width 442: &quot;The image at the beginning of this sentence should be a 15px square.&quot;
+      RenderImage {IMG} at (0,215) size 15x15
+      RenderBlock {P} at (0,246) size 784x20
+        RenderText {#text} at (0,0) size 498x19
+          text run at (0,0) width 498: &quot;The above image should be a 15px square with the same left edge as this text.&quot;
+      RenderImage {IMG} at (384,282) size 16x15
+      RenderBlock {P} at (0,313) size 784x20
+        RenderText {#text} at (0,0) size 406x19
+          text run at (0,0) width 406: &quot;The above image should be a 15px square aligned at the center.&quot;
+      RenderImage {IMG} at (196,349) size 392x392
+      RenderBlock {P} at (0,757) size 784x40
+        RenderText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: &quot;The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally within&quot;
+          text run at (0,20) width 127: &quot;the parent element: &quot;
+          text run at (126,20) width 405: &quot;the document body in the first half, and the table in the second.&quot;
+      RenderImage {IMG} at (392,813) size 392x392
+      RenderBlock {P} at (0,1221) size 784x40
+        RenderText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: &quot;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&quot;
+          text run at (0,20) width 104: &quot;parent element: &quot;
+          text run at (103,20) width 404: &quot;the document body in the first half, and the table in the second.&quot;
+      RenderTable {TABLE} at (0,1277) size 784x1098 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1096
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1068
+            RenderTableCell {TD} at (0,548) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1068 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderImage {IMG} at (0,0) size 15x15
+                RenderText {#text} at (15,0) size 442x19
+                  text run at (15,0) width 442: &quot;The image at the beginning of this sentence should be a 15px square.&quot;
+              RenderImage {IMG} at (4,40) size 15x15
+              RenderBlock {P} at (4,71) size 762x20
+                RenderText {#text} at (0,0) size 498x19
+                  text run at (0,0) width 498: &quot;The above image should be a 15px square with the same left edge as this text.&quot;
+              RenderImage {IMG} at (377,107) size 16x15
+              RenderBlock {P} at (4,138) size 762x20
+                RenderText {#text} at (0,0) size 406x19
+                  text run at (0,0) width 406: &quot;The above image should be a 15px square aligned at the center.&quot;
+              RenderImage {IMG} at (194,174) size 382x381
+              RenderBlock {P} at (4,571) size 762x40
+                RenderText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 738: &quot;The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally&quot;
+                  text run at (0,20) width 172: &quot;within the parent element: &quot;
+                  text run at (171,20) width 404: &quot;the document body in the first half, and the table in the second.&quot;
+              RenderImage {IMG} at (385,627) size 381x381
+              RenderBlock {P} at (4,1024) size 762x40
+                RenderText {#text} at (0,0) size 750x39
+                  text run at (0,0) width 750: &quot;The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of&quot;
+                  text run at (0,20) width 127: &quot;the parent element: &quot;
+                  text run at (126,20) width 405: &quot;the document body in the first half, and the table in the second.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1formatting_modelvertical_formattingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/formatting_model/vertical_formatting-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,172 @@
</span><ins>+layer at (0,0) size 800x2559
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2559
+  RenderBlock {HTML} at (0,0) size 800x2559
+    RenderBody {BODY} at (8,8) size 784x2543 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x280
+        RenderText {#text} at (0,0) size 484x280
+          text run at (0,0) width 359: &quot;P.one {margin-bottom: 2cm; padding-bottom: 0;}&quot;
+          text run at (358,0) width 1: &quot; &quot;
+          text run at (0,14) width 313: &quot;P.two {margin-top: 2cm; padding-top: 0;}&quot;
+          text run at (312,14) width 1: &quot; &quot;
+          text run at (0,28) width 313: &quot;P.three {margin-top: 0; padding-top: 0;}&quot;
+          text run at (312,28) width 1: &quot; &quot;
+          text run at (0,42) width 336: &quot;P.four {margin-top: -1cm; margin-bottom: 0;&quot;
+          text run at (335,42) width 1: &quot; &quot;
+          text run at (0,56) width 336: &quot;        padding-top: 0; padding-bottom: 0;}&quot;
+          text run at (335,56) width 1: &quot; &quot;
+          text run at (0,70) width 359: &quot;DIV.five {margin-top: 1cm; margin-bottom: 1cm;&quot;
+          text run at (358,70) width 1: &quot; &quot;
+          text run at (0,84) width 367: &quot;          padding-top: 1cm; padding-bottom: 0;}&quot;
+          text run at (366,84) width 1: &quot; &quot;
+          text run at (0,98) width 336: &quot;P.six {margin-top: 1cm; margin-bottom: 1cm;&quot;
+          text run at (335,98) width 1: &quot; &quot;
+          text run at (0,112) width 328: &quot;       padding-top: 0; padding-bottom: 0;}&quot;
+          text run at (327,112) width 1: &quot; &quot;
+          text run at (0,126) width 328: &quot;P.seven {margin-top: 1cm; padding-top: 0;}&quot;
+          text run at (327,126) width 1: &quot; &quot;
+          text run at (0,140) width 398: &quot;P.eight {margin-bottom: -1cm; padding-bottom: 2cm;}&quot;
+          text run at (397,140) width 1: &quot; &quot;
+          text run at (0,154) width 336: &quot;P.nine {margin-top: -1cm; padding-top: 1cm;&quot;
+          text run at (335,154) width 1: &quot; &quot;
+          text run at (0,168) width 367: &quot;        padding-bottom: 0; margin-bottom: 1cm;}&quot;
+          text run at (366,168) width 1: &quot; &quot;
+          text run at (0,182) width 297: &quot;P.ten {margin-top: 1cm;padding-top: 0;&quot;
+          text run at (296,182) width 1: &quot; &quot;
+          text run at (0,196) width 242: &quot;       float: left;width: 50%;}&quot;
+          text run at (241,196) width 1: &quot; &quot;
+          text run at (0,210) width 437: &quot;P.eleven {margin-top: 1cm; padding-top: 0; clear: none;}&quot;
+          text run at (436,210) width 1: &quot; &quot;
+          text run at (0,224) width 484: &quot;P.twelve {margin-bottom: 0; padding-bottom: 1cm; clear: both;}&quot;
+          text run at (483,224) width 1: &quot; &quot;
+          text run at (0,238) width 352: &quot;P.thirteen {margin-top: 0; padding-top: 1cm;}&quot;
+          text run at (351,238) width 1: &quot; &quot;
+          text run at (0,252) width 157: &quot;TABLE {clear: both;}&quot;
+          text run at (156,252) width 1: &quot; &quot;
+          text run at (0,266) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,329) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,347) size 784x40
+        RenderText {#text} at (0,0) size 769x39
+          text run at (0,0) width 769: &quot;There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should&quot;
+          text run at (0,20) width 262: &quot;collapse to the maximum of the margins.&quot;
+      RenderBlock {P} at (0,462) size 784x21
+        RenderText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+      RenderBlock {P} at (0,498) size 784x21
+        RenderText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: &quot;There should be a two-centimeter margin between this paragraph and the next.&quot;
+      RenderBlock {P} at (0,594) size 784x21
+        RenderText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+      RenderBlock {P} at (0,630) size 784x41
+        RenderText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: &quot;There should be a one-centimeter margin between this paragraph and the next, because when there is one negative margin,&quot;
+          text run at (0,20) width 421: &quot;the two margins should be added (the minus sign should be kept).&quot;
+      RenderBlock {P} at (0,707) size 784x21
+        RenderText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+      RenderBlock {DIV} at (0,765) size 784x137
+        RenderBlock {P} at (0,75) size 784x61
+          RenderText {#text} at (0,0) size 775x59
+            text run at (0,0) width 773: &quot;There should be three centimeters between this text and the text above, but only one centimeter between this text and the&quot;
+            text run at (0,20) width 775: &quot;text below, because vertical margins of nested elements should collapse only if there is no border or padding between the&quot;
+            text run at (0,40) width 56: &quot;margins.&quot;
+      RenderBlock {P} at (0,939) size 784x21
+        RenderText {#text} at (0,0) size 112x19
+          text run at (0,0) width 112: &quot;This is more text.&quot;
+      RenderBlock {P} at (0,975) size 784x116
+        RenderText {#text} at (0,0) size 738x39
+          text run at (0,0) width 738: &quot;There should be two centimeters between this paragraph and the one below, because negative margins collapse to a&quot;
+          text run at (0,20) width 467: &quot;negative margin with the largest absolute value of the margins collapsed.&quot;
+      RenderBlock {P} at (0,1052) size 784x79
+        RenderText {#text} at (0,38) size 778x39
+          text run at (0,38) width 778: &quot;This is a paragraph, which I should make very long so that you can easily see how much space there is between it and the&quot;
+          text run at (0,58) width 185: &quot;one below it and to the right.&quot;
+      RenderBlock (floating) {P} at (0,1206) size 392x61
+        RenderText {#text} at (0,0) size 389x59
+          text run at (0,0) width 389: &quot;There should be two centimeters between this paragraph and&quot;
+          text run at (0,20) width 373: &quot;the one above it, since margins do not collapse on floating&quot;
+          text run at (0,40) width 61: &quot;elements.&quot;
+      RenderBlock {P} at (0,1168) size 784x61
+        RenderText {#text} at (392,0) size 382x59
+          text run at (392,0) width 382: &quot;There should be one centimeter between this paragraph and&quot;
+          text run at (392,20) width 365: &quot;the (non-floating) one above it, since the float should not&quot;
+          text run at (392,40) width 185: &quot;effect the paragraph spacing.&quot;
+      RenderBlock {P} at (0,1282) size 784x78
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 562: &quot;There should be two centimeters of padding between this paragraph and the one below. &quot;
+          text run at (561,0) width 199: &quot;Padding does not collapse, and&quot;
+          text run at (0,20) width 239: &quot;there is 1cm of padding on each side.&quot;
+      RenderBlock {P} at (0,1360) size 784x58
+        RenderText {#text} at (0,38) size 171x19
+          text run at (0,38) width 171: &quot;This is the next paragraph.&quot;
+      RenderTable {TABLE} at (0,1433) size 784x1110 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1107
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1079
+            RenderTableCell {TD} at (0,553) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1079 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 722x39
+                  text run at (0,0) width 722: &quot;There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins&quot;
+                  text run at (0,20) width 309: &quot;should collapse to the maximum of the margins.&quot;
+              RenderBlock {P} at (4,119) size 762x21
+                RenderText {#text} at (0,0) size 168x19
+                  text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+              RenderBlock {P} at (4,155) size 762x21
+                RenderText {#text} at (0,0) size 503x19
+                  text run at (0,0) width 503: &quot;There should be a two-centimeter margin between this paragraph and the next.&quot;
+              RenderBlock {P} at (4,251) size 762x21
+                RenderText {#text} at (0,0) size 168x19
+                  text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+              RenderBlock {P} at (4,287) size 762x41
+                RenderText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 731: &quot;There should be a one-centimeter margin between this paragraph and the next, because when there is one negative&quot;
+                  text run at (0,20) width 474: &quot;margin, the two margins should be added (the minus sign should be kept).&quot;
+              RenderBlock {P} at (4,364) size 762x21
+                RenderText {#text} at (0,0) size 168x19
+                  text run at (0,0) width 168: &quot;This is another paragraph.&quot;
+              RenderBlock {DIV} at (4,422) size 762x137
+                RenderBlock {P} at (0,75) size 762x61
+                  RenderText {#text} at (0,0) size 750x59
+                    text run at (0,0) width 750: &quot;There should be three centimeters between this text and the text above, but only one centimeter between this text and&quot;
+                    text run at (0,20) width 718: &quot;the text below, because vertical margins of nested elements should collapse only if there is no border or padding&quot;
+                    text run at (0,40) width 137: &quot;between the margins.&quot;
+              RenderBlock {P} at (4,596) size 762x21
+                RenderText {#text} at (0,0) size 112x19
+                  text run at (0,0) width 112: &quot;This is more text.&quot;
+              RenderBlock {P} at (4,632) size 762x116
+                RenderText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 738: &quot;There should be two centimeters between this paragraph and the one below, because negative margins collapse to a&quot;
+                  text run at (0,20) width 467: &quot;negative margin with the largest absolute value of the margins collapsed.&quot;
+              RenderBlock {P} at (4,709) size 762x79
+                RenderText {#text} at (0,38) size 754x39
+                  text run at (0,38) width 754: &quot;This is a paragraph, which I should make very long so that you can easily see how much space there is between it and&quot;
+                  text run at (0,58) width 208: &quot;the one below it and to the right.&quot;
+              RenderBlock (floating) {P} at (4,863) size 381x61
+                RenderText {#text} at (0,0) size 362x59
+                  text run at (0,0) width 362: &quot;There should be two centimeters between this paragraph&quot;
+                  text run at (0,20) width 346: &quot;and the one above it, since margins do not collapse on&quot;
+                  text run at (0,40) width 115: &quot;floating elements.&quot;
+              RenderBlock {P} at (4,825) size 762x61
+                RenderText {#text} at (381,0) size 368x59
+                  text run at (381,0) width 355: &quot;There should be one centimeter between this paragraph&quot;
+                  text run at (381,20) width 368: &quot;and the (non-floating) one above it, since the float should&quot;
+                  text run at (381,40) width 209: &quot;not effect the paragraph spacing.&quot;
+              RenderBlock {P} at (4,939) size 762x78
+                RenderText {#text} at (0,0) size 760x39
+                  text run at (0,0) width 562: &quot;There should be two centimeters of padding between this paragraph and the one below. &quot;
+                  text run at (561,0) width 199: &quot;Padding does not collapse, and&quot;
+                  text run at (0,20) width 239: &quot;there is 1cm of padding on each side.&quot;
+              RenderBlock {P} at (4,1017) size 762x58
+                RenderText {#text} at (0,38) size 171x19
+                  text run at (0,38) width 171: &quot;This is the next paragraph.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1pseudoanchorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/pseudo/anchor-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/pseudo/anchor-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/pseudo/anchor-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,162 @@
</span><ins>+layer at (0,0) size 800x725
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x725
+  RenderBlock {HTML} at (0,0) size 800x725
+    RenderBody {BODY} at (8,8) size 784x709 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x84
+        RenderText {#text} at (0,0) size 196x84
+          text run at (0,0) width 133: &quot;A {color: green;}&quot;
+          text run at (132,0) width 1: &quot; &quot;
+          text run at (0,14) width 180: &quot;A:link {color: purple;}&quot;
+          text run at (179,14) width 1: &quot; &quot;
+          text run at (0,28) width 188: &quot;A:visited {color: lime;}&quot;
+          text run at (187,28) width 1: &quot; &quot;
+          text run at (0,42) width 196: &quot;A:active {color: maroon;}&quot;
+          text run at (195,42) width 1: &quot; &quot;
+          text run at (0,56) width 172: &quot;#one {color: #006600;}&quot;
+          text run at (171,56) width 1: &quot; &quot;
+          text run at (0,70) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,133) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,151) size 784x20
+        RenderText {#text} at (0,0) size 508x19
+          text run at (0,0) width 508: &quot;The following anchors should appear as described; none of them should be red.&quot;
+      RenderBlock {UL} at (0,187) size 784x160
+        RenderListItem {LI} at (40,0) size 744x120
+          RenderBlock (anonymous) at (0,0) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 583x19
+              text run at (0,0) width 583: &quot;Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):&quot;
+          RenderBlock {UL} at (0,20) size 744x100
+            RenderListItem {LI} at (40,0) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 110x19 [color=#800080]
+                RenderText {#text} at (0,0) size 110x19
+                  text run at (0,0) width 110: &quot;W3C Web server&quot;
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (40,20) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 112x19 [color=#800080]
+                RenderText {#text} at (0,0) size 112x19
+                  text run at (0,0) width 112: &quot;NIST Web server&quot;
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (40,40) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 125x19 [color=#800080]
+                RenderText {#text} at (0,0) size 125x19
+                  text run at (0,0) width 125: &quot;CWRU Web server&quot;
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (40,60) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 47x19 [color=#800080]
+                RenderText {#text} at (0,0) size 47x19
+                  text run at (0,0) width 47: &quot;Yahoo!&quot;
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (40,80) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 58x19 [color=#800080]
+                RenderText {#text} at (0,0) size 58x19
+                  text run at (0,0) width 58: &quot;Erewhon&quot;
+              RenderText {#text} at (57,0) size 225x19
+                text run at (57,0) width 225: &quot; (don't click on it, it goes nowhere)&quot;
+        RenderListItem {LI} at (40,120) size 744x40
+          RenderBlock (anonymous) at (0,0) size 744x20
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 208x19
+              text run at (0,0) width 208: &quot;Dark green in any circumstance:&quot;
+          RenderBlock {UL} at (0,20) size 744x20
+            RenderListItem {LI} at (40,0) size 704x20
+              RenderListMarker at (-18,0) size 7x19: white bullet
+              RenderInline {A} at (0,0) size 125x19 [color=#006600]
+                RenderText {#text} at (0,0) size 125x19
+                  text run at (0,0) width 125: &quot;CWRU Web server&quot;
+              RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,363) size 784x40
+        RenderText {#text} at (0,0) size 120x19
+          text run at (0,0) width 120: &quot;The quoted word \&quot;&quot;
+        RenderInline {A} at (0,0) size 45x19 [color=#008000]
+          RenderText {#text} at (119,0) size 45x19
+            text run at (119,0) width 45: &quot;anchor&quot;
+        RenderText {#text} at (163,0) size 739x39
+          text run at (163,0) width 381: &quot;\&quot; should be green, NOT purple, since it's part of an anchor. &quot;
+          text run at (543,0) width 196: &quot;It's a named anchor, and styles&quot;
+          text run at (0,20) width 355: &quot;declared for the A tag are applied to them under CSS1. &quot;
+          text run at (354,20) width 330: &quot;It also should NOT turn orange when clicked upon.&quot;
+      RenderTable {TABLE} at (0,419) size 784x290 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x288
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x260
+            RenderTableCell {TD} at (0,144) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x260 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 508x19
+                  text run at (0,0) width 508: &quot;The following anchors should appear as described; none of them should be red.&quot;
+              RenderBlock {UL} at (4,40) size 762x160
+                RenderListItem {LI} at (40,0) size 722x120
+                  RenderBlock (anonymous) at (0,0) size 722x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 583x19
+                      text run at (0,0) width 583: &quot;Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):&quot;
+                  RenderBlock {UL} at (0,20) size 722x100
+                    RenderListItem {LI} at (40,0) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 110x19 [color=#800080]
+                        RenderText {#text} at (0,0) size 110x19
+                          text run at (0,0) width 110: &quot;W3C Web server&quot;
+                      RenderText {#text} at (0,0) size 0x0
+                    RenderListItem {LI} at (40,20) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 112x19 [color=#800080]
+                        RenderText {#text} at (0,0) size 112x19
+                          text run at (0,0) width 112: &quot;NIST Web server&quot;
+                      RenderText {#text} at (0,0) size 0x0
+                    RenderListItem {LI} at (40,40) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 125x19 [color=#800080]
+                        RenderText {#text} at (0,0) size 125x19
+                          text run at (0,0) width 125: &quot;CWRU Web server&quot;
+                      RenderText {#text} at (0,0) size 0x0
+                    RenderListItem {LI} at (40,60) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 47x19 [color=#800080]
+                        RenderText {#text} at (0,0) size 47x19
+                          text run at (0,0) width 47: &quot;Yahoo!&quot;
+                      RenderText {#text} at (0,0) size 0x0
+                    RenderListItem {LI} at (40,80) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 58x19 [color=#800080]
+                        RenderText {#text} at (0,0) size 58x19
+                          text run at (0,0) width 58: &quot;Erewhon&quot;
+                      RenderText {#text} at (57,0) size 225x19
+                        text run at (57,0) width 225: &quot; (don't click on it, it goes nowhere)&quot;
+                RenderListItem {LI} at (40,120) size 722x40
+                  RenderBlock (anonymous) at (0,0) size 722x20
+                    RenderListMarker at (-18,0) size 7x19: bullet
+                    RenderText {#text} at (0,0) size 208x19
+                      text run at (0,0) width 208: &quot;Dark green in any circumstance:&quot;
+                  RenderBlock {UL} at (0,20) size 722x20
+                    RenderListItem {LI} at (40,0) size 682x20
+                      RenderListMarker at (-18,0) size 7x19: white bullet
+                      RenderInline {A} at (0,0) size 125x19 [color=#006600]
+                        RenderText {#text} at (0,0) size 125x19
+                          text run at (0,0) width 125: &quot;CWRU Web server&quot;
+                      RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,216) size 762x40
+                RenderText {#text} at (0,0) size 120x19
+                  text run at (0,0) width 120: &quot;The quoted word \&quot;&quot;
+                RenderInline {A} at (0,0) size 45x19 [color=#008000]
+                  RenderText {#text} at (119,0) size 45x19
+                    text run at (119,0) width 45: &quot;anchor&quot;
+                RenderText {#text} at (163,0) size 739x39
+                  text run at (163,0) width 381: &quot;\&quot; should be green, NOT purple, since it's part of an anchor. &quot;
+                  text run at (543,0) width 196: &quot;It's a named anchor, and styles&quot;
+                  text run at (0,20) width 355: &quot;declared for the A tag are applied to them under CSS1. &quot;
+                  text run at (354,20) width 330: &quot;It also should NOT turn orange when clicked upon.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1pseudofirstletterexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstletter-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstletter-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstletter-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,93 @@
</span><ins>+layer at (0,0) size 800x745
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x745
+  RenderBlock {HTML} at (0,0) size 800x745
+    RenderBody {BODY} at (8,8) size 784x729 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: &quot;T&quot;
+        RenderText {#text} at (9,0) size 354x19
+          text run at (9,0) width 354: &quot;he style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 305x56
+          text run at (0,0) width 242: &quot;P:first-letter {color: maroon;}&quot;
+          text run at (241,0) width 1: &quot; &quot;
+          text run at (0,14) width 281: &quot;.two:first-letter {font-size: 200%;}&quot;
+          text run at (280,14) width 1: &quot; &quot;
+          text run at (0,28) width 305: &quot;P.three:first-letter {font-size: 350%;}&quot;
+          text run at (304,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x60
+        RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: &quot;T&quot;
+        RenderText {#text} at (9,0) size 781x59
+          text run at (9,0) width 445: &quot;he first letter of this paragraph, and only that one, should be maroon. &quot;
+          text run at (453,0) width 328: &quot;If this precise combination does not occur, then the&quot;
+          text run at (0,20) width 193: &quot;user agent has failed this test. &quot;
+          text run at (192,20) width 587: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more&quot;
+          text run at (0,40) width 87: &quot;than one line.&quot;
+      RenderBlock {P} at (0,199) size 784x78
+        RenderInline (generated) at (0,0) size 20x36 [color=#800000]
+          RenderText {#text} at (0,1) size 20x36
+            text run at (0,1) width 20: &quot;T&quot;
+        RenderText {#text} at (19,15) size 775x62
+          text run at (19,15) width 625: &quot;he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. &quot;
+          text run at (643,15) width 89: &quot;If this precise&quot;
+          text run at (0,38) width 433: &quot;combination does not occur, then the user agent has failed this test. &quot;
+          text run at (432,38) width 343: &quot;Remember that in order to ensure a complete test, the&quot;
+          text run at (0,58) width 332: &quot;paragraph must be displayed on more than one line.&quot;
+      RenderBlock {P} at (0,293) size 784x106
+        RenderInline (generated) at (0,0) size 76x63 [color=#800000]
+          RenderText {#text} at (0,1) size 76x63
+            text run at (0,1) width 76: &quot;\&quot;W&quot;
+        RenderText {#text} at (75,36) size 774x69
+          text run at (75,36) width 325: &quot;e should check for quotation support,\&quot; it was said. &quot;
+          text run at (399,36) width 375: &quot;The first two characters in this paragraph-- a double-quote&quot;
+          text run at (0,66) width 589: &quot;mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. &quot;
+          text run at (588,66) width 183: &quot;Note that this is not required&quot;
+          text run at (0,86) width 232: &quot;under CSS1, but it is recommended.&quot;
+      RenderTable {TABLE} at (0,415) size 784x314 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x312
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x284
+            RenderTableCell {TD} at (0,156) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x284 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+                  RenderText {#text} at (0,0) size 10x19
+                    text run at (0,0) width 10: &quot;T&quot;
+                RenderText {#text} at (9,0) size 757x59
+                  text run at (9,0) width 445: &quot;he first letter of this paragraph, and only that one, should be maroon. &quot;
+                  text run at (453,0) width 304: &quot;If this precise combination does not occur, then&quot;
+                  text run at (0,20) width 216: &quot;the user agent has failed this test. &quot;
+                  text run at (215,20) width 531: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed&quot;
+                  text run at (0,40) width 144: &quot;on more than one line.&quot;
+              RenderBlock {P} at (4,80) size 762x78
+                RenderInline (generated) at (0,0) size 20x36 [color=#800000]
+                  RenderText {#text} at (0,1) size 20x36
+                    text run at (0,1) width 20: &quot;T&quot;
+                RenderText {#text} at (19,15) size 751x62
+                  text run at (19,15) width 625: &quot;he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. &quot;
+                  text run at (643,15) width 89: &quot;If this precise&quot;
+                  text run at (0,38) width 433: &quot;combination does not occur, then the user agent has failed this test. &quot;
+                  text run at (432,38) width 319: &quot;Remember that in order to ensure a complete test,&quot;
+                  text run at (0,58) width 355: &quot;the paragraph must be displayed on more than one line.&quot;
+              RenderBlock {P} at (4,174) size 762x106
+                RenderInline (generated) at (0,0) size 76x63 [color=#800000]
+                  RenderText {#text} at (0,1) size 76x63
+                    text run at (0,1) width 76: &quot;\&quot;W&quot;
+                RenderText {#text} at (75,36) size 754x69
+                  text run at (75,36) width 325: &quot;e should check for quotation support,\&quot; it was said. &quot;
+                  text run at (399,36) width 339: &quot;The first two characters in this paragraph-- a double-&quot;
+                  text run at (0,66) width 628: &quot;quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. &quot;
+                  text run at (627,66) width 127: &quot;Note that this is not&quot;
+                  text run at (0,86) width 289: &quot;required under CSS1, but it is recommended.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1pseudofirstlineexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstline-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/pseudo/firstline-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+layer at (0,0) size 800x693
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x693
+  RenderBlock {HTML} at (0,0) size 800x693
+    RenderBody {BODY} at (8,8) size 784x677 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 352x56
+          text run at (0,0) width 219: &quot;P:first-line {color: green;}&quot;
+          text run at (218,0) width 1: &quot; &quot;
+          text run at (0,14) width 266: &quot;.two:first-line {font-size: 200%;}&quot;
+          text run at (265,14) width 1: &quot; &quot;
+          text run at (0,28) width 352: &quot;.three:first-line {font-variant: small-caps;}&quot;
+          text run at (351,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x60
+        RenderText {#text} at (0,0) size 779x59
+          text run at (0,0) width 431: &quot;The first line of this paragraph, and only that one, should be green. &quot;
+          text run at (430,0) width 328: &quot;If this precise combination does not occur, then the&quot;
+          text run at (0,20) width 193: &quot;user agent has failed this test. &quot;
+          text run at (192,20) width 587: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more&quot;
+          text run at (0,40) width 87: &quot;than one line.&quot;
+      RenderBlock {P} at (0,199) size 784x78
+        RenderText {#text} at (0,1) size 767x76
+          text run at (0,1) width 767: &quot;The first line of this paragraph, and only that one, should be&quot;
+          text run at (0,38) width 221: &quot;a larger font size as well as green. &quot;
+          text run at (220,38) width 520: &quot;If this precise combination does not occur, then the user agent has failed this test.&quot;
+          text run at (0,58) width 678: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line.&quot;
+      RenderBlock {P} at (0,293) size 784x80
+        RenderText {#text} at (0,0) size 782x59
+          text run at (0,0) width 608: &quot;The first line of this paragraph, and only that one, should be displayed in small-caps style. &quot;
+          text run at (607,0) width 155: &quot;Thus, if the first line is&quot;
+          text run at (0,20) width 782: &quot;not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although&quot;
+          text run at (0,40) width 170: &quot;the problem might be that &quot;
+        RenderInline {CODE} at (0,0) size 79x14
+          RenderText {#text} at (169,45) size 79x14
+            text run at (169,45) width 79: &quot;small-caps&quot;
+        RenderText {#text} at (247,40) size 767x39
+          text run at (247,40) width 229: &quot; is not supported by your browser). &quot;
+          text run at (475,40) width 292: &quot;This is extra text included for the purposes of&quot;
+          text run at (0,60) width 402: &quot;making the paragraph long enough to have more than one line.&quot;
+      RenderTable {TABLE} at (0,389) size 784x288 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x286
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x258
+            RenderTableCell {TD} at (0,143) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x258 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderText {#text} at (0,0) size 758x59
+                  text run at (0,0) width 431: &quot;The first line of this paragraph, and only that one, should be green. &quot;
+                  text run at (430,0) width 328: &quot;If this precise combination does not occur, then the&quot;
+                  text run at (0,20) width 193: &quot;user agent has failed this test. &quot;
+                  text run at (192,20) width 550: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on&quot;
+                  text run at (0,40) width 124: &quot;more than one line.&quot;
+              RenderBlock {P} at (4,80) size 762x78
+                RenderText {#text} at (0,1) size 759x76
+                  text run at (0,1) width 729: &quot;The first line of this paragraph, and only that one, should&quot;
+                  text run at (0,38) width 240: &quot;be a larger font size as well as green. &quot;
+                  text run at (239,38) width 520: &quot;If this precise combination does not occur, then the user agent has failed this test.&quot;
+                  text run at (0,58) width 678: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line.&quot;
+              RenderBlock {P} at (4,174) size 762x80
+                RenderText {#text} at (0,0) size 762x59
+                  text run at (0,0) width 608: &quot;The first line of this paragraph, and only that one, should be displayed in small-caps style. &quot;
+                  text run at (607,0) width 155: &quot;Thus, if the first line is&quot;
+                  text run at (0,20) width 717: &quot;not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test&quot;
+                  text run at (0,40) width 235: &quot;(although the problem might be that &quot;
+                RenderInline {CODE} at (0,0) size 79x14
+                  RenderText {#text} at (234,45) size 79x14
+                    text run at (234,45) width 79: &quot;small-caps&quot;
+                RenderText {#text} at (312,40) size 754x39
+                  text run at (312,40) width 230: &quot; is not supported by your browser). &quot;
+                  text run at (541,40) width 213: &quot;This is extra text included for the&quot;
+                  text run at (0,60) width 480: &quot;purposes of making the paragraph long enough to have more than one line.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1pseudomultiple_pseudo_elementsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/pseudo/multiple_pseudo_elements-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+layer at (0,0) size 800x1071
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1071
+  RenderBlock {HTML} at (0,0) size 800x1071
+    RenderBody {BODY} at (8,8) size 784x1055 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: &quot;T&quot;
+        RenderText {#text} at (9,0) size 354x19
+          text run at (9,0) width 354: &quot;he style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x98
+        RenderText {#text} at (0,0) size 359x98
+          text run at (0,0) width 219: &quot;P:first-line {color: green;}&quot;
+          text run at (218,0) width 1: &quot; &quot;
+          text run at (0,14) width 242: &quot;P:first-letter {color: maroon;}&quot;
+          text run at (241,14) width 1: &quot; &quot;
+          text run at (0,28) width 266: &quot;.two:first-line {font-size: 200%;}&quot;
+          text run at (265,28) width 1: &quot; &quot;
+          text run at (0,42) width 281: &quot;.two:first-letter {font-size: 350%;}&quot;
+          text run at (280,42) width 1: &quot; &quot;
+          text run at (0,56) width 305: &quot;P.three:first-letter {font-size: 350%;}&quot;
+          text run at (304,56) width 1: &quot; &quot;
+          text run at (0,70) width 359: &quot;P.three:first-line {font-variant: small-caps;}&quot;
+          text run at (358,70) width 1: &quot; &quot;
+          text run at (0,84) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,147) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,165) size 784x60
+        RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: &quot;T&quot;
+        RenderText {#text} at (9,0) size 782x59
+          text run at (9,0) width 735: &quot;he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be&quot;
+          text run at (0,20) width 44: &quot;green. &quot;
+          text run at (43,20) width 524: &quot;If this precise combination does not occur, then the user agent has failed this test. &quot;
+          text run at (566,20) width 216: &quot;Remember that in order to ensure&quot;
+          text run at (0,40) width 459: &quot;a complete test, the paragraph must be displayed on more than one line.&quot;
+      RenderBlock {P} at (0,241) size 784x190
+        RenderInline (generated) at (0,0) size 69x125 [color=#800000]
+          RenderText {#text} at (0,2) size 69x125
+            text run at (0,2) width 69: &quot;T&quot;
+        RenderText {#text} at (68,73) size 766x116
+          text run at (68,73) width 634: &quot;he first letter of this paragraph, and only that one,&quot;
+          text run at (0,130) width 754: &quot;should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line&quot;
+          text run at (0,150) width 304: &quot;should be 200% bigger than normal and green. &quot;
+          text run at (303,150) width 463: &quot;If this precise combination does not occur, then the user agent has failed&quot;
+          text run at (0,170) width 58: &quot;this test. &quot;
+          text run at (57,170) width 678: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line.&quot;
+      RenderBlock {P} at (0,447) size 784x126
+        RenderInline (generated) at (0,0) size 76x63 [color=#800000]
+          RenderText {#text} at (0,1) size 76x63
+            text run at (0,1) width 76: &quot;\&quot;W&quot;
+        RenderText {#text} at (75,36) size 783x89
+          text run at (75,36) width 336: &quot;e should check for quotation support,\&quot; it was said. &quot;
+          text run at (410,36) width 361: &quot;The first two characters in this paragraph-- a double-&quot;
+          text run at (0,66) width 696: &quot;quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). &quot;
+          text run at (695,66) width 83: &quot;Note that the&quot;
+          text run at (0,86) width 783: &quot;inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is recommended.&quot;
+          text run at (0,106) width 462: &quot;In addition, the entire first line should be in a small-caps font and green.&quot;
+      RenderTable {TABLE} at (0,589) size 784x466 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x464
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x436
+            RenderTableCell {TD} at (0,232) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x436 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x60
+                RenderInline (generated) at (0,0) size 10x19 [color=#800000]
+                  RenderText {#text} at (0,0) size 10x19
+                    text run at (0,0) width 10: &quot;T&quot;
+                RenderText {#text} at (9,0) size 744x59
+                  text run at (9,0) width 735: &quot;he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be&quot;
+                  text run at (0,20) width 44: &quot;green. &quot;
+                  text run at (43,20) width 524: &quot;If this precise combination does not occur, then the user agent has failed this test. &quot;
+                  text run at (566,20) width 170: &quot;Remember that in order to&quot;
+                  text run at (0,40) width 505: &quot;ensure a complete test, the paragraph must be displayed on more than one line.&quot;
+              RenderBlock {P} at (4,80) size 762x210
+                RenderInline (generated) at (0,0) size 69x125 [color=#800000]
+                  RenderText {#text} at (0,2) size 69x125
+                    text run at (0,2) width 69: &quot;T&quot;
+                RenderText {#text} at (68,73) size 754x136
+                  text run at (68,73) width 634: &quot;he first letter of this paragraph, and only that one,&quot;
+                  text run at (0,130) width 754: &quot;should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line&quot;
+                  text run at (0,150) width 304: &quot;should be 200% bigger than normal and green. &quot;
+                  text run at (303,150) width 422: &quot;If this precise combination does not occur, then the user agent has&quot;
+                  text run at (0,170) width 98: &quot;failed this test. &quot;
+                  text run at (97,170) width 646: &quot;Remember that in order to ensure a complete test, the paragraph must be displayed on more than one&quot;
+                  text run at (0,190) width 28: &quot;line.&quot;
+              RenderBlock {P} at (4,306) size 762x126
+                RenderInline (generated) at (0,0) size 76x63 [color=#800000]
+                  RenderText {#text} at (0,1) size 76x63
+                    text run at (0,1) width 76: &quot;\&quot;W&quot;
+                RenderText {#text} at (75,36) size 757x89
+                  text run at (75,36) width 336: &quot;e should check for quotation support,\&quot; it was said. &quot;
+                  text run at (410,36) width 306: &quot;The first two characters in this paragraph-- a&quot;
+                  text run at (0,66) width 741: &quot;double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red).&quot;
+                  text run at (0,86) width 757: &quot;Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it&quot;
+                  text run at (0,106) width 114: &quot;is recommended. &quot;
+                  text run at (113,106) width 462: &quot;In addition, the entire first line should be in a small-caps font and green.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1pseudopseudo_elements_in_selectorsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/pseudo/pseudo_elements_in_selectors-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 385x19
+          text run at (0,0) width 385: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 258x56
+          text run at (0,0) width 258: &quot;P:first-line {font-weight: bold;}&quot;
+          text run at (257,0) width 1: &quot; &quot;
+          text run at (0,14) width 250: &quot;P.two:first-line {color: green;}&quot;
+          text run at (249,14) width 1: &quot; &quot;
+          text run at (0,28) width 250: &quot;P:first-line.three {color: red;}&quot;
+          text run at (249,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x40
+        RenderText {#text} at (0,0) size 731x39
+          text run at (0,0) width 345: &quot;The first line of this sentence should be boldfaced. &quot;
+          text run at (344,0) width 387: &quot;This test is included simply to establish a baseline for the&quot;
+          text run at (0,20) width 655: &quot;following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well.&quot;
+      RenderBlock {P} at (0,179) size 784x40
+        RenderText {#text} at (0,0) size 765x39
+          text run at (0,0) width 563: &quot;The first line of this sentence should be boldfaced and green, thanks to its selector. &quot;
+          text run at (562,0) width 203: &quot;If this is not the case, then the&quot;
+          text run at (0,20) width 578: &quot;user agent may have failed to properly parse the selector, or it may simply not support the &quot;
+        RenderInline {TT} at (0,0) size 87x14
+          RenderText {#text} at (577,25) size 87x14
+            text run at (577,25) width 87: &quot;:first-line&quot;
+        RenderText {#text} at (663,20) size 110x19
+          text run at (663,20) width 110: &quot; pseudo-element.&quot;
+      RenderBlock {P} at (0,235) size 784x80
+        RenderText {#text} at (0,0) size 783x79
+          text run at (0,0) width 345: &quot;The first line of this sentence should be boldfaced. &quot;
+          text run at (344,0) width 423: &quot;If it is red, then the user agent has violated the specification in&quot;
+          text run at (0,20) width 440: &quot;allowing pseudo-elements at a point other than the end of a selector. &quot;
+          text run at (439,20) width 344: &quot;If neither is the case, then the user agent has correctly&quot;
+          text run at (0,40) width 766: &quot;ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have&quot;
+          text run at (0,60) width 91: &quot;failed the test.&quot;
+      RenderTable {TABLE} at (0,331) size 784x250 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x248
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x220
+            RenderTableCell {TD} at (0,124) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x220 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 345: &quot;The first line of this sentence should be boldfaced. &quot;
+                  text run at (344,0) width 387: &quot;This test is included simply to establish a baseline for the&quot;
+                  text run at (0,20) width 655: &quot;following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well.&quot;
+              RenderBlock {P} at (4,60) size 762x60
+                RenderText {#text} at (0,0) size 740x39
+                  text run at (0,0) width 563: &quot;The first line of this sentence should be boldfaced and green, thanks to its selector. &quot;
+                  text run at (562,0) width 178: &quot;If this is not the case, then&quot;
+                  text run at (0,20) width 602: &quot;the user agent may have failed to properly parse the selector, or it may simply not support the &quot;
+                RenderInline {TT} at (0,0) size 87x14
+                  RenderText {#text} at (601,25) size 87x14
+                    text run at (601,25) width 87: &quot;:first-line&quot;
+                RenderText {#text} at (687,20) size 742x39
+                  text run at (687,20) width 55: &quot; pseudo-&quot;
+                  text run at (0,40) width 55: &quot;element.&quot;
+              RenderBlock {P} at (4,136) size 762x80
+                RenderText {#text} at (0,0) size 749x79
+                  text run at (0,0) width 345: &quot;The first line of this sentence should be boldfaced. &quot;
+                  text run at (344,0) width 405: &quot;If it is red, then the user agent has violated the specification&quot;
+                  text run at (0,20) width 456: &quot;in allowing pseudo-elements at a point other than the end of a selector. &quot;
+                  text run at (455,20) width 284: &quot;If neither is the case, then the user agent has&quot;
+                  text run at (0,40) width 703: &quot;correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be&quot;
+                  text run at (0,60) width 215: &quot;considered to have failed the test.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiesletter_spacingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/letter_spacing-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,139 @@
</span><ins>+layer at (0,0) size 800x1459
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1459
+  RenderBlock {HTML} at (0,0) size 800x1459
+    RenderBody {BODY} at (8,8) size 784x1443 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 258x154
+          text run at (0,0) width 227: &quot;.one {letter-spacing: 0.3in;}&quot;
+          text run at (226,0) width 1: &quot; &quot;
+          text run at (0,14) width 227: &quot;.two {letter-spacing: 0.5cm;}&quot;
+          text run at (226,14) width 1: &quot; &quot;
+          text run at (0,28) width 227: &quot;.three {letter-spacing: 5mm;}&quot;
+          text run at (226,28) width 1: &quot; &quot;
+          text run at (0,42) width 219: &quot;.four {letter-spacing: 3pt;}&quot;
+          text run at (218,42) width 1: &quot; &quot;
+          text run at (0,56) width 242: &quot;.five {letter-spacing: 0.25pc;}&quot;
+          text run at (241,56) width 1: &quot; &quot;
+          text run at (0,70) width 211: &quot;.six {letter-spacing: 1em;}&quot;
+          text run at (210,70) width 1: &quot; &quot;
+          text run at (0,84) width 227: &quot;.seven {letter-spacing: 1ex;}&quot;
+          text run at (226,84) width 1: &quot; &quot;
+          text run at (0,98) width 227: &quot;.eight {letter-spacing: 5px;}&quot;
+          text run at (226,98) width 1: &quot; &quot;
+          text run at (0,112) width 242: &quot;.nine {letter-spacing: normal;}&quot;
+          text run at (241,112) width 1: &quot; &quot;
+          text run at (0,126) width 219: &quot;.ten {letter-spacing: 300%;}&quot;
+          text run at (218,126) width 1: &quot; &quot;
+          text run at (0,140) width 258: &quot;.eleven {letter-spacing: -0.1em;}&quot;
+          text run at (257,140) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,221) size 784x80
+        RenderText {#text} at (0,0) size 712x79
+          text run at (0,0) width 692: &quot;This letters in this&quot;
+          text run at (0,20) width 712: &quot;sentence should have&quot;
+          text run at (0,40) width 677: &quot;extra space between&quot;
+          text run at (0,60) width 180: &quot;them.&quot;
+      RenderBlock {P} at (0,317) size 784x60
+        RenderText {#text} at (0,0) size 723x59
+          text run at (0,0) width 723: &quot;This letters in this sentence&quot;
+          text run at (0,20) width 588: &quot;should have extra space&quot;
+          text run at (0,40) width 339: &quot;between them.&quot;
+      RenderBlock {P} at (0,393) size 784x60
+        RenderText {#text} at (0,0) size 723x59
+          text run at (0,0) width 723: &quot;This letters in this sentence&quot;
+          text run at (0,20) width 588: &quot;should have extra space&quot;
+          text run at (0,40) width 339: &quot;between them.&quot;
+      RenderBlock {P} at (0,469) size 784x20
+        RenderText {#text} at (0,0) size 696x19
+          text run at (0,0) width 696: &quot;This letters in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,505) size 784x20
+        RenderText {#text} at (0,0) size 696x19
+          text run at (0,0) width 696: &quot;This letters in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,541) size 784x60
+        RenderText {#text} at (0,0) size 706x59
+          text run at (0,0) width 639: &quot;This letters in this sentence&quot;
+          text run at (0,20) width 706: &quot;should have extra space between&quot;
+          text run at (0,40) width 116: &quot;them.&quot;
+      RenderBlock {P} at (0,617) size 784x40
+        RenderText {#text} at (0,0) size 710x39
+          text run at (0,0) width 710: &quot;This letters in this sentence should have extra space&quot;
+          text run at (0,20) width 187: &quot;between them.&quot;
+      RenderBlock {P} at (0,673) size 784x40
+        RenderText {#text} at (0,0) size 763x39
+          text run at (0,0) width 763: &quot;This letters in this sentence should have extra space between them,&quot;
+          text run at (0,20) width 440: &quot;but the last few words in the sentence &quot;
+        RenderInline {SPAN} at (0,0) size 184x19
+          RenderText {#text} at (439,20) size 184x19
+            text run at (439,20) width 184: &quot;should show normal spacing&quot;
+        RenderText {#text} at (622,20) size 10x19
+          text run at (622,20) width 10: &quot;.&quot;
+      RenderBlock {P} at (0,729) size 784x40
+        RenderText {#text} at (0,0) size 746x39
+          text run at (0,0) width 746: &quot;This letters in this sentence should have normal space between them, since percentage values are not allowed on this&quot;
+          text run at (0,20) width 58: &quot;property.&quot;
+      RenderBlock {P} at (0,785) size 784x20
+        RenderText {#text} at (0,0) size 580x19
+          text run at (0,0) width 580: &quot;This letters in this sentence should have reduced space between them, since negative values are allowed on this property.&quot;
+      RenderTable {TABLE} at (0,821) size 784x622 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x620
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x592
+            RenderTableCell {TD} at (0,310) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x592 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x80
+                RenderText {#text} at (0,0) size 712x79
+                  text run at (0,0) width 692: &quot;This letters in this&quot;
+                  text run at (0,20) width 712: &quot;sentence should have&quot;
+                  text run at (0,40) width 677: &quot;extra space between&quot;
+                  text run at (0,60) width 180: &quot;them.&quot;
+              RenderBlock {P} at (4,100) size 762x60
+                RenderText {#text} at (0,0) size 723x59
+                  text run at (0,0) width 723: &quot;This letters in this sentence&quot;
+                  text run at (0,20) width 588: &quot;should have extra space&quot;
+                  text run at (0,40) width 339: &quot;between them.&quot;
+              RenderBlock {P} at (4,176) size 762x60
+                RenderText {#text} at (0,0) size 723x59
+                  text run at (0,0) width 723: &quot;This letters in this sentence&quot;
+                  text run at (0,20) width 588: &quot;should have extra space&quot;
+                  text run at (0,40) width 339: &quot;between them.&quot;
+              RenderBlock {P} at (4,252) size 762x20
+                RenderText {#text} at (0,0) size 696x19
+                  text run at (0,0) width 696: &quot;This letters in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,288) size 762x20
+                RenderText {#text} at (0,0) size 696x19
+                  text run at (0,0) width 696: &quot;This letters in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,324) size 762x60
+                RenderText {#text} at (0,0) size 706x59
+                  text run at (0,0) width 639: &quot;This letters in this sentence&quot;
+                  text run at (0,20) width 706: &quot;should have extra space between&quot;
+                  text run at (0,40) width 116: &quot;them.&quot;
+              RenderBlock {P} at (4,400) size 762x40
+                RenderText {#text} at (0,0) size 710x39
+                  text run at (0,0) width 710: &quot;This letters in this sentence should have extra space&quot;
+                  text run at (0,20) width 187: &quot;between them.&quot;
+              RenderBlock {P} at (4,456) size 762x40
+                RenderText {#text} at (0,0) size 693x39
+                  text run at (0,0) width 693: &quot;This letters in this sentence should have extra space between&quot;
+                  text run at (0,20) width 510: &quot;them, but the last few words in the sentence &quot;
+                RenderInline {SPAN} at (0,0) size 184x19
+                  RenderText {#text} at (509,20) size 184x19
+                    text run at (509,20) width 184: &quot;should show normal spacing&quot;
+                RenderText {#text} at (692,20) size 10x19
+                  text run at (692,20) width 10: &quot;.&quot;
+              RenderBlock {P} at (4,512) size 762x40
+                RenderText {#text} at (0,0) size 746x39
+                  text run at (0,0) width 746: &quot;This letters in this sentence should have normal space between them, since percentage values are not allowed on this&quot;
+                  text run at (0,20) width 58: &quot;property.&quot;
+              RenderBlock {P} at (4,568) size 762x20
+                RenderText {#text} at (0,0) size 580x19
+                  text run at (0,0) width 580: &quot;This letters in this sentence should have reduced space between them, since negative values are allowed on this property.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiesline_heightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/line_height-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/line_height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/line_height-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,181 @@
</span><ins>+layer at (0,0) size 800x2613
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x2613
+  RenderBlock {HTML} at (0,0) size 800x2613
+    RenderBody {BODY} at (8,8) size 784x2597 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x196
+        RenderText {#text} at (0,0) size 391x196
+          text run at (0,0) width 336: &quot;.one {line-height: 0.5in; font-size: 12px;}&quot;
+          text run at (335,0) width 1: &quot; &quot;
+          text run at (0,14) width 320: &quot;.two {line-height: 2cm; font-size: 12px;}&quot;
+          text run at (319,14) width 1: &quot; &quot;
+          text run at (0,28) width 344: &quot;.three {line-height: 20mm; font-size: 12px;}&quot;
+          text run at (343,28) width 1: &quot; &quot;
+          text run at (0,42) width 336: &quot;.four {line-height: 24pt; font-size: 12px;}&quot;
+          text run at (335,42) width 1: &quot; &quot;
+          text run at (0,56) width 328: &quot;.five {line-height: 2pc; font-size: 12px;}&quot;
+          text run at (327,56) width 1: &quot; &quot;
+          text run at (0,70) width 320: &quot;.six {line-height: 2em; font-size: 12px;}&quot;
+          text run at (319,70) width 1: &quot; &quot;
+          text run at (0,84) width 336: &quot;.seven {line-height: 3ex; font-size: 12px;}&quot;
+          text run at (335,84) width 1: &quot; &quot;
+          text run at (0,98) width 344: &quot;.eight {line-height: 200%; font-size: 12px;}&quot;
+          text run at (343,98) width 1: &quot; &quot;
+          text run at (0,112) width 313: &quot;.nine {line-height: 2; font-size: 12px;}&quot;
+          text run at (312,112) width 1: &quot; &quot;
+          text run at (0,126) width 328: &quot;.ten {line-height: 50px; font-size: 12px;}&quot;
+          text run at (327,126) width 1: &quot; &quot;
+          text run at (0,140) width 352: &quot;.eleven {line-height: -1em; font-size: 12px;}&quot;
+          text run at (351,140) width 1: &quot; &quot;
+          text run at (0,154) width 391: &quot;TABLE .ten {line-height: normal; font-size: 12px;}&quot;
+          text run at (390,154) width 1: &quot; &quot;
+          text run at (0,168) width 242: &quot;DIV {background-color: silver;}&quot;
+          text run at (241,168) width 1: &quot; &quot;
+          text run at (0,182) width 297: &quot;SPAN.color {background-color: silver;}&quot;
+          text run at (296,182) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,245) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,259) size 784x48
+        RenderText {#text} at (0,17) size 519x14
+          text run at (0,17) width 519: &quot;This sentence should have a line-height of half an inch, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,319) size 784x75
+        RenderText {#text} at (0,30) size 538x14
+          text run at (0,30) width 538: &quot;This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,406) size 784x75
+        RenderText {#text} at (0,30) size 552x14
+          text run at (0,30) width 552: &quot;This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,493) size 784x32
+        RenderText {#text} at (0,9) size 551x14
+          text run at (0,9) width 551: &quot;This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,537) size 784x32
+        RenderText {#text} at (0,9) size 508x14
+          text run at (0,9) width 508: &quot;This sentence should have a line-height of two picas, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,581) size 784x24
+        RenderText {#text} at (0,5) size 498x14
+          text run at (0,5) width 498: &quot;This sentence should have a line-height of two em, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,617) size 784x16
+        RenderText {#text} at (0,1) size 500x14
+          text run at (0,1) width 500: &quot;This sentence should have a line-height of three ex, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,645) size 784x24
+        RenderText {#text} at (0,5) size 550x14
+          text run at (0,5) width 550: &quot;This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+      RenderBlock {DIV} at (0,681) size 784x168 [bgcolor=#C0C0C0]
+        RenderBlock (anonymous) at (0,0) size 784x24
+          RenderText {#text} at (0,5) size 604x14
+            text run at (0,5) width 604: &quot;This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+        RenderBlock {P} at (0,48) size 784x72
+          RenderText {#text} at (0,-2) size 783x76
+            text run at (0,-2) width 783: &quot;This sentence should have a line-height of twice the DIV's font size, or 28px; this&quot;
+            text run at (0,22) width 766: &quot;should not cause extra spacing between the lines, since the line-height and font-&quot;
+            text run at (0,46) width 314: &quot;size should have the same value.&quot;
+        RenderBlock (anonymous) at (0,144) size 784x24
+          RenderText {#text} at (0,5) size 618x14
+            text run at (0,5) width 618: &quot;This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,861) size 784x24
+        RenderText {#text} at (0,5) size 550x14
+          text run at (0,5) width 550: &quot;This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+      RenderBlock {DIV} at (0,897) size 784x240 [bgcolor=#C0C0C0]
+        RenderBlock (anonymous) at (0,0) size 784x24
+          RenderText {#text} at (0,5) size 604x14
+            text run at (0,5) width 604: &quot;This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+        RenderBlock {P} at (0,48) size 784x144
+          RenderText {#text} at (0,10) size 742x124
+            text run at (0,10) width 742: &quot;This sentence should have a line-height of twice the font size, which is 200%&quot;
+            text run at (0,58) width 734: &quot;normal thanks to an inline style; this should cause extra spacing between the&quot;
+            text run at (0,106) width 647: &quot;lines, as the font-size will be 28px and the line-height will be 56px.&quot;
+        RenderBlock (anonymous) at (0,216) size 784x24
+          RenderText {#text} at (0,5) size 618x14
+            text run at (0,5) width 618: &quot;This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+      RenderBlock {P} at (0,1149) size 784x100
+        RenderText {#text} at (0,18) size 761x64
+          text run at (0,18) width 605: &quot;This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. &quot;
+          text run at (604,18) width 157: &quot;In the second section (within the&quot;
+          text run at (0,68) width 186: &quot;table) its line-height should be normal.&quot;
+      RenderBlock {P} at (0,1261) size 784x15
+        RenderText {#text} at (0,0) size 517x14
+          text run at (0,0) width 517: &quot;This sentence should have a normal line-height, because negative values are not permitted for this property.&quot;
+      RenderBlock {P} at (0,1288) size 784x150
+        RenderInline {SPAN} at (0,0) size 774x89 [bgcolor=#C0C0C0]
+          RenderText {#text} at (0,30) size 774x89
+            text run at (0,30) width 774: &quot;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&quot;
+            text run at (0,105) width 678: &quot;padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderTable {TABLE} at (0,1450) size 784x1147 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x1145
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x1117
+            RenderTableCell {TD} at (0,572) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x1117 [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 519x14
+                  text run at (0,17) width 519: &quot;This sentence should have a line-height of half an inch, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,64) size 762x75
+                RenderText {#text} at (0,30) size 538x14
+                  text run at (0,30) width 538: &quot;This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,151) size 762x75
+                RenderText {#text} at (0,30) size 552x14
+                  text run at (0,30) width 552: &quot;This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,238) size 762x32
+                RenderText {#text} at (0,9) size 551x14
+                  text run at (0,9) width 551: &quot;This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,282) size 762x32
+                RenderText {#text} at (0,9) size 508x14
+                  text run at (0,9) width 508: &quot;This sentence should have a line-height of two picas, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,326) size 762x24
+                RenderText {#text} at (0,5) size 498x14
+                  text run at (0,5) width 498: &quot;This sentence should have a line-height of two em, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,362) size 762x16
+                RenderText {#text} at (0,1) size 500x14
+                  text run at (0,1) width 500: &quot;This sentence should have a line-height of three ex, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,390) size 762x24
+                RenderText {#text} at (0,5) size 550x14
+                  text run at (0,5) width 550: &quot;This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+              RenderBlock {DIV} at (4,426) size 762x168 [bgcolor=#C0C0C0]
+                RenderBlock (anonymous) at (0,0) size 762x24
+                  RenderText {#text} at (0,5) size 604x14
+                    text run at (0,5) width 604: &quot;This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+                RenderBlock {P} at (0,48) size 762x72
+                  RenderText {#text} at (0,-2) size 754x76
+                    text run at (0,-2) width 742: &quot;This sentence should have a line-height of twice the DIV's font size, or 28px;&quot;
+                    text run at (0,22) width 754: &quot;this should not cause extra spacing between the lines, since the line-height and&quot;
+                    text run at (0,46) width 360: &quot;font-size should have the same value.&quot;
+                RenderBlock (anonymous) at (0,144) size 762x24
+                  RenderText {#text} at (0,5) size 618x14
+                    text run at (0,5) width 618: &quot;This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,606) size 762x24
+                RenderText {#text} at (0,5) size 550x14
+                  text run at (0,5) width 550: &quot;This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+              RenderBlock {DIV} at (4,642) size 762x240 [bgcolor=#C0C0C0]
+                RenderBlock (anonymous) at (0,0) size 762x24
+                  RenderText {#text} at (0,5) size 604x14
+                    text run at (0,5) width 604: &quot;This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+                RenderBlock {P} at (0,48) size 762x144
+                  RenderText {#text} at (0,10) size 742x124
+                    text run at (0,10) width 742: &quot;This sentence should have a line-height of twice the font size, which is 200%&quot;
+                    text run at (0,58) width 734: &quot;normal thanks to an inline style; this should cause extra spacing between the&quot;
+                    text run at (0,106) width 647: &quot;lines, as the font-size will be 28px and the line-height will be 56px.&quot;
+                RenderBlock (anonymous) at (0,216) size 762x24
+                  RenderText {#text} at (0,5) size 618x14
+                    text run at (0,5) width 618: &quot;This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines.&quot;
+              RenderBlock {P} at (4,894) size 762x30
+                RenderText {#text} at (0,0) size 761x29
+                  text run at (0,0) width 605: &quot;This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. &quot;
+                  text run at (604,0) width 157: &quot;In the second section (within the&quot;
+                  text run at (0,15) width 186: &quot;table) its line-height should be normal.&quot;
+              RenderBlock {P} at (4,936) size 762x15
+                RenderText {#text} at (0,0) size 517x14
+                  text run at (0,0) width 517: &quot;This sentence should have a normal line-height, because negative values are not permitted for this property.&quot;
+              RenderBlock {P} at (4,963) size 762x150
+                RenderInline {SPAN} at (0,0) size 759x89 [bgcolor=#C0C0C0]
+                  RenderText {#text} at (0,30) size 759x89
+                    text run at (0,30) width 759: &quot;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&quot;
+                    text run at (0,105) width 693: &quot;no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing.&quot;
+                RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_alignexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_align-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_align-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_align-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x70
+        RenderText {#text} at (0,0) size 219x70
+          text run at (0,0) width 188: &quot;.one {text-align: left;}&quot;
+          text run at (187,0) width 1: &quot; &quot;
+          text run at (0,14) width 196: &quot;.two {text-align: right;}&quot;
+          text run at (195,14) width 1: &quot; &quot;
+          text run at (0,28) width 219: &quot;.three {text-align: center;}&quot;
+          text run at (218,28) width 1: &quot; &quot;
+          text run at (0,42) width 219: &quot;.four {text-align: justify;}&quot;
+          text run at (218,42) width 1: &quot; &quot;
+          text run at (0,56) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,119) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,137) size 784x20
+        RenderText {#text} at (0,0) size 241x19
+          text run at (0,0) width 241: &quot;This sentence should be left-justified.&quot;
+      RenderBlock {P} at (0,173) size 784x20
+        RenderText {#text} at (534,0) size 250x19
+          text run at (534,0) width 250: &quot;This sentence should be right-justified.&quot;
+      RenderBlock {P} at (0,209) size 784x20
+        RenderText {#text} at (284,0) size 216x19
+          text run at (284,0) width 216: &quot;This sentence should be centered.&quot;
+      RenderBlock {P} at (0,245) size 784x60
+        RenderText {#text} at (0,0) size 784x59
+          text run at (0,0) width 784: &quot;This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no&quot;
+          text run at (0,20) width 784: &quot;matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western&quot;
+          text run at (0,40) width 68: &quot;languages.&quot;
+      RenderTable {TABLE} at (0,321) size 784x206 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x204
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x176
+            RenderTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x176 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 241x19
+                  text run at (0,0) width 241: &quot;This sentence should be left-justified.&quot;
+              RenderBlock {P} at (4,40) size 762x20
+                RenderText {#text} at (512,0) size 250x19
+                  text run at (512,0) width 250: &quot;This sentence should be right-justified.&quot;
+              RenderBlock {P} at (4,76) size 762x20
+                RenderText {#text} at (273,0) size 216x19
+                  text run at (273,0) width 216: &quot;This sentence should be centered.&quot;
+              RenderBlock {P} at (4,112) size 762x60
+                RenderText {#text} at (0,0) size 762x59
+                  text run at (0,0) width 762: &quot;This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no&quot;
+                  text run at (0,20) width 762: &quot;matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in&quot;
+                  text run at (0,40) width 124: &quot;Western languages.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_decorationexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_decoration-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_decoration-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_decoration-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,198 @@
</span><ins>+layer at (0,0) size 800x1209
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1209
+  RenderBlock {HTML} at (0,0) size 800x1209
+    RenderBody {BODY} at (8,8) size 784x1193 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x112
+        RenderText {#text} at (0,0) size 453x112
+          text run at (0,0) width 266: &quot;.one {text-decoration: underline;}&quot;
+          text run at (265,0) width 1: &quot; &quot;
+          text run at (0,14) width 258: &quot;.two {text-decoration: overline;}&quot;
+          text run at (257,14) width 1: &quot; &quot;
+          text run at (0,28) width 305: &quot;.three {text-decoration: line-through;}&quot;
+          text run at (304,28) width 1: &quot; &quot;
+          text run at (0,42) width 242: &quot;.four {text-decoration: blink;}&quot;
+          text run at (241,42) width 1: &quot; &quot;
+          text run at (0,56) width 242: &quot;B.five {text-decoration: none;}&quot;
+          text run at (241,56) width 1: &quot; &quot;
+          text run at (0,70) width 336: &quot;.six {text-decoration: underline overline;}&quot;
+          text run at (335,70) width 1: &quot; &quot;
+          text run at (0,84) width 453: &quot;.seven {text-decoration: underline overline line-through;}&quot;
+          text run at (452,84) width 1: &quot; &quot;
+          text run at (0,98) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,161) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,179) size 784x20
+        RenderText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: &quot;This sentence should be underlined.&quot;
+      RenderBlock {P} at (0,215) size 784x20
+        RenderText {#text} at (0,0) size 222x19
+          text run at (0,0) width 222: &quot;This sentence should be overlined.&quot;
+      RenderBlock {P} at (0,251) size 784x20
+        RenderText {#text} at (0,0) size 344x19
+          text run at (0,0) width 344: &quot;This sentence should have stricken text (linethrough).&quot;
+      RenderBlock {P} at (0,287) size 784x20
+        RenderText {#text} at (0,0) size 602x19
+          text run at (0,0) width 215: &quot;This element should be blinking. &quot;
+          text run at (214,0) width 388: &quot;(It is not required, however, that UAs support this behavior.)&quot;
+      RenderBlock {P} at (0,323) size 784x40
+        RenderText {#text} at (0,0) size 520x19
+          text run at (0,0) width 298: &quot;The text in this element should be underlined. &quot;
+          text run at (297,0) width 223: &quot;The boldfaced text in this element &quot;
+        RenderInline {B} at (0,0) size 176x19
+          RenderText {#text} at (519,0) size 176x19
+            text run at (519,0) width 176: &quot;should also be underlined&quot;
+        RenderText {#text} at (694,0) size 746x39
+          text run at (694,0) width 9: &quot;. &quot;
+          text run at (702,0) width 44: &quot;This is&quot;
+          text run at (0,20) width 731: &quot;because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own.&quot;
+      RenderBlock {P} at (0,379) size 784x20
+        RenderText {#text} at (0,0) size 322x19
+          text run at (0,0) width 322: &quot;This sentence should be underlined and overlined.&quot;
+      RenderBlock {P} at (0,415) size 784x20
+        RenderText {#text} at (0,0) size 384x19
+          text run at (0,0) width 384: &quot;This sentence should be underlined, overlined, and stricken.&quot;
+      RenderBlock {P} at (0,451) size 784x0
+      RenderBlock {P} at (0,451) size 784x40
+        RenderText {#text} at (0,0) size 776x39
+          text run at (0,0) width 776: &quot;There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class&quot;
+          text run at (0,20) width 64: &quot;of seven).&quot;
+      RenderBlock {P} at (0,507) size 784x60
+        RenderText {#text} at (0,0) size 647x19
+          text run at (0,0) width 647: &quot;Text decorations only apply to the text of an element, so the image at the end of this sentence should &quot;
+        RenderInline {EM} at (0,0) size 21x19
+          RenderText {#text} at (646,0) size 21x19
+            text run at (646,0) width 21: &quot;not&quot;
+        RenderText {#text} at (666,0) size 93x19
+          text run at (666,0) width 93: &quot; be overlined: &quot;
+        RenderImage {IMG} at (758,0) size 16x15
+        RenderText {#text} at (773,0) size 778x59
+          text run at (773,0) width 5: &quot;.&quot;
+          text run at (0,20) width 743: &quot;The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child&quot;
+          text run at (0,40) width 61: &quot;elements.&quot;
+      RenderBlock {P} at (0,583) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 107x19
+          text run at (0,0) width 107: &quot;The underlining &quot;
+        RenderInline {SPAN} at (0,0) size 100x19 [color=#0000FF]
+          RenderText {#text} at (106,0) size 100x19
+            text run at (106,0) width 100: &quot;in this sentence&quot;
+        RenderText {#text} at (205,0) size 238x19
+          text run at (205,0) width 238: &quot; should be green, no matter what the &quot;
+        RenderInline {SPAN} at (0,0) size 112x19 [color=#000000]
+          RenderText {#text} at (442,0) size 112x19
+            text run at (442,0) width 112: &quot;text color may be&quot;
+        RenderText {#text} at (553,0) size 5x19
+          text run at (553,0) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,619) size 784x40
+        RenderText {#text} at (0,0) size 113x19
+          text run at (0,0) width 113: &quot;The colors of the &quot;
+        RenderInline {SPAN} at (0,0) size 75x19 [color=#800080]
+          RenderText {#text} at (112,0) size 75x19
+            text run at (112,0) width 75: &quot;underlining&quot;
+        RenderText {#text} at (186,0) size 22x19
+          text run at (186,0) width 22: &quot; in &quot;
+        RenderInline {SPAN} at (0,0) size 83x19 [color=#0000FF]
+          RenderText {#text} at (207,0) size 83x19
+            text run at (207,0) width 83: &quot;this sentence&quot;
+        RenderText {#text} at (289,0) size 71x19
+          text run at (289,0) width 71: &quot; should be &quot;
+        RenderInline {SPAN} at (0,0) size 215x19 [color=#808080]
+          RenderText {#text} at (359,0) size 215x19
+            text run at (359,0) width 215: &quot;the same as that of the parent text&quot;
+        RenderText {#text} at (573,0) size 756x39
+          text run at (573,0) width 183: &quot; (that is, the first word in the&quot;
+          text run at (0,20) width 216: &quot;sentence, which should be black).&quot;
+      RenderTable {TABLE} at (0,675) size 784x518 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x516
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x488
+            RenderTableCell {TD} at (0,258) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x488 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 230x19
+                  text run at (0,0) width 230: &quot;This sentence should be underlined.&quot;
+              RenderBlock {P} at (4,40) size 762x20
+                RenderText {#text} at (0,0) size 222x19
+                  text run at (0,0) width 222: &quot;This sentence should be overlined.&quot;
+              RenderBlock {P} at (4,76) size 762x20
+                RenderText {#text} at (0,0) size 344x19
+                  text run at (0,0) width 344: &quot;This sentence should have stricken text (linethrough).&quot;
+              RenderBlock {P} at (4,112) size 762x20
+                RenderText {#text} at (0,0) size 602x19
+                  text run at (0,0) width 215: &quot;This element should be blinking. &quot;
+                  text run at (214,0) width 388: &quot;(It is not required, however, that UAs support this behavior.)&quot;
+              RenderBlock {P} at (4,148) size 762x40
+                RenderText {#text} at (0,0) size 520x19
+                  text run at (0,0) width 298: &quot;The text in this element should be underlined. &quot;
+                  text run at (297,0) width 223: &quot;The boldfaced text in this element &quot;
+                RenderInline {B} at (0,0) size 176x19
+                  RenderText {#text} at (519,0) size 176x19
+                    text run at (519,0) width 176: &quot;should also be underlined&quot;
+                RenderText {#text} at (694,0) size 746x39
+                  text run at (694,0) width 9: &quot;. &quot;
+                  text run at (702,0) width 44: &quot;This is&quot;
+                  text run at (0,20) width 731: &quot;because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own.&quot;
+              RenderBlock {P} at (4,204) size 762x20
+                RenderText {#text} at (0,0) size 322x19
+                  text run at (0,0) width 322: &quot;This sentence should be underlined and overlined.&quot;
+              RenderBlock {P} at (4,240) size 762x20
+                RenderText {#text} at (0,0) size 384x19
+                  text run at (0,0) width 384: &quot;This sentence should be underlined, overlined, and stricken.&quot;
+              RenderBlock {P} at (4,276) size 762x0
+              RenderBlock {P} at (4,276) size 762x40
+                RenderText {#text} at (0,0) size 741x39
+                  text run at (0,0) width 741: &quot;There should be nothing visible between this sentence and the one above (there is an empty paragraph element with&quot;
+                  text run at (0,20) width 99: &quot;class of seven).&quot;
+              RenderBlock {P} at (4,332) size 762x60
+                RenderText {#text} at (0,0) size 647x19
+                  text run at (0,0) width 647: &quot;Text decorations only apply to the text of an element, so the image at the end of this sentence should &quot;
+                RenderInline {EM} at (0,0) size 21x19
+                  RenderText {#text} at (646,0) size 21x19
+                    text run at (646,0) width 21: &quot;not&quot;
+                RenderText {#text} at (666,0) size 93x19
+                  text run at (666,0) width 93: &quot; be overlined: &quot;
+                RenderImage {IMG} at (0,20) size 15x15
+                RenderText {#text} at (15,20) size 730x39
+                  text run at (15,20) width 8: &quot;. &quot;
+                  text run at (23,20) width 707: &quot;The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans'&quot;
+                  text run at (0,40) width 97: &quot;child elements.&quot;
+              RenderBlock {P} at (4,408) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 107x19
+                  text run at (0,0) width 107: &quot;The underlining &quot;
+                RenderInline {SPAN} at (0,0) size 100x19 [color=#0000FF]
+                  RenderText {#text} at (106,0) size 100x19
+                    text run at (106,0) width 100: &quot;in this sentence&quot;
+                RenderText {#text} at (205,0) size 238x19
+                  text run at (205,0) width 238: &quot; should be green, no matter what the &quot;
+                RenderInline {SPAN} at (0,0) size 112x19 [color=#000000]
+                  RenderText {#text} at (442,0) size 112x19
+                    text run at (442,0) width 112: &quot;text color may be&quot;
+                RenderText {#text} at (553,0) size 5x19
+                  text run at (553,0) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,444) size 762x40
+                RenderText {#text} at (0,0) size 113x19
+                  text run at (0,0) width 113: &quot;The colors of the &quot;
+                RenderInline {SPAN} at (0,0) size 75x19 [color=#800080]
+                  RenderText {#text} at (112,0) size 75x19
+                    text run at (112,0) width 75: &quot;underlining&quot;
+                RenderText {#text} at (186,0) size 22x19
+                  text run at (186,0) width 22: &quot; in &quot;
+                RenderInline {SPAN} at (0,0) size 83x19 [color=#0000FF]
+                  RenderText {#text} at (207,0) size 83x19
+                    text run at (207,0) width 83: &quot;this sentence&quot;
+                RenderText {#text} at (289,0) size 71x19
+                  text run at (289,0) width 71: &quot; should be &quot;
+                RenderInline {SPAN} at (0,0) size 215x19 [color=#808080]
+                  RenderText {#text} at (359,0) size 215x19
+                    text run at (359,0) width 215: &quot;the same as that of the parent text&quot;
+                RenderText {#text} at (573,0) size 756x39
+                  text run at (573,0) width 183: &quot; (that is, the first word in the&quot;
+                  text run at (0,20) width 216: &quot;sentence, which should be black).&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_indentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_indent-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_indent-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_indent-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,136 @@
</span><ins>+layer at (0,0) size 800x1307
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1307
+  RenderBlock {HTML} at (0,0) size 800x1307
+    RenderBody {BODY} at (8,8) size 784x1291 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 375x154
+          text run at (0,0) width 344: &quot;.one {text-indent: 0.5in; background: aqua;}&quot;
+          text run at (343,0) width 1: &quot; &quot;
+          text run at (0,14) width 328: &quot;.two {text-indent: 2cm; background: aqua;}&quot;
+          text run at (327,14) width 1: &quot; &quot;
+          text run at (0,28) width 352: &quot;.three {text-indent: 20mm; background: aqua;}&quot;
+          text run at (351,28) width 1: &quot; &quot;
+          text run at (0,42) width 344: &quot;.four {text-indent: 24pt; background: aqua;}&quot;
+          text run at (343,42) width 1: &quot; &quot;
+          text run at (0,56) width 336: &quot;.five {text-indent: 2pc; background: aqua;}&quot;
+          text run at (335,56) width 1: &quot; &quot;
+          text run at (0,70) width 328: &quot;.six {text-indent: 2em; background: aqua;}&quot;
+          text run at (327,70) width 1: &quot; &quot;
+          text run at (0,84) width 344: &quot;.seven {text-indent: 2ex; background: aqua;}&quot;
+          text run at (343,84) width 1: &quot; &quot;
+          text run at (0,98) width 344: &quot;.eight {text-indent: 50%; background: aqua;}&quot;
+          text run at (343,98) width 1: &quot; &quot;
+          text run at (0,112) width 344: &quot;.nine {text-indent: 25px; background: aqua;}&quot;
+          text run at (343,112) width 1: &quot; &quot;
+          text run at (0,126) width 375: &quot;blockquote {text-indent: 50%; background: aqua;}&quot;
+          text run at (374,126) width 1: &quot; &quot;
+          text run at (0,140) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,221) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (48,0) size 395x19
+          text run at (48,0) width 395: &quot;The first line of this sentence should be indented half an inch.&quot;
+      RenderBlock {P} at (0,257) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (75,0) size 422x19
+          text run at (75,0) width 422: &quot;The first line of this sentence should be indented two centimeters.&quot;
+      RenderBlock {P} at (0,293) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (75,0) size 441x19
+          text run at (75,0) width 441: &quot;The first line of this sentence should be indented twenty millimeters.&quot;
+      RenderBlock {P} at (0,329) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (32,0) size 438x19
+          text run at (32,0) width 438: &quot;The first line of this sentence should be indented twenty-four points.&quot;
+      RenderBlock {P} at (0,365) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (32,0) size 380x19
+          text run at (32,0) width 380: &quot;The first line of this sentence should be indented two picas.&quot;
+      RenderBlock {P} at (0,401) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (32,0) size 367x19
+          text run at (32,0) width 367: &quot;The first line of this sentence should be indented two em.&quot;
+      RenderBlock {P} at (0,437) size 784x20 [bgcolor=#00FFFF]
+        RenderText {#text} at (14,0) size 363x19
+          text run at (14,0) width 363: &quot;The first line of this sentence should be indented two ex.&quot;
+      RenderBlock {P} at (0,473) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (392,0) size 759x39
+          text run at (392,0) width 367: &quot;The first line of this sentence should be indented halfway&quot;
+          text run at (0,20) width 568: &quot;across the page, but the rest of it should be flush with the normal left margin of the page.&quot;
+      RenderBlock {P} at (0,529) size 784x40 [bgcolor=#00FFFF]
+        RenderText {#text} at (25,0) size 740x39
+          text run at (25,0) width 715: &quot;The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left&quot;
+          text run at (0,20) width 125: &quot;margin of the page.&quot;
+      RenderBlock {P} at (0,585) size 784x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (48,0) size 426x19
+          text run at (48,0) width 426: &quot;Only the first line of this sentence should be indented half an inch,&quot;
+        RenderBR {BR} at (473,15) size 1x0
+        RenderText {#text} at (0,20) size 266x19
+          text run at (0,20) width 266: &quot;no matter where the lines might start, and&quot;
+        RenderBR {BR} at (265,35) size 1x0
+        RenderInline {EM} at (0,0) size 201x19
+          RenderText {#text} at (0,40) size 201x19
+            text run at (0,40) width 201: &quot;regardless of any other markup&quot;
+        RenderText {#text} at (200,40) size 149x19
+          text run at (200,40) width 149: &quot; which may be present.&quot;
+      RenderBlock {BLOCKQUOTE} at (40,661) size 704x60 [bgcolor=#00FFFF]
+        RenderText {#text} at (392,0) size 651x59
+          text run at (392,0) width 228: &quot;In the first half of the test page, this&quot;
+          text run at (0,20) width 651: &quot;BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since&quot;
+          text run at (0,40) width 512: &quot;BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE.&quot;
+      RenderTable {TABLE} at (0,737) size 784x554 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x552
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x524
+            RenderTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (48,0) size 395x19
+                  text run at (48,0) width 395: &quot;The first line of this sentence should be indented half an inch.&quot;
+              RenderBlock {P} at (4,40) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (75,0) size 422x19
+                  text run at (75,0) width 422: &quot;The first line of this sentence should be indented two centimeters.&quot;
+              RenderBlock {P} at (4,76) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (75,0) size 441x19
+                  text run at (75,0) width 441: &quot;The first line of this sentence should be indented twenty millimeters.&quot;
+              RenderBlock {P} at (4,112) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (32,0) size 438x19
+                  text run at (32,0) width 438: &quot;The first line of this sentence should be indented twenty-four points.&quot;
+              RenderBlock {P} at (4,148) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (32,0) size 380x19
+                  text run at (32,0) width 380: &quot;The first line of this sentence should be indented two picas.&quot;
+              RenderBlock {P} at (4,184) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (32,0) size 367x19
+                  text run at (32,0) width 367: &quot;The first line of this sentence should be indented two em.&quot;
+              RenderBlock {P} at (4,220) size 762x20 [bgcolor=#00FFFF]
+                RenderText {#text} at (14,0) size 363x19
+                  text run at (14,0) width 363: &quot;The first line of this sentence should be indented two ex.&quot;
+              RenderBlock {P} at (4,256) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (381,0) size 748x39
+                  text run at (381,0) width 367: &quot;The first line of this sentence should be indented halfway&quot;
+                  text run at (0,20) width 568: &quot;across the page, but the rest of it should be flush with the normal left margin of the page.&quot;
+              RenderBlock {P} at (4,312) size 762x40 [bgcolor=#00FFFF]
+                RenderText {#text} at (25,0) size 740x39
+                  text run at (25,0) width 715: &quot;The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left&quot;
+                  text run at (0,20) width 125: &quot;margin of the page.&quot;
+              RenderBlock {P} at (4,368) size 762x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (48,0) size 426x19
+                  text run at (48,0) width 426: &quot;Only the first line of this sentence should be indented half an inch,&quot;
+                RenderBR {BR} at (473,15) size 1x0
+                RenderText {#text} at (0,20) size 266x19
+                  text run at (0,20) width 266: &quot;no matter where the lines might start, and&quot;
+                RenderBR {BR} at (265,35) size 1x0
+                RenderInline {EM} at (0,0) size 201x19
+                  RenderText {#text} at (0,40) size 201x19
+                    text run at (0,40) width 201: &quot;regardless of any other markup&quot;
+                RenderText {#text} at (200,40) size 149x19
+                  text run at (200,40) width 149: &quot; which may be present.&quot;
+              RenderBlock {BLOCKQUOTE} at (44,444) size 682x60 [bgcolor=#00FFFF]
+                RenderText {#text} at (381,0) size 651x59
+                  text run at (381,0) width 228: &quot;In the first half of the test page, this&quot;
+                  text run at (0,20) width 651: &quot;BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since&quot;
+                  text run at (0,40) width 512: &quot;BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiestext_transformexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_transform-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_transform-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/text_transform-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,106 @@
</span><ins>+layer at (0,0) size 800x775
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x775
+  RenderBlock {HTML} at (0,0) size 800x775
+    RenderBody {BODY} at (8,8) size 784x759 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x70
+        RenderText {#text} at (0,0) size 266x70
+          text run at (0,0) width 219: &quot;.ttn {text-transform: none;}&quot;
+          text run at (218,0) width 1: &quot; &quot;
+          text run at (0,14) width 266: &quot;.cap {text-transform: capitalize;}&quot;
+          text run at (265,14) width 1: &quot; &quot;
+          text run at (0,28) width 258: &quot;.upp {text-transform: uppercase;}&quot;
+          text run at (257,28) width 1: &quot; &quot;
+          text run at (0,42) width 258: &quot;.low {text-transform: lowercase;}&quot;
+          text run at (257,42) width 1: &quot; &quot;
+          text run at (0,56) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,119) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,137) size 784x40
+        RenderText {#text} at (0,0) size 733x39
+          text run at (0,0) width 733: &quot;This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear&quot;
+          text run at (0,20) width 50: &quot;normal.&quot;
+      RenderBlock {P} at (0,193) size 784x60
+        RenderText {#text} at (0,0) size 758x59
+          text run at (0,0) width 758: &quot;This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That&quot;
+          text run at (0,20) width 721: &quot;Are In Uppercase In The Source (E.g. USA) Should Remain So. There Should Be A Capital Letter After A Non-&quot;
+          text run at (0,40) width 544: &quot;Breaking Space (&amp;Nbsp;). Both Those Characters Appear In The Previous Sentence.&quot;
+      RenderBlock {P} at (0,269) size 784x40
+        RenderText {#text} at (0,0) size 771x39
+          text run at (0,0) width 771: &quot;Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in this&quot;
+          text run at (0,20) width 309: &quot;sentence should have one, and only one, capital &quot;
+        RenderInline {SPAN} at (0,0) size 39x19
+          RenderText {#text} at (308,20) size 18x19
+            text run at (308,20) width 18: &quot;Le&quot;
+          RenderInline {SPAN} at (0,0) size 10x19
+            RenderText {#text} at (325,20) size 10x19
+              text run at (325,20) width 10: &quot;tt&quot;
+          RenderText {#text} at (334,20) size 13x19
+            text run at (334,20) width 13: &quot;er&quot;
+        RenderText {#text} at (346,20) size 5x19
+          text run at (346,20) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,325) size 784x60
+        RenderText {#text} at (0,0) size 771x39
+          text run at (0,0) width 771: &quot;THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5}) SHOULD&quot;
+          text run at (0,20) width 282: &quot;THEREFORE APPEAR IN UPPERCASE. &quot;
+          text run at (281,20) width 278: &quot;IN THE LAST SENTENCE, HOWEVER, &quot;
+        RenderInline {SPAN} at (0,0) size 774x39
+          RenderText {#text} at (558,20) size 774x39
+            text run at (558,20) width 216: &quot;the last eight words should not be&quot;
+            text run at (0,40) width 64: &quot;uppercase&quot;
+        RenderText {#text} at (63,40) size 5x19
+          text run at (63,40) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,401) size 784x20
+        RenderText {#text} at (0,0) size 741x19
+          text run at (0,0) width 741: &quot;this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase.&quot;
+      RenderTable {TABLE} at (0,437) size 784x322 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x320
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x292
+            RenderTableCell {TD} at (0,160) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x292 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 733: &quot;This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear&quot;
+                  text run at (0,20) width 50: &quot;normal.&quot;
+              RenderBlock {P} at (4,60) size 762x60
+                RenderText {#text} at (0,0) size 758x59
+                  text run at (0,0) width 758: &quot;This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That&quot;
+                  text run at (0,20) width 721: &quot;Are In Uppercase In The Source (E.g. USA) Should Remain So. There Should Be A Capital Letter After A Non-&quot;
+                  text run at (0,40) width 544: &quot;Breaking Space (&amp;Nbsp;). Both Those Characters Appear In The Previous Sentence.&quot;
+              RenderBlock {P} at (4,136) size 762x40
+                RenderText {#text} at (0,0) size 744x39
+                  text run at (0,0) width 744: &quot;Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in&quot;
+                  text run at (0,20) width 336: &quot;this sentence should have one, and only one, capital &quot;
+                RenderInline {SPAN} at (0,0) size 39x19
+                  RenderText {#text} at (335,20) size 18x19
+                    text run at (335,20) width 18: &quot;Le&quot;
+                  RenderInline {SPAN} at (0,0) size 10x19
+                    RenderText {#text} at (352,20) size 10x19
+                      text run at (352,20) width 10: &quot;tt&quot;
+                  RenderText {#text} at (361,20) size 13x19
+                    text run at (361,20) width 13: &quot;er&quot;
+                RenderText {#text} at (373,20) size 5x19
+                  text run at (373,20) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,192) size 762x60
+                RenderText {#text} at (0,0) size 702x39
+                  text run at (0,0) width 702: &quot;THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})&quot;
+                  text run at (0,20) width 351: &quot;SHOULD THEREFORE APPEAR IN UPPERCASE. &quot;
+                  text run at (350,20) width 278: &quot;IN THE LAST SENTENCE, HOWEVER, &quot;
+                RenderInline {SPAN} at (0,0) size 753x39
+                  RenderText {#text} at (627,20) size 753x39
+                    text run at (627,20) width 126: &quot;the last eight words&quot;
+                    text run at (0,40) width 155: &quot;should not be uppercase&quot;
+                RenderText {#text} at (154,40) size 5x19
+                  text run at (154,40) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,268) size 762x20
+                RenderText {#text} at (0,0) size 741x19
+                  text run at (0,0) width 741: &quot;this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiesvertical_alignexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/vertical_align-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/vertical_align-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/vertical_align-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,720 @@
</span><ins>+layer at (0,0) size 800x4469
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x4469
+  RenderBlock {HTML} at (0,0) size 800x4470
+    RenderBody {BODY} at (8,8) size 784x4454 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x252
+        RenderText {#text} at (0,0) size 500x252
+          text run at (0,0) width 157: &quot;P {font-size: 12pt;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 211: &quot;.one {vertical-align: sub;}&quot;
+          text run at (210,14) width 1: &quot; &quot;
+          text run at (0,28) width 227: &quot;.two {vertical-align: super;}&quot;
+          text run at (226,28) width 1: &quot; &quot;
+          text run at (0,42) width 359: &quot;.three {vertical-align: top; font-size: 12pt;}&quot;
+          text run at (358,42) width 1: &quot; &quot;
+          text run at (0,56) width 391: &quot;.four {vertical-align: text-top; font-size: 12pt;}&quot;
+          text run at (390,56) width 1: &quot; &quot;
+          text run at (0,70) width 375: &quot;.five {vertical-align: middle; font-size: 12pt;}&quot;
+          text run at (374,70) width 1: &quot; &quot;
+          text run at (0,84) width 367: &quot;.six {vertical-align: bottom; font-size: 12pt;}&quot;
+          text run at (366,84) width 1: &quot; &quot;
+          text run at (0,98) width 422: &quot;.seven {vertical-align: text-bottom; font-size: 12pt;}&quot;
+          text run at (421,98) width 1: &quot; &quot;
+          text run at (0,112) width 398: &quot;.eight {vertical-align: baseline; font-size: 12pt;}&quot;
+          text run at (397,112) width 1: &quot; &quot;
+          text run at (0,126) width 500: &quot;.nine {vertical-align: 50%; font-size: 12px; line-height: 16px;}&quot;
+          text run at (499,126) width 1: &quot; &quot;
+          text run at (0,140) width 0: &quot; &quot;
+          text run at (0,154) width 219: &quot;P.example {font-size: 14pt;}&quot;
+          text run at (218,154) width 1: &quot; &quot;
+          text run at (0,168) width 172: &quot;BIG {font-size: 16pt;}&quot;
+          text run at (171,168) width 1: &quot; &quot;
+          text run at (0,182) width 188: &quot;SMALL {font-size: 12pt;}&quot;
+          text run at (187,182) width 1: &quot; &quot;
+          text run at (0,196) width 297: &quot;.ttopalign {vertical-align: text-top;}&quot;
+          text run at (296,196) width 1: &quot; &quot;
+          text run at (0,210) width 250: &quot;.topalign {vertical-align: top;}&quot;
+          text run at (249,210) width 1: &quot; &quot;
+          text run at (0,224) width 274: &quot;.midalign {vertical-align: middle;}&quot;
+          text run at (273,224) width 1: &quot; &quot;
+          text run at (0,238) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,301) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,319) size 784x79
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderInline {SPAN} at (0,0) size 129x19
+          RenderText {#text} at (15,39) size 129x19
+            text run at (15,39) width 129: &quot;The first four words&quot;
+        RenderText {#text} at (143,35) size 766x43
+          text run at (143,35) width 292: &quot; in this sentence should be subscript-aligned. &quot;
+          text run at (434,35) width 332: &quot;The font size of the superscripted text should not be&quot;
+          text run at (0,59) width 262: &quot;different from that of the parent element.&quot;
+      RenderBlock {P} at (0,414) size 784x75
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderInline {SPAN} at (0,0) size 129x19
+          RenderText {#text} at (15,29) size 129x19
+            text run at (15,29) width 129: &quot;The first four words&quot;
+        RenderText {#text} at (143,35) size 766x39
+          text run at (143,35) width 304: &quot; in this sentence should be superscript-aligned. &quot;
+          text run at (446,35) width 320: &quot;The font size of the subscripted text should not be&quot;
+          text run at (0,55) width 262: &quot;different from that of the parent element.&quot;
+      RenderBlock {P} at (0,505) size 784x75
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderInline {SPAN} at (0,0) size 129x19
+          RenderText {#text} at (15,0) size 129x19
+            text run at (15,0) width 129: &quot;The first four words&quot;
+        RenderText {#text} at (143,35) size 783x39
+          text run at (143,35) width 640: &quot; in this sentence should be top-aligned, which will align their tops with the top of the tallest element&quot;
+          text run at (0,55) width 274: &quot;in the line (probably the orange rectangle).&quot;
+      RenderBlock {P} at (0,596) size 784x134
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 755x112
+          RenderText {#text} at (0,0) size 0x0
+          RenderInline {SPAN} at (0,0) size 129x19
+            RenderText {#text} at (19,21) size 129x19
+              text run at (19,21) width 129: &quot;The first four words&quot;
+          RenderText {#text} at (147,21) size 755x112
+            text run at (147,21) width 558: &quot; in this sentence should be text-top-aligned,&quot;
+            text run at (0,59) width 755: &quot;which should align their tops with the top of the tallest text&quot;
+            text run at (0,97) width 136: &quot;in the line.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,746) size 784x70
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderText {#text} at (15,14) size 755x55
+          text run at (15,14) width 740: &quot; The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point&quot;
+          text run at (0,50) width 318: &quot;defined as the text baseline plus half the x-height.&quot;
+      RenderBlock {P} at (0,832) size 784x126
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderText {#text} at (15,15) size 4x19
+          text run at (15,15) width 4: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 733x124
+          RenderText {#text} at (0,0) size 0x0
+          RenderInline {SPAN} at (0,0) size 129x19
+            RenderText {#text} at (19,30) size 129x19
+              text run at (19,30) width 129: &quot;The first four words&quot;
+          RenderText {#text} at (147,1) size 733x124
+            text run at (147,1) width 547: &quot; in this sentence should be 12pt in size and&quot;
+            text run at (0,51) width 733: &quot;bottom-aligned, which should align their bottom with the&quot;
+            text run at (0,89) width 518: &quot;bottom of the lowest element in the line.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,974) size 784x164
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderText {#text} at (15,15) size 4x19
+          text run at (15,15) width 4: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 752x162
+          RenderText {#text} at (0,0) size 0x0
+          RenderInline {SPAN} at (0,0) size 298x19
+            RenderText {#text} at (19,17) size 298x19
+              text run at (19,17) width 298: &quot;The first eight words (\&quot;eight\&quot; has a descender)&quot;
+          RenderText {#text} at (316,1) size 752x162
+            text run at (316,1) width 436: &quot; in this sentence should be 12pt in&quot;
+            text run at (0,51) width 693: &quot;size and text-bottom-aligned, which should align their&quot;
+            text run at (0,89) width 671: &quot;bottom with the bottom of the lowest text (including&quot;
+            text run at (0,127) width 295: &quot;descenders) in the line.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,1154) size 784x134
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 761x112
+          RenderText {#text} at (0,0) size 0x0
+          RenderInline {SPAN} at (0,0) size 129x19
+            RenderText {#text} at (19,35) size 129x19
+              text run at (19,35) width 129: &quot;The first four words&quot;
+          RenderText {#text} at (147,21) size 761x112
+            text run at (147,21) width 547: &quot; in this sentence should be 12pt in size and&quot;
+            text run at (0,59) width 761: &quot;baseline-aligned, which should align their baseline with the&quot;
+            text run at (0,97) width 523: &quot;baseline of the rest of the text in the line.&quot;
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,1304) size 784x75
+        RenderImage {IMG} at (0,0) size 15x50
+        RenderInline {SPAN} at (0,0) size 97x14
+          RenderText {#text} at (15,31) size 97x14
+            text run at (15,31) width 97: &quot;The first four words&quot;
+        RenderText {#text} at (111,35) size 764x39
+          text run at (111,35) width 653: &quot; in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned,&quot;
+          text run at (0,55) width 385: &quot;which should raise them 8px relative to the natural baseline.&quot;
+      RenderBlock {P} at (0,1395) size 784x40
+        RenderText {#text} at (0,0) size 760x39
+          text run at (0,0) width 760: &quot;In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first&quot;
+          text run at (0,20) width 676: &quot;section of text, whereas any size text should be aligned with the text baseline (which is the default value).&quot;
+      RenderBlock {P} at (0,1453) size 784x326
+        RenderText {#text} at (0,26) size 120x22
+          text run at (0,26) width 120: &quot;This paragraph &quot;
+        RenderImage {IMG} at (119,26) size 10x30
+        RenderText {#text} at (128,26) size 5x22
+          text run at (128,26) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 419x53
+          RenderText {#text} at (132,1) size 419x53
+            text run at (132,1) width 419: &quot;contains many images&quot;
+        RenderText {#text} at (550,26) size 6x22
+          text run at (550,26) width 6: &quot; &quot;
+        RenderImage {IMG} at (555,26) size 16x50
+        RenderText {#text} at (570,26) size 6x22
+          text run at (570,26) width 6: &quot; &quot;
+        RenderInline {BIG} at (0,0) size 153x24
+          RenderText {#text} at (575,24) size 153x24
+            text run at (575,24) width 153: &quot;of varying heights&quot;
+        RenderText {#text} at (727,26) size 6x22
+          text run at (727,26) width 6: &quot; &quot;
+        RenderImage {IMG} at (732,26) size 4x10
+        RenderText {#text} at (735,26) size 6x22
+          text run at (735,26) width 6: &quot; &quot;
+        RenderInline {SMALL} at (0,0) size 764x116
+          RenderText {#text} at (740,28) size 764x116
+            text run at (740,28) width 24: &quot;and&quot;
+            text run at (0,125) width 43: &quot;widths&quot;
+        RenderText {#text} at (42,123) size 6x22
+          text run at (42,123) width 6: &quot; &quot;
+        RenderImage {IMG} at (47,123) size 7x20
+        RenderText {#text} at (53,123) size 101x22
+          text run at (53,123) width 101: &quot; all of which &quot;
+        RenderImage {IMG} at (153,123) size 21x65
+        RenderText {#text} at (173,123) size 6x22
+          text run at (173,123) width 6: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 262x42
+          RenderText {#text} at (178,107) size 262x42
+            text run at (178,107) width 262: &quot;should be aligned&quot;
+        RenderText {#text} at (439,123) size 6x22
+          text run at (439,123) width 6: &quot; &quot;
+        RenderImage {IMG} at (444,123) size 12x35
+        RenderText {#text} at (455,123) size 122x22
+          text run at (455,123) width 122: &quot; with the top of &quot;
+        RenderImage {IMG} at (576,123) size 10x30
+        RenderText {#text} at (585,123) size 5x22
+          text run at (585,123) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 703x144
+          RenderText {#text} at (589,115) size 21x32
+            text run at (589,115) width 21: &quot;a &quot;
+          RenderInline {SPAN} at (0,0) size 703x191
+            RenderText {#text} at (609,77) size 703x191
+              text run at (609,77) width 94: &quot;14-&quot;
+              text run at (0,189) width 144: &quot;point&quot;
+          RenderText {#text} at (143,227) size 146x32
+            text run at (143,227) width 146: &quot; text element&quot;
+        RenderText {#text} at (288,235) size 6x22
+          text run at (288,235) width 6: &quot; &quot;
+        RenderImage {IMG} at (293,235) size 16x50
+        RenderText {#text} at (308,235) size 6x22
+          text run at (308,235) width 6: &quot; &quot;
+        RenderInline {SMALL} at (0,0) size 194x19
+          RenderText {#text} at (313,237) size 194x19
+            text run at (313,237) width 194: &quot;regardless of the line in which&quot;
+        RenderText {#text} at (506,235) size 6x22
+          text run at (506,235) width 6: &quot; &quot;
+        RenderImage {IMG} at (511,235) size 6x15
+        RenderText {#text} at (516,235) size 5x22
+          text run at (516,235) width 5: &quot; &quot;
+        RenderInline {BIG} at (0,0) size 157x24
+          RenderText {#text} at (520,233) size 157x24
+            text run at (520,233) width 157: &quot;the images appear.&quot;
+        RenderText {#text} at (676,235) size 6x22
+          text run at (676,235) width 6: &quot; &quot;
+        RenderImage {IMG} at (681,235) size 28x90
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,1797) size 784x41
+        RenderText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: &quot;In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should be&quot;
+          text run at (0,20) width 371: &quot;aligned with the text baseline (which is the default value).&quot;
+      RenderBlock {P} at (0,1853) size 784x233
+        RenderText {#text} at (0,22) size 101x19
+          text run at (0,22) width 101: &quot;This paragraph &quot;
+        RenderImage {IMG} at (100,18) size 10x30
+        RenderText {#text} at (109,22) size 5x19
+          text run at (109,22) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 356x45
+          RenderText {#text} at (113,1) size 356x45
+            text run at (113,1) width 356: &quot;contains many images&quot;
+        RenderText {#text} at (468,22) size 5x19
+          text run at (468,22) width 5: &quot; &quot;
+        RenderImage {IMG} at (472,8) size 16x50
+        RenderText {#text} at (487,22) size 126x19
+          text run at (487,22) width 126: &quot; of varying heights &quot;
+        RenderImage {IMG} at (612,28) size 4x10
+        RenderText {#text} at (615,22) size 5x19
+          text run at (615,22) width 5: &quot; &quot;
+        RenderInline {SMALL} at (0,0) size 71x19
+          RenderText {#text} at (619,22) size 71x19
+            text run at (619,22) width 71: &quot;and widths&quot;
+        RenderText {#text} at (689,22) size 5x19
+          text run at (689,22) width 5: &quot; &quot;
+        RenderImage {IMG} at (693,23) size 7x20
+        RenderText {#text} at (699,22) size 85x19
+          text run at (699,22) width 85: &quot; all of which &quot;
+        RenderImage {IMG} at (0,77) size 20x65
+        RenderText {#text} at (20,98) size 121x19
+          text run at (20,98) width 121: &quot; should be aligned &quot;
+        RenderImage {IMG} at (140,92) size 12x35
+        RenderText {#text} at (151,98) size 5x19
+          text run at (151,98) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 237x36
+          RenderText {#text} at (155,84) size 237x36
+            text run at (155,84) width 237: &quot;with the middle of&quot;
+        RenderText {#text} at (391,98) size 5x19
+          text run at (391,98) width 5: &quot; &quot;
+        RenderImage {IMG} at (395,84) size 16x50
+        RenderText {#text} at (410,98) size 5x19
+          text run at (410,98) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 345x28
+          RenderText {#text} at (414,91) size 18x28
+            text run at (414,91) width 18: &quot;a &quot;
+          RenderInline {SPAN} at (0,0) size 204x67
+            RenderText {#text} at (431,59) size 204x67
+              text run at (431,59) width 204: &quot;14-point&quot;
+          RenderText {#text} at (634,91) size 125x28
+            text run at (634,91) width 125: &quot; text element&quot;
+        RenderText {#text} at (758,98) size 5x19
+          text run at (758,98) width 5: &quot; &quot;
+        RenderImage {IMG} at (762,84) size 16x50
+        RenderText {#text} at (0,0) size 0x0
+        RenderInline {SMALL} at (0,0) size 194x19
+          RenderText {#text} at (0,176) size 194x19
+            text run at (0,176) width 194: &quot;regardless of the line in which&quot;
+        RenderText {#text} at (193,176) size 5x19
+          text run at (193,176) width 5: &quot; &quot;
+        RenderImage {IMG} at (197,180) size 6x15
+        RenderText {#text} at (202,176) size 5x19
+          text run at (202,176) width 5: &quot; &quot;
+        RenderInline {BIG} at (0,0) size 156x24
+          RenderText {#text} at (206,172) size 156x24
+            text run at (206,172) width 156: &quot;the images appear.&quot;
+        RenderText {#text} at (361,176) size 5x19
+          text run at (361,176) width 5: &quot; &quot;
+        RenderImage {IMG} at (365,142) size 28x90
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,2101) size 784x41
+        RenderText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: &quot;In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that&quot;
+          text run at (0,20) width 178: &quot;element is an image or not. &quot;
+          text run at (177,20) width 563: &quot;Each fragment of text has been SPANned appropriately in order to cause this to happen.&quot;
+      RenderBlock {P} at (0,2157) size 784x203
+        RenderInline {SPAN} at (0,0) size 97x19
+          RenderText {#text} at (0,0) size 97x19
+            text run at (0,0) width 97: &quot;This paragraph&quot;
+        RenderText {#text} at (96,0) size 5x19
+          text run at (96,0) width 5: &quot; &quot;
+        RenderImage {IMG} at (100,0) size 4x10
+        RenderText {#text} at (103,0) size 5x19
+          text run at (103,0) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 356x45
+          RenderText {#text} at (107,1) size 356x45
+            text run at (107,1) width 356: &quot;contains many images&quot;
+        RenderText {#text} at (462,0) size 5x19
+          text run at (462,0) width 5: &quot; &quot;
+        RenderImage {IMG} at (466,0) size 4x10
+        RenderText {#text} at (469,0) size 5x19
+          text run at (469,0) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 90x19
+          RenderText {#text} at (473,0) size 90x19
+            text run at (473,0) width 90: &quot;and some text&quot;
+        RenderText {#text} at (562,0) size 5x19
+          text run at (562,0) width 5: &quot; &quot;
+        RenderImage {IMG} at (566,0) size 4x10
+        RenderText {#text} at (569,0) size 5x19
+          text run at (569,0) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 118x19
+          RenderText {#text} at (573,0) size 118x19
+            text run at (573,0) width 118: &quot;of varying heights&quot;
+        RenderText {#text} at (690,0) size 5x19
+          text run at (690,0) width 5: &quot; &quot;
+        RenderImage {IMG} at (694,0) size 4x10
+        RenderText {#text} at (697,0) size 5x19
+          text run at (697,0) width 5: &quot; &quot;
+        RenderInline {BIG} at (0,0) size 732x71
+          RenderText {#text} at (701,0) size 732x71
+            text run at (701,0) width 31: &quot;and&quot;
+            text run at (0,47) width 57: &quot;widths&quot;
+        RenderText {#text} at (56,47) size 5x19
+          text run at (56,47) width 5: &quot; &quot;
+        RenderImage {IMG} at (60,47) size 6x20
+        RenderText {#text} at (66,47) size 5x19
+          text run at (66,47) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 77x19
+          RenderText {#text} at (70,47) size 77x19
+            text run at (70,47) width 77: &quot;all of which&quot;
+        RenderText {#text} at (146,47) size 5x19
+          text run at (146,47) width 5: &quot; &quot;
+        RenderImage {IMG} at (150,47) size 21x65
+        RenderText {#text} at (170,47) size 5x19
+          text run at (170,47) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 114x19
+          RenderText {#text} at (174,47) size 114x19
+            text run at (174,47) width 114: &quot;should be aligned&quot;
+        RenderText {#text} at (287,47) size 5x19
+          text run at (287,47) width 5: &quot; &quot;
+        RenderImage {IMG} at (291,47) size 12x35
+        RenderText {#text} at (302,47) size 5x19
+          text run at (302,47) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 188x36
+          RenderText {#text} at (306,48) size 188x36
+            text run at (306,48) width 188: &quot;with the top of&quot;
+        RenderText {#text} at (493,47) size 5x19
+          text run at (493,47) width 5: &quot; &quot;
+        RenderImage {IMG} at (497,47) size 16x50
+        RenderText {#text} at (512,47) size 5x19
+          text run at (512,47) width 5: &quot; &quot;
+        RenderInline {SPAN} at (0,0) size 134x19
+          RenderText {#text} at (516,47) size 134x19
+            text run at (516,47) width 134: &quot;the tallest element in&quot;
+        RenderText {#text} at (649,47) size 5x19
+          text run at (649,47) width 5: &quot; &quot;
+        RenderImage {IMG} at (653,47) size 6x15
+        RenderText {#text} at (658,47) size 5x19
+          text run at (658,47) width 5: &quot; &quot;
+        RenderInline {BIG} at (0,0) size 751x89
+          RenderText {#text} at (662,47) size 751x89
+            text run at (662,47) width 89: &quot;whichever&quot;
+            text run at (0,112) width 208: &quot;line the elements appear.&quot;
+        RenderText {#text} at (207,112) size 5x19
+          text run at (207,112) width 5: &quot; &quot;
+        RenderImage {IMG} at (211,112) size 28x90
+        RenderText {#text} at (0,0) size 0x0
+      RenderTable {TABLE} at (0,2375) size 784x2079 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x2076
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x2048
+            RenderTableCell {TD} at (0,1038) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x2049 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x79
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderInline {SPAN} at (0,0) size 129x19
+                  RenderText {#text} at (15,39) size 129x19
+                    text run at (15,39) width 129: &quot;The first four words&quot;
+                RenderText {#text} at (143,35) size 747x43
+                  text run at (143,35) width 292: &quot; in this sentence should be subscript-aligned. &quot;
+                  text run at (434,35) width 313: &quot;The font size of the superscripted text should not&quot;
+                  text run at (0,59) width 281: &quot;be different from that of the parent element.&quot;
+              RenderBlock {P} at (4,99) size 762x75
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderInline {SPAN} at (0,0) size 129x19
+                  RenderText {#text} at (15,29) size 129x19
+                    text run at (15,29) width 129: &quot;The first four words&quot;
+                RenderText {#text} at (143,35) size 747x39
+                  text run at (143,35) width 304: &quot; in this sentence should be superscript-aligned. &quot;
+                  text run at (446,35) width 301: &quot;The font size of the subscripted text should not&quot;
+                  text run at (0,55) width 281: &quot;be different from that of the parent element.&quot;
+              RenderBlock {P} at (4,190) size 762x75
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderInline {SPAN} at (0,0) size 129x19
+                  RenderText {#text} at (15,0) size 129x19
+                    text run at (15,0) width 129: &quot;The first four words&quot;
+                RenderText {#text} at (143,35) size 729x39
+                  text run at (143,35) width 586: &quot; in this sentence should be top-aligned, which will align their tops with the top of the tallest&quot;
+                  text run at (0,55) width 328: &quot;element in the line (probably the orange rectangle).&quot;
+              RenderBlock {P} at (4,281) size 762x134
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 755x112
+                  RenderText {#text} at (0,0) size 0x0
+                  RenderInline {SPAN} at (0,0) size 129x19
+                    RenderText {#text} at (19,21) size 129x19
+                      text run at (19,21) width 129: &quot;The first four words&quot;
+                  RenderText {#text} at (147,21) size 755x112
+                    text run at (147,21) width 558: &quot; in this sentence should be text-top-aligned,&quot;
+                    text run at (0,59) width 755: &quot;which should align their tops with the top of the tallest text&quot;
+                    text run at (0,97) width 136: &quot;in the line.&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,431) size 762x70
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderText {#text} at (15,14) size 755x55
+                  text run at (15,14) width 740: &quot; The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point&quot;
+                  text run at (0,50) width 318: &quot;defined as the text baseline plus half the x-height.&quot;
+              RenderBlock {P} at (4,517) size 762x126
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderText {#text} at (15,15) size 4x19
+                  text run at (15,15) width 4: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 733x124
+                  RenderText {#text} at (0,0) size 0x0
+                  RenderInline {SPAN} at (0,0) size 129x19
+                    RenderText {#text} at (19,30) size 129x19
+                      text run at (19,30) width 129: &quot;The first four words&quot;
+                  RenderText {#text} at (147,1) size 733x124
+                    text run at (147,1) width 547: &quot; in this sentence should be 12pt in size and&quot;
+                    text run at (0,51) width 733: &quot;bottom-aligned, which should align their bottom with the&quot;
+                    text run at (0,89) width 518: &quot;bottom of the lowest element in the line.&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,659) size 762x164
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderText {#text} at (15,15) size 4x19
+                  text run at (15,15) width 4: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 752x162
+                  RenderText {#text} at (0,0) size 0x0
+                  RenderInline {SPAN} at (0,0) size 298x19
+                    RenderText {#text} at (19,17) size 298x19
+                      text run at (19,17) width 298: &quot;The first eight words (\&quot;eight\&quot; has a descender)&quot;
+                  RenderText {#text} at (316,1) size 752x162
+                    text run at (316,1) width 436: &quot; in this sentence should be 12pt in&quot;
+                    text run at (0,51) width 693: &quot;size and text-bottom-aligned, which should align their&quot;
+                    text run at (0,89) width 671: &quot;bottom with the bottom of the lowest text (including&quot;
+                    text run at (0,127) width 295: &quot;descenders) in the line.&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,839) size 762x134
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 761x112
+                  RenderText {#text} at (0,0) size 0x0
+                  RenderInline {SPAN} at (0,0) size 129x19
+                    RenderText {#text} at (19,35) size 129x19
+                      text run at (19,35) width 129: &quot;The first four words&quot;
+                  RenderText {#text} at (147,21) size 761x112
+                    text run at (147,21) width 547: &quot; in this sentence should be 12pt in size and&quot;
+                    text run at (0,59) width 761: &quot;baseline-aligned, which should align their baseline with the&quot;
+                    text run at (0,97) width 523: &quot;baseline of the rest of the text in the line.&quot;
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,989) size 762x75
+                RenderImage {IMG} at (0,0) size 15x50
+                RenderInline {SPAN} at (0,0) size 97x14
+                  RenderText {#text} at (15,31) size 97x14
+                    text run at (15,31) width 97: &quot;The first four words&quot;
+                RenderText {#text} at (111,35) size 713x39
+                  text run at (111,35) width 602: &quot; in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-&quot;
+                  text run at (0,55) width 440: &quot;aligned, which should raise them 8px relative to the natural baseline.&quot;
+              RenderBlock {P} at (4,1080) size 762x40
+                RenderText {#text} at (0,0) size 760x39
+                  text run at (0,0) width 760: &quot;In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first&quot;
+                  text run at (0,20) width 676: &quot;section of text, whereas any size text should be aligned with the text baseline (which is the default value).&quot;
+              RenderBlock {P} at (4,1138) size 762x326
+                RenderText {#text} at (0,26) size 120x22
+                  text run at (0,26) width 120: &quot;This paragraph &quot;
+                RenderImage {IMG} at (119,26) size 10x30
+                RenderText {#text} at (128,26) size 5x22
+                  text run at (128,26) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 419x53
+                  RenderText {#text} at (132,1) size 419x53
+                    text run at (132,1) width 419: &quot;contains many images&quot;
+                RenderText {#text} at (550,26) size 6x22
+                  text run at (550,26) width 6: &quot; &quot;
+                RenderImage {IMG} at (555,26) size 16x50
+                RenderText {#text} at (570,26) size 6x22
+                  text run at (570,26) width 6: &quot; &quot;
+                RenderInline {BIG} at (0,0) size 153x24
+                  RenderText {#text} at (575,24) size 153x24
+                    text run at (575,24) width 153: &quot;of varying heights&quot;
+                RenderText {#text} at (727,26) size 6x22
+                  text run at (727,26) width 6: &quot; &quot;
+                RenderImage {IMG} at (732,26) size 4x10
+                RenderText {#text} at (0,0) size 0x0
+                RenderInline {SMALL} at (0,0) size 70x19
+                  RenderText {#text} at (0,125) size 70x19
+                    text run at (0,125) width 70: &quot;and widths&quot;
+                RenderText {#text} at (69,123) size 6x22
+                  text run at (69,123) width 6: &quot; &quot;
+                RenderImage {IMG} at (74,123) size 7x20
+                RenderText {#text} at (80,123) size 101x22
+                  text run at (80,123) width 101: &quot; all of which &quot;
+                RenderImage {IMG} at (180,123) size 21x65
+                RenderText {#text} at (200,123) size 6x22
+                  text run at (200,123) width 6: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 262x42
+                  RenderText {#text} at (205,107) size 262x42
+                    text run at (205,107) width 262: &quot;should be aligned&quot;
+                RenderText {#text} at (466,123) size 6x22
+                  text run at (466,123) width 6: &quot; &quot;
+                RenderImage {IMG} at (471,123) size 12x35
+                RenderText {#text} at (482,123) size 122x22
+                  text run at (482,123) width 122: &quot; with the top of &quot;
+                RenderImage {IMG} at (603,123) size 10x30
+                RenderText {#text} at (612,123) size 5x22
+                  text run at (612,123) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 730x144
+                  RenderText {#text} at (616,115) size 21x32
+                    text run at (616,115) width 21: &quot;a &quot;
+                  RenderInline {SPAN} at (0,0) size 730x191
+                    RenderText {#text} at (636,77) size 730x191
+                      text run at (636,77) width 94: &quot;14-&quot;
+                      text run at (0,189) width 144: &quot;point&quot;
+                  RenderText {#text} at (143,227) size 146x32
+                    text run at (143,227) width 146: &quot; text element&quot;
+                RenderText {#text} at (288,235) size 6x22
+                  text run at (288,235) width 6: &quot; &quot;
+                RenderImage {IMG} at (293,235) size 16x50
+                RenderText {#text} at (308,235) size 6x22
+                  text run at (308,235) width 6: &quot; &quot;
+                RenderInline {SMALL} at (0,0) size 194x19
+                  RenderText {#text} at (313,237) size 194x19
+                    text run at (313,237) width 194: &quot;regardless of the line in which&quot;
+                RenderText {#text} at (506,235) size 6x22
+                  text run at (506,235) width 6: &quot; &quot;
+                RenderImage {IMG} at (511,235) size 6x15
+                RenderText {#text} at (516,235) size 5x22
+                  text run at (516,235) width 5: &quot; &quot;
+                RenderInline {BIG} at (0,0) size 157x24
+                  RenderText {#text} at (520,233) size 157x24
+                    text run at (520,233) width 157: &quot;the images appear.&quot;
+                RenderText {#text} at (676,235) size 6x22
+                  text run at (676,235) width 6: &quot; &quot;
+                RenderImage {IMG} at (681,235) size 28x90
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,1482) size 762x41
+                RenderText {#text} at (0,0) size 746x39
+                  text run at (0,0) width 746: &quot;In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should&quot;
+                  text run at (0,20) width 390: &quot;be aligned with the text baseline (which is the default value).&quot;
+              RenderBlock {P} at (4,1538) size 762x233
+                RenderText {#text} at (0,22) size 101x19
+                  text run at (0,22) width 101: &quot;This paragraph &quot;
+                RenderImage {IMG} at (100,18) size 10x30
+                RenderText {#text} at (109,22) size 5x19
+                  text run at (109,22) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 356x45
+                  RenderText {#text} at (113,1) size 356x45
+                    text run at (113,1) width 356: &quot;contains many images&quot;
+                RenderText {#text} at (468,22) size 5x19
+                  text run at (468,22) width 5: &quot; &quot;
+                RenderImage {IMG} at (472,8) size 16x50
+                RenderText {#text} at (487,22) size 126x19
+                  text run at (487,22) width 126: &quot; of varying heights &quot;
+                RenderImage {IMG} at (612,28) size 4x10
+                RenderText {#text} at (615,22) size 5x19
+                  text run at (615,22) width 5: &quot; &quot;
+                RenderInline {SMALL} at (0,0) size 71x19
+                  RenderText {#text} at (619,22) size 71x19
+                    text run at (619,22) width 71: &quot;and widths&quot;
+                RenderText {#text} at (689,22) size 5x19
+                  text run at (689,22) width 5: &quot; &quot;
+                RenderImage {IMG} at (693,23) size 7x20
+                RenderText {#text} at (699,22) size 737x95
+                  text run at (699,22) width 38: &quot; all of&quot;
+                  text run at (0,98) width 44: &quot;which &quot;
+                RenderImage {IMG} at (43,77) size 21x65
+                RenderText {#text} at (63,98) size 121x19
+                  text run at (63,98) width 121: &quot; should be aligned &quot;
+                RenderImage {IMG} at (183,92) size 12x35
+                RenderText {#text} at (194,98) size 5x19
+                  text run at (194,98) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 237x36
+                  RenderText {#text} at (198,84) size 237x36
+                    text run at (198,84) width 237: &quot;with the middle of&quot;
+                RenderText {#text} at (434,98) size 5x19
+                  text run at (434,98) width 5: &quot; &quot;
+                RenderImage {IMG} at (438,84) size 16x50
+                RenderText {#text} at (453,98) size 5x19
+                  text run at (453,98) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 720x106
+                  RenderText {#text} at (457,91) size 18x28
+                    text run at (457,91) width 18: &quot;a &quot;
+                  RenderInline {SPAN} at (0,0) size 204x67
+                    RenderText {#text} at (474,59) size 204x67
+                      text run at (474,59) width 204: &quot;14-point&quot;
+                  RenderText {#text} at (677,91) size 720x106
+                    text run at (677,91) width 43: &quot; text&quot;
+                    text run at (0,169) width 76: &quot;element&quot;
+                RenderText {#text} at (75,176) size 5x19
+                  text run at (75,176) width 5: &quot; &quot;
+                RenderImage {IMG} at (79,162) size 16x50
+                RenderText {#text} at (94,176) size 5x19
+                  text run at (94,176) width 5: &quot; &quot;
+                RenderInline {SMALL} at (0,0) size 195x19
+                  RenderText {#text} at (98,176) size 195x19
+                    text run at (98,176) width 195: &quot;regardless of the line in which&quot;
+                RenderText {#text} at (292,176) size 5x19
+                  text run at (292,176) width 5: &quot; &quot;
+                RenderImage {IMG} at (296,180) size 6x15
+                RenderText {#text} at (301,176) size 5x19
+                  text run at (301,176) width 5: &quot; &quot;
+                RenderInline {BIG} at (0,0) size 156x24
+                  RenderText {#text} at (305,172) size 156x24
+                    text run at (305,172) width 156: &quot;the images appear.&quot;
+                RenderText {#text} at (460,176) size 5x19
+                  text run at (460,176) width 5: &quot; &quot;
+                RenderImage {IMG} at (464,142) size 28x90
+                RenderText {#text} at (0,0) size 0x0
+              RenderBlock {P} at (4,1786) size 762x41
+                RenderText {#text} at (0,0) size 751x39
+                  text run at (0,0) width 751: &quot;In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that&quot;
+                  text run at (0,20) width 178: &quot;element is an image or not. &quot;
+                  text run at (177,20) width 563: &quot;Each fragment of text has been SPANned appropriately in order to cause this to happen.&quot;
+              RenderBlock {P} at (4,1842) size 762x203
+                RenderInline {SPAN} at (0,0) size 97x19
+                  RenderText {#text} at (0,0) size 97x19
+                    text run at (0,0) width 97: &quot;This paragraph&quot;
+                RenderText {#text} at (96,0) size 5x19
+                  text run at (96,0) width 5: &quot; &quot;
+                RenderImage {IMG} at (100,0) size 4x10
+                RenderText {#text} at (103,0) size 5x19
+                  text run at (103,0) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 356x45
+                  RenderText {#text} at (107,1) size 356x45
+                    text run at (107,1) width 356: &quot;contains many images&quot;
+                RenderText {#text} at (462,0) size 5x19
+                  text run at (462,0) width 5: &quot; &quot;
+                RenderImage {IMG} at (466,0) size 4x10
+                RenderText {#text} at (469,0) size 5x19
+                  text run at (469,0) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 90x19
+                  RenderText {#text} at (473,0) size 90x19
+                    text run at (473,0) width 90: &quot;and some text&quot;
+                RenderText {#text} at (562,0) size 5x19
+                  text run at (562,0) width 5: &quot; &quot;
+                RenderImage {IMG} at (566,0) size 4x10
+                RenderText {#text} at (569,0) size 5x19
+                  text run at (569,0) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 118x19
+                  RenderText {#text} at (573,0) size 118x19
+                    text run at (573,0) width 118: &quot;of varying heights&quot;
+                RenderText {#text} at (690,0) size 5x19
+                  text run at (690,0) width 5: &quot; &quot;
+                RenderImage {IMG} at (694,0) size 4x10
+                RenderText {#text} at (697,0) size 5x19
+                  text run at (697,0) width 5: &quot; &quot;
+                RenderInline {BIG} at (0,0) size 732x71
+                  RenderText {#text} at (701,0) size 732x71
+                    text run at (701,0) width 31: &quot;and&quot;
+                    text run at (0,47) width 57: &quot;widths&quot;
+                RenderText {#text} at (56,47) size 5x19
+                  text run at (56,47) width 5: &quot; &quot;
+                RenderImage {IMG} at (60,47) size 6x20
+                RenderText {#text} at (66,47) size 5x19
+                  text run at (66,47) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 77x19
+                  RenderText {#text} at (70,47) size 77x19
+                    text run at (70,47) width 77: &quot;all of which&quot;
+                RenderText {#text} at (146,47) size 5x19
+                  text run at (146,47) width 5: &quot; &quot;
+                RenderImage {IMG} at (150,47) size 21x65
+                RenderText {#text} at (170,47) size 5x19
+                  text run at (170,47) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 114x19
+                  RenderText {#text} at (174,47) size 114x19
+                    text run at (174,47) width 114: &quot;should be aligned&quot;
+                RenderText {#text} at (287,47) size 5x19
+                  text run at (287,47) width 5: &quot; &quot;
+                RenderImage {IMG} at (291,47) size 12x35
+                RenderText {#text} at (302,47) size 5x19
+                  text run at (302,47) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 188x36
+                  RenderText {#text} at (306,48) size 188x36
+                    text run at (306,48) width 188: &quot;with the top of&quot;
+                RenderText {#text} at (493,47) size 5x19
+                  text run at (493,47) width 5: &quot; &quot;
+                RenderImage {IMG} at (497,47) size 16x50
+                RenderText {#text} at (512,47) size 5x19
+                  text run at (512,47) width 5: &quot; &quot;
+                RenderInline {SPAN} at (0,0) size 134x19
+                  RenderText {#text} at (516,47) size 134x19
+                    text run at (516,47) width 134: &quot;the tallest element in&quot;
+                RenderText {#text} at (649,47) size 5x19
+                  text run at (649,47) width 5: &quot; &quot;
+                RenderImage {IMG} at (653,47) size 6x15
+                RenderText {#text} at (658,47) size 5x19
+                  text run at (658,47) width 5: &quot; &quot;
+                RenderInline {BIG} at (0,0) size 751x89
+                  RenderText {#text} at (662,47) size 751x89
+                    text run at (662,47) width 89: &quot;whichever&quot;
+                    text run at (0,112) width 208: &quot;line the elements appear.&quot;
+                RenderText {#text} at (207,112) size 5x19
+                  text run at (207,112) width 5: &quot; &quot;
+                RenderImage {IMG} at (211,112) size 28x90
+                RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1text_propertiesword_spacingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/text_properties/word_spacing-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/text_properties/word_spacing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/text_properties/word_spacing-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,109 @@
</span><ins>+layer at (0,0) size 800x947
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x947
+  RenderBlock {HTML} at (0,0) size 800x947
+    RenderBody {BODY} at (8,8) size 784x931 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 227x154
+          text run at (0,0) width 211: &quot;.one {word-spacing: 0.3in;}&quot;
+          text run at (210,0) width 1: &quot; &quot;
+          text run at (0,14) width 211: &quot;.two {word-spacing: 0.5cm;}&quot;
+          text run at (210,14) width 1: &quot; &quot;
+          text run at (0,28) width 211: &quot;.three {word-spacing: 5mm;}&quot;
+          text run at (210,28) width 1: &quot; &quot;
+          text run at (0,42) width 203: &quot;.four {word-spacing: 3pt;}&quot;
+          text run at (202,42) width 1: &quot; &quot;
+          text run at (0,56) width 227: &quot;.five {word-spacing: 0.25pc;}&quot;
+          text run at (226,56) width 1: &quot; &quot;
+          text run at (0,70) width 196: &quot;.six {word-spacing: 1em;}&quot;
+          text run at (195,70) width 1: &quot; &quot;
+          text run at (0,84) width 211: &quot;.seven {word-spacing: 1ex;}&quot;
+          text run at (210,84) width 1: &quot; &quot;
+          text run at (0,98) width 211: &quot;.eight {word-spacing: 5px;}&quot;
+          text run at (210,98) width 1: &quot; &quot;
+          text run at (0,112) width 227: &quot;.nine {word-spacing: normal;}&quot;
+          text run at (226,112) width 1: &quot; &quot;
+          text run at (0,126) width 219: &quot;.ten {word-spacing: -0.2em;}&quot;
+          text run at (218,126) width 1: &quot; &quot;
+          text run at (0,140) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,221) size 784x20
+        RenderText {#text} at (0,0) size 688x19
+          text run at (0,0) width 688: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,257) size 784x20
+        RenderText {#text} at (0,0) size 598x19
+          text run at (0,0) width 598: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,293) size 784x20
+        RenderText {#text} at (0,0) size 598x19
+          text run at (0,0) width 598: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,329) size 784x20
+        RenderText {#text} at (0,0) size 464x19
+          text run at (0,0) width 464: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,365) size 784x20
+        RenderText {#text} at (0,0) size 464x19
+          text run at (0,0) width 464: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,401) size 784x20
+        RenderText {#text} at (0,0) size 572x19
+          text run at (0,0) width 572: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,437) size 784x20
+        RenderText {#text} at (0,0) size 493x19
+          text run at (0,0) width 493: &quot;This words in this sentence should have extra space between them.&quot;
+      RenderBlock {P} at (0,473) size 784x40
+        RenderText {#text} at (0,0) size 758x19
+          text run at (0,0) width 758: &quot;This words in this sentence should have extra space between them, but the last few words in the sentence&quot;
+        RenderInline {SPAN} at (0,0) size 180x19
+          RenderText {#text} at (0,20) size 180x19
+            text run at (0,20) width 180: &quot;should have normal spacing&quot;
+        RenderText {#text} at (179,20) size 5x19
+          text run at (179,20) width 5: &quot;.&quot;
+      RenderBlock {P} at (0,529) size 784x20
+        RenderText {#text} at (0,0) size 719x19
+          text run at (0,0) width 719: &quot;This words in this sentence should have reduced space between them, since negative values are allowed on this property.&quot;
+      RenderTable {TABLE} at (0,565) size 784x366 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x364
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x336
+            RenderTableCell {TD} at (0,182) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x336 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 688x19
+                  text run at (0,0) width 688: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,40) size 762x20
+                RenderText {#text} at (0,0) size 598x19
+                  text run at (0,0) width 598: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,76) size 762x20
+                RenderText {#text} at (0,0) size 598x19
+                  text run at (0,0) width 598: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,112) size 762x20
+                RenderText {#text} at (0,0) size 464x19
+                  text run at (0,0) width 464: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,148) size 762x20
+                RenderText {#text} at (0,0) size 464x19
+                  text run at (0,0) width 464: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,184) size 762x20
+                RenderText {#text} at (0,0) size 572x19
+                  text run at (0,0) width 572: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,220) size 762x20
+                RenderText {#text} at (0,0) size 493x19
+                  text run at (0,0) width 493: &quot;This words in this sentence should have extra space between them.&quot;
+              RenderBlock {P} at (4,256) size 762x40
+                RenderText {#text} at (0,0) size 694x39
+                  text run at (0,0) width 694: &quot;This words in this sentence should have extra space between them, but the last few words in the&quot;
+                  text run at (0,20) width 65: &quot;sentence &quot;
+                RenderInline {SPAN} at (0,0) size 180x19
+                  RenderText {#text} at (64,20) size 180x19
+                    text run at (64,20) width 180: &quot;should have normal spacing&quot;
+                RenderText {#text} at (243,20) size 5x19
+                  text run at (243,20) width 5: &quot;.&quot;
+              RenderBlock {P} at (4,312) size 762x20
+                RenderText {#text} at (0,0) size 719x19
+                  text run at (0,0) width 719: &quot;This words in this sentence should have reduced space between them, since negative values are allowed on this property.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1unitscolor_unitsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/units/color_units-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/units/color_units-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/units/color_units-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,238 @@
</span><ins>+layer at (0,0) size 800x1781
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1781
+  RenderBlock {HTML} at (0,0) size 800x1781
+    RenderBody {BODY} at (8,8) size 784x1765 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x168
+        RenderText {#text} at (0,0) size 281x168
+          text run at (0,0) width 157: &quot;BODY {color: black;}&quot;
+          text run at (156,0) width 1: &quot; &quot;
+          text run at (0,14) width 149: &quot;.one {color: #080;}&quot;
+          text run at (148,14) width 1: &quot; &quot;
+          text run at (0,28) width 172: &quot;.two {color: #008000;}&quot;
+          text run at (171,28) width 1: &quot; &quot;
+          text run at (0,42) width 227: &quot;.three {color: rgb(0,128,0);}&quot;
+          text run at (226,42) width 1: &quot; &quot;
+          text run at (0,56) width 235: &quot;.four {color: rgb(0%,50%,0%);}&quot;
+          text run at (234,56) width 1: &quot; &quot;
+          text run at (0,70) width 281: &quot;.five {color: rgb(0.0%,50.0%,0.0%);}&quot;
+          text run at (280,70) width 1: &quot; &quot;
+          text run at (0,84) width 157: &quot;.six {color: green;}&quot;
+          text run at (156,84) width 1: &quot; &quot;
+          text run at (0,98) width 227: &quot;.seven {color: invalidValue;}&quot;
+          text run at (226,98) width 1: &quot; &quot;
+          text run at (0,112) width 250: &quot;.eight {color: rgb(0,128,1280);}&quot;
+          text run at (249,112) width 1: &quot; &quot;
+          text run at (0,126) width 235: &quot;.nine {color: rgb(0,128,255);}&quot;
+          text run at (234,126) width 1: &quot; &quot;
+          text run at (0,140) width 258: &quot;.ten {color: rgb(50%,-500%,60%);}&quot;
+          text run at (257,140) width 1: &quot; &quot;
+          text run at (0,154) width 258: &quot;.eleven {color: rgb(50%,0%,60%);}&quot;
+          text run at (257,154) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,217) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,235) size 784x20
+        RenderText {#text} at (0,0) size 196x19
+          text run at (0,0) width 196: &quot;This sentence should be black.&quot;
+      RenderBlock {P} at (0,271) size 784x20 [color=#008800]
+        RenderText {#text} at (0,0) size 518x19
+          text run at (0,0) width 518: &quot;This sentence should be green, although slightly different from those that follow.&quot;
+      RenderBlock {P} at (0,307) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,343) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,379) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,415) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,451) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+      RenderBlock {P} at (0,487) size 784x20
+        RenderText {#text} at (0,0) size 415x19
+          text run at (0,0) width 415: &quot;This sentence should be black, because the value given for class &quot;
+        RenderInline {CODE} at (0,0) size 47x14
+          RenderText {#text} at (414,5) size 47x14
+            text run at (414,5) width 47: &quot;.seven&quot;
+        RenderText {#text} at (460,0) size 68x19
+          text run at (460,0) width 68: &quot; is invalid.&quot;
+      RenderBlock {P} at (0,523) size 784x40 [color=#0080FF]
+        RenderText {#text} at (0,0) size 737x39
+          text run at (0,0) width 737: &quot;This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next&quot;
+          text run at (0,20) width 68: &quot;paragraph.&quot;
+      RenderBlock {P} at (0,579) size 784x40 [color=#0080FF]
+        RenderText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: &quot;This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous&quot;
+          text run at (0,20) width 68: &quot;paragraph.&quot;
+      RenderBlock {P} at (0,635) size 784x20 [color=#800099]
+        RenderText {#text} at (0,0) size 781x19
+          text run at (0,0) width 781: &quot;This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph.&quot;
+      RenderBlock {P} at (0,671) size 784x40 [color=#800099]
+        RenderText {#text} at (0,0) size 737x39
+          text run at (0,0) width 737: &quot;This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous&quot;
+          text run at (0,20) width 68: &quot;paragraph.&quot;
+      RenderBlock {P} at (0,727) size 784x20
+        RenderText {#text} at (0,0) size 196x19
+          text run at (0,0) width 196: &quot;This sentence should be black.&quot;
+      RenderBlock {P} at (0,763) size 784x20 [color=#008800]
+        RenderText {#text} at (0,0) size 407x19
+          text run at (0,0) width 407: &quot;This sentence should be a slightly different green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (406,5) size 40x14
+            text run at (406,5) width 40: &quot;style&quot;
+        RenderText {#text} at (445,0) size 63x19
+          text run at (445,0) width 63: &quot; attribute.&quot;
+      RenderBlock {P} at (0,799) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (284,5) size 40x14
+            text run at (284,5) width 40: &quot;style&quot;
+        RenderText {#text} at (323,0) size 63x19
+          text run at (323,0) width 63: &quot; attribute.&quot;
+      RenderBlock {P} at (0,835) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (284,5) size 40x14
+            text run at (284,5) width 40: &quot;style&quot;
+        RenderText {#text} at (323,0) size 63x19
+          text run at (323,0) width 63: &quot; attribute.&quot;
+      RenderBlock {P} at (0,871) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (284,5) size 40x14
+            text run at (284,5) width 40: &quot;style&quot;
+        RenderText {#text} at (323,0) size 63x19
+          text run at (323,0) width 63: &quot; attribute.&quot;
+      RenderBlock {P} at (0,907) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (284,5) size 40x14
+            text run at (284,5) width 40: &quot;style&quot;
+        RenderText {#text} at (323,0) size 63x19
+          text run at (323,0) width 63: &quot; attribute.&quot;
+      RenderBlock {P} at (0,943) size 784x20 [color=#008000]
+        RenderText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+        RenderInline {TT} at (0,0) size 40x14
+          RenderText {#text} at (284,5) size 40x14
+            text run at (284,5) width 40: &quot;style&quot;
+        RenderText {#text} at (323,0) size 63x19
+          text run at (323,0) width 63: &quot; attribute.&quot;
+      RenderTable {TABLE} at (0,979) size 784x786 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x784
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x756
+            RenderTableCell {TD} at (0,392) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x756 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 196x19
+                  text run at (0,0) width 196: &quot;This sentence should be black.&quot;
+              RenderBlock {P} at (4,40) size 762x20 [color=#008800]
+                RenderText {#text} at (0,0) size 518x19
+                  text run at (0,0) width 518: &quot;This sentence should be green, although slightly different from those that follow.&quot;
+              RenderBlock {P} at (4,76) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,112) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,148) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,184) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,220) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 197x19
+                  text run at (0,0) width 197: &quot;This sentence should be green.&quot;
+              RenderBlock {P} at (4,256) size 762x20
+                RenderText {#text} at (0,0) size 415x19
+                  text run at (0,0) width 415: &quot;This sentence should be black, because the value given for class &quot;
+                RenderInline {CODE} at (0,0) size 47x14
+                  RenderText {#text} at (414,5) size 47x14
+                    text run at (414,5) width 47: &quot;.seven&quot;
+                RenderText {#text} at (460,0) size 68x19
+                  text run at (460,0) width 68: &quot; is invalid.&quot;
+              RenderBlock {P} at (4,292) size 762x40 [color=#0080FF]
+                RenderText {#text} at (0,0) size 737x39
+                  text run at (0,0) width 737: &quot;This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next&quot;
+                  text run at (0,20) width 68: &quot;paragraph.&quot;
+              RenderBlock {P} at (4,348) size 762x40 [color=#0080FF]
+                RenderText {#text} at (0,0) size 705x39
+                  text run at (0,0) width 705: &quot;This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the&quot;
+                  text run at (0,20) width 128: &quot;previous paragraph.&quot;
+              RenderBlock {P} at (4,404) size 762x40 [color=#800099]
+                RenderText {#text} at (0,0) size 709x39
+                  text run at (0,0) width 709: &quot;This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next&quot;
+                  text run at (0,20) width 68: &quot;paragraph.&quot;
+              RenderBlock {P} at (4,460) size 762x40 [color=#800099]
+                RenderText {#text} at (0,0) size 737x39
+                  text run at (0,0) width 737: &quot;This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous&quot;
+                  text run at (0,20) width 68: &quot;paragraph.&quot;
+              RenderBlock {P} at (4,516) size 762x20
+                RenderText {#text} at (0,0) size 196x19
+                  text run at (0,0) width 196: &quot;This sentence should be black.&quot;
+              RenderBlock {P} at (4,552) size 762x20 [color=#008800]
+                RenderText {#text} at (0,0) size 407x19
+                  text run at (0,0) width 407: &quot;This sentence should be a slightly different green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (406,5) size 40x14
+                    text run at (406,5) width 40: &quot;style&quot;
+                RenderText {#text} at (445,0) size 63x19
+                  text run at (445,0) width 63: &quot; attribute.&quot;
+              RenderBlock {P} at (4,588) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 285x19
+                  text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (284,5) size 40x14
+                    text run at (284,5) width 40: &quot;style&quot;
+                RenderText {#text} at (323,0) size 63x19
+                  text run at (323,0) width 63: &quot; attribute.&quot;
+              RenderBlock {P} at (4,624) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 285x19
+                  text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (284,5) size 40x14
+                    text run at (284,5) width 40: &quot;style&quot;
+                RenderText {#text} at (323,0) size 63x19
+                  text run at (323,0) width 63: &quot; attribute.&quot;
+              RenderBlock {P} at (4,660) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 285x19
+                  text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (284,5) size 40x14
+                    text run at (284,5) width 40: &quot;style&quot;
+                RenderText {#text} at (323,0) size 63x19
+                  text run at (323,0) width 63: &quot; attribute.&quot;
+              RenderBlock {P} at (4,696) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 285x19
+                  text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (284,5) size 40x14
+                    text run at (284,5) width 40: &quot;style&quot;
+                RenderText {#text} at (323,0) size 63x19
+                  text run at (323,0) width 63: &quot; attribute.&quot;
+              RenderBlock {P} at (4,732) size 762x20 [color=#008000]
+                RenderText {#text} at (0,0) size 285x19
+                  text run at (0,0) width 285: &quot;This sentence should be green, and used the &quot;
+                RenderInline {TT} at (0,0) size 40x14
+                  RenderText {#text} at (284,5) size 40x14
+                    text run at (284,5) width 40: &quot;style&quot;
+                RenderText {#text} at (323,0) size 63x19
+                  text run at (323,0) width 63: &quot; attribute.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1unitslength_unitsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/units/length_units-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/units/length_units-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/units/length_units-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,171 @@
</span><ins>+layer at (0,0) size 800x1593
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x1593
+  RenderBlock {HTML} at (0,0) size 800x1593
+    RenderBody {BODY} at (8,8) size 784x1577 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x154
+        RenderText {#text} at (0,0) size 609x154
+          text run at (0,0) width 180: &quot;.zero {margin-left: 0;}&quot;
+          text run at (179,0) width 1: &quot; &quot;
+          text run at (0,14) width 188: &quot;.one {margin-left: 3em;}&quot;
+          text run at (187,14) width 1: &quot; &quot;
+          text run at (0,28) width 188: &quot;.two {margin-left: 3ex;}&quot;
+          text run at (187,28) width 1: &quot; &quot;
+          text run at (0,42) width 211: &quot;.three {margin-left: 36px;}&quot;
+          text run at (210,42) width 1: &quot; &quot;
+          text run at (0,56) width 211: &quot;.four {margin-left: 0.5in;}&quot;
+          text run at (210,56) width 1: &quot; &quot;
+          text run at (0,70) width 219: &quot;.five {margin-left: 1.27cm;}&quot;
+          text run at (218,70) width 1: &quot; &quot;
+          text run at (0,84) width 211: &quot;.six {margin-left: 12.7mm;}&quot;
+          text run at (210,84) width 1: &quot; &quot;
+          text run at (0,98) width 211: &quot;.seven {margin-left: 36pt;}&quot;
+          text run at (210,98) width 1: &quot; &quot;
+          text run at (0,112) width 203: &quot;.eight {margin-left: 3pc;}&quot;
+          text run at (202,112) width 1: &quot; &quot;
+          text run at (0,126) width 203: &quot;.nine {margin-left: +3pc;}&quot;
+          text run at (202,126) width 1: &quot; &quot;
+          text run at (0,140) width 609: &quot;.ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}&quot;
+          text run at (608,140) width 1: &quot; &quot;
+      RenderBlock {HR} at (0,203) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,221) size 784x40
+        RenderText {#text} at (0,0) size 777x39
+          text run at (0,0) width 777: &quot;This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges&quot;
+          text run at (0,20) width 356: &quot;should therefore be appropriately shifted to the right of &quot;
+        RenderInline {EM} at (0,0) size 25x19
+          RenderText {#text} at (355,20) size 25x19
+            text run at (355,20) width 25: &quot;this&quot;
+        RenderText {#text} at (379,20) size 141x19
+          text run at (379,20) width 141: &quot; paragraph's left edge.&quot;
+      RenderBlock {P} at (48,277) size 736x20
+        RenderText {#text} at (0,0) size 316x19
+          text run at (0,0) width 316: &quot;This paragraph should have a left margin of 3em.&quot;
+      RenderBlock {P} at (21,313) size 763x20
+        RenderText {#text} at (0,0) size 312x19
+          text run at (0,0) width 312: &quot;This paragraph should have a left margin of 3ex.&quot;
+      RenderBlock {P} at (36,349) size 748x20
+        RenderText {#text} at (0,0) size 347x19
+          text run at (0,0) width 347: &quot;This paragraph should have a left margin of 36 pixels.&quot;
+      RenderBlock {P} at (48,385) size 736x20
+        RenderText {#text} at (0,0) size 364x19
+          text run at (0,0) width 364: &quot;This paragraph should have a left margin of half an inch.&quot;
+      RenderBlock {P} at (48,421) size 736x20
+        RenderText {#text} at (0,0) size 336x19
+          text run at (0,0) width 336: &quot;This paragraph should have a left margin of 1.27cm.&quot;
+      RenderBlock {P} at (48,457) size 736x20
+        RenderText {#text} at (0,0) size 341x19
+          text run at (0,0) width 341: &quot;This paragraph should have a left margin of 12.7mm.&quot;
+      RenderBlock {P} at (48,493) size 736x20
+        RenderText {#text} at (0,0) size 348x19
+          text run at (0,0) width 348: &quot;This paragraph should have a left margin of 36 points.&quot;
+      RenderBlock {P} at (48,529) size 736x20
+        RenderText {#text} at (0,0) size 333x19
+          text run at (0,0) width 333: &quot;This paragraph should have a left margin of 3 picas.&quot;
+      RenderBlock {P} at (48,565) size 736x20
+        RenderText {#text} at (0,0) size 603x19
+          text run at (0,0) width 603: &quot;This paragraph should have a left margin of 3 picas (the plus sign should make no difference).&quot;
+      RenderBlock {P} at (0,625) size 784x235 [bgcolor=#00FFFF] [border: none (17.88px solid #800080)]
+        RenderText {#text} at (17,1) size 310x45
+          text run at (17,1) width 310: &quot;This element has a &quot;
+        RenderInline {CODE} at (0,0) size 217x41
+          RenderText {#text} at (326,6) size 217x41
+            text run at (326,6) width 217: &quot;font-size&quot;
+        RenderText {#text} at (542,1) size 55x45
+          text run at (542,1) width 55: &quot; of &quot;
+        RenderInline {CODE} at (0,0) size 97x41
+          RenderText {#text} at (596,6) size 97x41
+            text run at (596,6) width 97: &quot;40px&quot;
+        RenderText {#text} at (692,1) size 743x92
+          text run at (692,1) width 68: &quot; and&quot;
+          text run at (17,48) width 29: &quot;a &quot;
+        RenderInline {CODE} at (0,0) size 265x41
+          RenderText {#text} at (45,53) size 265x41
+            text run at (45,53) width 265: &quot;border-left&quot;
+        RenderText {#text} at (309,48) size 54x45
+          text run at (309,48) width 54: &quot; of &quot;
+        RenderInline {CODE} at (0,0) size 386x41
+          RenderText {#text} at (362,53) size 386x41
+            text run at (362,53) width 386: &quot;1ex solid purple&quot;
+        RenderText {#text} at (747,48) size 741x186
+          text run at (747,48) width 11: &quot;.&quot;
+          text run at (17,95) width 673: &quot;This should make the left border the same&quot;
+          text run at (17,142) width 710: &quot;number of pixels as the lower-case 'x' in this&quot;
+          text run at (17,189) width 611: &quot;element's font, as well as solid purple.&quot;
+      RenderTable {TABLE} at (0,900) size 784x677 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x675
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x647
+            RenderTableCell {TD} at (0,337) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x647 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x40
+                RenderText {#text} at (0,0) size 737x39
+                  text run at (0,0) width 737: &quot;This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)&quot;
+                  text run at (0,20) width 397: &quot;edges should therefore be appropriately shifted to the right of &quot;
+                RenderInline {EM} at (0,0) size 24x19
+                  RenderText {#text} at (396,20) size 24x19
+                    text run at (396,20) width 24: &quot;this&quot;
+                RenderText {#text} at (419,20) size 142x19
+                  text run at (419,20) width 142: &quot; paragraph's left edge.&quot;
+              RenderBlock {P} at (52,60) size 714x20
+                RenderText {#text} at (0,0) size 316x19
+                  text run at (0,0) width 316: &quot;This paragraph should have a left margin of 3em.&quot;
+              RenderBlock {P} at (25,96) size 741x20
+                RenderText {#text} at (0,0) size 312x19
+                  text run at (0,0) width 312: &quot;This paragraph should have a left margin of 3ex.&quot;
+              RenderBlock {P} at (40,132) size 726x20
+                RenderText {#text} at (0,0) size 347x19
+                  text run at (0,0) width 347: &quot;This paragraph should have a left margin of 36 pixels.&quot;
+              RenderBlock {P} at (52,168) size 714x20
+                RenderText {#text} at (0,0) size 364x19
+                  text run at (0,0) width 364: &quot;This paragraph should have a left margin of half an inch.&quot;
+              RenderBlock {P} at (52,204) size 714x20
+                RenderText {#text} at (0,0) size 336x19
+                  text run at (0,0) width 336: &quot;This paragraph should have a left margin of 1.27cm.&quot;
+              RenderBlock {P} at (52,240) size 714x20
+                RenderText {#text} at (0,0) size 341x19
+                  text run at (0,0) width 341: &quot;This paragraph should have a left margin of 12.7mm.&quot;
+              RenderBlock {P} at (52,276) size 714x20
+                RenderText {#text} at (0,0) size 348x19
+                  text run at (0,0) width 348: &quot;This paragraph should have a left margin of 36 points.&quot;
+              RenderBlock {P} at (52,312) size 714x20
+                RenderText {#text} at (0,0) size 333x19
+                  text run at (0,0) width 333: &quot;This paragraph should have a left margin of 3 picas.&quot;
+              RenderBlock {P} at (52,348) size 714x20
+                RenderText {#text} at (0,0) size 603x19
+                  text run at (0,0) width 603: &quot;This paragraph should have a left margin of 3 picas (the plus sign should make no difference).&quot;
+              RenderBlock {P} at (4,408) size 762x235 [bgcolor=#00FFFF] [border: none (17.88px solid #800080)]
+                RenderText {#text} at (17,1) size 310x45
+                  text run at (17,1) width 310: &quot;This element has a &quot;
+                RenderInline {CODE} at (0,0) size 217x41
+                  RenderText {#text} at (326,6) size 217x41
+                    text run at (326,6) width 217: &quot;font-size&quot;
+                RenderText {#text} at (542,1) size 55x45
+                  text run at (542,1) width 55: &quot; of &quot;
+                RenderInline {CODE} at (0,0) size 97x41
+                  RenderText {#text} at (596,6) size 97x41
+                    text run at (596,6) width 97: &quot;40px&quot;
+                RenderText {#text} at (692,1) size 743x92
+                  text run at (692,1) width 68: &quot; and&quot;
+                  text run at (17,48) width 29: &quot;a &quot;
+                RenderInline {CODE} at (0,0) size 265x41
+                  RenderText {#text} at (45,53) size 265x41
+                    text run at (45,53) width 265: &quot;border-left&quot;
+                RenderText {#text} at (309,48) size 54x45
+                  text run at (309,48) width 54: &quot; of &quot;
+                RenderInline {CODE} at (0,0) size 386x41
+                  RenderText {#text} at (362,53) size 386x41
+                    text run at (362,53) width 386: &quot;1ex solid purple&quot;
+                RenderText {#text} at (747,48) size 741x186
+                  text run at (747,48) width 11: &quot;.&quot;
+                  text run at (17,95) width 673: &quot;This should make the left border the same&quot;
+                  text run at (17,142) width 710: &quot;number of pixels as the lower-case 'x' in this&quot;
+                  text run at (17,189) width 611: &quot;element's font, as well as solid purple.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1unitspercentage_unitsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/units/percentage_units-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/units/percentage_units-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/units/percentage_units-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,66 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x70
+        RenderText {#text} at (0,0) size 492x70
+          text run at (0,0) width 219: &quot;.zero { background: yellow }&quot;
+          text run at (218,0) width 1: &quot; &quot;
+          text run at (0,14) width 492: &quot;.one { margin-left: 25%; margin-right: 25%; background: white }&quot;
+          text run at (491,14) width 1: &quot; &quot;
+          text run at (0,28) width 484: &quot;.two { margin-left: 50%; margin-right: 0%; background: white }&quot;
+          text run at (483,28) width 1: &quot; &quot;
+          text run at (0,42) width 203: &quot;.three {margin-left: 25%;}&quot;
+          text run at (202,42) width 1: &quot; &quot;
+          text run at (0,56) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,119) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {DIV} at (0,137) size 784x136 [bgcolor=#FFFF00]
+        RenderBlock {DIV} at (196,0) size 392x60 [bgcolor=#FFFFFF]
+          RenderBlock {P} at (0,0) size 392x60
+            RenderText {#text} at (0,0) size 332x59
+              text run at (0,0) width 332: &quot;This paragraph should be centered within its yellow&quot;
+              text run at (0,20) width 330: &quot;containing block and its width should be half of the&quot;
+              text run at (0,40) width 112: &quot;containing block.&quot;
+        RenderBlock {DIV} at (392,76) size 392x60 [bgcolor=#FFFFFF]
+          RenderBlock {P} at (0,0) size 392x60
+            RenderText {#text} at (0,0) size 361x59
+              text run at (0,0) width 361: &quot;This paragraph should be right-aligned within its yellow&quot;
+              text run at (0,20) width 330: &quot;containing block and its width should be half of the&quot;
+              text run at (0,40) width 112: &quot;containing block.&quot;
+      RenderBlock {P} at (196,289) size 588x40
+        RenderText {#text} at (0,0) size 560x39
+          text run at (0,0) width 560: &quot;This paragraph should have a left margin of 25% the width of its parent element, which&quot;
+          text run at (0,20) width 366: &quot;should require some extra text in order to test effectively.&quot;
+      RenderTable {TABLE} at (0,345) size 784x230 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x228
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x200
+            RenderTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (4,4) size 762x136 [bgcolor=#FFFF00]
+                RenderBlock {DIV} at (190,0) size 382x60 [bgcolor=#FFFFFF]
+                  RenderBlock {P} at (0,0) size 381x60
+                    RenderText {#text} at (0,0) size 332x59
+                      text run at (0,0) width 332: &quot;This paragraph should be centered within its yellow&quot;
+                      text run at (0,20) width 330: &quot;containing block and its width should be half of the&quot;
+                      text run at (0,40) width 112: &quot;containing block.&quot;
+                RenderBlock {DIV} at (381,76) size 381x60 [bgcolor=#FFFFFF]
+                  RenderBlock {P} at (0,0) size 381x60
+                    RenderText {#text} at (0,0) size 361x59
+                      text run at (0,0) width 361: &quot;This paragraph should be right-aligned within its yellow&quot;
+                      text run at (0,20) width 330: &quot;containing block and its width should be half of the&quot;
+                      text run at (0,40) width 112: &quot;containing block.&quot;
+              RenderBlock {P} at (194,156) size 572x40
+                RenderText {#text} at (0,0) size 560x39
+                  text run at (0,0) width 560: &quot;This paragraph should have a left margin of 25% the width of its parent element, which&quot;
+                  text run at (0,20) width 366: &quot;should require some extra text in order to test effectively.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorcss1unitsurlsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/css1/units/urls-expected.txt (0 => 174490)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/css1/units/urls-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/css1/units/urls-expected.txt        2014-10-09 01:48:54 UTC (rev 174490)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 363x19
+          text run at (0,0) width 363: &quot;The style declarations which apply to the text below are:&quot;
+      RenderBlock {PRE} at (0,36) size 784x56
+        RenderText {#text} at (0,0) size 632x56
+          text run at (0,0) width 632: &quot;&lt;LINK rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; media=\&quot;screen\&quot; href=\&quot;../resources/bg.gif\&quot;&gt;&quot;
+          text run at (631,0) width 1: &quot; &quot;
+          text run at (0,14) width 289: &quot;@import url(../resources/sec642.css);&quot;
+          text run at (288,14) width 1: &quot; &quot;
+          text run at (0,28) width 344: &quot;BODY {background: url(../resources/bg.gif);}&quot;
+          text run at (343,28) width 1: &quot; &quot;
+          text run at (0,42) width 0: &quot; &quot;
+      RenderBlock {HR} at (0,105) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,123) size 784x20
+        RenderText {#text} at (0,0) size 393x19
+          text run at (0,0) width 393: &quot;This page should have a green grid pattern as its background.&quot;
+      RenderBlock {P} at (0,159) size 784x60 [bgcolor=#FFFFFF]
+        RenderText {#text} at (0,0) size 783x59
+          text run at (0,0) width 627: &quot;This paragraph should have a white background, but NO image should appear in the background. &quot;
+          text run at (626,0) width 153: &quot;If an image, in this case&quot;
+          text run at (0,20) width 783: &quot;a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the&quot;
+          text run at (0,40) width 277: &quot;document's URL, not the stylesheet's URL.&quot;
+      RenderBlock {P} at (0,235) size 784x60 [bgcolor=#FFFFFF]
+        RenderText {#text} at (0,0) size 783x59
+          text run at (0,0) width 627: &quot;This paragraph should have a white background, but NO image should appear in the background. &quot;
+          text run at (626,0) width 153: &quot;If an image, in this case&quot;
+          text run at (0,20) width 783: &quot;a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the&quot;
+          text run at (0,40) width 277: &quot;document's URL, not the stylesheet's URL.&quot;
+      RenderTable {TABLE} at (0,311) size 784x210 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 782x208
+          RenderTableRow {TR} at (0,0) size 782x28
+            RenderTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              RenderInline {STRONG} at (0,0) size 161x19
+                RenderText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: &quot;TABLE Testing Section&quot;
+          RenderTableRow {TR} at (0,28) size 782x180
+            RenderTableCell {TD} at (0,104) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: &quot; &quot;
+            RenderTableCell {TD} at (12,28) size 770x180 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderBlock {P} at (4,4) size 762x20
+                RenderText {#text} at (0,0) size 393x19
+                  text run at (0,0) width 393: &quot;This page should have a green grid pattern as its background.&quot;
+              RenderBlock {P} at (4,40) size 762x60 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 748x59
+                  text run at (0,0) width 627: &quot;This paragraph should have a white background, but NO image should appear in the background. &quot;
+                  text run at (626,0) width 122: &quot;If an image, in this&quot;
+                  text run at (0,20) width 722: &quot;case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in&quot;
+                  text run at (0,40) width 370: &quot;relation to the document's URL, not the stylesheet's URL.&quot;
+              RenderBlock {P} at (4,116) size 762x60 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 748x59
+                  text run at (0,0) width 627: &quot;This paragraph should have a white background, but NO image should appear in the background. &quot;
+                  text run at (626,0) width 122: &quot;If an image, in this&quot;
+                  text run at (0,20) width 722: &quot;case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in&quot;
+                  text run at (0,40) width 370: &quot;relation to the document's URL, not the stylesheet's URL.&quot;
</ins></span></pre>
</div>
</div>

</body>
</html>