<!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>[200589] 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/200589">200589</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2016-05-09 13:22:54 -0700 (Mon, 09 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Upstream some iOS text autosizing tests.

* fast/text-autosizing/ios/anonymous-block.html: Added.
* fast/text-autosizing/ios/contenteditable.html: Added.
* fast/text-autosizing/ios/first-letter.html: Added.
* fast/text-autosizing/ios/font-family-case-insensitive-expected.txt: Added.
* fast/text-autosizing/ios/font-family-case-insensitive.html: Added.
* fast/text-autosizing/ios/lists.html: Added.
* fast/text-autosizing/ios/overflow.html: Added.
* fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt: Added.
* fast/text-autosizing/ios/percent-adjust-length-line-height.html: Added.
* fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt: Added.
* fast/text-autosizing/ios/percent-adjust-number-line-height.html: Added.
* fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt: Added.
* fast/text-autosizing/ios/percent-adjust-percent-line-height.html: Added.
* platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt: Added.
* platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt: Added.
* platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt: Added.
* platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt: Added.
* platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt: Added.
* platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt: Added.
* platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt: Added.
* platform/mac/fast/text-autosizing/ios/first-letter-expected.txt: Added.
* platform/mac/fast/text-autosizing/ios/lists-expected.txt: Added.
* platform/mac/fast/text-autosizing/ios/overflow-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><a href="#trunkLayoutTestsfasttextautosizingiosanonymousblockhtml">trunk/LayoutTests/fast/text-autosizing/ios/anonymous-block.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingioscontenteditablehtml">trunk/LayoutTests/fast/text-autosizing/ios/contenteditable.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosfirstletterhtml">trunk/LayoutTests/fast/text-autosizing/ios/first-letter.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosfontfamilycaseinsensitiveexpectedtxt">trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosfontfamilycaseinsensitivehtml">trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingioslistshtml">trunk/LayoutTests/fast/text-autosizing/ios/lists.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosoverflowhtml">trunk/LayoutTests/fast/text-autosizing/ios/overflow.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustlengthlineheightexpectedtxt">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustlengthlineheighthtml">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustnumberlineheightexpectedtxt">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustnumberlineheighthtml">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustpercentlineheightexpectedtxt">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiospercentadjustpercentlineheighthtml">trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height.html</a></li>
<li>trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/</li>
<li>trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextautosizingiosanonymousblockexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextautosizingioscontenteditableexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextautosizingiosfirstletterexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextautosizingioslistsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextautosizingiosoverflowexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingiosanonymousblockexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingioscontenteditableexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingiosfirstletterexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/first-letter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingioslistsexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingiosoverflowexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/overflow-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (200588 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-05-09 20:22:47 UTC (rev 200588)
+++ trunk/LayoutTests/ChangeLog        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2016-05-09  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Upstream some iOS text autosizing tests.
+
+        * fast/text-autosizing/ios/anonymous-block.html: Added.
+        * fast/text-autosizing/ios/contenteditable.html: Added.
+        * fast/text-autosizing/ios/first-letter.html: Added.
+        * fast/text-autosizing/ios/font-family-case-insensitive-expected.txt: Added.
+        * fast/text-autosizing/ios/font-family-case-insensitive.html: Added.
+        * fast/text-autosizing/ios/lists.html: Added.
+        * fast/text-autosizing/ios/overflow.html: Added.
+        * fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt: Added.
+        * fast/text-autosizing/ios/percent-adjust-length-line-height.html: Added.
+        * fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt: Added.
+        * fast/text-autosizing/ios/percent-adjust-number-line-height.html: Added.
+        * fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt: Added.
+        * fast/text-autosizing/ios/percent-adjust-percent-line-height.html: Added.
+        * platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt: Added.
+        * platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt: Added.
+        * platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt: Added.
+        * platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt: Added.
+        * platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt: Added.
+        * platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt: Added.
+        * platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt: Added.
+        * platform/mac/fast/text-autosizing/ios/first-letter-expected.txt: Added.
+        * platform/mac/fast/text-autosizing/ios/lists-expected.txt: Added.
+        * platform/mac/fast/text-autosizing/ios/overflow-expected.txt: Added.
+
</ins><span class="cx"> 2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [iOS WK2] Font size increases on some pages after navigating then going back
</span></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosanonymousblockhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/anonymous-block.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/anonymous-block.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/anonymous-block.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(true);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+&lt;p&gt;
+    This tests that line-height adjustments for text autosizing are preserved when anonymous blocks
+    are destroyed during incremental layout.
+&lt;/p&gt;
+&lt;div style=&quot;width: 600px; line-height: 20px;&quot;&gt;
+    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit arcu eu elit vulputate non hendrerit velit consequat.
+    &lt;div id=&quot;target&quot;&gt;&lt;/div&gt;
+    Etiam venenatis posuere nisl id sagittis. Fusce tincidunt velit at sapien porta ornare. Morbi egestas, diam nec ultricies molestie, est velit ultricies leo, aliquet placerat justo libero id arcu.
+&lt;/div&gt;
+&lt;script&gt;
+    document.body.offsetTop;
+    var pre = document.querySelector(&quot;div#target&quot;);
+    pre.parentNode.replaceChild(document.createElement(&quot;div&quot;), pre);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingioscontenteditablehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/contenteditable.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/contenteditable.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/contenteditable.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(true);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+&lt;p&gt;
+    This tests that text autosizing is not applied to editable elements and
+    documents.
+&lt;/p&gt;
+&lt;div contenteditable style=&quot;width: 600px;&quot;&gt;
+    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit arcu eu elit vulputate non hendrerit velit consequat.
+    &lt;br&gt;
+    Etiam venenatis posuere nisl id sagittis. Fusce tincidunt velit at sapien porta ornare. Morbi egestas, diam nec ultricies molestie, est velit ultricies leo, aliquet placerat justo libero id arcu.
+&lt;/div&gt;
+&lt;iframe src='data:text/html,
+    &lt;script&gt;
+        document.designMode = &quot;on&quot;;
+    &lt;/script&gt;
+    &lt;div contenteditable style=&quot;width: 600px;&quot;&gt;
+        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit arcu eu elit vulputate non hendrerit velit consequat.
+        &lt;br&gt;
+        Etiam venenatis posuere nisl id sagittis. Fusce tincidunt velit at sapien porta ornare. Morbi egestas, diam nec ultricies molestie, est velit ultricies leo, aliquet placerat justo libero id arcu.
+    &lt;/div&gt;
+'&gt;
+&lt;/iframe&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosfirstletterhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/first-letter.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/first-letter.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/first-letter.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+        &lt;style&gt;
+        p.firstLetter:first-letter {
+            color: green;
+        }
+        p.float:first-letter {
+            float: left;
+        }
+    &lt;/style&gt;
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p&gt;The following lines should be identical.&lt;/p&gt;
+    &lt;p&gt;&lt;span style=&quot;color:green&quot;&gt;A&lt;/span&gt;-Z&lt;/p&gt;
+    &lt;p class=&quot;firstLetter&quot;&gt;A-Z&lt;/p&gt;
+    &lt;p class=&quot;firstLetter float&quot;&gt;A-Z&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosfontfamilycaseinsensitiveexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Each row of the table should have text that is the same size.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+PASS &lt;font&gt; rows were all the same size
+PASS &lt;span&gt; rows were all the same size
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosfontfamilycaseinsensitivehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/font-family-case-insensitive.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;Case-Insensitive Font Family Name Comparisons&lt;/title&gt;
+&lt;script src=&quot;../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(true);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
+&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;content&quot;&gt;
+
+    &lt;!-- HTML &lt;font&gt; Styling --&gt;
+    &lt;table width=&quot;600&quot;&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;font face=&quot;VERDANA&quot;&gt;Test&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;font face=&quot;VERDANA&quot;&gt;Test&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;font face=&quot;Verdana&quot;&gt;Test&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;font face=&quot;VERDANA&quot;&gt;Test&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
+    &lt;/table&gt;
+
+    &lt;!-- CSS font-family Styling --&gt;
+    &lt;table width=&quot;600&quot;&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;span class=&quot;test&quot; style=&quot;font-family:VERDANA&quot;&gt;Test&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;span class=&quot;test&quot; style=&quot;font-family:VERDANA&quot;&gt;Test&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;span class=&quot;test&quot; style=&quot;font-family:Verdana&quot;&gt;Test&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+        &lt;tr&gt;&lt;td&gt;&lt;span class=&quot;test&quot; style=&quot;font-family:VERDANA&quot;&gt;Test&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+    &lt;/table&gt;
+
+&lt;/div&gt;
+
+&lt;script&gt;
+description('Each row of the table should have text that is the same size.');
+
+function verifyEqualSizes(list, description) {
+    var hadFailure = false;
+    var firstRowRect = list[0].getBoundingClientRect();
+    for (var i=0; i&lt;list.length; ++i) {
+        var row = list[i].getBoundingClientRect();
+        if (row.width !== firstRowRect.width || row.height !== firstRowRect.height) {
+            hadFailure = true;
+            testFailed('Row ' + i + ': was ' + row.width + 'x' + row.height +
+              ' but should have been ' + firstRowRect.width + 'x' + firstRowRect.height);
+        }
+    }
+
+    if (!hadFailure)
+        testPassed(description + ' rows were all the same size');
+}
+
+window.onload = function() {
+    verifyEqualSizes(document.querySelectorAll('font'), '&lt;font&gt;');
+    verifyEqualSizes(document.querySelectorAll('span.test'), '&lt;span&gt;');
+    document.getElementById('content').style.display = 'none';
+    finishJSTest();
+}
+
+window.jsTestIsAsync = true;
+var successfullyParsed = true;
+&lt;/script&gt;
+&lt;script src=&quot;../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingioslistshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/lists.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/lists.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/lists.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    '1' markers should be the same size
+    &lt;ol&gt;
+        &lt;li&gt;first
+        &lt;ol&gt;&lt;li&gt;second&lt;/li&gt;&lt;/ol&gt;
+        &lt;/li&gt;
+    &lt;/ol&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosoverflowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/overflow.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/overflow.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/overflow.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;style type=&quot;text/css&quot;&gt;
+    div {
+        border-style:solid;
+        border-width:2px;
+        padding: 10px;
+        margin: 10px;
+    };
+    &lt;/style&gt;
+
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;div style=&quot;height:100px&quot;&gt;
+        &lt;p&gt;&lt;b&gt;This text shouldn't autosize. Usually this appears to be a designer's fault, when the new text is added, but block height is not changed. Or an overflow was made intentionally for some purpose.&lt;/b&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;p&gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
+        &lt;div&gt;
+            &lt;b&gt;Still should not.&lt;/b&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;p&gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
+            &lt;div&gt;
+                &lt;b&gt;Still should not.&lt;/b&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;p&gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
+                &lt;div&gt;
+                    &lt;p&gt;&lt;b&gt;This text should autoresize. Sometimes content is being put in fixed-height (by a mistake) blocks to apply some styles.&lt;/b&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;p&gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
+                    &lt;div&gt;
+                    &lt;b&gt;Should as well.&lt;/b&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;p&gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
+                &lt;/div&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+    &lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustlengthlineheightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests length line-height adjustment for percentage -webkit-text-size-adjust values.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+PASS computedLineHeight is '24px'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustlengthlineheighthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-length-line-height.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta name=&quot;viewport&quot; content=&quot;user-scalable=no, width=320&quot;&gt;
+    &lt;title&gt;&amp;lt;rdar://problem/6646628&amp;gt; Text Autosizing: Overlapping text in message&lt;/title&gt;
+    &lt;style&gt;
+    body {
+        font-size: 14px;
+        line-height: 16px;
+    }
+    html {
+        -webkit-text-size-adjust: 150%;
+    }
+    &lt;/style&gt;
+    &lt;script src=&quot;../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p id=&quot;lorem&quot;&gt;This text should have a decent spacing between the lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante orci, posuere at aliquam eget, ornare ut sapien. Praesent commodo volutpat auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus interdum tincidunt pulvinar. Donec nec libero eros. Morbi facilisis lacus quis mi mattis quis pretium velit fringilla. Integer ipsum metus, pretium et tincidunt eget, commodo vel nibh. Cras feugiat lorem et velit interdum eu luctus dui gravida. Nullam nec gravida orci. Vestibulum quis imperdiet nibh. Vivamus tincidunt erat ac risus egestas mattis.&lt;/p&gt;
+    &lt;script&gt;
+    description(&quot;Tests length line-height adjustment for percentage -webkit-text-size-adjust values.&quot;);
+    var p = document.getElementById(&quot;lorem&quot;);
+    computedLineHeight = window.getComputedStyle(p)['line-height'];
+    shouldBe(&quot;computedLineHeight&quot;, &quot;'24px'&quot;);
+    p.remove();
+    successfullyParsed = true;
+    &lt;/script&gt;
+    &lt;script src=&quot;../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustnumberlineheightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests number line-height is adjusted with percentage -webkit-text-size-adjust values.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+PASS testedLineHeight is expectedLineHeight
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustnumberlineheighthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-number-line-height.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta name=&quot;viewport&quot; content=&quot;user-scalable=no, width=320&quot;&gt;
+    &lt;title&gt;&amp;lt;rdar://problem/6646628&amp;gt; Text Autosizing: Overlapping text in message&lt;/title&gt;
+    &lt;style&gt;
+    #expected {
+        font-size: 10px;
+        line-height: 1.5;
+        -webkit-text-size-adjust: 100%;
+    }
+    #tested {
+        font-size: 20px;
+        line-height: 1.5;
+        -webkit-text-size-adjust: 50%;
+    }
+    &lt;/style&gt;
+    &lt;script src=&quot;../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p id=&quot;expected&quot;&gt;This text should have a decent spacing between the lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante orci, posuere at aliquam eget, ornare ut sapien. Praesent commodo volutpat auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus interdum tincidunt pulvinar. Donec nec libero eros. Morbi facilisis lacus quis mi mattis quis pretium velit fringilla. Integer ipsum metus, pretium et tincidunt eget, commodo vel nibh. Cras feugiat lorem et velit interdum eu luctus dui gravida. Nullam nec gravida orci. Vestibulum quis imperdiet nibh. Vivamus tincidunt erat ac risus egestas mattis.&lt;/p&gt;
+    &lt;p id=&quot;tested&quot;&gt;This text should have a decent spacing between the lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante orci, posuere at aliquam eget, ornare ut sapien. Praesent commodo volutpat auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus interdum tincidunt pulvinar. Donec nec libero eros. Morbi facilisis lacus quis mi mattis quis pretium velit fringilla. Integer ipsum metus, pretium et tincidunt eget, commodo vel nibh. Cras feugiat lorem et velit interdum eu luctus dui gravida. Nullam nec gravida orci. Vestibulum quis imperdiet nibh. Vivamus tincidunt erat ac risus egestas mattis.&lt;/p&gt;
+    &lt;script&gt;
+    description(&quot;Tests number line-height is adjusted with percentage -webkit-text-size-adjust values.&quot;);
+    var expected = document.getElementById(&quot;expected&quot;);
+    var tested = document.getElementById(&quot;tested&quot;);
+    expectedLineHeight = window.getComputedStyle(expected)['line-height'];
+    testedLineHeight = window.getComputedStyle(tested)['line-height'];
+    shouldBe(&quot;testedLineHeight&quot;, &quot;expectedLineHeight&quot;);
+    expected.remove();
+    tested.remove();
+    successfullyParsed = true;
+    &lt;/script&gt;
+    &lt;script src=&quot;../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustpercentlineheightexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests percentage line-height is not adjusted with percentage -webkit-text-size-adjust values.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+PASS testedLineHeight is expectedLineHeight
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiospercentadjustpercentlineheighthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height.html (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/percent-adjust-percent-line-height.html        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta name=&quot;viewport&quot; content=&quot;user-scalable=no, width=320&quot;&gt;
+    &lt;title&gt;&amp;lt;rdar://problem/12607898&amp;gt; incorrect behavior of -webkit-text-size-adjust in UIWebView on iOS6&lt;/title&gt;
+    &lt;style&gt;
+    #expected {
+        font-size: 10px;
+        line-height: 150%;
+        -webkit-text-size-adjust: 100%;
+    }
+    #tested {
+        font-size: 20px;
+        line-height: 150%;
+        -webkit-text-size-adjust: 50%;
+    }
+    &lt;/style&gt;
+    &lt;script src=&quot;../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+    &lt;script&gt;
+    if (window.internals) {
+        window.internals.settings.setTextAutosizingEnabled(true);
+        window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+    }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p id=&quot;expected&quot;&gt;This text should have a decent spacing between the lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante orci, posuere at aliquam eget, ornare ut sapien. Praesent commodo volutpat auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus interdum tincidunt pulvinar. Donec nec libero eros. Morbi facilisis lacus quis mi mattis quis pretium velit fringilla. Integer ipsum metus, pretium et tincidunt eget, commodo vel nibh. Cras feugiat lorem et velit interdum eu luctus dui gravida. Nullam nec gravida orci. Vestibulum quis imperdiet nibh. Vivamus tincidunt erat ac risus egestas mattis.&lt;/p&gt;
+    &lt;p id=&quot;tested&quot;&gt;This text should have a decent spacing between the lines. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante orci, posuere at aliquam eget, ornare ut sapien. Praesent commodo volutpat auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus interdum tincidunt pulvinar. Donec nec libero eros. Morbi facilisis lacus quis mi mattis quis pretium velit fringilla. Integer ipsum metus, pretium et tincidunt eget, commodo vel nibh. Cras feugiat lorem et velit interdum eu luctus dui gravida. Nullam nec gravida orci. Vestibulum quis imperdiet nibh. Vivamus tincidunt erat ac risus egestas mattis.&lt;/p&gt;
+    &lt;script&gt;
+    description(&quot;Tests percentage line-height is not adjusted with percentage -webkit-text-size-adjust values.&quot;);
+    var expected = document.getElementById(&quot;expected&quot;);
+    var tested = document.getElementById(&quot;tested&quot;);
+    expectedLineHeight = window.getComputedStyle(expected)['line-height'];
+    testedLineHeight = window.getComputedStyle(tested)['line-height'];
+    shouldBe(&quot;testedLineHeight&quot;, &quot;expectedLineHeight&quot;);
+    expected.remove();
+    tested.remove();
+    successfullyParsed = true;
+    &lt;/script&gt;
+    &lt;script src=&quot;../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextautosizingiosanonymousblockexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/anonymous-block-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,23 @@
</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 784x40
+        RenderText {#text} at (0,0) size 751x39
+          text run at (0,0) width 619: &quot;This tests that line-height adjustments for text autosizing are preserved when anonymous blocks &quot;
+          text run at (618,0) width 133: &quot;are destroyed during&quot;
+          text run at (0,20) width 124: &quot;incremental layout.&quot;
+      RenderBlock {DIV} at (0,56) size 600x224
+        RenderBlock (anonymous) at (0,0) size 600x96
+          RenderText {#text} at (0,1) size 585x94
+            text run at (0,1) width 580: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&quot;
+            text run at (0,33) width 585: &quot;Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit&quot;
+            text run at (0,65) width 535: &quot;arcu eu elit vulputate non hendrerit velit consequat.&quot;
+        RenderBlock {DIV} at (0,96) size 600x0
+        RenderBlock (anonymous) at (0,96) size 600x128
+          RenderText {#text} at (0,1) size 578x126
+            text run at (0,1) width 578: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt&quot;
+            text run at (0,33) width 545: &quot;velit at sapien porta ornare. Morbi egestas, diam nec&quot;
+            text run at (0,65) width 574: &quot;ultricies molestie, est velit ultricies leo, aliquet placerat&quot;
+            text run at (0,97) width 203: &quot;justo libero id arcu.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextautosizingioscontenteditableexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/contenteditable-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,39 @@
</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 514x19
+          text run at (0,0) width 440: &quot;This tests that text autosizing is not applied to editable elements and &quot;
+          text run at (439,0) width 75: &quot;documents.&quot;
+      RenderBlock {DIV} at (0,36) size 600x80
+        RenderText {#text} at (0,0) size 595x39
+          text run at (0,0) width 591: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu nisl leo, vel commodo&quot;
+          text run at (590,0) width 5: &quot; &quot;
+          text run at (0,20) width 464: &quot;nibh. Fusce suscipit arcu eu elit vulputate non hendrerit velit consequat. &quot;
+        RenderBR {BR} at (0,0) size 0x0
+        RenderText {#text} at (0,40) size 600x39
+          text run at (0,40) width 579: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt velit at sapien porta ornare. Morbi&quot;
+          text run at (578,40) width 5: &quot; &quot;
+          text run at (0,60) width 599: &quot;egestas, diam nec ultricies molestie, est velit ultricies leo, aliquet placerat justo libero id arcu.&quot;
+          text run at (598,60) width 2: &quot; &quot;
+      RenderBlock (anonymous) at (0,116) size 784x154
+        RenderPartObject {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
+          layer at (0,0) size 608x150
+            RenderView at (0,0) size 300x150
+          layer at (0,0) size 300x150
+            RenderBlock {HTML} at (0,0) size 300x150
+              RenderBody {BODY} at (8,8) size 284x134
+                RenderBlock {DIV} at (0,0) size 600x80
+                  RenderText {#text} at (0,0) size 595x39
+                    text run at (0,0) width 591: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu nisl leo, vel commodo&quot;
+                    text run at (590,0) width 5: &quot; &quot;
+                    text run at (0,20) width 464: &quot;nibh. Fusce suscipit arcu eu elit vulputate non hendrerit velit consequat. &quot;
+                  RenderBR {BR} at (0,0) size 0x0
+                  RenderText {#text} at (0,40) size 600x39
+                    text run at (0,40) width 579: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt velit at sapien porta ornare. Morbi&quot;
+                    text run at (578,40) width 5: &quot; &quot;
+                    text run at (0,60) width 599: &quot;egestas, diam nec ultricies molestie, est velit ultricies leo, aliquet placerat justo libero id arcu.&quot;
+                    text run at (598,60) width 2: &quot;    &quot;
+        RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextautosizingiosfirstletterexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/first-letter-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,26 @@
</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 784x576
+      RenderBlock {P} at (0,0) size 784x27
+        RenderText {#text} at (0,0) size 366x26
+          text run at (0,0) width 366: &quot;The following lines should be identical.&quot;
+      RenderBlock {P} at (0,43) size 784x27
+        RenderInline {SPAN} at (0,0) size 17x26 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
+      RenderBlock {P} at (0,86) size 784x27
+        RenderInline (generated) at (0,0) size 17x26 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
+      RenderBlock {P} at (0,129) size 784x27
+        RenderBlock (floating) at (0,0) size 17x27 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextautosizingioslistsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/lists-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,19 @@
</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 784x576
+      RenderBlock (anonymous) at (0,0) size 784x27
+        RenderText {#text} at (0,0) size 323x26
+          text run at (0,0) width 323: &quot;'1' markers should be the same size&quot;
+      RenderBlock {OL} at (0,43) size 784x54
+        RenderListItem {LI} at (40,0) size 744x54
+          RenderBlock (anonymous) at (0,0) size 744x27
+            RenderListMarker at (-30,0) size 23x26: &quot;1&quot;
+            RenderText {#text} at (0,0) size 38x26
+              text run at (0,0) width 38: &quot;first&quot;
+          RenderBlock {OL} at (0,27) size 744x27
+            RenderListItem {LI} at (40,0) size 704x27
+              RenderListMarker at (-30,0) size 23x26: &quot;1&quot;
+              RenderText {#text} at (0,0) size 64x26
+                text run at (0,0) width 64: &quot;second&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextautosizingiosoverflowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text-autosizing/ios/overflow-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+layer at (0,0) size 800x1572
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,10) size 784x580
+      RenderBlock {DIV} at (10,0) size 764x124 [border: (2px solid #000000)]
+        RenderBlock {P} at (12,28) size 740x80
+          RenderInline {B} at (0,0) size 715x39
+            RenderText {#text} at (0,0) size 715x39
+              text run at (0,0) width 715: &quot;This text shouldn't autosize. Usually this appears to be a designer's fault, when the new text is added, but&quot;
+              text run at (0,20) width 585: &quot;block height is not changed. Or an overflow was made intentionally for some purpose.&quot;
+          RenderText {#text} at (584,20) size 739x59
+            text run at (584,20) width 148: &quot; Lorem ipsum dolor sit&quot;
+            text run at (0,40) width 739: &quot;amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat&quot;
+            text run at (0,60) width 57: &quot;volutpat.&quot;
+        RenderBlock {P} at (12,124) size 740x80
+          RenderText {#text} at (0,0) size 738x79
+            text run at (0,0) width 686: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea&quot;
+            text run at (0,20) width 720: &quot;commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel&quot;
+            text run at (0,40) width 738: &quot;illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum&quot;
+            text run at (0,60) width 346: &quot;zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+        RenderBlock {DIV} at (22,220) size 720x1342 [border: (2px solid #000000)]
+          RenderBlock (anonymous) at (12,12) size 696x40
+            RenderInline {B} at (0,0) size 108x19
+              RenderText {#text} at (0,0) size 108x19
+                text run at (0,0) width 108: &quot;Still should not.&quot;
+            RenderText {#text} at (107,0) size 696x39
+              text run at (107,0) width 589: &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod&quot;
+              text run at (0,20) width 357: &quot;tincidunt ut laoreet dolore magna aliquam erat volutpat.&quot;
+          RenderBlock {P} at (12,68) size 696x80
+            RenderText {#text} at (0,0) size 686x79
+              text run at (0,0) width 686: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea&quot;
+              text run at (0,20) width 625: &quot;commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie&quot;
+              text run at (0,40) width 667: &quot;consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui&quot;
+              text run at (0,60) width 512: &quot;blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+          RenderBlock {DIV} at (22,164) size 676x1156 [border: (2px solid #000000)]
+            RenderBlock (anonymous) at (12,12) size 652x40
+              RenderInline {B} at (0,0) size 108x19
+                RenderText {#text} at (0,0) size 108x19
+                  text run at (0,0) width 108: &quot;Still should not.&quot;
+              RenderText {#text} at (107,0) size 638x39
+                text run at (107,0) width 531: &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh&quot;
+                text run at (0,20) width 415: &quot;euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.&quot;
+            RenderBlock {P} at (12,68) size 652x80
+              RenderText {#text} at (0,0) size 648x79
+                text run at (0,0) width 648: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip&quot;
+                text run at (0,20) width 604: &quot;ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse&quot;
+                text run at (0,40) width 635: &quot;molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio&quot;
+                text run at (0,60) width 603: &quot;dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+            RenderBlock {DIV} at (22,164) size 632x970 [border: (2px solid #000000)]
+              RenderBlock {P} at (12,28) size 608x192
+                RenderInline {B} at (0,0) size 542x94
+                  RenderText {#text} at (0,1) size 542x94
+                    text run at (0,1) width 542: &quot;This text should autoresize. Sometimes content is&quot;
+                    text run at (0,33) width 542: &quot;being put in fixed-height (by a mistake) blocks to&quot;
+                    text run at (0,65) width 199: &quot;apply some styles.&quot;
+                RenderText {#text} at (198,65) size 576x126
+                  text run at (198,65) width 303: &quot; Lorem ipsum dolor sit amet,&quot;
+                  text run at (0,97) width 554: &quot;consectetuer adipiscing elit, sed diam nonummy nibh&quot;
+                  text run at (0,129) width 576: &quot;euismod tincidunt ut laoreet dolore magna aliquam erat&quot;
+                  text run at (0,161) width 92: &quot;volutpat.&quot;
+              RenderBlock {P} at (12,236) size 608x256
+                RenderText {#text} at (0,1) size 600x254
+                  text run at (0,1) width 600: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation&quot;
+                  text run at (0,33) width 508: &quot;ullamcorper suscipit lobortis nisl ut aliquip ex ea&quot;
+                  text run at (0,65) width 588: &quot;commodo consequat. Duis autem vel eum iriure dolor in&quot;
+                  text run at (0,97) width 577: &quot;hendrerit in vulputate velit esse molestie consequat, vel&quot;
+                  text run at (0,129) width 537: &quot;illum dolore eu feugiat nulla facilisis at vero eros et&quot;
+                  text run at (0,161) width 557: &quot;accumsan et iusto odio dignissim qui blandit praesent&quot;
+                  text run at (0,193) width 577: &quot;luptatum zzril delenit augue duis dolore te feugait nulla&quot;
+                  text run at (0,225) width 78: &quot;facilisi.&quot;
+              RenderBlock {DIV} at (22,508) size 588x440 [border: (2px solid #000000)]
+                RenderBlock (anonymous) at (12,12) size 564x128
+                  RenderInline {B} at (0,0) size 166x30
+                    RenderText {#text} at (0,1) size 166x30
+                      text run at (0,1) width 166: &quot;Should as well.&quot;
+                  RenderText {#text} at (165,1) size 554x126
+                    text run at (165,1) width 303: &quot; Lorem ipsum dolor sit amet,&quot;
+                    text run at (0,33) width 554: &quot;consectetuer adipiscing elit, sed diam nonummy nibh&quot;
+                    text run at (0,65) width 530: &quot;euismod tincidunt ut laoreet dolore magna aliquam&quot;
+                    text run at (0,97) width 138: &quot;erat volutpat.&quot;
+                RenderBlock {P} at (12,156) size 564x256
+                  RenderText {#text} at (0,1) size 564x254
+                    text run at (0,1) width 534: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci&quot;
+                    text run at (0,33) width 544: &quot;tation ullamcorper suscipit lobortis nisl ut aliquip ex&quot;
+                    text run at (0,65) width 529: &quot;ea commodo consequat. Duis autem vel eum iriure&quot;
+                    text run at (0,97) width 510: &quot;dolor in hendrerit in vulputate velit esse molestie&quot;
+                    text run at (0,129) width 564: &quot;consequat, vel illum dolore eu feugiat nulla facilisis at&quot;
+                    text run at (0,161) width 513: &quot;vero eros et accumsan et iusto odio dignissim qui&quot;
+                    text run at (0,193) width 513: &quot;blandit praesent luptatum zzril delenit augue duis&quot;
+                    text run at (0,225) width 313: &quot;dolore te feugait nulla facilisi.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingiosanonymousblockexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/anonymous-block-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,23 @@
</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 784x36
+        RenderText {#text} at (0,0) size 751x36
+          text run at (0,0) width 619: &quot;This tests that line-height adjustments for text autosizing are preserved when anonymous blocks &quot;
+          text run at (618,0) width 133: &quot;are destroyed during&quot;
+          text run at (0,18) width 124: &quot;incremental layout.&quot;
+      RenderBlock {DIV} at (0,52) size 600x224
+        RenderBlock (anonymous) at (0,0) size 600x96
+          RenderText {#text} at (0,0) size 585x95
+            text run at (0,0) width 580: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&quot;
+            text run at (0,32) width 585: &quot;Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit&quot;
+            text run at (0,64) width 535: &quot;arcu eu elit vulputate non hendrerit velit consequat.&quot;
+        RenderBlock {DIV} at (0,96) size 600x0
+        RenderBlock (anonymous) at (0,96) size 600x128
+          RenderText {#text} at (0,0) size 578x127
+            text run at (0,0) width 578: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt&quot;
+            text run at (0,32) width 545: &quot;velit at sapien porta ornare. Morbi egestas, diam nec&quot;
+            text run at (0,64) width 574: &quot;ultricies molestie, est velit ultricies leo, aliquet placerat&quot;
+            text run at (0,96) width 203: &quot;justo libero id arcu.&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingioscontenteditableexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/contenteditable-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</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
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 514x18
+          text run at (0,0) width 440: &quot;This tests that text autosizing is not applied to editable elements and &quot;
+          text run at (439,0) width 75: &quot;documents.&quot;
+      RenderBlock {DIV} at (0,34) size 600x217
+        RenderText {#text} at (0,0) size 592x93
+          text run at (0,0) width 580: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&quot;
+          text run at (579,0) width 8: &quot; &quot;
+          text run at (0,31) width 585: &quot;Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit&quot;
+          text run at (584,31) width 8: &quot; &quot;
+          text run at (0,62) width 541: &quot;arcu eu elit vulputate non hendrerit velit consequat. &quot;
+        RenderBR {BR} at (0,0) size 0x0
+        RenderText {#text} at (0,93) size 585x124
+          text run at (0,93) width 578: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt&quot;
+          text run at (577,93) width 8: &quot; &quot;
+          text run at (0,124) width 545: &quot;velit at sapien porta ornare. Morbi egestas, diam nec&quot;
+          text run at (544,124) width 7: &quot; &quot;
+          text run at (0,155) width 574: &quot;ultricies molestie, est velit ultricies leo, aliquet placerat&quot;
+          text run at (573,155) width 8: &quot; &quot;
+          text run at (0,186) width 203: &quot;justo libero id arcu.&quot;
+      RenderBlock (anonymous) at (0,251) size 784x154
+        RenderIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
+          layer at (0,0) size 608x233
+            RenderView at (0,0) size 285x135
+          layer at (0,0) size 285x233
+            RenderBlock {HTML} at (0,0) size 285x233
+              RenderBody {BODY} at (8,8) size 269x217
+                RenderBlock {DIV} at (0,0) size 600x217
+                  RenderText {#text} at (0,0) size 592x93
+                    text run at (0,0) width 580: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&quot;
+                    text run at (579,0) width 8: &quot; &quot;
+                    text run at (0,31) width 585: &quot;Maecenas eu nisl leo, vel commodo nibh. Fusce suscipit&quot;
+                    text run at (584,31) width 8: &quot; &quot;
+                    text run at (0,62) width 541: &quot;arcu eu elit vulputate non hendrerit velit consequat. &quot;
+                  RenderBR {BR} at (0,0) size 0x0
+                  RenderText {#text} at (0,93) size 585x124
+                    text run at (0,93) width 578: &quot;Etiam venenatis posuere nisl id sagittis. Fusce tincidunt&quot;
+                    text run at (577,93) width 8: &quot; &quot;
+                    text run at (0,124) width 545: &quot;velit at sapien porta ornare. Morbi egestas, diam nec&quot;
+                    text run at (544,124) width 7: &quot; &quot;
+                    text run at (0,155) width 574: &quot;ultricies molestie, est velit ultricies leo, aliquet placerat&quot;
+                    text run at (573,155) width 8: &quot; &quot;
+                    text run at (0,186) width 203: &quot;justo libero id arcu.&quot;
+        RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingiosfirstletterexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/first-letter-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/first-letter-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/first-letter-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,26 @@
</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 784x576
+      RenderBlock {P} at (0,0) size 784x26
+        RenderText {#text} at (0,0) size 366x26
+          text run at (0,0) width 366: &quot;The following lines should be identical.&quot;
+      RenderBlock {P} at (0,42) size 784x26
+        RenderInline {SPAN} at (0,0) size 17x26 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
+      RenderBlock {P} at (0,84) size 784x26
+        RenderInline (generated) at (0,0) size 17x26 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
+      RenderBlock {P} at (0,126) size 784x26
+        RenderBlock (floating) at (0,0) size 17x26 [color=#008000]
+          RenderText {#text} at (0,0) size 17x26
+            text run at (0,0) width 17: &quot;A&quot;
+        RenderText {#text} at (16,0) size 23x26
+          text run at (16,0) width 23: &quot;-Z&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingioslistsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/lists-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/lists-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/lists-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,19 @@
</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 784x576
+      RenderBlock (anonymous) at (0,0) size 784x26
+        RenderText {#text} at (0,0) size 323x26
+          text run at (0,0) width 323: &quot;'1' markers should be the same size&quot;
+      RenderBlock {OL} at (0,42) size 784x52
+        RenderListItem {LI} at (40,0) size 744x52
+          RenderBlock (anonymous) at (0,0) size 744x26
+            RenderListMarker at (-29,0) size 23x26: &quot;1&quot;
+            RenderText {#text} at (0,0) size 36x26
+              text run at (0,0) width 36: &quot;first&quot;
+          RenderBlock {OL} at (0,26) size 744x26
+            RenderListItem {LI} at (40,0) size 704x26
+              RenderListMarker at (-29,0) size 23x26: &quot;1&quot;
+              RenderText {#text} at (0,0) size 64x26
+                text run at (0,0) width 64: &quot;second&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingiosoverflowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/overflow-expected.txt (0 => 200589)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/overflow-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/overflow-expected.txt        2016-05-09 20:22:54 UTC (rev 200589)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+layer at (0,0) size 785x1506
+  RenderView at (0,0) size 785x600
+layer at (0,0) size 785x600
+  RenderBlock {HTML} at (0,0) size 785x600
+    RenderBody {BODY} at (8,10) size 769x580
+      RenderBlock {DIV} at (10,0) size 749x124 [border: (2px solid #000000)]
+        RenderBlock {P} at (12,28) size 725x72
+          RenderInline {B} at (0,0) size 715x36
+            RenderText {#text} at (0,0) size 715x36
+              text run at (0,0) width 715: &quot;This text shouldn't autosize. Usually this appears to be a designer's fault, when the new text is added, but&quot;
+              text run at (0,18) width 584: &quot;block height is not changed. Or an overflow was made intentionally for some purpose.&quot;
+          RenderText {#text} at (583,18) size 712x54
+            text run at (583,18) width 129: &quot; Lorem ipsum dolor&quot;
+            text run at (0,36) width 674: &quot;sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna&quot;
+            text run at (0,54) width 140: &quot;aliquam erat volutpat.&quot;
+        RenderBlock {P} at (12,116) size 725x72
+          RenderText {#text} at (0,0) size 720x72
+            text run at (0,0) width 686: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea&quot;
+            text run at (0,18) width 720: &quot;commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel&quot;
+            text run at (0,36) width 677: &quot;illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent&quot;
+            text run at (0,54) width 407: &quot;luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+        RenderBlock {DIV} at (22,204) size 705x1292 [border: (2px solid #000000)]
+          RenderBlock (anonymous) at (12,12) size 681x36
+            RenderInline {B} at (0,0) size 108x18
+              RenderText {#text} at (0,0) size 108x18
+                text run at (0,0) width 108: &quot;Still should not.&quot;
+            RenderText {#text} at (107,0) size 638x36
+              text run at (107,0) width 531: &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh&quot;
+              text run at (0,18) width 415: &quot;euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.&quot;
+          RenderBlock {P} at (12,64) size 681x72
+            RenderText {#text} at (0,0) size 668x72
+              text run at (0,0) width 668: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex&quot;
+              text run at (0,18) width 643: &quot;ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie&quot;
+              text run at (0,36) width 667: &quot;consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui&quot;
+              text run at (0,54) width 512: &quot;blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+          RenderBlock {DIV} at (22,152) size 661x1118 [border: (2px solid #000000)]
+            RenderBlock (anonymous) at (12,12) size 637x36
+              RenderInline {B} at (0,0) size 108x18
+                RenderText {#text} at (0,0) size 108x18
+                  text run at (0,0) width 108: &quot;Still should not.&quot;
+              RenderText {#text} at (107,0) size 606x36
+                text run at (107,0) width 499: &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy&quot;
+                text run at (0,18) width 447: &quot;nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.&quot;
+            RenderBlock {P} at (12,64) size 637x72
+              RenderText {#text} at (0,0) size 635x72
+                text run at (0,0) width 600: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut&quot;
+                text run at (0,18) width 622: &quot;aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit&quot;
+                text run at (0,36) width 633: &quot;esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto&quot;
+                text run at (0,54) width 635: &quot;odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&quot;
+            RenderBlock {DIV} at (22,152) size 617x944 [border: (2px solid #000000)]
+              RenderBlock {P} at (12,28) size 593x186
+                RenderInline {B} at (0,0) size 542x93
+                  RenderText {#text} at (0,0) size 542x93
+                    text run at (0,0) width 542: &quot;This text should autoresize. Sometimes content is&quot;
+                    text run at (0,31) width 541: &quot;being put in fixed-height (by a mistake) blocks to&quot;
+                    text run at (0,62) width 199: &quot;apply some styles.&quot;
+                RenderText {#text} at (198,62) size 576x124
+                  text run at (198,62) width 303: &quot; Lorem ipsum dolor sit amet,&quot;
+                  text run at (0,93) width 554: &quot;consectetuer adipiscing elit, sed diam nonummy nibh&quot;
+                  text run at (0,124) width 576: &quot;euismod tincidunt ut laoreet dolore magna aliquam erat&quot;
+                  text run at (0,155) width 92: &quot;volutpat.&quot;
+              RenderBlock {P} at (12,230) size 593x248
+                RenderText {#text} at (0,0) size 588x248
+                  text run at (0,0) width 534: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci&quot;
+                  text run at (0,31) width 574: &quot;tation ullamcorper suscipit lobortis nisl ut aliquip ex ea&quot;
+                  text run at (0,62) width 588: &quot;commodo consequat. Duis autem vel eum iriure dolor in&quot;
+                  text run at (0,93) width 577: &quot;hendrerit in vulputate velit esse molestie consequat, vel&quot;
+                  text run at (0,124) width 537: &quot;illum dolore eu feugiat nulla facilisis at vero eros et&quot;
+                  text run at (0,155) width 557: &quot;accumsan et iusto odio dignissim qui blandit praesent&quot;
+                  text run at (0,186) width 577: &quot;luptatum zzril delenit augue duis dolore te feugait nulla&quot;
+                  text run at (0,217) width 78: &quot;facilisi.&quot;
+              RenderBlock {DIV} at (22,494) size 573x428 [border: (2px solid #000000)]
+                RenderBlock (anonymous) at (12,12) size 549x124
+                  RenderInline {B} at (0,0) size 166x31
+                    RenderText {#text} at (0,0) size 166x31
+                      text run at (0,0) width 166: &quot;Should as well.&quot;
+                  RenderText {#text} at (165,0) size 502x124
+                    text run at (165,0) width 303: &quot; Lorem ipsum dolor sit amet,&quot;
+                    text run at (0,31) width 502: &quot;consectetuer adipiscing elit, sed diam nonummy&quot;
+                    text run at (0,62) width 493: &quot;nibh euismod tincidunt ut laoreet dolore magna&quot;
+                    text run at (0,93) width 228: &quot;aliquam erat volutpat.&quot;
+                RenderBlock {P} at (12,152) size 549x248
+                  RenderText {#text} at (0,0) size 544x248
+                    text run at (0,0) width 534: &quot;Ut wisi enim ad minim veniam, quis nostrud exerci&quot;
+                    text run at (0,31) width 544: &quot;tation ullamcorper suscipit lobortis nisl ut aliquip ex&quot;
+                    text run at (0,62) width 529: &quot;ea commodo consequat. Duis autem vel eum iriure&quot;
+                    text run at (0,93) width 510: &quot;dolor in hendrerit in vulputate velit esse molestie&quot;
+                    text run at (0,124) width 539: &quot;consequat, vel illum dolore eu feugiat nulla facilisis&quot;
+                    text run at (0,155) width 538: &quot;at vero eros et accumsan et iusto odio dignissim qui&quot;
+                    text run at (0,186) width 513: &quot;blandit praesent luptatum zzril delenit augue duis&quot;
+                    text run at (0,217) width 313: &quot;dolore te feugait nulla facilisi.&quot;
</ins></span></pre>
</div>
</div>

</body>
</html>