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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl

Issue 1446933002: Queue Custom Element attribute changes arising from style mutations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/css/CSSStyleDeclaration.idl
diff --git a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl
index b109bb0d4b280f8c4d375aa5e3630cf7d5c88e99..84359f2f33d79af00a6efa0c898bcea0da55b507 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl
+++ b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl
@@ -24,19 +24,19 @@
DependentLifetime,
WillBeGarbageCollected
] interface CSSStyleDeclaration {
- [RaisesException=Setter] attribute DOMString cssText;
+ [CustomElementCallbacks, RaisesException=Setter] attribute DOMString cssText;
readonly attribute unsigned long length;
getter DOMString item(unsigned long index);
DOMString getPropertyValue(DOMString property);
DOMString getPropertyPriority(DOMString property);
// TODO(philipj): The value and priority arguments should have
// [TreatNullAs=EmptyString] and should not be nullable.
- [RaisesException] void setProperty(DOMString property, DOMString? value, optional DOMString? priority = null);
+ [CustomElementCallbacks, RaisesException] void setProperty(DOMString property, DOMString? value, optional DOMString? priority = null);
// void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value);
// void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
- [RaisesException] DOMString removeProperty(DOMString property);
+ [CustomElementCallbacks, RaisesException] DOMString removeProperty(DOMString property);
readonly attribute CSSRule? parentRule;
- [RaisesException=Setter, TreatNullAs=EmptyString] attribute DOMString cssFloat;
+ [CustomElementCallbacks, RaisesException=Setter, TreatNullAs=EmptyString] attribute DOMString cssFloat;
// The camel-cased and dashed attribute getters have custom bindings.
// http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-camel-cased-attribute

Powered by Google App Engine
This is Rietveld 408576698