Bug 276413
Summary: | mathml/relations/css-styling/padding-border-margin/padding-border-margin-004.html fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> |
Component: | MathML | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | karlcow, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, WPTImpact |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 202302, 276317, 276358 | ||
Bug Blocks: | 195797 |
Frédéric Wang (:fredw)
With my patches for bug 276358 and bug 276317, I'm able to make it render as I expect, similar to what Chrome does.
However, the <mtext> in the reference files has a larger height compared to the <mi> in the padding-border-margin-004.html.
The RenderMathMLBlock layout seems more complex than the RenderMathMLToken one (for the case when we paint a mathVariantGlyph directly).
Maybe RenderMathMLToken should do something special for text-only token elements, see https://w3c.github.io/mathml-core/#layout-of-mtext
Alternatively, probably fixing 202302 would do the job too since in that case we won't need special handling for mathVariantGlyph.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/131906430>