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

Unified Diff: Source/core/dom/Element.idl

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update webexposed/element-instance-property-listing.html and add some SVG test cases Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/modules/accessibility/AXNodeObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 1e5555ac176ac3ff133929342417ce1fed7109f5..a1fa1ba54e8bb712efb68e710397e93ec5c6fc92 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -117,6 +117,10 @@ interface Element : Node {
[MeasureAs=ElementRequestPointerLock] void requestPointerLock();
+ // Experimental accessibility API
+ [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? computedRole;
+ [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? computedName;
+
// Event handler attributes
attribute EventHandler onbeforecopy;
attribute EventHandler onbeforecut;
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/modules/accessibility/AXNodeObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698