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

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: Incorporate review comments 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
Index: Source/core/css/PropertySetCSSStyleDeclaration.cpp
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index 71c7354bb0dc1d927afe12e85d84554e330cd109..81537320c211c841c50da0e5528bf73fbe8f7192 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)
+{
+ propertySet().setProperty(CSSPropertyFloat, value);
+}
+
String AbstractPropertySetCSSStyleDeclaration::getPropertyValue(const String &propertyName)
{
CSSPropertyID propertyID = cssPropertyID(propertyName);

Powered by Google App Engine
This is Rietveld 408576698