Fix crash in moveBefore
This crash was created because when we move inputs around some of their
(shadow) descendants are text fragments, and FlatTreeParentChanged
doesn't like that. Made it so that FlatTreeParentChanged only works on
elements/text nodes.
Bug: 352081025
Change-Id: Ied34f1e66817fde8625b56dbbf2ed05e62eb68bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5691651
Reviewed-by: Dominic Farolino dom@chromium.org
Commit-Queue: Noam Rosenthal nrosenthal@chromium.org
Cr-Commit-Position: refs/heads/main@{#1325460}