shadycss
shadycss copied to clipboard
Add `fixSubtreeScope` API for use with sync-scoping API
With the new sync scoping API, there can be cases where a library (like ShadyDOM), misses a DOM mutation, such as with range.insertNode() and table.addRow().
This fixSubtreeScope API could be used to fix up any new DOM nodes to have the correct scoping for where they have been placed.