Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: LayoutTests/accessibility/removed-anonymous-block-child-causes-crash.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 5
6 function removeElement() { 6 function removeElement() {
7 document.getElementById('div').removeChild(document.getElementById('div' ).children[2]); 7 document.getElementById('div').removeChild(document.getElementById('div' ).children[2]);
8 } 8 }
9 9
10 function queryIsEnabledOnDecendants(accessibilityObject) { 10 function queryIsEnabledOnDecendants(accessibilityObject) {
11 accessibilityObject.isEnabled 11 accessibilityObject.isEnabled
12 12
13 var count = accessibilityObject.childrenCount; 13 var count = accessibilityObject.childrenCount;
14 for (var i = 0; i < count; ++i) 14 for (var i = 0; i < count; ++i)
15 queryIsEnabledOnDecendants(accessibilityObject.childAtIndex(i)); 15 queryIsEnabledOnDecendants(accessibilityObject.childAtIndex(i));
16 } 16 }
17 </script> 17 </script>
18 <script src="../fast/js/resources/js-test-pre.js"></script> 18 <script src="../resources/js-test.js"></script>
19 </head> 19 </head>
20 <body> 20 <body>
21 21
22 <div id="div"> 22 <div id="div">
23 <span> 23 <span>
24 <div>a</div> 24 <div>a</div>
25 </span> 25 </span>
26 <div style="float:left">a</div> 26 <div style="float:left">a</div>
27 <span title="title">b</span> 27 <span title="title">b</span>
28 </div> 28 </div>
(...skipping 13 matching lines...) Expand all
42 42
43 // Now call isEnabled on each accessibility object. 43 // Now call isEnabled on each accessibility object.
44 document.body.focus(); 44 document.body.focus();
45 queryIsEnabledOnDecendants(accessibilityController.focusedElement); 45 queryIsEnabledOnDecendants(accessibilityController.focusedElement);
46 } 46 }
47 47
48 </script> 48 </script>
49 49
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/readonly.html ('k') | LayoutTests/accessibility/removed-continuation-element-causes-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698