Changeset 200260 in webkit for trunk/LayoutTests/accessibility/gtk/object-attributes.html
- Timestamp:
- Apr 29, 2016, 1:29:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/accessibility/gtk/object-attributes.html
r187804 r200260 28 28 testRunner.dumpAsText(); 29 29 document.getElementById("body").focus(); 30 var webArea = accessibilityController.focusedElement; 31 var child = webArea.childAtIndex(0); 32 shouldBe("child.role", "'AXRole: heading'"); 33 shouldBe("child.allAttributes()", "'level:1, toolkit:WebKitGtk'"); 34 child = webArea.childAtIndex(1); 35 shouldBe("child.role", "'AXRole: heading'"); 36 shouldBe("child.allAttributes()", "'level:2, toolkit:WebKitGtk'"); 37 child = webArea.childAtIndex(2); 38 shouldBe("child.role", "'AXRole: heading'"); 39 shouldBe("child.allAttributes()", "'level:3, toolkit:WebKitGtk'"); 40 child = webArea.childAtIndex(3); 41 shouldBe("child.role", "'AXRole: heading'"); 42 shouldBe("child.allAttributes()", "'level:4, toolkit:WebKitGtk'"); 43 child = webArea.childAtIndex(4); 44 shouldBe("child.role", "'AXRole: heading'"); 45 shouldBe("child.allAttributes()", "'level:5, toolkit:WebKitGtk'"); 46 child = webArea.childAtIndex(5); 47 shouldBe("child.role", "'AXRole: heading'"); 48 shouldBe("child.allAttributes()", "'level:6, toolkit:WebKitGtk'"); 49 child = webArea.childAtIndex(6); 50 shouldBe("child.role", "'AXRole: link'"); 51 shouldBe("child.allAttributes()", "'toolkit:WebKitGtk'"); 52 child = webArea.childAtIndex(7); 53 shouldBe("child.role", "'AXRole: table'"); 54 shouldBe("child.allAttributes()", "'toolkit:WebKitGtk'"); 55 child = webArea.childAtIndex(8); 56 shouldBe("child.role", "'AXRole: table'"); 57 shouldBe("child.allAttributes()", "'toolkit:WebKitGtk'"); 30 debug(accessibilityController.focusedElement.attributesOfChildren()); 58 31 } 59 32 </script>
Note:
See TracChangeset
for help on using the changeset viewer.