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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositingReasons.h

Issue 2754983002: Composite sticky-positioned elements when they have composited descendants (Closed)
Patch Set: Switch to using backface-visibility over will-change Created 3 years, 9 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: third_party/WebKit/Source/platform/graphics/CompositingReasons.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositingReasons.h b/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
index 6bb667daa2d98974bc28fb8e50442ff6a52f8429..b13ec36751af357b7a6febb95ce5fe8a8f17a494 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
@@ -61,7 +61,7 @@ const uint64_t CompositingReasonReflectionOfCompositedParent = UINT64_C(1)
<< 28;
const uint64_t CompositingReasonIsolateCompositedDescendants = UINT64_C(1)
<< 29;
-const uint64_t CompositingReasonPositionFixedWithCompositedDescendants =
+const uint64_t CompositingReasonPositionFixedOrStickyWithCompositedDescendants =
UINT64_C(1) << 30;
// The root layer is a special case. It may be forced to be a layer, but it also
@@ -127,7 +127,7 @@ const uint64_t CompositingReasonComboCompositedDescendants =
CompositingReasonBlendingWithCompositedDescendants |
CompositingReasonReflectionWithCompositedDescendants |
CompositingReasonClipsCompositingDescendants |
- CompositingReasonPositionFixedWithCompositedDescendants;
+ CompositingReasonPositionFixedOrStickyWithCompositedDescendants;
const uint64_t CompositingReasonCombo3DDescendants =
CompositingReasonPreserve3DWith3DDescendants |
@@ -153,7 +153,7 @@ const uint64_t CompositingReasonComboReasonsThatRequireOwnBacking =
// that 3d-transformed
// elements intersect.
CompositingReasonBackdropFilter |
- CompositingReasonPositionFixedWithCompositedDescendants;
+ CompositingReasonPositionFixedOrStickyWithCompositedDescendants;
const uint64_t CompositingReasonComboSquashableReasons =
CompositingReasonOverlap | CompositingReasonAssumedOverlap |

Powered by Google App Engine
This is Rietveld 408576698