OLD | NEW |
| 1 <script src="../../resources/run-after-display.js"></script> |
1 <script> | 2 <script> |
2 onload = function() | 3 if (window.testRunner) |
3 { | 4 testRunner.waitUntilDone(); |
4 if (window.testRunner) { | 5 runAfterDisplay(function() { |
5 testRunner.waitUntilDone(); | |
6 testRunner.display(); | |
7 } | |
8 setTimeout(changeColor, 0); | |
9 } | |
10 | |
11 changeColor = function() | |
12 { | |
13 var span = document.getElementById("span"); | 6 var span = document.getElementById("span"); |
14 getSelection().setBaseAndExtent(span, 0, span, 1); | 7 getSelection().setBaseAndExtent(span, 0, span, 1); |
15 if (window.testRunner) | 8 if (window.testRunner) |
16 testRunner.notifyDone(); | 9 testRunner.notifyDone(); |
17 } | 10 }); |
18 </script> | 11 </script> |
19 <p> | 12 <p> |
20 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19525">https://
bugs.webkit.org/show_bug.cgi?id=19525</a> | 13 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19525">https://
bugs.webkit.org/show_bug.cgi?id=19525</a> |
21 -webkit-box-reflect in hyperlink causes webkit to crash</i>. | 14 -webkit-box-reflect in hyperlink causes webkit to crash</i>. |
22 </p> | 15 </p> |
23 <p> | 16 <p> |
24 Because it is an inline flow, <span id="span" style="-webkit-box-reflect: be
low;">this span</span> should not have a reflection, and selecting it should not
cause a crash. | 17 Because it is an inline flow, <span id="span" style="-webkit-box-reflect: be
low;">this span</span> should not have a reflection, and selecting it should not
cause a crash. |
25 </p> | 18 </p> |
OLD | NEW |