Files
serenity/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
David Smith 2acb11dfc5 LibWeb: Layout all math elements using InternalDummy context
Always create a new formatting context for <math> elements. Previously
that didn't happen if they only had inline children, e.g. mtable.

This fixes a crash in the WPT MathML test
mathml/crashtests/children-with-negative-block-sizes.html

(cherry picked from commit e7c209820d29cb422668ac0b142d030080aa7767)
2024-11-25 08:50:54 -05:00

97 KiB