Bug 246450

Summary: Tear down child renderers when removing display: contents
Product: WebKit Reporter: Rob Buis <rbuis>
Component: CSSAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, cmarcelo, esprehn+autocc, ews-watchlist, glenn, kangil.han, kondapallykalyan, pdr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Rob Buis 2022-10-13 03:05:47 PDT
Detect when we transition away from display: contents when
resolving computed styles and tear down child renderers in
that case. To keep track of when to do this add a flag
to Element.
Comment 1 Rob Buis 2022-10-13 03:07:17 PDT
Created attachment 462955 [details]
Patch
Comment 2 Rob Buis 2022-10-13 04:33:05 PDT
Created attachment 462958 [details]
Patch
Comment 3 Rob Buis 2022-10-14 01:47:08 PDT
Created attachment 462983 [details]
Patch
Comment 4 EWS 2022-10-14 03:49:30 PDT
Committed 255527@main (f6f2c95eb900): <https://commits.webkit.org/255527@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 462983 [details].
Comment 5 Radar WebKit Bug Importer 2022-10-14 03:50:18 PDT
<rdar://problem/101166942>
Comment 6 EWS 2022-10-25 09:53:54 PDT
Committed 252432.665@safari-7614-branch (c10d7be58084): <https://commits.webkit.org/252432.665@safari-7614-branch>

Reviewed commits have been landed. Closing PR #158 and removing active labels.