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

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

Issue 1312023003: Make getComputedStyle(e).transform return correct values for non-transformable elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/ComputedStyleCSSValueMapping.cpp
diff --git a/Source/core/css/ComputedStyleCSSValueMapping.cpp b/Source/core/css/ComputedStyleCSSValueMapping.cpp
index c84bc0dd9a013b213141221b150ca5d90b7c29dd..d0b436ff20ec0add9fcb2fc6560b8f9ac8fd4b9c 100644
--- a/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -931,7 +931,7 @@ static PassRefPtrWillBeRawPtr<CSSFunctionValue> valueForMatrixTransform(const Tr
static PassRefPtrWillBeRawPtr<CSSValue> computedTransform(const LayoutObject* layoutObject, const ComputedStyle& style)
{
- if (!layoutObject || !layoutObject->hasTransformRelatedProperty() || !style.hasTransform())
+ if (!layoutObject || !style.hasTransform())
return cssValuePool().createIdentifierValue(CSSValueNone);
IntRect box;
« no previous file with comments | « LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698