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

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

Issue 1288623005: Make cssFloat an enumerable property of CSSStyleDeclaration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make cssFloat an enumerable property of CSSStyleDeclaration 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.h ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleDeclaration.h
diff --git a/Source/core/css/CSSStyleDeclaration.h b/Source/core/css/CSSStyleDeclaration.h
index fb8ea2db95bbebdab13c3bdb6e024660eec9d4b4..ab71b33ed9f3e81c02dbc5a6dfbd60de7e885ec9 100644
--- a/Source/core/css/CSSStyleDeclaration.h
+++ b/Source/core/css/CSSStyleDeclaration.h
@@ -47,6 +47,14 @@ public:
#endif
virtual CSSRule* parentRule() const = 0;
+ String cssFloat()
+ {
+ return getPropertyValueInternal(CSSPropertyFloat);
+ }
+ void setCSSFloat(const String& value, ExceptionState& exceptionState)
+ {
+ setPropertyInternal(CSSPropertyFloat, value, false, exceptionState);
+ }
virtual String cssText() const = 0;
virtual void setCSSText(const String&, ExceptionState&) = 0;
virtual unsigned length() const = 0;
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.h ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698