Skip to content

Commit

Permalink
Relax DCHECKS in LayoutNGMixin<Base>::Paint and similar methods
Browse files Browse the repository at this point in the history
These DCHECKs are intended to verify conditions for NG block fragmented
nodes, so relax it by testing whether the node does not forbid breaks
with the NG block fragmentation engine. This addresses the use case of
MathML embedded inside SVG.

Bug: 6606, 829028, 1262555
Change-Id: Idaa09cc61c03358ebdf0a6275f4b83f6a5caca49
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3237215
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/main@{#934449}
  • Loading branch information
fred-wang authored and chromium-wpt-export-bot committed Oct 25, 2021
1 parent 590d697 commit b598a05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mathml/crashtests/mathml-in-svg-001.html
@@ -0,0 +1,3 @@
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1262555">
<svg><foreignObject><math><mn>42</mn></math></foreignObject></svg>

0 comments on commit b598a05

Please sign in to comment.