New issue
Advanced search Search tips

Issue 921396 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

[LayoutNG] Abspos with fixed offset inside static legacy node doesn't respond to containing block size changes

Project Member Reported by mstensho@chromium.org, Jan 13

Issue description

1. Go to https://www.crashplan.com/en-us/
2. Log in.
3. Go to "Devices" in the left menu, then select "Active"
4. Hover a Restore button on the right (one button per device)
5. Observe how a horizontal and vertical scrollbar appear and disappear for no good reason.

Found in 73.0.3664.3 (but not a recent regression, if one at all)
 
Description: Show this description
Actually, the horizontal scrollbar appears in legacy layout, too, but not (the way more annoying) vertical one.

The horizontal scrollbar may be correct behavior, because of the tooltip that appears when hovering the Restore button.

Comment 3 by mstensho@chromium.org, Jan 16 (6 days ago)

Cc: atotic@chromium.org ikilpatrick@chromium.org
Owner: ----
Status: Available (was: Assigned)
Summary: [LayoutNG] Abspos with fixed offset inside static legacy node doesn't respond to containing block size changes (was: [LayoutNG] Unnecessary scrollbar comes and goes when hovering Restore button)
This seems to happen because a part of the subtree doesn't respond to containing block sizes.

I have a minimal testcase that fails here (attached), which is something I ended up with after analyzing the site with devtools and building up a test case from scratch (saving the site to disk made the issue go away), and then minimizing it once something reproduced. I didn't get any unwanted scrollbars, but I did get this lack of subtree response to containing block size changes, which can also be seen on the original site.

All it takes is an NG containing block for abspos descendants (relative-positioned in the test case), a static-positioned legacy object inside (using flexbox in the test; the original site used tables), with an absolutely positioned child with percentage width and fixed left offset.
tc.html
411 bytes View Download

Comment 4 by atotic@chromium.org, Jan 17 (6 days ago)

Owner: atotic@chromium.org
Status: Started (was: Available)

Sign in to add a comment