New issue
Advanced search Search tips

Issue 697186 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 670274
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

CSS Position: Sticky Placement is wrong with Box-shadow.

Reported by aa...@sooryen.com, Feb 28 2017

Issue description

Chrome Version       : 56

What steps will reproduce the problem?
(1) add position: sticky; to an element and position to desired location.
(2) add a box-shadow property to the now sticky element


What is the expected result?
Element follows the sticky rules and a shadow appears.

What happens instead?
Element will shift it's visual location based on the box-shadow coords. E.G. box-shadow: 3px 5px 7px red; will make the element VISUALLY look 3px the right, 5px below where it is supposed to be positioned.

Inspecting the DOM shows the element is in the correct position, but is being rendered incorrectly. Somewhat of a similar affect to using css3 transform to render in a different location.

However, If the sticky element is the last element in the body, it renderers correctly (not tested thoroughly)


Please provide any additional information below. Attach a screenshot if
possible.

 
Cc: flackr@chromium.org
Components: Blink>Layout
Mergedinto: 670274
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment