[Webkit-unassigned] [Bug 276413] New: /mathml/relations/css-styling/padding-border-margin/padding-border-margin-004.html fails
    bugzilla-daemon at webkit.org 
    bugzilla-daemon at webkit.org
       
    Wed Jul 10 01:38:03 PDT 2024
    
    
  
https://bugs.webkit.org/show_bug.cgi?id=276413
            Bug ID: 276413
           Summary: /mathml/relations/css-styling/padding-border-margin/pa
                    dding-border-margin-004.html fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: MathML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
        Depends on: 202302, 276317, 276358
            Blocks: 195797
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.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=195797
[Bug 195797] Align WebKit's MathML implementation with the MathML Core spec
https://bugs.webkit.org/show_bug.cgi?id=202302
[Bug 202302] Implement the mathvariant attribute using CSS
https://bugs.webkit.org/show_bug.cgi?id=276317
[Bug 276317] Support padding/border/margin on RenderMathMLToken
https://bugs.webkit.org/show_bug.cgi?id=276358
[Bug 276358] margin and preferred width calculation for MathML elements
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240710/4907628d/attachment.htm>
    
    
More information about the webkit-unassigned
mailing list