Bug 243957

Summary: Use iterative algorithm for resetStyleForNonRenderedDescendants
Product: WebKit Reporter: Miguel Salinas <miguel_salinas>
Component: Layout and RenderingAssignee: Miguel Salinas <miguel_salinas>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Miguel Salinas
Reported 2022-08-15 14:55:23 PDT
WebCore::Style::resetStyleForNonRenderedDescendants is currently recursive and can stack overflow on very deep DOM trees. We should rewrite this to be iterative to avoid crashing.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-08-16 15:42:48 PDT
Miguel Salinas
Comment 2 2022-08-16 15:58:27 PDT
Miguel Salinas
Comment 3 2022-08-16 16:08:22 PDT
EWS
Comment 4 2022-08-26 13:22:11 PDT
Committed 253837@main (9a78fa7ef78b): <https://commits.webkit.org/253837@main> Reviewed commits have been landed. Closing PR #3385 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.