select-line-break-with-opposite-directionality.html is flaky
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 18:35:13 +0000 (18:35 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 18:35:13 +0000 (18:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=80227

Unreviewed test fix attempt.

* editing/selection/select-line-break-with-opposite-directionality.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109934 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/editing/selection/select-line-break-with-opposite-directionality.html

index 33d33a3..9f617f9 100644 (file)
@@ -1,3 +1,12 @@
+2012-03-06  Ryosuke Niwa  <rniwa@webkit.org>
+
+        select-line-break-with-opposite-directionality.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=80227
+
+        Unreviewed test fix attempt.
+
+        * editing/selection/select-line-break-with-opposite-directionality.html:
+
 2012-03-06  Philippe Normand  <pnormand@igalia.com>
 
         [GTK] fullscreen/full-screen-iframe-legacy.html is flaky
index 80f491a..5dfd11d 100644 (file)
     padding: 13px;
 }
 
-.hideTestsInDRT .tests {
-    display: none;
-}
-
 </style>
 </head>
 <body>
 <p>This tests selecting LTR/RTL text that spans multiple lines in RTL/LTR block (opposite directionality).
 To manually test, select text in each of editable regions below by dragging mouse from one edge to another.
 The entire line should be selected.</p>
+<div id="tests">
 <ol class="tests">
 <li><div contenteditable title="0 3, 4 6">abc<br>def</div></li>
 <li><div contenteditable title="0 3">ابص</div></li>
@@ -48,6 +45,7 @@ a</span></pre></li>
 
 a</span></pre></li>
 </ol>
+</div>
 <pre id="log"><script>
 
 function selectLineSafely(test, lineTop) {
@@ -95,7 +93,7 @@ if (window.layoutTestController) {
         }
     }
 
-    document.body.className = 'hideTestsInDRT';
+    document.getElementById('tests').style.display = 'none';
 } else {
     document.addEventListener('selectionchange', function () {
         var selection = window.getSelection();