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

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

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 years, 4 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: Source/core/css/CSSStyleDeclaration.idl
diff --git a/Source/core/css/CSSStyleDeclaration.idl b/Source/core/css/CSSStyleDeclaration.idl
index 24fdfbb82bdee6a9d0905e8efd42c79a46506aac..1501512ec3d5f3306adfcddf840a2ae008c76fc4 100644
--- a/Source/core/css/CSSStyleDeclaration.idl
+++ b/Source/core/css/CSSStyleDeclaration.idl
@@ -24,20 +24,17 @@
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;

Powered by Google App Engine
This is Rietveld 408576698