Bug 179739 - Consistent handling of out-of-flow children in MathML layout functions
Summary: Consistent handling of out-of-flow children in MathML layout functions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 178865
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-15 11:16 PST by Frédéric Wang (:fredw)
Modified: 2017-11-15 11:16 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2017-11-15 11:16:55 PST
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.