RESOLVED FIXED 239967
[CSS Cascade Layers] Endless recursion with revert-layer in other tree context
https://bugs.webkit.org/show_bug.cgi?id=239967
Summary [CSS Cascade Layers] Endless recursion with revert-layer in other tree context
Brandon
Reported 2022-05-02 08:51:19 PDT
Attachments
Patch (9.45 KB, patch)
2022-05-03 06:43 PDT, Antti Koivisto
no flags
Brandon
Comment 1 2022-05-02 08:51:42 PDT
Test Case: <style> ::-webkit-input-placeholder { display: revert-layer; } </style> <input placeholder="a">
Brandon
Comment 2 2022-05-02 12:22:22 PDT
The issue is occurring here due to constant back and forth between applyProperty and applyRollbackCascadeProperty. This accumulates into an endless recursion that eventually crashes. We need a way to add an exit condition here.
Antti Koivisto
Comment 3 2022-05-03 06:43:36 PDT
Antti Koivisto
Comment 4 2022-05-03 06:47:31 PDT
EWS
Comment 5 2022-05-03 08:46:36 PDT
Committed r293725 (250213@main): <https://commits.webkit.org/250213@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458737 [details].
Note You need to log in before you can comment on or make changes to this bug.