New issue
Advanced search Search tips

Issue 768450 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

span with large padding (too large for container) gets collapsed to 0 width, only in Blink

Project Member Reported by dholb...@gmail.com, Sep 25 2017

Issue description

Chrome Version: 63.0.3218.0 (Official Build) dev (64-bit)
OS: Ubuntu Linux 17.04

What steps will reproduce the problem?
(1) Visit https://jsfiddle.net/29r6b19o/

What is the expected result?
Four colorful rectangles, each a bit wider than the one above it.

What happens instead?
Only two rectangles show up.  The two lower rectangles (which should be lime and green) are collapsed to 0-width in Chrome.

Please use labels and text to provide additional information.
The missing rectangles are the ones whose border-boxes (padding-right + 2px of border) are too large to fit inside their container.  In all other modern browsers engines*, this is fine and these rects just overflow. But in Chrome, they collapse away to nothing.

BROWSERS I'VE TESTED:
This testcase produces expected results in Safari 10.1, Edge 15, and Firefox 55.
This testcase produces buggy results in Chrome 63, and in older Safari versions -- e.g. Safari 9.1.

(So this may be a legacy WebKit bug which was later fixed in WebKit, after the Blink/WebKit fork.)
 

Comment 1 by dholb...@gmail.com, Sep 25 2017

Components: Blink>Layout

Comment 2 by e...@chromium.org, Sep 27 2017

Cc: ikilpatrick@chromium.org kojii@chromium.org e...@chromium.org
Status: Available (was: Untriaged)
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 27

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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Fixed-In-LayoutNG
Status: Available (was: Untriaged)

Sign in to add a comment