SVG child of html element can not act as display:contents.
SVG elements like <g> do not generate a box when styled as display:contents in an SVG context. However, when they are children of HTML elements, they should not generate boxes, and not act as display:contents. If treated as display:contents, text child nodes would have SVG text boxes generated for them causing crashes. Bug: 820779, 820834 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I1ec7e3af158daa9d56160123cc3c25f6ee3eda62 Reviewed-on: https://chromium-review.googlesource.com/958912Reviewed-by:Fredrik Söderquist <fs@opera.com> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#542752}
Showing
Please register or sign in to comment