commit | beaa0025d0ba66ba1c6ae24da5e78411bb0dedf3 | [log] [tgz] |
---|---|---|
author | Yoshifumi Inoue <yosin@chromium.org> | Thu May 28 05:45:37 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 28 05:45:37 2020 |
tree | c2f301bb8e8fdbe79f56fd9f05cd17f98176aa27 | |
parent | a73509886f82ed55970d56f4bafdc8b5fcd49ab3 [diff] |
Make editing/pasteboard/mathml-sanitizer-bypass.html to check MathML enabled This patch changes "mathml-sanitizer-bypass.html" to check whether MathML enabled or not to choose valid expectation. As of May 2020, MathML is experimental feature and implemented on LayoutNG. When enabling EditingNG and pasting clipboard content into editable, MathML contents are rendered as MathML layout instead of non-MathML. For <math>B</math>, we have following layout tree: MathML enabled: LayoutNGMathMLBlock {math} at (0,0) size 0x0 LayoutText {#text} at (0,0) size 0x0 MathML disabled: LayoutInline {math} at (0,0) size 10x19 LayoutText {#text} at (0,0) size 10x19 text run at (0,0) width 10: "B" Bug: 707656 Change-Id: I722541655322cedda7ada53fa09e08d78fd2db5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217758 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#772572}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.