Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / accessibility-crash-setattribute.html
1 <!DOCTYPE HTML>
2 <html>
3 <style>
4     #div { visibility: collapse }
5 </style>
6 <body>
7 PASS if no crash.
8 <script>
9     if (window.accessibilityController) {
10         var largeRange = accessibilityController.accessibleElementById("largeRange");
11     }
12     if (window.testRunner) {
13         testRunner.dumpAsText();
14     }
15     function eventhandler() {
16         document.execCommand("bold", false);
17         img.style.removeProperty("-webkit-appearance");
18         img.setAttribute("aria-expanded", "false");
19     }
20 </script>
21 <input id="largeRange" max="100" min="0" type="range" value="50">
22 <div id="div">
23     <dl>
24         <canvas>aaa</canvas>
25         <img id="img" src="x" style="-webkit-appearance: relevancy-level-indicator;" onerror="eventhandler()"></img>
26     </dl>
27 </div>
28 </body>