Warn/throw if an HTMLPortalElement is used in a document where it does not belong.
This could happen if such an element is created in a document with portals enabled and moved into a document with portals disabled. Bug: 1040627 Change-Id: I8925a02d21c7d6a124def303d903d0b715836d93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013473 Auto-Submit: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Lucas Gadani <lfg@chromium.org> Reviewed-by:Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#734098}
Showing
Please register or sign in to comment