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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl

Issue 1841353002: Implement ShadowRoot.mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment and refactor the layout test Created 4 years, 9 months 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: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
index d9ffd6621abc9a48df50fea39b84867bd635231f..e277104b876c283a3c5cffb74f72e6d1b6f03e77 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
@@ -27,6 +27,7 @@
// https://w3c.github.io/webcomponents/spec/shadow/#the-shadowroot-interface
interface ShadowRoot : DocumentFragment {
+ [RuntimeEnabled=ShadowDOMV1]readonly attribute ShadowRootMode mode;
readonly attribute Element host;
[ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
[TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;

Powered by Google App Engine
This is Rietveld 408576698