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

Unified Diff: Source/core/css/PropertySetCSSStyleDeclaration.cpp

Issue 1113013002: CSSStyleDeclaration.cssFloat is not enumerated property (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test Created 5 years, 6 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/PropertySetCSSStyleDeclaration.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/PropertySetCSSStyleDeclaration.cpp
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index 71c7354bb0dc1d927afe12e85d84554e330cd109..a87c25bf074159317a36fc563ce36a68d643ed26 100644
--- a/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -171,6 +171,16 @@ void AbstractPropertySetCSSStyleDeclaration::setCSSText(const String& text, Exce
mutationScope.enqueueMutationRecord();
}
+String AbstractPropertySetCSSStyleDeclaration::cssFloat() const
+{
+ return propertySet().getPropertyValue(CSSPropertyFloat);
+}
+
+void AbstractPropertySetCSSStyleDeclaration::setCSSFloat(const String& value, ExceptionState&)
+{
+ propertySet().setProperty(CSSPropertyFloat, value);
+}
+
String AbstractPropertySetCSSStyleDeclaration::getPropertyValue(const String &propertyName)
{
CSSPropertyID propertyID = cssPropertyID(propertyName);
« no previous file with comments | « Source/core/css/PropertySetCSSStyleDeclaration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698