Add new subsurfaces on the parent commit
When a new subsurface is created, it should be moved to the current state when the pending parent state is applied. When a subsurface is destroyed, it should be removed immediately. At the moment, both things happen immediately.
Relevant bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1772073
Edited by Vlad Zahorodnii