tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / reflections / inline-crash.html
1 <script>
2     onload = function()
3     {
4         if (window.layoutTestController) {
5             layoutTestController.waitUntilDone();
6             layoutTestController.display();
7         }
8         setTimeout(changeColor, 0);
9     }
10
11     changeColor = function()
12     {
13         var span = document.getElementById("span");
14         getSelection().setBaseAndExtent(span, 0, span, 1);
15         if (window.layoutTestController)
16             layoutTestController.notifyDone();
17     }
18 </script>
19 <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>
21     -webkit-box-reflect in hyperlink causes webkit to crash</i>.
22 </p>
23 <p>
24     Because it is an inline flow, <span id="span" style="-webkit-box-reflect: below;">this span</span> should not have a reflection, and selecting it should not cause a crash.
25 </p>