commit | 032c3339bfb454c65ce38e7eafe49a54bac83073 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Tue Dec 18 14:45:19 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 18 14:45:19 2018 |
tree | fc9d80a7b9c2d46bc28c7320d4a7dc110590aa62 | |
parent | 7917a910e959b8e46a16cde1391d2b681e64d4a8 [diff] |
Fix SVG crash for v0 distribution into foreignObject. We require a parent element to be an SVG element for non-svg-root elements in order to create a LayoutObject for them. However, we checked the light tree parent element, not the flat tree one which is the parent for the layout tree construction. Note that this is just an issue in Shadow DOM v0 since v1 does not allow shadow roots on SVG elements. Bug: 915469 Change-Id: Id81843abad08814fae747b5bc81c09666583f130 Reviewed-on: https://chromium-review.googlesource.com/c/1382494 Reviewed-by: Fredrik Söderquist <fs@opera.com> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#617487}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .