boom
rdar://85342210
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. ***