<!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>[188159] 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/188159">188159</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2015-08-07 14:07:40 -0700 (Fri, 07 Aug 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Move platform/mac/fast/forms/ tests to fast/forms/

* TestExpectations:
* fast/forms/attributed-strings-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt.
* fast/forms/attributed-strings.html: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings.html.
* fast/forms/focus-option-control-on-page-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt.
* fast/forms/focus-option-control-on-page.html: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html.
* fast/forms/indeterminate-progress-inline-height-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt.
* fast/forms/indeterminate-progress-inline-height.html: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html.
* fast/forms/input-appearance-spinbutton-expected.png: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png.
* fast/forms/input-appearance-spinbutton-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt.
* fast/forms/input-appearance-spinbutton-size-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt.
* fast/forms/input-appearance-spinbutton-size.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html.
* fast/forms/input-appearance-spinbutton-up-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt.
* fast/forms/input-appearance-spinbutton-up.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html.
* fast/forms/input-appearance-spinbutton.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html.
* fast/forms/input-number-click-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt.
* fast/forms/input-number-click.html: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click.html.
* fast/forms/listbox-scrollbar-hit-test-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt.
* fast/forms/listbox-scrollbar-hit-test.html: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html.
* fast/forms/script-tests/focus-option-control-on-page.js: Renamed from LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js.
* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png: Removed.
* platform/wk2/TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1TestExpectations">trunk/LayoutTests/platform/mac-wk1/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2TestExpectations">trunk/LayoutTests/platform/mac-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwk2TestExpectations">trunk/LayoutTests/platform/wk2/TestExpectations</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastformsattributedstringsexpectedtxt">trunk/LayoutTests/fast/forms/attributed-strings-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsattributedstringshtml">trunk/LayoutTests/fast/forms/attributed-strings.html</a></li>
<li><a href="#trunkLayoutTestsfastformsfocusoptioncontrolonpageexpectedtxt">trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsfocusoptioncontrolonpagehtml">trunk/LayoutTests/fast/forms/focus-option-control-on-page.html</a></li>
<li><a href="#trunkLayoutTestsfastformsindeterminateprogressinlineheightexpectedtxt">trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsindeterminateprogressinlineheighthtml">trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonexpectedpng">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.png</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonexpectedtxt">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonsizeexpectedtxt">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonsizehtml">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonupexpectedtxt">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonuphtml">trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html</a></li>
<li><a href="#trunkLayoutTestsfastformsinputappearancespinbuttonhtml">trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html</a></li>
<li><a href="#trunkLayoutTestsfastformsinputnumberclickexpectedtxt">trunk/LayoutTests/fast/forms/input-number-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsinputnumberclickhtml">trunk/LayoutTests/fast/forms/input-number-click.html</a></li>
<li><a href="#trunkLayoutTestsfastformslistboxscrollbarhittestexpectedtxt">trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformslistboxscrollbarhittesthtml">trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html</a></li>
<li>trunk/LayoutTests/fast/forms/script-tests/</li>
<li><a href="#trunkLayoutTestsfastformsscripttestsfocusoptioncontrolonpagejs">trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsplatformmacfastformsattributedstringsexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsattributedstringshtml">trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpageexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpagehtml">trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheightexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheighthtml">trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedpng">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizeexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizehtml">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonupexpectedpng">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonupexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonuphtml">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonhtml">trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputnumberclickexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsinputnumberclickhtml">trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformslistboxscrollbarhittestexpectedtxt">trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformslistboxscrollbarhittesthtml">trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastformsscripttestsfocusoptioncontrolonpagejs">trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/ChangeLog        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2015-08-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Move platform/mac/fast/forms/ tests to fast/forms/
+
+        * TestExpectations:
+        * fast/forms/attributed-strings-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt.
+        * fast/forms/attributed-strings.html: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings.html.
+        * fast/forms/focus-option-control-on-page-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt.
+        * fast/forms/focus-option-control-on-page.html: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html.
+        * fast/forms/indeterminate-progress-inline-height-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt.
+        * fast/forms/indeterminate-progress-inline-height.html: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html.
+        * fast/forms/input-appearance-spinbutton-expected.png: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png.
+        * fast/forms/input-appearance-spinbutton-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt.
+        * fast/forms/input-appearance-spinbutton-size-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt.
+        * fast/forms/input-appearance-spinbutton-size.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html.
+        * fast/forms/input-appearance-spinbutton-up-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt.
+        * fast/forms/input-appearance-spinbutton-up.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html.
+        * fast/forms/input-appearance-spinbutton.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html.
+        * fast/forms/input-number-click-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt.
+        * fast/forms/input-number-click.html: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click.html.
+        * fast/forms/listbox-scrollbar-hit-test-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt.
+        * fast/forms/listbox-scrollbar-hit-test.html: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html.
+        * fast/forms/script-tests/focus-option-control-on-page.js: Renamed from LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js.
+        * platform/mac-wk1/TestExpectations:
+        * platform/mac-wk2/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png: Removed.
+        * platform/wk2/TestExpectations:
+
</ins><span class="cx"> 2015-08-06  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Shadows don't draw on fillText when using a gradient fill
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/TestExpectations        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> # See http://trac.webkit.org/wiki/TestExpectations for more information on this file.
</span><span class="cx"> 
</span><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span><del>-# Platform-specific directories. Skipped here, then re-enabled on the appropriate platform.
</del><ins>+# Platform-specific tests. Skipped here, then re-enabled on the appropriate platform.
</ins><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> 
</span><span class="cx"> accessibility/ios-simulator [ Skip ]
</span><span class="lines">@@ -14,8 +14,10 @@
</span><span class="cx"> editing/pasteboard/gtk [ Skip ]
</span><span class="cx"> tiled-drawing [ Skip ]
</span><span class="cx"> 
</span><ins>+fast/forms/attributed-strings.html [ Skip ]
+
</ins><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span><del>-# End platform-specific directories.
</del><ins>+# End platform-specific tests.
</ins><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastformsattributedstringsexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsattributedstringsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/attributed-strings-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/attributed-strings-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/attributed-strings-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+test
+4
+test
+4
+test
+NSForegroundColor,NSToolTip,NSFont,NSObliqueness
+NSToolTip,NSForegroundColor,NSFont
+0.5
+undefined
+NSDeviceRGBColorSpace 1 0.5 1 0.5
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsattributedstringshtmlfromrev188158trunkLayoutTestsplatformmacfastformsattributedstringshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/attributed-strings.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/attributed-strings.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/attributed-strings.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,70 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+body { margin: 0; padding: 0 }
+&lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;div id=&quot;test&quot; contenteditable&gt;FAILURE&lt;/div&gt;
+&lt;p id=&quot;console&quot;&gt;&lt;/p&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+    
+    var console_messages = document.createElement(&quot;ol&quot;);
+    
+    function log(message)
+    {
+        var item = document.createElement(&quot;li&quot;);
+        item.appendChild(document.createTextNode(message));
+        console_messages.appendChild(item);
+    }
+    
+    if (window.testRunner) {
+        
+        try {
+
+            testRunner.dumpAsText();
+                        document.getElementById(&quot;test&quot;).focus();
+
+            var substr = textInputController.attributedSubstringFromRange(0, 2);
+//            log(substr); -- attributedSubstringFromRange is not implemented in WebKit yet
+    
+            var attrString = textInputController.makeAttributedString(&quot;test&quot;);
+            log(attrString.getAttributeNamesAtIndex(0));
+            log(attrString.length());
+            log(attrString.string());
+
+            attrString.addAttribute(&quot;NSToolTip&quot;, &quot;Tool Tip&quot;);
+            attrString.addFontAttribute(&quot;NSFont&quot;, &quot;Monaco&quot;, 14);
+            attrString.addColorAttribute(&quot;NSForegroundColor&quot;, 1, 1, 1, 0.5);
+
+            attrString.addFontAttributeForRange(&quot;NSFont&quot;, &quot;Monaco&quot;, 12, 0, 2);
+            attrString.addColorAttributeForRange(&quot;NSForegroundColor&quot;, 1, 0.5, 1, 0.5, 0, 2);
+            attrString.addAttributeForRange(&quot;NSObliqueness&quot;, 0.5, 0, 2);
+
+            log(attrString.length());
+            log(attrString.string());
+            
+            log(attrString.getAttributeNamesAtIndex(0));
+            log(attrString.getAttributeNamesAtIndex(3));
+
+            log(attrString.getAttributeValueAtIndex(&quot;NSObliqueness&quot;, 0));
+            log(attrString.getAttributeValueAtIndex(&quot;NSObliqueness&quot;, 3));
+
+            log(attrString.getAttributeValueAtIndex(&quot;NSForegroundColor&quot;, 1));
+            
+            document.execCommand(&quot;SelectAll&quot;);
+            
+            textInputController.insertText(attrString);
+            
+        } catch (ex) {
+            document.write(&quot;Exception: &quot; + ex.description);
+        }
+        
+        document.getElementById(&quot;console&quot;).appendChild(console_messages);
+        
+    } else {
+        document.write(&quot;(cannot run interactively)&quot;);
+    }
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsfocusoptioncontrolonpageexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpageexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+  
+Pressing tab 4 times:
+PASS result is &quot; /1:focused text field /2: /3:focused text field /4:&quot;
+Pressing shift-tab 4 times:
+PASS result is &quot; /1:focused text field /2: /3:focused text field /4:&quot;
+Pressing option-tab 4 times:
+PASS result is &quot; /1:focused first button /2:focused text field /3:focused second button /4:&quot;
+Pressing shift-option-tab 4 times:
+PASS result is &quot; /1:focused second button /2:focused text field /3:focused first button /4:&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsfocusoptioncontrolonpagehtmlfromrev188158trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpagehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/focus-option-control-on-page.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/focus-option-control-on-page.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/focus-option-control-on-page.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;!DOCTYPE HTML&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
+&lt;input type=&quot;button&quot; onfocus=&quot;log('focused first button')&quot; value=&quot;1&quot;&gt;
+&lt;input type=&quot;text&quot; onfocus=&quot;log('focused text field')&quot; value=&quot;2&quot;&gt;
+&lt;input type=&quot;button&quot; onfocus=&quot;log('focused second button')&quot; value=&quot;3&quot;&gt;
+&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+&lt;script src=&quot;script-tests/focus-option-control-on-page.js&quot;&gt;&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="trunkLayoutTestsfastformsindeterminateprogressinlineheightexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheightexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+
+system-styled indeterminate progress bar height should be &gt; 0, was: 21
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsindeterminateprogressinlineheighthtmlfromrev188158trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheighthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;progress style=&quot;height: 0;&quot;&gt;&lt;/progress&gt;&lt;br/&gt;
+&lt;script&gt;
+if (window.testRunner)
+    testRunner.dumpAsText();
+
+document.write(&quot;system-styled indeterminate progress bar height should be &gt; 0, was: &quot; + document.getElementsByTagName(&quot;progress&quot;)[0].offsetHeight);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonexpectedpngfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedpng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.png (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,239 @@
</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 245x18
+          text run at (0,0) width 245: &quot;Test appearances of outer-spin-button.&quot;
+      RenderBlock {DIV} at (0,34) size 784x0
+      RenderBlock {DIV} at (0,34) size 784x528
+        RenderTable {TABLE} at (0,0) size 466x528
+          RenderTableSection {TBODY} at (0,0) size 466x528
+            RenderTableRow {TR} at (0,2) size 466x524
+              RenderTableCell {TD} at (2,81) size 189x366 [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (1,1) size 187x35
+                  RenderTextControl {INPUT} at (0,3) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (105,0) size 5x18
+                    text run at (105,0) width 5: &quot; &quot;
+                  RenderBR {BR} at (109,14) size 1x0
+                  RenderTextControl {INPUT} at (0,19) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 100x10
+                      RenderBlock {DIV} at (0,0) size 87x10
+                RenderBlock {DIV} at (1,36) size 187x36
+                  RenderTextControl {INPUT} at (0,2) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (115,0) size 5x18
+                    text run at (115,0) width 5: &quot; &quot;
+                  RenderBR {BR} at (119,14) size 1x0
+                  RenderTextControl {INPUT} at (0,19) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 110x11
+                      RenderBlock {DIV} at (0,0) size 97x11
+                RenderBlock {DIV} at (1,72) size 187x37
+                  RenderTextControl {INPUT} at (0,1) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (125,0) size 5x18
+                    text run at (125,0) width 5: &quot; &quot;
+                  RenderBR {BR} at (129,14) size 1x0
+                  RenderTextControl {INPUT} at (0,19) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 120x12
+                      RenderBlock {DIV} at (0,0) size 107x12
+                RenderBlock {DIV} at (1,109) size 187x46
+                  RenderTextControl {INPUT} at (2,2) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (140,2) size 5x18
+                    text run at (140,2) width 5: &quot; &quot;
+                  RenderBR {BR} at (144,16) size 1x0
+                  RenderTextControl {INPUT} at (2,25) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 131x13
+                      RenderBlock {DIV} at (0,0) size 118x13
+                RenderBlock {DIV} at (1,155) size 187x50
+                  RenderTextControl {INPUT} at (2,2) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (151,3) size 5x18
+                    text run at (151,3) width 5: &quot; &quot;
+                  RenderBR {BR} at (155,17) size 1x0
+                  RenderTextControl {INPUT} at (2,27) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 142x15
+                      RenderBlock {DIV} at (0,0) size 129x15
+                RenderBlock {DIV} at (1,205) size 187x52
+                  RenderTextControl {INPUT} at (2,2) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (162,4) size 5x18
+                    text run at (162,4) width 5: &quot; &quot;
+                  RenderBR {BR} at (166,18) size 1x0
+                  RenderTextControl {INPUT} at (2,28) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 153x16
+                      RenderBlock {DIV} at (0,0) size 138x16
+                RenderBlock {DIV} at (1,257) size 187x54
+                  RenderTextControl {INPUT} at (2,2) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (172,5) size 5x18
+                    text run at (172,5) width 5: &quot; &quot;
+                  RenderBR {BR} at (176,19) size 1x0
+                  RenderTextControl {INPUT} at (2,29) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 163x17
+                      RenderBlock {DIV} at (0,0) size 148x17
+                RenderBlock {DIV} at (1,311) size 187x54
+                  RenderTextControl {INPUT} at (2,2) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (182,5) size 5x18
+                    text run at (182,5) width 5: &quot; &quot;
+                  RenderBR {BR} at (186,19) size 1x0
+                  RenderTextControl {INPUT} at (2,29) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 173x17
+                      RenderBlock {DIV} at (0,0) size 158x17
+              RenderTableCell {TD} at (193,2) size 271x524 [r=0 c=1 rs=1 cs=1]
+                RenderBlock {DIV} at (1,1) size 269x56
+                  RenderTextControl {INPUT} at (2,2) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (193,6) size 5x18
+                    text run at (193,6) width 5: &quot; &quot;
+                  RenderBR {BR} at (197,20) size 1x0
+                  RenderTextControl {INPUT} at (2,30) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 184x18
+                      RenderBlock {DIV} at (0,0) size 169x18
+                RenderBlock {DIV} at (1,57) size 269x60
+                  RenderTextControl {INPUT} at (2,2) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (204,7) size 5x18
+                    text run at (204,7) width 5: &quot; &quot;
+                  RenderBR {BR} at (208,21) size 1x0
+                  RenderTextControl {INPUT} at (2,32) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 195x20
+                      RenderBlock {DIV} at (0,0) size 180x20
+                RenderBlock {DIV} at (1,117) size 269x62
+                  RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (213,8) size 5x18
+                    text run at (213,8) width 5: &quot; &quot;
+                  RenderBR {BR} at (217,22) size 1x0
+                  RenderTextControl {INPUT} at (2,33) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 204x21
+                      RenderBlock {DIV} at (0,0) size 185x21
+                RenderBlock {DIV} at (1,179) size 269x64
+                  RenderTextControl {INPUT} at (2,2) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (223,9) size 5x18
+                    text run at (223,9) width 5: &quot; &quot;
+                  RenderBR {BR} at (227,23) size 1x0
+                  RenderTextControl {INPUT} at (2,34) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 214x22
+                      RenderBlock {DIV} at (0,0) size 195x22
+                RenderBlock {DIV} at (1,243) size 269x66
+                  RenderTextControl {INPUT} at (2,2) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (232,10) size 5x18
+                    text run at (232,10) width 5: &quot; &quot;
+                  RenderBR {BR} at (236,24) size 1x0
+                  RenderTextControl {INPUT} at (2,35) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 223x23
+                      RenderBlock {DIV} at (0,0) size 204x23
+                RenderBlock {DIV} at (1,309) size 269x68
+                  RenderTextControl {INPUT} at (2,2) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (243,11) size 5x18
+                    text run at (243,11) width 5: &quot; &quot;
+                  RenderBR {BR} at (247,25) size 1x0
+                  RenderTextControl {INPUT} at (2,36) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 234x24
+                      RenderBlock {DIV} at (0,0) size 215x24
+                RenderBlock {DIV} at (1,377) size 269x72
+                  RenderTextControl {INPUT} at (2,2) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (254,12) size 5x18
+                    text run at (254,12) width 5: &quot; &quot;
+                  RenderBR {BR} at (258,26) size 1x0
+                  RenderTextControl {INPUT} at (2,38) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 245x26
+                      RenderBlock {DIV} at (0,0) size 226x26
+                RenderBlock {DIV} at (1,449) size 269x74
+                  RenderTextControl {INPUT} at (2,2) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                  RenderText {#text} at (264,13) size 5x18
+                    text run at (264,13) width 5: &quot; &quot;
+                  RenderBR {BR} at (268,27) size 1x0
+                  RenderTextControl {INPUT} at (2,39) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+                    RenderFlexibleBox {DIV} at (3,3) size 255x27
+                      RenderBlock {DIV} at (0,0) size 236x27
+layer at (14,130) size 99x10
+  RenderBlock {DIV} at (3,3) size 100x10
+layer at (14,146) size 86x10
+  RenderBlock {DIV} at (0,0) size 87x10
+layer at (14,164) size 109x11
+  RenderBlock {DIV} at (3,3) size 110x11
+layer at (14,181) size 96x11
+  RenderBlock {DIV} at (0,0) size 97x11
+layer at (14,199) size 119x12
+  RenderBlock {DIV} at (3,3) size 120x12
+layer at (14,217) size 106x12
+  RenderBlock {DIV} at (0,0) size 107x12
+layer at (16,237) size 130x13
+  RenderBlock {DIV} at (3,3) size 131x13
+layer at (16,260) size 117x13
+  RenderBlock {DIV} at (0,0) size 118x13
+layer at (16,283) size 141x15
+  RenderBlock {DIV} at (3,3) size 142x15
+layer at (16,308) size 128x15
+  RenderBlock {DIV} at (0,0) size 129x15
+layer at (16,333) size 152x16
+  RenderBlock {DIV} at (3,3) size 153x16
+layer at (16,359) size 137x16
+  RenderBlock {DIV} at (0,0) size 138x16
+layer at (16,385) size 162x17
+  RenderBlock {DIV} at (3,3) size 163x17
+layer at (16,412) size 147x17
+  RenderBlock {DIV} at (0,0) size 148x17
+layer at (16,439) size 173x17
+  RenderBlock {DIV} at (3,3) size 173x17
+layer at (16,466) size 158x17
+  RenderBlock {DIV} at (0,0) size 158x17
+layer at (207,50) size 183x18
+  RenderBlock {DIV} at (3,3) size 184x18
+layer at (207,78) size 168x18
+  RenderBlock {DIV} at (0,0) size 169x18
+layer at (207,106) size 194x20
+  RenderBlock {DIV} at (3,3) size 195x20
+layer at (207,136) size 179x20
+  RenderBlock {DIV} at (0,0) size 180x20
+layer at (207,166) size 203x21
+  RenderBlock {DIV} at (3,3) size 204x21
+layer at (207,197) size 184x21
+  RenderBlock {DIV} at (0,0) size 185x21
+layer at (207,228) size 213x22
+  RenderBlock {DIV} at (3,3) size 214x22
+layer at (207,260) size 194x22
+  RenderBlock {DIV} at (0,0) size 195x22
+layer at (207,292) size 223x23
+  RenderBlock {DIV} at (3,3) size 223x23
+layer at (207,325) size 204x23
+  RenderBlock {DIV} at (0,0) size 204x23
+layer at (207,358) size 233x24
+  RenderBlock {DIV} at (3,3) size 234x24
+layer at (207,392) size 214x24
+  RenderBlock {DIV} at (0,0) size 215x24
+layer at (207,426) size 244x26
+  RenderBlock {DIV} at (3,3) size 245x26
+layer at (207,462) size 225x26
+  RenderBlock {DIV} at (0,0) size 226x26
+layer at (207,498) size 255x27
+  RenderBlock {DIV} at (3,3) size 255x27
+layer at (207,535) size 236x27
+  RenderBlock {DIV} at (0,0) size 236x27
+layer at (101,145) size 13x12
+  RenderBlock (relative positioned) {DIV} at (87,-1) size 14x12
+layer at (111,180) size 13x13
+  RenderBlock (relative positioned) {DIV} at (97,-1) size 14x13
+layer at (121,216) size 13x14
+  RenderBlock (relative positioned) {DIV} at (107,-1) size 14x14
+layer at (134,259) size 13x15
+  RenderBlock (relative positioned) {DIV} at (118,-1) size 14x15
+layer at (145,307) size 13x17
+  RenderBlock (relative positioned) {DIV} at (129,-1) size 14x17
+layer at (154,358) size 15x18
+  RenderBlock (relative positioned) {DIV} at (138,-1) size 16x18
+layer at (164,411) size 15x19
+  RenderBlock (relative positioned) {DIV} at (148,-1) size 16x19
+layer at (175,465) size 15x19
+  RenderBlock (relative positioned) {DIV} at (158,-1) size 16x19
+layer at (376,77) size 15x20
+  RenderBlock (relative positioned) {DIV} at (169,-1) size 16x20
+layer at (387,135) size 15x22
+  RenderBlock (relative positioned) {DIV} at (180,-1) size 16x22
+layer at (392,196) size 19x23
+  RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
+layer at (402,259) size 19x24
+  RenderBlock (relative positioned) {DIV} at (195,-1) size 20x24
+layer at (412,324) size 19x25
+  RenderBlock (relative positioned) {DIV} at (204,-1) size 20x25
+layer at (422,391) size 19x26
+  RenderBlock (relative positioned) {DIV} at (215,-1) size 20x26
+layer at (433,461) size 19x28
+  RenderBlock (relative positioned) {DIV} at (226,-1) size 20x28
+layer at (444,534) size 19x29
+  RenderBlock (relative positioned) {DIV} at (236,-1) size 20x29
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonsizeexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.
+
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
+
+
+
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonsizehtmlfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;style&gt;
+.button {
+  -webkit-appearance: outer-spin-button;
+  display: inline-block;
+}
+&lt;/style&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;script&gt;
+document.getElementById('description').innerHTML = 'Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.';
+
+var body = document.body;
+for (var size = 8; size &lt; 20; size++) {
+    var div = document.createElement('div');
+    body.appendChild(div);
+    div.innerHTML = '&lt;input style=&quot;font-size:' + size + 'px&quot; id=input' + size + '&gt;'
+        + '&lt;span class=&quot;button&quot; style=&quot;font-size:' + size + 'px&quot; id=span' + size + '&gt;&lt;/span&gt;';
+    var input = document.getElementById('input' + size);
+    var spinButton = document.getElementById('span' + size);
+    // 6 is border-top + border-bottom + padding-top + padding-bottom in the default style.
+    shouldBeTrue('spinButton.offsetHeight &lt;= input.offsetHeight + 6');
+}
+
+&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="trunkLayoutTestsfastformsinputappearancespinbuttonupexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonupexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,22 @@
</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 439x18
+          text run at (0,0) width 439: &quot;Test appearances of outer-spin-button with its up button highlighted.&quot;
+      RenderBlock {DIV} at (0,34) size 784x0
+      RenderBlock (anonymous) at (0,34) size 784x31
+        RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+          RenderFlexibleBox {DIV} at (3,3) size 204x21
+            RenderBlock {DIV} at (0,0) size 185x21
+        RenderText {#text} at (0,0) size 0x0
+        RenderText {#text} at (0,0) size 0x0
+layer at (13,47) size 184x21
+  RenderBlock {DIV} at (0,0) size 185x21
+    RenderText {#text} at (0,0) size 11x21
+      text run at (0,0) width 11: &quot;1&quot;
+layer at (198,46) size 19x23
+  RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
+caret: position 1 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonuphtmlfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonuphtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+&lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Test appearances of outer-spin-button with its up button highlighted.&lt;/p&gt;
+&lt;div id=console&gt;&lt;/div&gt;
+&lt;input type=number style=&quot;font-size: 18px;&quot; id=number value=0&gt;
+
+&lt;script&gt;
+if (window.eventSender) {
+    var input = document.getElementById('number');
+    eventSender.mouseMoveTo(input.offsetLeft + input.offsetWidth - 8, input.offsetTop + 6);
+    eventSender.mouseDown();
+} else {
+    document.getElementById('console').innerHTML = '&lt;p&gt;Manual test: Press the primary button of the pointing device on the upper button.  Check if the upper button is correctly highlighted.&lt;/p&gt;';
+}
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputappearancespinbuttonhtmlfromrev188158trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+&lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Test appearances of outer-spin-button.&lt;/p&gt;
+&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+
+&lt;script&gt;
+var parent = document.createElement('div');
+document.body.appendChild(parent);
+parent.innerHTML = '&lt;table&gt;&lt;tr&gt;&lt;td id=p1&gt;&lt;td id=p2&gt;&lt;/tr&gt;&lt;/table&gt;';
+for (var size = 8; size &lt; 24; size++) {
+    var div = document.createElement('div');
+    document.getElementById(size &lt; (24 + 8) / 2 ? 'p1' : 'p2').appendChild(div);
+    div.innerHTML = '&lt;input style=&quot;font-size:' + size + 'px&quot;&gt; &lt;br&gt;'
+        + '&lt;input style=&quot;font-size:' + size + 'px&quot; type=number&gt;';
+}
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputnumberclickexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformsinputnumberclickexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-number-click-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-number-click-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-number-click-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+
+Test for the spin control behavior in a type=numnber input.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+Initial value is 3.14, click the up button once
+PASS i.value is &quot;4.14&quot;
+Click the up button again.  The maximum value is 5.
+PASS i.value is &quot;4.14&quot;
+Click the down button four times
+PASS i.value is &quot;0.14&quot;
+Click the down button again. The minimum value is 0.
+PASS i.value is &quot;0.14&quot;
+Make the control &quot;disabled&quot; and click the up button
+PASS i.value is &quot;0.14&quot;
+Make the control &quot;readOnly&quot; and click the up button
+PASS i.value is &quot;0.14&quot;
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsinputnumberclickhtmlfromrev188158trunkLayoutTestsplatformmacfastformsinputnumberclickhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/input-number-click.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/input-number-click.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/input-number-click.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,72 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;input id=i1 type=number value=&quot;3.14&quot; autofocus step=1 min=&quot;0.14&quot; max=5&gt;
+
+&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
+&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+description('Test for the spin control behavior in a type=numnber input.');
+
+if (window.eventSender) {
+    debug('Initial value is 3.14, click the up button once');
+    // The spin control is at (130,-1) in the input element on Mac.
+    // The size is 15x22.
+    var i = document.getElementById('i1');
+    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    // The up button has been clicked.
+    shouldBe('i.value', '&quot;4.14&quot;');
+
+    debug('Click the up button again.  The maximum value is 5.');
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    // The maximum value is 5.  So the value is not changed.
+    shouldBe('i.value', '&quot;4.14&quot;');
+
+    debug('Click the down button four times');
+    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 15);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    shouldBe('i.value', '&quot;0.14&quot;');
+
+    debug('Click the down button again. The minimum value is 0.');
+    // The minimum value is 0.  So the value is not changed.
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    shouldBe('i.value', '&quot;0.14&quot;');
+
+    debug('Make the control &quot;disabled&quot; and click the up button');
+    i.disabled = true;
+    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    shouldBe('i.value', '&quot;0.14&quot;');
+    i.disabled = false;
+
+    debug('Make the control &quot;readOnly&quot; and click the up button');
+    i.readOnly = true;
+    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+    shouldBe('i.value', '&quot;0.14&quot;');
+    i.readOnly = false;
+} else {
+  document.getElementById('console').innerHTML = 'No eventSender';
+}
+
+&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="trunkLayoutTestsfastformslistboxscrollbarhittestexpectedtxtfromrev188158trunkLayoutTestsplatformmacfastformslistboxscrollbarhittestexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+  
+Testing clicks on select1
+Scrolled down by itemHeight on down arrow click: PASS
+Scrolled up by itemHeight on up arrow click: PASS
+
+Testing clicks on select2
+Scrolled down by itemHeight on down arrow click: PASS
+Scrolled up by itemHeight on up arrow click: PASS
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformslistboxscrollbarhittesthtmlfromrev188158trunkLayoutTestsplatformmacfastformslistboxscrollbarhittesthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html                                (rev 0)
+++ trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,112 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+  &lt;title&gt;Listbox scrollbar hit testing&lt;/title&gt;
+  &lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+    select {
+      border: 20px inset gray;
+      padding: 10px;
+    }
+    
+    #results {
+      margin-top: 50px;
+    }
+  &lt;/style&gt;
+  &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
+    function sendClick(element, clientX, clientY)
+    {
+      if (window.eventSender) {
+        eventSender.mouseMoveTo(clientX, clientY);
+        eventSender.mouseDown();
+        eventSender.mouseUp();
+      }
+    }
+
+    function mouseDownOnSelect(selId, translateX, translateY)
+    {
+      log('Testing clicks on ' + selId);
+
+      var selectElement = document.getElementById(selId);
+      var itemHeight = 14;
+      var border = 20;
+      var scrollbarWidth = 10;
+      var scrollbarButtonHeight = 12;
+      
+      var scrollbarMidX = translateX + selectElement.offsetLeft + selectElement.offsetWidth - border - scrollbarWidth / 2;
+      // Recall that DRT runs with both scroll arrows at the end of the scrollbar
+      var scrollbarTopArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - scrollbarButtonHeight - 3;
+      var scrollbarBottomArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - 3;
+      
+      sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
+      sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
+      if (selectElement.scrollTop == 2 * itemHeight)
+        log('Scrolled down by itemHeight on down arrow click: PASS');
+      else
+        log('Failed to scroll down - scrollTop is ' + selectElement.scrollTop + ': FAIL');
+
+      sendClick(selectElement, scrollbarMidX, scrollbarTopArrowY);
+      if (selectElement.scrollTop == itemHeight)
+        log('Scrolled up by itemHeight on up arrow click: PASS');
+      else
+        log('Failed to scroll up - scrollTop is ' + selectElement.scrollTop + ': FAIL');
+
+      log('');
+    }
+    
+    function log(msg)
+    {
+      var results = document.getElementById('results');
+      results.innerHTML += msg + '&lt;br&gt;';
+    }
+    
+    function test()
+    {
+      if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
+      }
+      
+      if (!window.eventSender) {
+        log('This test only runs in DRT');
+      }
+      
+      // Have to wait for the select to be painted before the
+      // scrollbar is sized correctly.
+      setTimeout(function() {
+        mouseDownOnSelect('select1', 0, 0);
+        mouseDownOnSelect('select2', 50, 50);
+        if (window.testRunner)
+          testRunner.notifyDone();
+      }, 0);
+    }
+  &lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;test()&quot;&gt;
+
+  &lt;select id=&quot;select1&quot; size=&quot;5&quot;&gt;
+    &lt;option selected value=&quot;0&quot;&gt;item 0&lt;/option&gt;
+    &lt;option value=&quot;1&quot;&gt;item 1&lt;/option&gt;
+    &lt;option value=&quot;2&quot;&gt;item 2&lt;/option&gt;
+    &lt;option value=&quot;3&quot;&gt;item 3&lt;/option&gt;
+    &lt;option value=&quot;4&quot;&gt;item 4&lt;/option&gt;
+    &lt;option value=&quot;5&quot;&gt;item 5&lt;/option&gt;
+    &lt;option value=&quot;6&quot;&gt;item 6&lt;/option&gt;
+    &lt;option value=&quot;7&quot;&gt;item 7&lt;/option&gt;
+    &lt;option value=&quot;8&quot;&gt;item 8&lt;/option&gt;
+  &lt;/select&gt;
+
+  &lt;select id=&quot;select2&quot; size=&quot;5&quot; style=&quot;-webkit-transform: translate(50px, 50px);&quot;&gt;
+    &lt;option selected value=&quot;0&quot;&gt;item 0&lt;/option&gt;
+    &lt;option value=&quot;1&quot;&gt;item 1&lt;/option&gt;
+    &lt;option value=&quot;2&quot;&gt;item 2&lt;/option&gt;
+    &lt;option value=&quot;3&quot;&gt;item 3&lt;/option&gt;
+    &lt;option value=&quot;4&quot;&gt;item 4&lt;/option&gt;
+    &lt;option value=&quot;5&quot;&gt;item 5&lt;/option&gt;
+    &lt;option value=&quot;6&quot;&gt;item 6&lt;/option&gt;
+    &lt;option value=&quot;7&quot;&gt;item 7&lt;/option&gt;
+    &lt;option value=&quot;8&quot;&gt;item 8&lt;/option&gt;
+  &lt;/select&gt;
+
+  &lt;div id=&quot;results&quot;&gt;
+  &lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsscripttestsfocusoptioncontrolonpagejsfromrev188158trunkLayoutTestsplatformmacfastformsscripttestsfocusoptioncontrolonpagejs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js) (0 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js                                (rev 0)
+++ trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+description('https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.');
+
+var iteration = 0;
+var modifiers;
+var result;
+function startTest() {
+    debug(&quot;Pressing tab 4 times:&quot;);
+    modifiers = undefined;
+    testRunner.focusWebView(runKeyPresses);
+}
+
+function runKeyPresses() {
+    result = '';
+    for (var i = 0; i &lt; 4; ++i) {
+        result += ' /' + (i + 1) + ':';
+        eventSender.keyDown(&quot;\t&quot;, modifiers);
+    }
+    iteration++;
+    switch (iteration) {
+        case 1:
+            shouldBe('result', '&quot; /1:focused text field /2: /3:focused text field /4:&quot;');
+            debug(&quot;Pressing shift-tab 4 times:&quot;);
+            modifiers = [&quot;shiftKey&quot;];
+            testRunner.focusWebView(runKeyPresses);
+            break;
+        case 2:
+            shouldBe('result', '&quot; /1:focused text field /2: /3:focused text field /4:&quot;');
+            debug(&quot;Pressing option-tab 4 times:&quot;);
+            modifiers = [&quot;altKey&quot;];
+            testRunner.focusWebView(runKeyPresses);
+            break;
+        case 3:
+            shouldBe('result', '&quot; /1:focused first button /2:focused text field /3:focused second button /4:&quot;');
+            debug(&quot;Pressing shift-option-tab 4 times:&quot;);
+            modifiers = [&quot;shiftKey&quot;, &quot;altKey&quot;];
+            testRunner.focusWebView(runKeyPresses);
+            break;
+        case 4:
+            shouldBe('result', '&quot; /1:focused second button /2:focused text field /3:focused first button /4:&quot;');
+            testRunner.removeChromeInputField(notifyDone);
+            break;
+    }
+}
+
+function notifyDone() {
+    setTimeout(function() { testRunner.notifyDone(); }, 0);
+}
+
+function log(val) {
+    result += val;
+}
+
+/////////////////////////////////
+if (window.testRunner &amp;&amp; window.eventSender &amp;&amp; testRunner.addChromeInputField) {
+    window.jsTestIsAsync = true;
+    testRunner.addChromeInputField(startTest);
+} else
+    finishJSTest();
+
+var successfullyParsed = true;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/TestExpectations        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -367,12 +367,12 @@
</span><span class="cx"> 
</span><span class="cx"> # &lt;rdar://problem/11224160&gt; Focus not transferring properly in DumpRenderTree in Mountain Lion
</span><span class="cx"> fast/events/show-modal-dialog-onblur-onfocus.html [ Skip ]
</span><del>-platform/mac/fast/forms/listbox-scrollbar-hit-test.html [ Failure ]
</del><ins>+fast/forms/listbox-scrollbar-hit-test.html [ Failure ]
</ins><span class="cx"> platform/mac/fast/overflow/overflow-scrollbar-hit-test.html [ Failure ]
</span><span class="cx"> 
</span><span class="cx"> [ Mavericks ] accessibility/mac/form-control-value-settable.html [ Failure ]
</span><del>-platform/mac/fast/forms/input-appearance-spinbutton-up.html [ Failure ]
-platform/mac/fast/forms/input-appearance-spinbutton.html [ Failure ]
</del><ins>+[ Mavericks ] fast/forms/input-appearance-spinbutton-up.html [ Failure ]
+[ Mavericks ] fast/forms/input-appearance-spinbutton.html [ Failure ]
</ins><span class="cx"> platform/mac/fast/text/vertical-no-sideways.html [ Pass Failure ]
</span><span class="cx"> 
</span><span class="cx"> fast/css/resize-corner-tracking.html [ Pass Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsattributedstringsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-test
-4
-test
-4
-test
-NSForegroundColor,NSToolTip,NSFont,NSObliqueness
-NSToolTip,NSForegroundColor,NSFont
-0.5
-undefined
-NSDeviceRGBColorSpace 1 0.5 1 0.5
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsattributedstringshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,70 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-body { margin: 0; padding: 0 }
-&lt;/style&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;div id=&quot;test&quot; contenteditable&gt;FAILURE&lt;/div&gt;
-&lt;p id=&quot;console&quot;&gt;&lt;/p&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-    
-    var console_messages = document.createElement(&quot;ol&quot;);
-    
-    function log(message)
-    {
-        var item = document.createElement(&quot;li&quot;);
-        item.appendChild(document.createTextNode(message));
-        console_messages.appendChild(item);
-    }
-    
-    if (window.testRunner) {
-        
-        try {
-
-            testRunner.dumpAsText();
-                        document.getElementById(&quot;test&quot;).focus();
-
-            var substr = textInputController.attributedSubstringFromRange(0, 2);
-//            log(substr); -- attributedSubstringFromRange is not implemented in WebKit yet
-    
-            var attrString = textInputController.makeAttributedString(&quot;test&quot;);
-            log(attrString.getAttributeNamesAtIndex(0));
-            log(attrString.length());
-            log(attrString.string());
-
-            attrString.addAttribute(&quot;NSToolTip&quot;, &quot;Tool Tip&quot;);
-            attrString.addFontAttribute(&quot;NSFont&quot;, &quot;Monaco&quot;, 14);
-            attrString.addColorAttribute(&quot;NSForegroundColor&quot;, 1, 1, 1, 0.5);
-
-            attrString.addFontAttributeForRange(&quot;NSFont&quot;, &quot;Monaco&quot;, 12, 0, 2);
-            attrString.addColorAttributeForRange(&quot;NSForegroundColor&quot;, 1, 0.5, 1, 0.5, 0, 2);
-            attrString.addAttributeForRange(&quot;NSObliqueness&quot;, 0.5, 0, 2);
-
-            log(attrString.length());
-            log(attrString.string());
-            
-            log(attrString.getAttributeNamesAtIndex(0));
-            log(attrString.getAttributeNamesAtIndex(3));
-
-            log(attrString.getAttributeValueAtIndex(&quot;NSObliqueness&quot;, 0));
-            log(attrString.getAttributeValueAtIndex(&quot;NSObliqueness&quot;, 3));
-
-            log(attrString.getAttributeValueAtIndex(&quot;NSForegroundColor&quot;, 1));
-            
-            document.execCommand(&quot;SelectAll&quot;);
-            
-            textInputController.insertText(attrString);
-            
-        } catch (ex) {
-            document.write(&quot;Exception: &quot; + ex.description);
-        }
-        
-        document.getElementById(&quot;console&quot;).appendChild(console_messages);
-        
-    } else {
-        document.write(&quot;(cannot run interactively)&quot;);
-    }
-&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpageexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-  
-Pressing tab 4 times:
-PASS result is &quot; /1:focused text field /2: /3:focused text field /4:&quot;
-Pressing shift-tab 4 times:
-PASS result is &quot; /1:focused text field /2: /3:focused text field /4:&quot;
-Pressing option-tab 4 times:
-PASS result is &quot; /1:focused first button /2:focused text field /3:focused second button /4:&quot;
-Pressing shift-option-tab 4 times:
-PASS result is &quot; /1:focused second button /2:focused text field /3:focused first button /4:&quot;
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsfocusoptioncontrolonpagehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
-&lt;input type=&quot;button&quot; onfocus=&quot;log('focused first button')&quot; value=&quot;1&quot;&gt;
-&lt;input type=&quot;text&quot; onfocus=&quot;log('focused text field')&quot; value=&quot;2&quot;&gt;
-&lt;input type=&quot;button&quot; onfocus=&quot;log('focused second button')&quot; value=&quot;3&quot;&gt;
-&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
-&lt;script src=&quot;script-tests/focus-option-control-on-page.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheightexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-
-system-styled indeterminate progress bar height should be &gt; 0, was: 21
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsindeterminateprogressinlineheighthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;progress style=&quot;height: 0;&quot;&gt;&lt;/progress&gt;&lt;br/&gt;
-&lt;script&gt;
-if (window.testRunner)
-    testRunner.dumpAsText();
-
-document.write(&quot;system-styled indeterminate progress bar height should be &gt; 0, was: &quot; + document.getElementsByTagName(&quot;progress&quot;)[0].offsetHeight);
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,239 +0,0 @@
</span><del>-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 241x18
-          text run at (0,0) width 241: &quot;Test appearances of outer-spin-button.&quot;
-      RenderBlock {DIV} at (0,34) size 784x0
-      RenderBlock {DIV} at (0,34) size 784x528
-        RenderTable {TABLE} at (0,0) size 466x528
-          RenderTableSection {TBODY} at (0,0) size 466x528
-            RenderTableRow {TR} at (0,2) size 466x524
-              RenderTableCell {TD} at (2,81) size 189x366 [r=0 c=0 rs=1 cs=1]
-                RenderBlock {DIV} at (1,1) size 187x35
-                  RenderTextControl {INPUT} at (0,3) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (105,0) size 5x18
-                    text run at (105,0) width 5: &quot; &quot;
-                  RenderBR {BR} at (109,14) size 1x0
-                  RenderTextControl {INPUT} at (0,19) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 100x10
-                      RenderBlock {DIV} at (0,0) size 87x10
-                RenderBlock {DIV} at (1,36) size 187x36
-                  RenderTextControl {INPUT} at (0,2) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (115,0) size 5x18
-                    text run at (115,0) width 5: &quot; &quot;
-                  RenderBR {BR} at (119,14) size 1x0
-                  RenderTextControl {INPUT} at (0,19) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 110x11
-                      RenderBlock {DIV} at (0,0) size 97x11
-                RenderBlock {DIV} at (1,72) size 187x37
-                  RenderTextControl {INPUT} at (0,1) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (125,0) size 5x18
-                    text run at (125,0) width 5: &quot; &quot;
-                  RenderBR {BR} at (129,14) size 1x0
-                  RenderTextControl {INPUT} at (0,19) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 120x12
-                      RenderBlock {DIV} at (0,0) size 107x12
-                RenderBlock {DIV} at (1,109) size 187x46
-                  RenderTextControl {INPUT} at (2,2) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (140,2) size 5x18
-                    text run at (140,2) width 5: &quot; &quot;
-                  RenderBR {BR} at (144,16) size 1x0
-                  RenderTextControl {INPUT} at (2,25) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 131x13
-                      RenderBlock {DIV} at (0,0) size 118x13
-                RenderBlock {DIV} at (1,155) size 187x50
-                  RenderTextControl {INPUT} at (2,2) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (151,3) size 5x18
-                    text run at (151,3) width 5: &quot; &quot;
-                  RenderBR {BR} at (155,17) size 1x0
-                  RenderTextControl {INPUT} at (2,27) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 142x15
-                      RenderBlock {DIV} at (0,0) size 129x15
-                RenderBlock {DIV} at (1,205) size 187x52
-                  RenderTextControl {INPUT} at (2,2) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (162,4) size 5x18
-                    text run at (162,4) width 5: &quot; &quot;
-                  RenderBR {BR} at (166,18) size 1x0
-                  RenderTextControl {INPUT} at (2,28) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 153x16
-                      RenderBlock {DIV} at (0,0) size 138x16
-                RenderBlock {DIV} at (1,257) size 187x54
-                  RenderTextControl {INPUT} at (2,2) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (172,5) size 5x18
-                    text run at (172,5) width 5: &quot; &quot;
-                  RenderBR {BR} at (176,19) size 1x0
-                  RenderTextControl {INPUT} at (2,29) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 163x17
-                      RenderBlock {DIV} at (0,0) size 148x17
-                RenderBlock {DIV} at (1,311) size 187x54
-                  RenderTextControl {INPUT} at (2,2) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (182,5) size 5x18
-                    text run at (182,5) width 5: &quot; &quot;
-                  RenderBR {BR} at (186,19) size 1x0
-                  RenderTextControl {INPUT} at (2,29) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 173x17
-                      RenderBlock {DIV} at (0,0) size 158x17
-              RenderTableCell {TD} at (193,2) size 271x524 [r=0 c=1 rs=1 cs=1]
-                RenderBlock {DIV} at (1,1) size 269x56
-                  RenderTextControl {INPUT} at (2,2) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (193,6) size 5x18
-                    text run at (193,6) width 5: &quot; &quot;
-                  RenderBR {BR} at (197,20) size 1x0
-                  RenderTextControl {INPUT} at (2,30) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 184x18
-                      RenderBlock {DIV} at (0,0) size 169x18
-                RenderBlock {DIV} at (1,57) size 269x60
-                  RenderTextControl {INPUT} at (2,2) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (204,7) size 5x18
-                    text run at (204,7) width 5: &quot; &quot;
-                  RenderBR {BR} at (208,21) size 1x0
-                  RenderTextControl {INPUT} at (2,32) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 195x20
-                      RenderBlock {DIV} at (0,0) size 180x20
-                RenderBlock {DIV} at (1,117) size 269x62
-                  RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (213,8) size 5x18
-                    text run at (213,8) width 5: &quot; &quot;
-                  RenderBR {BR} at (217,22) size 1x0
-                  RenderTextControl {INPUT} at (2,33) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 204x21
-                      RenderBlock {DIV} at (0,0) size 185x21
-                RenderBlock {DIV} at (1,179) size 269x64
-                  RenderTextControl {INPUT} at (2,2) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (223,9) size 5x18
-                    text run at (223,9) width 5: &quot; &quot;
-                  RenderBR {BR} at (227,23) size 1x0
-                  RenderTextControl {INPUT} at (2,34) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 214x22
-                      RenderBlock {DIV} at (0,0) size 195x22
-                RenderBlock {DIV} at (1,243) size 269x66
-                  RenderTextControl {INPUT} at (2,2) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (232,10) size 5x18
-                    text run at (232,10) width 5: &quot; &quot;
-                  RenderBR {BR} at (236,24) size 1x0
-                  RenderTextControl {INPUT} at (2,35) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 223x23
-                      RenderBlock {DIV} at (0,0) size 204x23
-                RenderBlock {DIV} at (1,309) size 269x68
-                  RenderTextControl {INPUT} at (2,2) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (243,11) size 5x18
-                    text run at (243,11) width 5: &quot; &quot;
-                  RenderBR {BR} at (247,25) size 1x0
-                  RenderTextControl {INPUT} at (2,36) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 234x24
-                      RenderBlock {DIV} at (0,0) size 215x24
-                RenderBlock {DIV} at (1,377) size 269x72
-                  RenderTextControl {INPUT} at (2,2) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (254,12) size 5x18
-                    text run at (254,12) width 5: &quot; &quot;
-                  RenderBR {BR} at (258,26) size 1x0
-                  RenderTextControl {INPUT} at (2,38) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 245x26
-                      RenderBlock {DIV} at (0,0) size 226x26
-                RenderBlock {DIV} at (1,449) size 269x74
-                  RenderTextControl {INPUT} at (2,2) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                  RenderText {#text} at (264,13) size 5x18
-                    text run at (264,13) width 5: &quot; &quot;
-                  RenderBR {BR} at (268,27) size 1x0
-                  RenderTextControl {INPUT} at (2,39) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-                    RenderFlexibleBox {DIV} at (3,3) size 255x27
-                      RenderBlock {DIV} at (0,0) size 236x27
-layer at (14,130) size 99x10
-  RenderBlock {DIV} at (3,3) size 100x10
-layer at (14,146) size 86x10
-  RenderBlock {DIV} at (0,0) size 87x10
-layer at (14,164) size 109x11
-  RenderBlock {DIV} at (3,3) size 110x11
-layer at (14,181) size 96x11
-  RenderBlock {DIV} at (0,0) size 97x11
-layer at (14,199) size 119x12
-  RenderBlock {DIV} at (3,3) size 120x12
-layer at (14,217) size 106x12
-  RenderBlock {DIV} at (0,0) size 107x12
-layer at (16,237) size 130x13
-  RenderBlock {DIV} at (3,3) size 131x13
-layer at (16,260) size 117x13
-  RenderBlock {DIV} at (0,0) size 118x13
-layer at (16,283) size 141x15
-  RenderBlock {DIV} at (3,3) size 142x15
-layer at (16,308) size 128x15
-  RenderBlock {DIV} at (0,0) size 129x15
-layer at (16,333) size 152x16
-  RenderBlock {DIV} at (3,3) size 153x16
-layer at (16,359) size 137x16
-  RenderBlock {DIV} at (0,0) size 138x16
-layer at (16,385) size 162x17
-  RenderBlock {DIV} at (3,3) size 163x17
-layer at (16,412) size 147x17
-  RenderBlock {DIV} at (0,0) size 148x17
-layer at (16,439) size 173x17
-  RenderBlock {DIV} at (3,3) size 173x17
-layer at (16,466) size 158x17
-  RenderBlock {DIV} at (0,0) size 158x17
-layer at (207,50) size 183x18
-  RenderBlock {DIV} at (3,3) size 184x18
-layer at (207,78) size 168x18
-  RenderBlock {DIV} at (0,0) size 169x18
-layer at (207,106) size 194x20
-  RenderBlock {DIV} at (3,3) size 195x20
-layer at (207,136) size 179x20
-  RenderBlock {DIV} at (0,0) size 180x20
-layer at (207,166) size 203x21
-  RenderBlock {DIV} at (3,3) size 204x21
-layer at (207,197) size 184x21
-  RenderBlock {DIV} at (0,0) size 185x21
-layer at (207,228) size 213x22
-  RenderBlock {DIV} at (3,3) size 214x22
-layer at (207,260) size 194x22
-  RenderBlock {DIV} at (0,0) size 195x22
-layer at (207,292) size 223x23
-  RenderBlock {DIV} at (3,3) size 223x23
-layer at (207,325) size 204x23
-  RenderBlock {DIV} at (0,0) size 204x23
-layer at (207,358) size 233x24
-  RenderBlock {DIV} at (3,3) size 234x24
-layer at (207,392) size 214x24
-  RenderBlock {DIV} at (0,0) size 215x24
-layer at (207,426) size 244x26
-  RenderBlock {DIV} at (3,3) size 245x26
-layer at (207,462) size 225x26
-  RenderBlock {DIV} at (0,0) size 226x26
-layer at (207,498) size 255x27
-  RenderBlock {DIV} at (3,3) size 255x27
-layer at (207,535) size 236x27
-  RenderBlock {DIV} at (0,0) size 236x27
-layer at (101,145) size 13x12
-  RenderBlock (relative positioned) {DIV} at (87,-1) size 14x12
-layer at (111,180) size 13x13
-  RenderBlock (relative positioned) {DIV} at (97,-1) size 14x13
-layer at (121,216) size 13x14
-  RenderBlock (relative positioned) {DIV} at (107,-1) size 14x14
-layer at (134,259) size 13x15
-  RenderBlock (relative positioned) {DIV} at (118,-1) size 14x15
-layer at (145,307) size 13x17
-  RenderBlock (relative positioned) {DIV} at (129,-1) size 14x17
-layer at (154,358) size 15x18
-  RenderBlock (relative positioned) {DIV} at (138,-1) size 16x18
-layer at (164,411) size 15x19
-  RenderBlock (relative positioned) {DIV} at (148,-1) size 16x19
-layer at (175,465) size 15x19
-  RenderBlock (relative positioned) {DIV} at (158,-1) size 16x19
-layer at (376,77) size 15x20
-  RenderBlock (relative positioned) {DIV} at (169,-1) size 16x20
-layer at (387,135) size 15x22
-  RenderBlock (relative positioned) {DIV} at (180,-1) size 16x22
-layer at (392,196) size 19x23
-  RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
-layer at (402,259) size 19x24
-  RenderBlock (relative positioned) {DIV} at (195,-1) size 20x24
-layer at (412,324) size 19x25
-  RenderBlock (relative positioned) {DIV} at (204,-1) size 20x25
-layer at (422,391) size 19x26
-  RenderBlock (relative positioned) {DIV} at (215,-1) size 20x26
-layer at (433,461) size 19x28
-  RenderBlock (relative positioned) {DIV} at (226,-1) size 20x28
-layer at (444,534) size 19x29
-  RenderBlock (relative positioned) {DIV} at (236,-1) size 20x29
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.
-
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight &lt;= input.offsetHeight + 6 is true
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
-
-
-
-
-
-
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonsizehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;style&gt;
-.button {
-  -webkit-appearance: outer-spin-button;
-  display: inline-block;
-}
-&lt;/style&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;script&gt;
-document.getElementById('description').innerHTML = 'Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.';
-
-var body = document.body;
-for (var size = 8; size &lt; 20; size++) {
-    var div = document.createElement('div');
-    body.appendChild(div);
-    div.innerHTML = '&lt;input style=&quot;font-size:' + size + 'px&quot; id=input' + size + '&gt;'
-        + '&lt;span class=&quot;button&quot; style=&quot;font-size:' + size + 'px&quot; id=span' + size + '&gt;&lt;/span&gt;';
-    var input = document.getElementById('input' + size);
-    var spinButton = document.getElementById('span' + size);
-    // 6 is border-top + border-bottom + padding-top + padding-bottom in the default style.
-    shouldBeTrue('spinButton.offsetHeight &lt;= input.offsetHeight + 6');
-}
-
-&lt;/script&gt;
-&lt;script src=&quot;../../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonupexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonupexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-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 430x18
-          text run at (0,0) width 430: &quot;Test appearances of outer-spin-button with its up button highlighted.&quot;
-      RenderBlock {DIV} at (0,34) size 784x0
-      RenderBlock (anonymous) at (0,34) size 784x31
-        RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-          RenderFlexibleBox {DIV} at (3,3) size 204x21
-            RenderBlock {DIV} at (0,0) size 185x21
-        RenderText {#text} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-layer at (13,47) size 184x21
-  RenderBlock {DIV} at (0,0) size 185x21
-    RenderText {#text} at (0,0) size 11x21
-      text run at (0,0) width 11: &quot;1&quot;
-layer at (198,46) size 19x23
-  RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
-caret: position 1 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonuphtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-&lt;/style&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Test appearances of outer-spin-button with its up button highlighted.&lt;/p&gt;
-&lt;div id=console&gt;&lt;/div&gt;
-&lt;input type=number style=&quot;font-size: 18px;&quot; id=number value=0&gt;
-
-&lt;script&gt;
-if (window.eventSender) {
-    var input = document.getElementById('number');
-    eventSender.mouseMoveTo(input.offsetLeft + input.offsetWidth - 8, input.offsetTop + 6);
-    eventSender.mouseDown();
-} else {
-    document.getElementById('console').innerHTML = '&lt;p&gt;Manual test: Press the primary button of the pointing device on the upper button.  Check if the upper button is correctly highlighted.&lt;/p&gt;';
-}
-&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputappearancespinbuttonhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-&lt;/style&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Test appearances of outer-spin-button.&lt;/p&gt;
-&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
-
-&lt;script&gt;
-var parent = document.createElement('div');
-document.body.appendChild(parent);
-parent.innerHTML = '&lt;table&gt;&lt;tr&gt;&lt;td id=p1&gt;&lt;td id=p2&gt;&lt;/tr&gt;&lt;/table&gt;';
-for (var size = 8; size &lt; 24; size++) {
-    var div = document.createElement('div');
-    document.getElementById(size &lt; (24 + 8) / 2 ? 'p1' : 'p2').appendChild(div);
-    div.innerHTML = '&lt;input style=&quot;font-size:' + size + 'px&quot;&gt; &lt;br&gt;'
-        + '&lt;input style=&quot;font-size:' + size + 'px&quot; type=number&gt;';
-}
-&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputnumberclickexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-
-Test for the spin control behavior in a type=numnber input.
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-Initial value is 3.14, click the up button once
-PASS i.value is &quot;4.14&quot;
-Click the up button again.  The maximum value is 5.
-PASS i.value is &quot;4.14&quot;
-Click the down button four times
-PASS i.value is &quot;0.14&quot;
-Click the down button again. The minimum value is 0.
-PASS i.value is &quot;0.14&quot;
-Make the control &quot;disabled&quot; and click the up button
-PASS i.value is &quot;0.14&quot;
-Make the control &quot;readOnly&quot; and click the up button
-PASS i.value is &quot;0.14&quot;
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsinputnumberclickhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-
-&lt;input id=i1 type=number value=&quot;3.14&quot; autofocus step=1 min=&quot;0.14&quot; max=5&gt;
-
-&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
-&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
-&lt;script&gt;
-description('Test for the spin control behavior in a type=numnber input.');
-
-if (window.eventSender) {
-    debug('Initial value is 3.14, click the up button once');
-    // The spin control is at (130,-1) in the input element on Mac.
-    // The size is 15x22.
-    var i = document.getElementById('i1');
-    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    // The up button has been clicked.
-    shouldBe('i.value', '&quot;4.14&quot;');
-
-    debug('Click the up button again.  The maximum value is 5.');
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    // The maximum value is 5.  So the value is not changed.
-    shouldBe('i.value', '&quot;4.14&quot;');
-
-    debug('Click the down button four times');
-    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 15);
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    shouldBe('i.value', '&quot;0.14&quot;');
-
-    debug('Click the down button again. The minimum value is 0.');
-    // The minimum value is 0.  So the value is not changed.
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    shouldBe('i.value', '&quot;0.14&quot;');
-
-    debug('Make the control &quot;disabled&quot; and click the up button');
-    i.disabled = true;
-    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    shouldBe('i.value', '&quot;0.14&quot;');
-    i.disabled = false;
-
-    debug('Make the control &quot;readOnly&quot; and click the up button');
-    i.readOnly = true;
-    eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-    shouldBe('i.value', '&quot;0.14&quot;');
-    i.readOnly = false;
-} else {
-  document.getElementById('console').innerHTML = 'No eventSender';
-}
-
-&lt;/script&gt;
-&lt;script src=&quot;../../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformslistboxscrollbarhittestexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-  
-Testing clicks on select1
-Scrolled down by itemHeight on down arrow click: PASS
-Scrolled up by itemHeight on up arrow click: PASS
-
-Testing clicks on select2
-Scrolled down by itemHeight on down arrow click: PASS
-Scrolled up by itemHeight on up arrow click: PASS
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformslistboxscrollbarhittesthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,112 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-  &lt;title&gt;Listbox scrollbar hit testing&lt;/title&gt;
-  &lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-    select {
-      border: 20px inset gray;
-      padding: 10px;
-    }
-    
-    #results {
-      margin-top: 50px;
-    }
-  &lt;/style&gt;
-  &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
-    function sendClick(element, clientX, clientY)
-    {
-      if (window.eventSender) {
-        eventSender.mouseMoveTo(clientX, clientY);
-        eventSender.mouseDown();
-        eventSender.mouseUp();
-      }
-    }
-
-    function mouseDownOnSelect(selId, translateX, translateY)
-    {
-      log('Testing clicks on ' + selId);
-
-      var selectElement = document.getElementById(selId);
-      var itemHeight = 14;
-      var border = 20;
-      var scrollbarWidth = 10;
-      var scrollbarButtonHeight = 12;
-      
-      var scrollbarMidX = translateX + selectElement.offsetLeft + selectElement.offsetWidth - border - scrollbarWidth / 2;
-      // Recall that DRT runs with both scroll arrows at the end of the scrollbar
-      var scrollbarTopArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - scrollbarButtonHeight - 3;
-      var scrollbarBottomArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - 3;
-      
-      sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
-      sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
-      if (selectElement.scrollTop == 2 * itemHeight)
-        log('Scrolled down by itemHeight on down arrow click: PASS');
-      else
-        log('Failed to scroll down - scrollTop is ' + selectElement.scrollTop + ': FAIL');
-
-      sendClick(selectElement, scrollbarMidX, scrollbarTopArrowY);
-      if (selectElement.scrollTop == itemHeight)
-        log('Scrolled up by itemHeight on up arrow click: PASS');
-      else
-        log('Failed to scroll up - scrollTop is ' + selectElement.scrollTop + ': FAIL');
-
-      log('');
-    }
-    
-    function log(msg)
-    {
-      var results = document.getElementById('results');
-      results.innerHTML += msg + '&lt;br&gt;';
-    }
-    
-    function test()
-    {
-      if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-      }
-      
-      if (!window.eventSender) {
-        log('This test only runs in DRT');
-      }
-      
-      // Have to wait for the select to be painted before the
-      // scrollbar is sized correctly.
-      setTimeout(function() {
-        mouseDownOnSelect('select1', 0, 0);
-        mouseDownOnSelect('select2', 50, 50);
-        if (window.testRunner)
-          testRunner.notifyDone();
-      }, 0);
-    }
-  &lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;test()&quot;&gt;
-
-  &lt;select id=&quot;select1&quot; size=&quot;5&quot;&gt;
-    &lt;option selected value=&quot;0&quot;&gt;item 0&lt;/option&gt;
-    &lt;option value=&quot;1&quot;&gt;item 1&lt;/option&gt;
-    &lt;option value=&quot;2&quot;&gt;item 2&lt;/option&gt;
-    &lt;option value=&quot;3&quot;&gt;item 3&lt;/option&gt;
-    &lt;option value=&quot;4&quot;&gt;item 4&lt;/option&gt;
-    &lt;option value=&quot;5&quot;&gt;item 5&lt;/option&gt;
-    &lt;option value=&quot;6&quot;&gt;item 6&lt;/option&gt;
-    &lt;option value=&quot;7&quot;&gt;item 7&lt;/option&gt;
-    &lt;option value=&quot;8&quot;&gt;item 8&lt;/option&gt;
-  &lt;/select&gt;
-
-  &lt;select id=&quot;select2&quot; size=&quot;5&quot; style=&quot;-webkit-transform: translate(50px, 50px);&quot;&gt;
-    &lt;option selected value=&quot;0&quot;&gt;item 0&lt;/option&gt;
-    &lt;option value=&quot;1&quot;&gt;item 1&lt;/option&gt;
-    &lt;option value=&quot;2&quot;&gt;item 2&lt;/option&gt;
-    &lt;option value=&quot;3&quot;&gt;item 3&lt;/option&gt;
-    &lt;option value=&quot;4&quot;&gt;item 4&lt;/option&gt;
-    &lt;option value=&quot;5&quot;&gt;item 5&lt;/option&gt;
-    &lt;option value=&quot;6&quot;&gt;item 6&lt;/option&gt;
-    &lt;option value=&quot;7&quot;&gt;item 7&lt;/option&gt;
-    &lt;option value=&quot;8&quot;&gt;item 8&lt;/option&gt;
-  &lt;/select&gt;
-
-  &lt;div id=&quot;results&quot;&gt;
-  &lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastformsscripttestsfocusoptioncontrolonpagejs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-description('https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.');
-
-var iteration = 0;
-var modifiers;
-var result;
-function startTest() {
-    debug(&quot;Pressing tab 4 times:&quot;);
-    modifiers = undefined;
-    testRunner.focusWebView(runKeyPresses);
-}
-
-function runKeyPresses() {
-    result = '';
-    for (var i = 0; i &lt; 4; ++i) {
-        result += ' /' + (i + 1) + ':';
-        eventSender.keyDown(&quot;\t&quot;, modifiers);
-    }
-    iteration++;
-    switch (iteration) {
-        case 1:
-            shouldBe('result', '&quot; /1:focused text field /2: /3:focused text field /4:&quot;');
-            debug(&quot;Pressing shift-tab 4 times:&quot;);
-            modifiers = [&quot;shiftKey&quot;];
-            testRunner.focusWebView(runKeyPresses);
-            break;
-        case 2:
-            shouldBe('result', '&quot; /1:focused text field /2: /3:focused text field /4:&quot;');
-            debug(&quot;Pressing option-tab 4 times:&quot;);
-            modifiers = [&quot;altKey&quot;];
-            testRunner.focusWebView(runKeyPresses);
-            break;
-        case 3:
-            shouldBe('result', '&quot; /1:focused first button /2:focused text field /3:focused second button /4:&quot;');
-            debug(&quot;Pressing shift-option-tab 4 times:&quot;);
-            modifiers = [&quot;shiftKey&quot;, &quot;altKey&quot;];
-            testRunner.focusWebView(runKeyPresses);
-            break;
-        case 4:
-            shouldBe('result', '&quot; /1:focused second button /2:focused text field /3:focused first button /4:&quot;');
-            testRunner.removeChromeInputField(notifyDone);
-            break;
-    }
-}
-
-function notifyDone() {
-    setTimeout(function() { testRunner.notifyDone(); }, 0);
-}
-
-function log(val) {
-    result += val;
-}
-
-/////////////////////////////////
-if (window.testRunner &amp;&amp; window.eventSender &amp;&amp; testRunner.addChromeInputField) {
-    window.jsTestIsAsync = true;
-    testRunner.addChromeInputField(startTest);
-} else
-    finishJSTest();
-
-var successfullyParsed = true;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/TestExpectations        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -1,6 +1,16 @@
</span><span class="cx"> # This file should contain entries for expectations that are specific
</span><span class="cx"> # to the Apple Mac port running WebKit1 (DumpRenderTree)
</span><span class="cx"> 
</span><ins>+#//////////////////////////////////////////////////////////////////////////////////////////
+# Platform-specific tests. Skipped globally, then re-enabled here.
+#//////////////////////////////////////////////////////////////////////////////////////////
+
+fast/forms/attributed-strings.html [ Pass ]
+
+#//////////////////////////////////////////////////////////////////////////////////////////
+# End platform-specific directories.
+#//////////////////////////////////////////////////////////////////////////////////////////
+
</ins><span class="cx"> ###### This file has two sections. When adding new tests, make sure to
</span><span class="cx"> ###### add to the right section:
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/TestExpectations        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -113,7 +113,6 @@
</span><span class="cx"> http/tests/security/drag-over-remote-content-iframe.html
</span><span class="cx"> editing/mac/pasteboard/dataTransfer-set-data-file-url.html
</span><span class="cx"> editing/mac/pasteboard/drag-selections-to-contenteditable.html
</span><del>-platform/mac/fast/forms/listbox-scrollbar-hit-test.html
</del><span class="cx"> editing/pasteboard/drag-drop-paragraph-crasher.html
</span><span class="cx"> 
</span><span class="cx"> # [WK2] [Mac] Spellcheck tests don't seem to work
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/wk2/TestExpectations (188158 => 188159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/wk2/TestExpectations        2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/wk2/TestExpectations        2015-08-07 21:07:40 UTC (rev 188159)
</span><span class="lines">@@ -109,7 +109,6 @@
</span><span class="cx"> editing/mac/pasteboard/paste-and-match-style-selector-event.html
</span><span class="cx"> editing/mac/selection/25228.html
</span><span class="cx"> platform/mac/fast/dom/character-index-for-point.html
</span><del>-platform/mac/fast/forms/attributed-strings.html
</del><span class="cx"> platform/mac/fast/text/attributed-substring-from-range-001.html
</span><span class="cx"> platform/mac/fast/text/attributed-substring-from-range-002.html
</span><span class="cx"> platform/mac/fast/text/attributed-substring-from-range-in-textfield.html
</span><span class="lines">@@ -540,9 +539,6 @@
</span><span class="cx"> # Mysterious failure after enabling paste tests
</span><span class="cx"> editing/mac/pasteboard/text-precomposed.html
</span><span class="cx"> 
</span><del>-# An empty layer is missing.
-platform/mac/fast/forms/input-appearance-spinbutton-up.html
-
</del><span class="cx"> # [WK2] http/tests/security/local-image-from-remote-whitelisted.html crashes
</span><span class="cx"> # https://bugs.webkit.org/show_bug.cgi?id=73435
</span><span class="cx"> http/tests/security/local-image-from-remote-whitelisted.html
</span></span></pre>
</div>
</div>

</body>
</html>