Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c37d84f4267d40b186332de9b2b7afc8df0ebaea
      
https://github.com/WebKit/WebKit/commit/c37d84f4267d40b186332de9b2b7afc8df0ebaea
  Author: Alan Baradlay <za...@apple.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    A LayoutTests/mathml/out-of-flow-fraction-content-crash-expected.txt
    A LayoutTests/mathml/out-of-flow-fraction-content-crash.html
    M Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp

  Log Message:
  -----------
  [MathML] <mfrac> with out-of-flow numerator/denominator produces unexpected 
result
https://bugs.webkit.org/show_bug.cgi?id=276026
<rdar://130757408>

Reviewed by Simon Fraser.

Out-of-flow (numerator/denominator) children have to get inserted to their 
containing block's list while running inflow layout.
(Alternatively we can mark such content as invalid as they are certainly 
expected to be inflow boxes, but the rest of the MathML renderers follow this 
logic.)

* LayoutTests/mathml/out-of-flow-fraction-content-crash-expected.txt: Added.
* LayoutTests/mathml/out-of-flow-fraction-content-crash.html: Added.
* Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::layoutBlock):

Canonical link: https://commits.webkit.org/280505@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to