+0
−3
Loading
Bug 1742744 - part 1: Make `CreateElementTransaction::InsertNode()` not return error if reference child is disconnected r=m_kato This is a different point from `InsertNodeTransaction`. If reference node has been removed from the DOM tree, it tries to insert the given node to end of the container instead of returning error. This is an edge case of "redo", and this is tested by WPT. If we'd need to back it out with Normandy after shipping this changes, we'd need to uplift WPT expectation change. However, we should avoid this situation. Therefore, this patch fixes the bug of `CreateElementTransaction` first. Differential Revision: https://phabricator.services.mozilla.com/D132118