[Webkit-unassigned] [Bug 179739] New: Consistent handling of out-of-flow children in MathML layout functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 15 11:16:55 PST 2017


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

            Bug ID: 179739
           Summary: Consistent handling of out-of-flow children in MathML
                    layout functions
           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
                CC: rego at igalia.com
        Depends on: 178865

Extracted from bug 178865.

Almost all layout functions in MathML ignore out-of-flow children, except RenderMathMLRow. Consider for example 

      <math>
        <mtext style="position: absolute; left: 100px; top: 100px;">A</mtext>
        <mfrac>
          <mtext style="position: absolute; left: 100px; top: 100px;">B</mtext>
          <mtext></mtext>
        </mfrac>
      </math>

where A is absolutely positioned but the numerator B is not. It's not clear whether it's really an important use cases. Maybe we should add special insertPositionedObject calls in all MathML layout functions to be compatible with the CSS behavior. Or maybe we should remove the special handling in RenderMathMLRow to reduce code complexity.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=178865
[Bug 178865] ASSERTION FAILED: !renderer->needsLayout() in WebCore::RenderBlock::checkPositionedObjectsNeedLayout with MathML
-- 
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/20171115/268d97a8/attachment-0001.html>


More information about the webkit-unassigned mailing list