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

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: Move interfaces on to Element 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
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 1e5555ac176ac3ff133929342417ce1fed7109f5..7f6dfbfec7856b321f3865766aee2f79441dcc01 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 = ExperimentalAccessibilityFeatures] readonly attribute DOMString ? computedRole;
adamk 2014/12/16 01:54:49 Style nits: no spaces around '=', no space between
aboxhall 2014/12/16 04:15:26 Done.
+ [RuntimeEnabled = ExperimentalAccessibilityFeatures] readonly attribute DOMString ? computedName;
+
// Event handler attributes
attribute EventHandler onbeforecopy;
attribute EventHandler onbeforecut;

Powered by Google App Engine
This is Rietveld 408576698