Fix small bug with DOM Snapshot ShadowRootType.
As currently written, element nodes in Shadow DOM trees won't be properly annotated with shadowRootType. Change an else if to a plain if to address this. Tests fixed accordingly. R=dgozman@chromium.org Change-Id: Ie912de6663c8b4ed0a3638f80cd81ccbcf7e1b31 Reviewed-on: https://chromium-review.googlesource.com/951866Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Jandro Alderman <aalderman@chromium.org> Cr-Commit-Position: refs/heads/master@{#542285}
Showing
Please register or sign in to comment