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

Unified Diff: Source/core/layout/LayoutTableRow.h

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix style errors and remaining layout tests. Created 5 years, 3 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/layout/LayoutTableRow.h
diff --git a/Source/core/layout/LayoutTableRow.h b/Source/core/layout/LayoutTableRow.h
index 3cc7d3cbfb8bbfd0f6f1e09f14bd9417f2070539..16e363377800e9c75c2ead38c9baa7cb1806a3e7 100644
--- a/Source/core/layout/LayoutTableRow.h
+++ b/Source/core/layout/LayoutTableRow.h
@@ -126,7 +126,7 @@ private:
DeprecatedPaintLayerType layerTypeRequired() const override
{
- if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath() || createsGroup() || style()->shouldCompositeForCurrentAnimations() || style()->hasCompositorProxy())
+ if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath() || createsGroup() || style()->shouldCompositeForCurrentAnimations() || isStickyPositioned() || style()->hasCompositorProxy())
return NormalDeprecatedPaintLayer;
if (hasOverflowClip())

Powered by Google App Engine
This is Rietveld 408576698