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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2404213003: CSS will-change: Mentioning transform properties gives containing block (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/LayoutTests/transforms/containing-block-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 2fc9f7e27dc9240c7390ee3a11a628a2d71227d6..463710e6a4a73ed72c744a8ea425d80bbdcc5a4c 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -1230,6 +1230,10 @@ bool ComputedStyle::hasWillChangeTransformHint() const {
switch (property) {
case CSSPropertyTransform:
case CSSPropertyAliasWebkitTransform:
+ case CSSPropertyPerspective:
+ case CSSPropertyTranslate:
+ case CSSPropertyScale:
+ case CSSPropertyRotate:
return true;
default:
break;
« no previous file with comments | « third_party/WebKit/LayoutTests/transforms/containing-block-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698