<!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>[200915] trunk</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/200915">200915</a></dd>
<dt>Author</dt> <dd>zalan@apple.com</dd>
<dt>Date</dt> <dd>2016-05-13 22:14:08 -0700 (Fri, 13 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>All scrolling height/width values should be integral rounded.
https://bugs.webkit.org/show_bug.cgi?id=157687

Reviewed by Simon Fraser.

Both clientHeight(Width) and scrollHeight(width) need to be explicitly integral
rounded in order to ensure that scrollable content is computed properly.
This will evolve into subpixel snapping once we apply subpixel arithmetics on scrolling.

Source/WebCore:

Not testable.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::scrollWidth):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollTo):
(WebCore::RenderLayer::horizontalScrollbarStart):
(WebCore::RenderLayer::scrollWidth):
(WebCore::RenderLayer::scrollHeight):
(WebCore::RenderLayer::computeScrollDimensions):
(WebCore::RenderLayer::updateScrollbarsAfterLayout):
* rendering/RenderLayer.h:

LayoutTests:

* platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt:
* platform/mac/fast/css/text-overflow-input-expected.txt:
* platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
* platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt:
* platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt:
* platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfastcsstextoverflowellipsistextalignjustifyexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfastcssverticaltextoverflowellipsistextalignjustifyexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfastcssverticaltextoverflowellipsistextalignleftexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextaligncenterexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignjustifyexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignleftexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignrightexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcsstextoverflowinputexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextaligncenterexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignjustifyexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignleftexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignrightexpectedtxt">trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBoxcpp">trunk/Source/WebCore/rendering/RenderBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayercpp">trunk/Source/WebCore/rendering/RenderLayer.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayerh">trunk/Source/WebCore/rendering/RenderLayer.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/ChangeLog        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2016-05-13  Zalan Bujtas  &lt;zalan@apple.com&gt;
+
+        All scrolling height/width values should be integral rounded.
+        https://bugs.webkit.org/show_bug.cgi?id=157687
+
+        Reviewed by Simon Fraser.
+
+        Both clientHeight(Width) and scrollHeight(width) need to be explicitly integral
+        rounded in order to ensure that scrollable content is computed properly.
+        This will evolve into subpixel snapping once we apply subpixel arithmetics on scrolling.
+
+        * platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt:
+        * platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt:
+        * platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt:
+        * platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt:
+        * platform/mac/fast/css/text-overflow-input-expected.txt:
+        * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
+        * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt:
+        * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt:
+        * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt:
+
</ins><span class="cx"> 2016-05-13  Sam Weinig  &lt;sam@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         ScriptController::processingUserGesture should propagate across postMessage boundaries
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfastcsstextoverflowellipsistextalignjustifyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/ios-simulator/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">     RenderImage {IMG} at (278,1) size 26x25
</span><span class="cx">     RenderText {#text} at (303,11) size 460x19
</span><span class="cx">       text run at (303,11) width 460: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,559) size 310x22 clip at (9,560) size 308x20 scrollX 428 scrollWidth 737
</del><ins>+layer at (8,559) size 310x22 clip at (9,560) size 308x20 scrollX 429 scrollWidth 737
</ins><span class="cx">   RenderBlock {DIV} at (0,551) size 310x23 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-427,1) size 737x19
</span><span class="cx">       text run at (-427,1) width 736 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -84,14 +84,14 @@
</span><span class="cx">     RenderText {#text} at (1,61) size 714x19
</span><span class="cx">       text run at (1,61) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,787) size 310x32 clip at (9,788) size 308x30 scrollX 457 scrollWidth 766
</del><ins>+layer at (8,787) size 310x32 clip at (9,788) size 308x30 scrollX 458 scrollWidth 766
</ins><span class="cx">   RenderBlock {DIV} at (0,778) size 310x33 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (123,11) size 186x19
</span><span class="cx">       text run at (123,11) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (98,1) size 26x25
</span><span class="cx">     RenderText {#text} at (-456,11) size 556x19
</span><span class="cx">       text run at (-456,11) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,880) size 310x32 clip at (9,881) size 308x30 scrollX 453 scrollWidth 762
</del><ins>+layer at (8,880) size 310x32 clip at (9,881) size 308x30 scrollX 454 scrollWidth 762
</ins><span class="cx">   RenderBlock {DIV} at (0,872) size 310x33 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (31,11) size 278x19
</span><span class="cx">       text run at (31,11) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfastcssverticaltextoverflowellipsistextalignjustifyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (11,303) size 19x460
</span><span class="cx">       text run at (11,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1537) size 22x310 clip at (9,1538) size 20x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1537) size 22x310 clip at (9,1538) size 20x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1528) size 22x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 19x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (61,1) size 19x714
</span><span class="cx">       text run at (61,1) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2280) size 32x310 clip at (9,2281) size 30x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2280) size 32x310 clip at (9,2281) size 30x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2272) size 32x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (11,123) size 19x186
</span><span class="cx">       text run at (11,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (11,-456) size 19x556
</span><span class="cx">       text run at (11,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2652) size 32x310 clip at (9,2653) size 30x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2652) size 32x310 clip at (9,2653) size 30x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2643) size 32x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (11,31) size 19x278
</span><span class="cx">       text run at (11,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfastcssverticaltextoverflowellipsistextalignleftexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/ios-simulator/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,11 +59,11 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (11,303) size 19x460
</span><span class="cx">       text run at (11,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1537) size 22x310 clip at (9,1538) size 20x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1537) size 22x310 clip at (9,1538) size 20x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1528) size 22x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 19x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1908) size 82x310 clip at (9,1909) size 80x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1908) size 82x310 clip at (9,1909) size 80x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1900) size 82x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 19x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (61,-404) size 19x714
</span><span class="cx">       text run at (61,-404) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2280) size 32x310 clip at (9,2281) size 30x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2280) size 32x310 clip at (9,2281) size 30x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2272) size 32x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (11,123) size 19x186
</span><span class="cx">       text run at (11,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (11,-456) size 19x556
</span><span class="cx">       text run at (11,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2652) size 32x310 clip at (9,2653) size 30x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2652) size 32x310 clip at (9,2653) size 30x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2643) size 32x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (11,31) size 19x278
</span><span class="cx">       text run at (11,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextaligncenterexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -65,11 +65,11 @@
</span><span class="cx">     RenderImage {IMG} at (278,1) size 26x25
</span><span class="cx">     RenderText {#text} at (303,12) size 460x18
</span><span class="cx">       text run at (303,12) width 460: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 429 scrollWidth 738
</del><ins>+layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 430 scrollWidth 738
</ins><span class="cx">   RenderBlock {DIV} at (0,510) size 310x21 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-428,1) size 738x18
</span><span class="cx">       text run at (-428,1) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 429 scrollWidth 738
</del><ins>+layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 430 scrollWidth 738
</ins><span class="cx">   RenderBlock {DIV} at (0,591) size 310x75 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-428,1) size 738x18
</span><span class="cx">       text run at (-428,1) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -83,14 +83,14 @@
</span><span class="cx">     RenderText {#text} at (-405,55) size 714x18
</span><span class="cx">       text run at (-405,55) width 713 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,734) size 310x31 clip at (9,735) size 308x29 scrollX 457 scrollWidth 766
</del><ins>+layer at (8,734) size 310x31 clip at (9,735) size 308x29 scrollX 458 scrollWidth 766
</ins><span class="cx">   RenderBlock {DIV} at (0,725) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (123,12) size 186x18
</span><span class="cx">       text run at (123,12) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (98,1) size 26x25
</span><span class="cx">     RenderText {#text} at (-456,12) size 556x18
</span><span class="cx">       text run at (-456,12) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 453 scrollWidth 762
</del><ins>+layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 454 scrollWidth 762
</ins><span class="cx">   RenderBlock {DIV} at (0,817) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (31,12) size 278x18
</span><span class="cx">       text run at (31,12) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignjustifyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">     RenderImage {IMG} at (278,1) size 26x25
</span><span class="cx">     RenderText {#text} at (303,12) size 460x18
</span><span class="cx">       text run at (303,12) width 460: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,536) size 310x20 clip at (9,537) size 308x18 scrollX 428 scrollWidth 737
</del><ins>+layer at (8,536) size 310x20 clip at (9,537) size 308x18 scrollX 429 scrollWidth 737
</ins><span class="cx">   RenderBlock {DIV} at (0,528) size 310x21 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-427,1) size 737x18
</span><span class="cx">       text run at (-427,1) width 736 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -84,14 +84,14 @@
</span><span class="cx">     RenderText {#text} at (1,55) size 714x18
</span><span class="cx">       text run at (1,55) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,752) size 310x31 clip at (9,753) size 308x29 scrollX 457 scrollWidth 766
</del><ins>+layer at (8,752) size 310x31 clip at (9,753) size 308x29 scrollX 458 scrollWidth 766
</ins><span class="cx">   RenderBlock {DIV} at (0,743) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (123,12) size 186x18
</span><span class="cx">       text run at (123,12) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (98,1) size 26x25
</span><span class="cx">     RenderText {#text} at (-456,12) size 556x18
</span><span class="cx">       text run at (-456,12) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,843) size 310x31 clip at (9,844) size 308x29 scrollX 453 scrollWidth 762
</del><ins>+layer at (8,843) size 310x31 clip at (9,844) size 308x29 scrollX 454 scrollWidth 762
</ins><span class="cx">   RenderBlock {DIV} at (0,835) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (31,12) size 278x18
</span><span class="cx">       text run at (31,12) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignleftexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -65,11 +65,11 @@
</span><span class="cx">     RenderImage {IMG} at (278,1) size 26x25
</span><span class="cx">     RenderText {#text} at (303,12) size 460x18
</span><span class="cx">       text run at (303,12) width 460: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 430 scrollWidth 739
</del><ins>+layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 431 scrollWidth 739
</ins><span class="cx">   RenderBlock {DIV} at (0,510) size 310x21 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-429,1) size 738x18
</span><span class="cx">       text run at (-429,1) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 430 scrollWidth 739
</del><ins>+layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 431 scrollWidth 739
</ins><span class="cx">   RenderBlock {DIV} at (0,591) size 310x75 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-429,1) size 738x18
</span><span class="cx">       text run at (-429,1) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx">     RenderImage {IMG} at (97,1) size 26x25
</span><span class="cx">     RenderText {#text} at (-457,12) size 556x18
</span><span class="cx">       text run at (-457,12) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 453 scrollWidth 762
</del><ins>+layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 454 scrollWidth 762
</ins><span class="cx">   RenderBlock {DIV} at (0,817) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (31,12) size 278x18
</span><span class="cx">       text run at (31,12) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcsstextoverflowellipsistextalignrightexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -65,11 +65,11 @@
</span><span class="cx">     RenderImage {IMG} at (278,1) size 26x25
</span><span class="cx">     RenderText {#text} at (303,12) size 460x18
</span><span class="cx">       text run at (303,12) width 460: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 428 scrollWidth 737
</del><ins>+layer at (8,518) size 310x20 clip at (9,519) size 308x18 scrollX 429 scrollWidth 737
</ins><span class="cx">   RenderBlock {DIV} at (0,510) size 310x21 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-427,1) size 737x18
</span><span class="cx">       text run at (-427,1) width 736 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 428 scrollWidth 737
</del><ins>+layer at (8,599) size 310x74 clip at (9,600) size 308x72 scrollX 429 scrollWidth 737
</ins><span class="cx">   RenderBlock {DIV} at (0,591) size 310x75 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (-427,1) size 737x18
</span><span class="cx">       text run at (-427,1) width 736 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -83,14 +83,14 @@
</span><span class="cx">     RenderText {#text} at (-404,55) size 714x18
</span><span class="cx">       text run at (-404,55) width 713 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,734) size 310x31 clip at (9,735) size 308x29 scrollX 457 scrollWidth 766
</del><ins>+layer at (8,734) size 310x31 clip at (9,735) size 308x29 scrollX 458 scrollWidth 766
</ins><span class="cx">   RenderBlock {DIV} at (0,725) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (123,12) size 186x18
</span><span class="cx">       text run at (123,12) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (98,1) size 26x25
</span><span class="cx">     RenderText {#text} at (-456,12) size 556x18
</span><span class="cx">       text run at (-456,12) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 453 scrollWidth 762
</del><ins>+layer at (8,825) size 310x31 clip at (9,826) size 308x29 scrollX 454 scrollWidth 762
</ins><span class="cx">   RenderBlock {DIV} at (0,817) size 310x32 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (31,12) size 278x18
</span><span class="cx">       text run at (31,12) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcsstextoverflowinputexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -176,7 +176,7 @@
</span><span class="cx">   RenderBlock {DIV} at (0,0) size 131x13
</span><span class="cx">     RenderText {#text} at (-160,0) size 292x13
</span><span class="cx">       text run at (-160,0) width 291: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit&quot;
</span><del>-layer at (644,96) size 130x13 scrollX 230 scrollWidth 361
</del><ins>+layer at (644,96) size 130x13 scrollX 231 scrollWidth 361
</ins><span class="cx">   RenderBlock {DIV} at (0,0) size 131x13
</span><span class="cx">     RenderText {#text} at (-230,0) size 362x13
</span><span class="cx">       text run at (-230,0) width 361 RTL: &quot;\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}&quot;
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx">   RenderBlock {DIV} at (0,0) size 131x13
</span><span class="cx">     RenderText {#text} at (-160,0) size 292x13
</span><span class="cx">       text run at (-160,0) width 291: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit&quot;
</span><del>-layer at (644,176) size 130x13 scrollX 230 scrollWidth 361
</del><ins>+layer at (644,176) size 130x13 scrollX 231 scrollWidth 361
</ins><span class="cx">   RenderBlock {DIV} at (0,0) size 131x13
</span><span class="cx">     RenderText {#text} at (-230,0) size 362x13
</span><span class="cx">       text run at (-230,0) width 361 RTL: &quot;\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}\x{2022}&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextaligncenterexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,11 +59,11 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (12,303) size 18x460
</span><span class="cx">       text run at (12,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1523) size 20x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1894) size 74x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (55,-404) size 18x714
</span><span class="cx">       text run at (55,-404) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2265) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,123) size 18x186
</span><span class="cx">       text run at (12,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (12,-456) size 18x556
</span><span class="cx">       text run at (12,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2635) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,31) size 18x278
</span><span class="cx">       text run at (12,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignjustifyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (12,303) size 18x460
</span><span class="cx">       text run at (12,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1523) size 20x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (55,1) size 18x714
</span><span class="cx">       text run at (55,1) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2265) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,123) size 18x186
</span><span class="cx">       text run at (12,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (12,-456) size 18x556
</span><span class="cx">       text run at (12,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2635) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,31) size 18x278
</span><span class="cx">       text run at (12,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignleftexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,11 +59,11 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (12,303) size 18x460
</span><span class="cx">       text run at (12,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1523) size 20x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1894) size 74x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (55,-404) size 18x714
</span><span class="cx">       text run at (55,-404) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2265) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,123) size 18x186
</span><span class="cx">       text run at (12,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (12,-456) size 18x556
</span><span class="cx">       text run at (12,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2635) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,31) size 18x278
</span><span class="cx">       text run at (12,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastcssverticaltextoverflowellipsistextalignrightexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/LayoutTests/platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -59,11 +59,11 @@
</span><span class="cx">     RenderImage {IMG} at (1,278) size 25x26
</span><span class="cx">     RenderText {#text} at (12,303) size 18x460
</span><span class="cx">       text run at (12,303) width 459: &quot;ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1532) size 20x310 clip at (9,1533) size 18x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1523) size 20x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 428 scrollHeight 737
</del><ins>+layer at (8,1902) size 74x310 clip at (9,1903) size 72x308 scrollY 429 scrollHeight 737
</ins><span class="cx">   RenderBlock {DIV} at (0,1894) size 74x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (1,-427) size 18x737
</span><span class="cx">       text run at (1,-427) width 737 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="lines">@@ -77,14 +77,14 @@
</span><span class="cx">     RenderText {#text} at (55,-404) size 18x714
</span><span class="cx">       text run at (55,-404) width 714 RTL override: &quot;em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><span class="cx">     RenderBR {BR} at (0,0) size 0x0
</span><del>-layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 457 scrollHeight 766
</del><ins>+layer at (8,2273) size 31x310 clip at (9,2274) size 29x308 scrollY 458 scrollHeight 766
</ins><span class="cx">   RenderBlock {DIV} at (0,2265) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,123) size 18x186
</span><span class="cx">       text run at (12,123) width 186 RTL override: &quot;Lorem ipsum dolor sit amet, &quot;
</span><span class="cx">     RenderImage {IMG} at (1,98) size 25x26
</span><span class="cx">     RenderText {#text} at (12,-456) size 18x556
</span><span class="cx">       text run at (12,-456) width 555 RTL override: &quot; consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros.&quot;
</span><del>-layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 453 scrollHeight 762
</del><ins>+layer at (8,2644) size 31x310 clip at (9,2645) size 29x308 scrollY 454 scrollHeight 762
</ins><span class="cx">   RenderBlock {DIV} at (0,2635) size 31x311 [border: (1px solid #000000)]
</span><span class="cx">     RenderText {#text} at (12,31) size 18x278
</span><span class="cx">       text run at (12,31) width 278 RTL override: &quot;Lorem ipsum dolor sit amet, consectetur ad&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/Source/WebCore/ChangeLog        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -1,3 +1,27 @@
</span><ins>+2016-05-13  Zalan Bujtas  &lt;zalan@apple.com&gt;
+
+        All scrolling height/width values should be integral rounded.
+        https://bugs.webkit.org/show_bug.cgi?id=157687
+
+        Reviewed by Simon Fraser.
+
+        Both clientHeight(Width) and scrollHeight(width) need to be explicitly integral
+        rounded in order to ensure that scrollable content is computed properly.
+        This will evolve into subpixel snapping once we apply subpixel arithmetics on scrolling.
+
+        Not testable.
+
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::scrollWidth):
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::scrollTo):
+        (WebCore::RenderLayer::horizontalScrollbarStart):
+        (WebCore::RenderLayer::scrollWidth):
+        (WebCore::RenderLayer::scrollHeight):
+        (WebCore::RenderLayer::computeScrollDimensions):
+        (WebCore::RenderLayer::updateScrollbarsAfterLayout):
+        * rendering/RenderLayer.h:
+
</ins><span class="cx"> 2016-05-13  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [NetworkCache] Avoid having to re-parse URLs after deserializing them
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBox.cpp        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -572,7 +572,7 @@
</span><span class="cx">         // FIXME: This should use snappedIntSize() instead with absolute coordinates.
</span><span class="cx">         return roundToInt(std::max(clientWidth(), layoutOverflowRect().maxX() - borderLeft()));
</span><span class="cx">     }
</span><del>-    return clientWidth() - std::min&lt;LayoutUnit&gt;(0, layoutOverflowRect().x() - borderLeft());
</del><ins>+    return roundToInt(clientWidth() - std::min&lt;LayoutUnit&gt;(0, layoutOverflowRect().x() - borderLeft()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> int RenderBox::scrollHeight() const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayer.cpp        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -2353,7 +2353,7 @@
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx">         if (adjustForIOSCaretWhenScrolling()) {
</span><span class="cx">             // FIXME: It's not clear what this code is trying to do. Behavior seems reasonable with it removed.
</span><del>-            int maxOffset = scrollWidth() - box-&gt;clientWidth();
</del><ins>+            int maxOffset = scrollWidth() - roundToInt(box-&gt;clientWidth());
</ins><span class="cx">             ScrollOffset newOffset = scrollOffsetFromPosition(newPosition);
</span><span class="cx">             int scrollXOffset = newOffset.x();
</span><span class="cx">             if (scrollXOffset &gt; maxOffset - caretWidth) {
</span><span class="lines">@@ -3321,7 +3321,7 @@
</span><span class="cx">     if (m_scrollDimensionsDirty)
</span><span class="cx">         const_cast&lt;RenderLayer*&gt;(this)-&gt;computeScrollDimensions();
</span><span class="cx">     // FIXME: This should use snappedIntSize() instead with absolute coordinates.
</span><del>-    return roundToInt(m_scrollSize.width());
</del><ins>+    return m_scrollSize.width();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> int RenderLayer::scrollHeight() const
</span><span class="lines">@@ -3330,7 +3330,7 @@
</span><span class="cx">     if (m_scrollDimensionsDirty)
</span><span class="cx">         const_cast&lt;RenderLayer*&gt;(this)-&gt;computeScrollDimensions();
</span><span class="cx">     // FIXME: This should use snappedIntSize() instead with absolute coordinates.
</span><del>-    return roundToInt(m_scrollSize.height());
</del><ins>+    return m_scrollSize.height();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> LayoutUnit RenderLayer::overflowTop() const
</span><span class="lines">@@ -3372,13 +3372,13 @@
</span><span class="cx"> 
</span><span class="cx">     m_scrollDimensionsDirty = false;
</span><span class="cx"> 
</span><del>-    m_scrollSize.setWidth(overflowRight() - overflowLeft());
-    m_scrollSize.setHeight(overflowBottom() - overflowTop());
</del><ins>+    m_scrollSize.setWidth(roundToInt(overflowRight() - overflowLeft()));
+    m_scrollSize.setHeight(roundToInt(overflowBottom() - overflowTop()));
</ins><span class="cx"> 
</span><del>-    int scrollableLeftOverflow = overflowLeft() - box-&gt;borderLeft();
</del><ins>+    int scrollableLeftOverflow = roundToInt(overflowLeft() - box-&gt;borderLeft());
</ins><span class="cx">     if (shouldPlaceBlockDirectionScrollbarOnLeft())
</span><span class="cx">         scrollableLeftOverflow -= verticalScrollbarWidth();
</span><del>-    int scrollableTopOverflow = overflowTop() - box-&gt;borderTop();
</del><ins>+    int scrollableTopOverflow = roundToInt(overflowTop() - box-&gt;borderTop());
</ins><span class="cx">     setScrollOrigin(IntPoint(-scrollableLeftOverflow, -scrollableTopOverflow));
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -3479,13 +3479,13 @@
</span><span class="cx">         int clientWidth = roundToInt(box-&gt;clientWidth());
</span><span class="cx">         int pageStep = Scrollbar::pageStep(clientWidth);
</span><span class="cx">         m_hBar-&gt;setSteps(Scrollbar::pixelsPerLineStep(), pageStep);
</span><del>-        m_hBar-&gt;setProportion(clientWidth, m_scrollSize.width().round());
</del><ins>+        m_hBar-&gt;setProportion(clientWidth, m_scrollSize.width());
</ins><span class="cx">     }
</span><span class="cx">     if (m_vBar) {
</span><span class="cx">         int clientHeight = roundToInt(box-&gt;clientHeight());
</span><span class="cx">         int pageStep = Scrollbar::pageStep(clientHeight);
</span><span class="cx">         m_vBar-&gt;setSteps(Scrollbar::pixelsPerLineStep(), pageStep);
</span><del>-        m_vBar-&gt;setProportion(clientHeight, m_scrollSize.height().round());
</del><ins>+        m_vBar-&gt;setProportion(clientHeight, m_scrollSize.height());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     updateScrollableAreaSet(hasScrollableHorizontalOverflow() || hasScrollableVerticalOverflow());
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayer.h (200914 => 200915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayer.h        2016-05-14 04:58:41 UTC (rev 200914)
+++ trunk/Source/WebCore/rendering/RenderLayer.h        2016-05-14 05:14:08 UTC (rev 200915)
</span><span class="lines">@@ -1099,7 +1099,7 @@
</span><span class="cx">     ScrollPosition m_scrollPosition;
</span><span class="cx"> 
</span><span class="cx">     // The width/height of our scrolled area.
</span><del>-    LayoutSize m_scrollSize;
</del><ins>+    IntSize m_scrollSize;
</ins><span class="cx"> 
</span><span class="cx">     // For layers with overflow, we have a pair of scrollbars.
</span><span class="cx">     RefPtr&lt;Scrollbar&gt; m_hBar;
</span></span></pre>
</div>
</div>

</body>
</html>