New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 670208 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Wrong element drawing with scroll and right-to-left direction

Reported by qme...@gmail.com, Dec 1 2016

Issue description

Chrome Version       : 54.0.2840.99
URLs (if applicable) : https://jsfiddle.net/52gvp7ke/
have tested this issue:
     Safari: Not tested
    Firefox: 49.0.1 - OK
         IE: 11 - OK

What steps will reproduce the problem?
(0) You can check out the URL provided above to see the bug.
(1) Create a container element with static size and overflow-x: auto style (in order to create scroll bar once it contain to many child elements. And right-to-left direction.
(2) Add many float right children into container element.

What is the expected result?
Children elements should be keep aligned to the right side on container.

What happens instead?
A gap formed on right side of the container.
Attached screenshot of the bug.

 
bug.png
14.0 KB View Download

Comment 1 by ajha@chromium.org, Dec 1 2016

Labels: M-54 Needs-Bisect
Components: Blink
Labels: -Type-Bug -Pri-3 -M-54 -Needs-Bisect M-57 hasbisect OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Owner: eseidel@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 10 and Ubuntu 14.04 using chrome reported version #54.0.2840.99 and latest canary #57.0.2938.0. Unable to reproduce the issue in mac 10.12.1.

Bisect Information:
=====================
Good build: 37.0.2016.0 Revision(272941)
Bad Build : 37.0.2017.0 Revision(273124)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/240e303843c2d97d0ef8ff15772058fd07354946..3d990b7aab7a23019bd4f03f91a33f9fb0ff741f

From the above change log, got a blink roll. But unable to open that blink roll link. Hence, was unable to find a suspect from the chance log.

eseidel@ - Could you please help us in assigning it to the right owner.

Thanks...!!
Components: -Blink Blink>Layout
Owner: ----
Status: Untriaged (was: Assigned)

Comment 4 by e...@chromium.org, Dec 5 2016

Cc: robho...@gmail.com skobes@chromium.org szager@chromium.org
Components: -Blink>Layout Blink>Layout>Scrollbars
Labels: -Pri-1 Pri-2
Status: Available (was: Untriaged)
Looks like we reserve space on the wrong side for floats. Doesn't happen with overlay scrollbars.

Has been broken for two and a half years without being noticed so downgrading priority to 2.
Cc: sanjoy....@samsung.com
Could be https://codereview.chromium.org/285293007
Cc: -sanjoy....@samsung.com
Owner: sanjoy....@samsung.com
Status: Assigned (was: Available)
Assigning to Sanjoy so I can take it off my queue. Pretty sure this is from your CL Sanjoy, let me know if you think otherwise!
Owner: ----
Status: Available (was: Assigned)

Comment 8 by e...@chromium.org, Dec 1 2017

Status: Fixed (was: Available)
Now works as expected and matches the FF behavior. Yay. Thank you szager!

Sign in to add a comment