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

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

Issue 1036653002: Clamp shape-margin to zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add contentWidthExcludingScrollbar Created 5 years, 8 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 54a6b0649e72aa6f49612f56ead5f7fa8f406d4e..0be7c563c5ada3d4c4a1b3ee993b7477905f6ec5 100644
--- a/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -217,7 +217,9 @@ void AbstractPropertySetCSSStyleDeclaration::setProperty(const String& propertyN
if (!important && !priority.isEmpty())
return;
+ propertySet().setForceOverride(true);
setPropertyInternal(propertyID, value, important, exceptionState);
+ propertySet().setForceOverride(false);
}
String AbstractPropertySetCSSStyleDeclaration::removeProperty(const String& propertyName, ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698