Closed Bug 1715178 Opened 3 years ago Closed 1 month ago

Subgrid's intrinsic size doesn't include its scrollbar size

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1879770

People

(Reporter: TYLin, Assigned: tlouw)

Details

Attachments

(3 files)

Attached file Testcase 1

Testcase 1 is derived from https://github.com/w3c/csswg-drafts/issues/6350#issuecomment-856150927

It seems we don't include the subgrid's scrollbar when computing it's intrinsic size. In addition, dynamically remove border on the subgrid doesn't produce a stable layout.

Assignee: nobody → tlouw

Initially it looks like when the size of the track containing the subgrid is calculated, the HTMLScrollbarFrame reports the actual scrollbar sizes as 0. That is when you recreate the frame tree without changing anything, the correct sizes for the track is calculated, because the HTMLScrollbarFrame already did a Reflow and knows the actual scrollbar sizes.

I'm investigating how to overcome this.

Bug 1879770 fixed this bug, too.

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1879770
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: