| Summary: | Stack overflow with revert-layer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | graouts, msaboff, ntim | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Antti Koivisto
2021-11-15 00:49:05 PST
Created attachment 444219 [details]
Patch
Comment on attachment 444219 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444219&action=review > Source/WebCore/style/StyleBuilder.cpp:398 > if (!rollbackLayerPriority) > - return nullptr; > + return ensureRollbackCascadeForRevert(cascadeLevel); There should be tests for this, that revert-layer behaves like revert with no layers. Created attachment 444223 [details]
Patch
Comment on attachment 444219 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444219&action=review >> Source/WebCore/style/StyleBuilder.cpp:398 >> + return ensureRollbackCascadeForRevert(cascadeLevel); > > There should be tests for this, that revert-layer behaves like revert with no layers. I'll do the change separately. Committed r285801 (244245@main): <https://commits.webkit.org/244245@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444223 [details]. *** Bug 233068 has been marked as a duplicate of this bug. *** |