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

Issue 661468 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

positioning of top not compensating rounding of height

Reported by p.krautz...@gmail.com, Nov 2 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36

Steps to reproduce the problem:
Reduced test case at http://codepen.io/pkra/pen/mEqOGx 

It displays an "x" with a red background and next to it a span that has display:inline-block. Inside that inline-block are two spans with display:block, the second one being an "x" on the pink background, and the first a span with a thin height and green background. These should be stacked vertically, and the whole in-line block should be aligned on the baseline of the bottom span in the inline-block. 

(The test case adds the computed values of bottom/height/offset for convenience.)

What is the expected behavior?
The two x's should be aligned.

What went wrong?
The two x's are not aligned.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 54.0.2840.90  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 23.0 r0

This works as expected in Firefox and IE8+.
 

Comment 1 by suzyh@chromium.org, Nov 2 2016

Labels: Needs-Bisect Hotlist-Interop
Status: Available (was: Unconfirmed)

Comment 2 by suzyh@chromium.org, Nov 2 2016

Status: Untriaged (was: Available)
Cc: tkonch...@chromium.org
Labels: -Needs-Bisect M-56 OS-Mac OS-Windows
Able to reproduce the issue on win10 mac 10.11.6 using chrome version 54.0.2840.87 and on Linux 14.04 using chrome version 54.0.2840.90 - Observed that two x's are not aligned.

Please find the screenshot

This is a non regression issue existing since M30 30.0.1549.0 to latest canary

This is working fine in Firefox browser - Please find the screenshot
661468.png
97.6 KB View Download
firefox.png
111 KB View Download
FYI I've filed a corresponding bug at WebKit since this seems to be a shared issue. https://bugs.webkit.org/show_bug.cgi?id=164312
Components: -Blink>CSS Blink>Layout>Subpixel

Comment 6 by e...@chromium.org, Nov 4 2016

Cc: drott@chromium.org kojii@chromium.org
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 6 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by e...@chromium.org, Nov 6 2017

Status: Available (was: Untriaged)
Project Member

Comment 9 by sheriffbot@chromium.org, Nov 7

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
FWIW, this is still present in 70.0.3538.77.
Status: Available (was: Untriaged)

Sign in to add a comment