REGRESSION(r240634): Element::hasPointerCapture() passes a JS-controlled value direct...
[WebKit-https.git] / LayoutTests / userscripts / simple-stylesheet.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6     testRunner.dumpAsText();
7     testRunner.addUserStyleSheet("div { width:0; }", true);
8 }
9 </script>
10 </head>
11 <body>
12 <div id="target">FAIL</div>
13 <script>
14 if (document.getElementById('target').offsetWidth == 0)
15     document.getElementById('target').innerHTML = 'PASS';
16 </script>
17 </body>
18 </html>