New issue
Advanced search Search tips

Issue 648683 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

position: sticky constraints shouldn't be affected by transforms.

Project Member Reported by flackr@chromium.org, Sep 20 2016

Issue description

Version: 53.0.2785.116 (Official Build) (64-bit)
OS: Linux

What steps will reproduce the problem?
(1) Enable --experimental-web-platform-features
(2) Visit http://jsbin.com/megowi/edit?html,css,output
(3) Scroll down.

What is the expected output?
Sticky box should move down when it begins to stick and stop at the bounds of its container (i.e. it should look identical to the container on the left but scaled up).

What do you see instead?
Sticky box does move down when it begins to stick but moves farther than its container's bounds.

Please use labels and text to provide additional information.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 21 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e7e8fe5f7ca924f2dffe5a251f48038e85f8e91

commit 3e7e8fe5f7ca924f2dffe5a251f48038e85f8e91
Author: flackr <flackr@chromium.org>
Date: Wed Sep 21 02:38:16 2016

Compute sticky position constraints without considering transforms.

Sticky position is a layout offset and should not be affected by transforms.

BUG= 648683 
TEST=LayoutBoxModelObjectTest.StickyPositionTransforms

Review-Url: https://codereview.chromium.org/2346383005
Cr-Commit-Position: refs/heads/master@{#419954}

[modify] https://crrev.com/3e7e8fe5f7ca924f2dffe5a251f48038e85f8e91/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
[modify] https://crrev.com/3e7e8fe5f7ca924f2dffe5a251f48038e85f8e91/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp

Comment 2 by flackr@chromium.org, Sep 21 2016

Status: Fixed (was: Started)

Sign in to add a comment