Bug 190845 - CSS grid elements with scrolling contents stop rendering after being shown/hidden
Summary: CSS grid elements with scrolling contents stop rendering after being shown/hi...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-23 16:30 PDT by mattheww
Modified: 2023-09-27 16:24 PDT (History)
5 users (show)

See Also:


Attachments
Test page (1.21 KB, text/html)
2018-10-23 16:30 PDT, mattheww
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mattheww 2018-10-23 16:30:03 PDT
Created attachment 353001 [details]
Test page

In the attached page, clicking the button toggles the grid element between "display: initial" and "display: none".
The first time it's clicked, the grid shows, as expected.
The second time, the grid is hidden, but the space it occupied is not reclaimed by the element below it.
The third time, the button disappears!
Comment 1 Radar WebKit Bug Importer 2018-10-24 08:37:26 PDT
<rdar://problem/45520904>
Comment 2 Ahmad Saleem 2023-09-27 16:24:59 PDT
All browsers (Chrome Canary 119, Firefox Nightly 120 and Safari 17) are matching each other while clicking 'button' thrice and each stage is same and button does not disappear.

Marking this as 'RESOLVED CONFIGURATION CHANGED'.

If I am unable to reproduce or followed wrong steps, please reopen and share updated test case or steps to reproduce.