| Summary: | [CSS Cascade Layers] Endless recursion with revert-layer in other tree context | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brandon <brandonstewart> | ||||
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, koivisto, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Brandon
2022-05-02 08:51:19 PDT
Test Case:
<style>
::-webkit-input-placeholder {
display: revert-layer;
}
</style>
<input placeholder="a">
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. Created attachment 458737 [details]
Patch
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]. |