Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollbars / scrollbar-part-created-with-no-parent-crash.html
blob8ba9295d42e01ad78ad68702d0e872fb50de5843
1 <html>
2 Test passes if it does not crash.
3 <style>
4 body
6 margin: 0;
8 ::-webkit-scrollbar {
9 -webkit-logical-height: 65536;
10 -webkit-border-image: url(does_not_exist) 0 2 0 2;
13 .inner:not(table) {
14 padding: 400px;
16 </style>
17 <script>
18 if (window.testRunner)
19 testRunner.dumpAsText();
21 function showScroller()
23 var scroller = document.createElement('div');
24 scroller.className = 'scroller';
26 var contents = document.createElement('div')
27 contents.className = 'inner';
28 scroller.appendChild(contents);
30 document.getElementById('container').appendChild(scroller);
33 function hideScroller()
35 var scroller = document.getElementById('container').querySelectorAll('.scroller')[0];
36 scroller.parentNode.removeChild(scroller);
39 function doTest()
41 if (window.eventSender) {
42 eventSender.mouseMoveTo(50, 40);
43 eventSender.mouseMoveTo(50, 55);
44 eventSender.mouseMoveTo(50, 0);
48 window.addEventListener('load', doTest, false);
49 </script>
50 <div id="container" onmouseover="showScroller()" onmouseout="hideScroller()">
51 <p>PASS</p>
52 </div>
53 </html>