[mathml] Make elements in MathML namespace use display:math
This CL makes unknown elements in the MathML namespace have display: math (instead of display: inline). This makes the HTML sanitizer (relying on the layout object's display in several places) behave differently i.e. it does not filter out these elements and their attributes anymore. However, this is ok because these elements are not treated as HTML/SVG. The clipboard test is changed to check that nothing is style/executed. Bug: 6606 Change-Id: I15b1df448c2bdee46c4a36c48a4cfb27d7828ed0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397949 Commit-Queue: Rob Buis <rbuis@igalia.com> Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:
Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#808250}
Showing
Please register or sign in to comment