Title: [139245] trunk/LayoutTests
Revision
139245
Author
o...@chromium.org
Date
2013-01-09 15:00:52 -0800 (Wed, 09 Jan 2013)

Log Message

Proper version of http://trac.webkit.org/changeset/139221.
The problem was that there was line-wrapping due to form controls
being different sizes on different platforms, not that form
controls dump innerText differently.

* fast/forms/min-content-form-controls-expected.txt:
* fast/forms/min-content-form-controls.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (139244 => 139245)


--- trunk/LayoutTests/ChangeLog	2013-01-09 22:57:46 UTC (rev 139244)
+++ trunk/LayoutTests/ChangeLog	2013-01-09 23:00:52 UTC (rev 139245)
@@ -1,3 +1,13 @@
+2013-01-09  Ojan Vafai  <o...@chromium.org>
+
+        Proper version of http://trac.webkit.org/changeset/139221.
+        The problem was that there was line-wrapping due to form controls
+        being different sizes on different platforms, not that form
+        controls dump innerText differently.
+
+        * fast/forms/min-content-form-controls-expected.txt:
+        * fast/forms/min-content-form-controls.html:
+
 2013-01-09  Roger Fong  <roger_f...@apple.com>
 
         Unreviewed. Device Proximity is not enabled/implemented on Windows.

Modified: trunk/LayoutTests/fast/forms/min-content-form-controls-expected.txt (139244 => 139245)


--- trunk/LayoutTests/fast/forms/min-content-form-controls-expected.txt	2013-01-09 22:57:46 UTC (rev 139244)
+++ trunk/LayoutTests/fast/forms/min-content-form-controls-expected.txt	2013-01-09 23:00:52 UTC (rev 139245)
@@ -9,3 +9,13 @@
 The form controls of the same type below should be the same width.
 
 
+
+
+
+
+
+
+
+
+
+

Modified: trunk/LayoutTests/fast/forms/min-content-form-controls.html (139244 => 139245)


--- trunk/LayoutTests/fast/forms/min-content-form-controls.html	2013-01-09 22:57:46 UTC (rev 139244)
+++ trunk/LayoutTests/fast/forms/min-content-form-controls.html	2013-01-09 23:00:52 UTC (rev 139245)
@@ -11,20 +11,20 @@
 </style>
 <p>The form controls of the same type below should be the same width.</p>
 
-<input id="text-a" class="min-content">
-<input id="text-b">
+<input id="text-a" class="min-content"><br>
+<input id="text-b"><br>
 
-<input id="file-a" type=file class="min-content">
-<input id="file-b" type=file>
+<input id="file-a" type=file class="min-content"><br>
+<input id="file-b" type=file><br>
 
-<input id="range-a" type=range class="min-content">
-<input id="range-b" type=range>
+<input id="range-a" type=range class="min-content"><br>
+<input id="range-b" type=range><br>
 
-<select id="select-a" class="min-content"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select>
-<select id="select-b"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select>
+<select id="select-a" class="min-content"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
+<select id="select-b"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
 
-<select id="multiple-a" multiple class="min-content"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select>
-<select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select>
+<select id="multiple-a" multiple class="min-content"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
+<select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
 
 <script src=""
 <script>
@@ -32,18 +32,5 @@
 ids.forEach(function(id) {
     shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.getElementById("' + id + '-b").offsetWidth');
 });
-
-function remove(id) {
-    var node = document.getElementById(id);
-    node.parentNode.removeChild(node);
-}
-
-if (window.testRunner) {
-    // Remove these elements since some of the text dumps are different platforms.
-    ids.forEach(function(id) {
-        remove(id + '-a');
-        remove(id + '-b');
-    });
-}
 </script>
 <script src=""
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to