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

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

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/Node.idl
diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl
index 7833d9d2e599a0b4a274efc3aba655b2c092f768..68939019786f38a260774bcd24c23736aed64d1e 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -66,6 +66,9 @@
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString textContent;
+ readonly attribute DOMString? computedRole;
dmazzoni 2014/12/03 23:32:13 I think you want something like [RuntimeEnabled =
aboxhall 2014/12/08 23:50:59 Will figure that out later :)
+ readonly attribute DOMString? computedText;
+
[MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional Node other); // Removed in DOM4.
boolean isEqualNode(Node other);
DOMString? lookupPrefix(DOMString? namespaceURI);

Powered by Google App Engine
This is Rietveld 408576698