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

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

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests Created 5 years, 10 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/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index f83c3fc2c56bc42d8df57e2d61332932076fba19..57ec1f7665d1c7e0406016b023afc030d03555da 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -343,7 +343,9 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyVectorEffect,
CSSPropertyPaintOrder,
CSSPropertyX,
- CSSPropertyY
+ CSSPropertyY,
+ CSSPropertyRx,
+ CSSPropertyRy
};
static const Vector<CSSPropertyID>& computableProperties()
@@ -485,6 +487,8 @@ static bool isLayoutDependent(CSSPropertyID propertyID, PassRefPtr<LayoutStyle>
case CSSPropertyWebkitFilter:
case CSSPropertyX:
case CSSPropertyY:
+ case CSSPropertyRx:
+ case CSSPropertyRy:
return true;
case CSSPropertyMargin:
return renderer && renderer->isBox() && (!style || !style->marginBottom().isFixed() || !style->marginTop().isFixed() || !style->marginLeft().isFixed() || !style->marginRight().isFixed());

Powered by Google App Engine
This is Rietveld 408576698