| 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
|
|
|