[Webkit-unassigned] [Bug 129097] New: Bad preferred width for <mi> token elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 20 05:04:42 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129097

           Summary: Bad preferred width for <mi> token elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: MathML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fred.wang at free.fr
                CC: bfulgham at webkit.org, cfleizach at apple.com,
                    mrobinson at webkit.org
        Depends on: 44208
            Blocks: 124838


After bug 44208, I tweaked some reftests due to some bad spacing around <mi> operators. I tried again today and it seems that the issue was actually a bad preferred width. For some reason, marking the wrapper preferred width dirty was not enough and I have to force the recomputation in RenderMathMLToken::computePreferredLogicalWidths(). Not sure if that's the optimal way to do that but that seems to work for me.

The issue of bug 124838 on which I've been stuck for a while now is probably the same: I need to take into account the lspace/rspace in the computation of computePreferredLogicalWidths ; using margin-start/margin-end and setting the wrapper preferred width dirty is probably not enough (and won't have worked for stretchy operators anyway since the computation is specific).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list