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: MathMLAssignee: 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)
Reported 2024-07-10 01:38:03 PDT
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
Radar WebKit Bug Importer
Comment 1 2024-07-17 01:39:14 PDT
Note You need to log in before you can comment on or make changes to this bug.