Title: [107798] trunk/LayoutTests
Revision
107798
Author
[email protected]
Date
2012-02-15 03:28:40 -0800 (Wed, 15 Feb 2012)

Log Message

2012-02-15  Kent Tamura  <[email protected]>

        Unreviewed, change the encoding of a test HTML.

        * fast/forms/radio-nested-labels.html: Convert from UTF-16 to UTF-8.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (107797 => 107798)


--- trunk/LayoutTests/ChangeLog	2012-02-15 10:48:58 UTC (rev 107797)
+++ trunk/LayoutTests/ChangeLog	2012-02-15 11:28:40 UTC (rev 107798)
@@ -1,3 +1,9 @@
+2012-02-15  Kent Tamura  <[email protected]>
+
+        Unreviewed, change the encoding of a test HTML.
+
+        * fast/forms/radio-nested-labels.html: Convert from UTF-16 to UTF-8.
+
 2012-02-15  Nikolas Zimmermann  <[email protected]>
 
         Switch svg/dynamic-updates tests to repaint harness

Modified: trunk/LayoutTests/fast/forms/radio-nested-labels.html (107797 => 107798)


--- trunk/LayoutTests/fast/forms/radio-nested-labels.html	2012-02-15 10:48:58 UTC (rev 107797)
+++ trunk/LayoutTests/fast/forms/radio-nested-labels.html	2012-02-15 11:28:40 UTC (rev 107798)
@@ -1,33 +1,32 @@
-\xFF\xFE<script>
-function checkButton() {
-    if (!window.layoutTestController)
-        return;
-
-    var radioFour = document.getElementById("four");
-    var radioX = radioFour.offsetLeft + radioFour.offsetWidth / 2;
-    var radioY = radioFour.offsetTop + radioFour.offsetHeight / 2;
-    
-    eventSender.mouseMoveTo(radioX, radioY);
-    eventSender.mouseDown();
-    eventSender.mouseUp();
-
-    var result = document.getElementById("result");
-    if (radioFour.checked)
-        result.innerHTML = "Test Succeeded!";
-}
-</script>
-
-<body onload="checkButton()">
-<p>This tests our ability to correctly select radio buttons when we have nested label tags. This test 
-only works in DumpRenderTree. It can be tested manually outside of DRT just by clicking around.</p>
-
-<form>
-    <input  type="radio" name="chkPlan" id="one"><label for="one">one
-    <input  type="radio" name="chkPlan" id="two"><label for="two">two
-    <input  type="radio" name="chkPlan" id="three"><label for="three">three
-    <input  type="radio" name="chkPlan" id="four"><label for="four">four
-</form>
-
-<div id="result">Test Failed</div>
-</body>
-
\ No newline at end of file
+<script>
+function checkButton() {
+    if (!window.layoutTestController)
+        return;
+
+    var radioFour = document.getElementById("four");
+    var radioX = radioFour.offsetLeft + radioFour.offsetWidth / 2;
+    var radioY = radioFour.offsetTop + radioFour.offsetHeight / 2;
+    
+    eventSender.mouseMoveTo(radioX, radioY);
+    eventSender.mouseDown();
+    eventSender.mouseUp();
+
+    var result = document.getElementById("result");
+    if (radioFour.checked)
+        result.innerHTML = "Test Succeeded!";
+}
+</script>
+
+<body _onload_="checkButton()">
+<p>This tests our ability to correctly select radio buttons when we have nested label tags. This test 
+only works in DumpRenderTree. It can be tested manually outside of DRT just by clicking around.</p>
+
+<form>
+    <input  type="radio" name="chkPlan" id="one"><label for=""
+    <input  type="radio" name="chkPlan" id="two"><label for=""
+    <input  type="radio" name="chkPlan" id="three"><label for=""
+    <input  type="radio" name="chkPlan" id="four"><label for=""
+</form>
+
+<div id="result">Test Failed</div>
+</body>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to