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

Issue 603863 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Empty lines (with just a BR) don't contribute to container overflow

Reported by msten...@opera.com, Apr 15 2016

Issue description

An empty line adds height to its container, but if the container height is specified and restricted, such lines don't contribute to layout/visual overflow. All other engines seem to do that.

The cause can be found in LayoutBlockFlow::addOverflowFromInlineChildren(), where RootInlineBox::paddedLayoutOverflowRect() returns a rectangle with zero width.

This triggers bugs in multicol. I'm looking into a multicol-specific fix, but anyway, just wanted to report it.
 
demo.html
360 bytes View Download
Components: Blink>Layout

Comment 2 by e...@chromium.org, Jul 6 2016

Cc: robho...@gmail.com
Status: Available (was: Untriaged)
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 7 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 4 by e...@chromium.org, Jul 10 2017

Status: WontFix (was: Untriaged)
Will be addressed by LayoutNG.

Sign in to add a comment