Bug 276413
| Summary: | mathml/relations/css-styling/padding-border-margin/padding-border-margin-004.html fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Frédéric Wang Nélar <fred.wang> |
| Component: | MathML | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dpino, 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 Nélar
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>
Diego Pino
This test has been constantly passing in platforms WebKitGTK, WPEWebKit, Mac and iOS since recently:
https://results.webkit.org/?platform=WPE&platform=GTK&platform=mac&platform=ios&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmathml%2Frelations%2Fcss-styling%2Fpadding-border-margin%2Fpadding-border-margin-004.html
Probably a side effect of fixing https://bugs.webkit.org/show_bug.cgi?id=202302
Bug removed from test expectations in 312590@main. Closing ticket.