commit | e32348abd36a0e3721c02b94c2725a000cfa3b7d | [log] [tgz] |
---|---|---|
author | Frédéric Wang <fwang@igalia.com> | Wed Dec 21 08:04:22 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 21 08:04:22 2022 |
tree | a446b074f5f11de553d05b5b4ab205bc95e23617 | |
parent | c72b10d54f72230ce2a6aac498053995572e2cd7 [diff] |
[mathml] Use ComputeBlockSizeForFragment in NGMathPaddedLayoutAlgorithm Current version of MathML Core says that CSS width/height properties are treated as auto on MathML elements [1] (covered by existing tests) but Chromium actually does take these properties into account [2]. One exception is the `<mpadded>` element which currently ignores specified CSS height. This CL changes that behavior by relying on ComputeBlockSizeForFragment instead, so that the implementation does not violate LayoutNG design. WPT tests will be added later when consensus is reached in the Math WG and the spec updated accordingly. [1] https://w3c.github.io/mathml-core/#css-styling [2] https://github.com/w3c/mathml-core/issues/75#issuecomment-1354502109 Bug: 6606 Change-Id: I02226fb304400f24de834fa0c0254bfd0c09549b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4116578 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/main@{#1085816}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.