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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2722553003: [WIP] Test moving stacking context flag update on ComputedStyle (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp ('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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 5145d3791c96c6e049e7de8c4b4c31350c7e9a3c..82c830bd65e1a3fd1c2e0e1c2cc85799f2dc91a0 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1869,6 +1869,9 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() {
if (ElementAnimations* elementAnimations = this->elementAnimations()) {
elementAnimations->cssAnimations().maybeApplyPendingUpdate(this);
elementAnimations->updateAnimationFlags(*style);
+ // if (style->hasCurrentTransformAnimation()) {
+ // style->setIsStackingContext(true);
+ // }
}
if (style->hasTransform()) {
@@ -1877,9 +1880,6 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() {
inlineStyle->hasProperty(CSSPropertyTransform));
}
- style->updateIsStackingContext(this == document().documentElement(),
- isInTopLayer());
-
return style.release();
}
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698