| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index e1a344bb897903a367a286239b17a47c4c7ef17e..10c58e882da7a41bdd760ec6278a7533c7b4941d 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -210,7 +210,6 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty
|
| || style->hasFilter()
|
| || style->hasBlendMode()
|
| || style->hasIsolation()
|
| - || style->position() == StickyPosition
|
| || style->position() == FixedPosition
|
| || isInTopLayer(e, style)
|
| || hasWillChangeThatCreatesStackingContext(style)))
|
| @@ -396,12 +395,6 @@ void StyleAdjuster::adjustStyleForDisplay(RenderStyle* style, RenderStyle* paren
|
| && style->position() == RelativePosition)
|
| style->setPosition(StaticPosition);
|
|
|
| - // Cannot support position: sticky for table columns and column groups because current code is only doing
|
| - // background painting through columns / column groups
|
| - if ((style->display() == TABLE_COLUMN_GROUP || style->display() == TABLE_COLUMN)
|
| - && style->position() == StickyPosition)
|
| - style->setPosition(StaticPosition);
|
| -
|
| // writing-mode does not apply to table row groups, table column groups, table rows, and table columns.
|
| // FIXME: Table cells should be allowed to be perpendicular or flipped with respect to the table, though.
|
| if (style->display() == TABLE_COLUMN || style->display() == TABLE_COLUMN_GROUP || style->display() == TABLE_FOOTER_GROUP
|
|
|