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

Unified Diff: core/css/CSSStyleDeclaration.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 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
« no previous file with comments | « core/css/CSSRule.idl ('k') | core/css/CSSStyleRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/CSSStyleDeclaration.idl
diff --git a/core/css/CSSStyleDeclaration.idl b/core/css/CSSStyleDeclaration.idl
index 24fdfbb82bdee6a9d0905e8efd42c79a46506aac..b109bb0d4b280f8c4d375aa5e3630cf7d5c88e99 100644
--- a/core/css/CSSStyleDeclaration.idl
+++ b/core/css/CSSStyleDeclaration.idl
@@ -24,22 +24,19 @@
DependentLifetime,
WillBeGarbageCollected
] interface CSSStyleDeclaration {
- // TODO(philipj): cssText should not be nullable.
- [RaisesException=Setter] attribute DOMString? cssText;
+ [RaisesException=Setter] attribute DOMString cssText;
readonly attribute unsigned long length;
getter DOMString item(unsigned long index);
- // TODO(philipj): All DOMString? return types in this interface should be
- // just DOMString (not nullable).
- DOMString? getPropertyValue(DOMString property);
- DOMString? getPropertyPriority(DOMString property);
+ 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);
// void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value);
// void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
- [RaisesException] DOMString? removeProperty(DOMString property);
+ [RaisesException] DOMString removeProperty(DOMString property);
readonly attribute CSSRule? parentRule;
- // [TreatNullAs=EmptyString] attribute DOMString cssFloat;
+ [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
« no previous file with comments | « core/css/CSSRule.idl ('k') | core/css/CSSStyleRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698