Chrome Version: 67.0.3396.62 (Official Build) (64-bit)
OS: glinux
Also repros on Win canary:
69.0.3449.0 (Official Build) canary (64-bit) (cohort: Clang-64)
> What steps will reproduce the problem?
Navigate to data:text/html,<pre style="line-height: 1.0; overflow-x: auto;">Hello, world!</pre>
> What is the expected result?
The pre element should not have a vertical scroll bar.
> What happens instead?
There is a vertical scroll bar (see right side of screen shot).
I'm not an HTML/CSS expert, but I'd expect the pre element to resize to whatever height is necessary to hold its contents. Note that dropping any of line-height or overflow-x makes the scrollbar disappear.
Also verified that Edge (38.14393.2068.0) and Firefox (60.0.1 (64-bit)) don't show a scroll bar for this test case.
|
Deleted:
Screenshot from 2018-06-04 13-24-37.png
15.2 KB
|
|
Screenshot from 2018-06-04 13-24-37.png
15.2 KB
View
Download
|
|
Comment 1 by e...@chromium.org
, Jun 4 2018Components: -Blink>CSS Blink>Layout>Grid
Labels: -Pri-3 Pri-2
Owner: r...@igalia.com
Status: Assigned (was: Untriaged)