⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 282512 in webkit


Ignore:
Timestamp:
Sep 16, 2021, 1:51:23 AM (5 years ago)
Author:
Adrian Perez de Castro
Message:

Merge r276630 - [MathML] Assertion failure in RenderTreeNeedsLayoutChecker
​https://bugs.webkit.org/show_bug.cgi?id=224903

Patch by Frédéric Wang <​fwang@igalia.com> on 2021-04-27
Reviewed by Alan Bujtas.

Source/WebCore:

After r226180, RenderMathMLRow no longer performs layout of its "embellished operator"
children only its core <mo> descendant, which is causing dirty layout.

Test: mathml/vertical-embellished-op-dirty-layout.html

  • rendering/mathml/RenderMathMLRow.cpp:

(WebCore::RenderMathMLRow::stretchVerticalOperatorsAndLayoutChildren): always layout the
"embellished operator" child, after its core <mo>.

LayoutTests:

Add regression test with all vertical embellished operators (other than <mo>) supported
by WebKit.

  • mathml/vertical-embellished-op-dirty-layout-expected.txt: Added.
  • mathml/vertical-embellished-op-dirty-layout.html: Added.
Location:
releases/WebKitGTK/webkit-2.32
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.32/LayoutTests/ChangeLog

    r282509 r282512  
     12021-04-27  Frédéric Wang  <fwang@igalia.com>
     2
     3        [MathML] Assertion failure in RenderTreeNeedsLayoutChecker
     4        https://bugs.webkit.org/show_bug.cgi?id=224903
     5
     6        Reviewed by Alan Bujtas.
     7
     8        Add regression test with all vertical embellished operators (other than <mo>) supported
     9        by WebKit.
     10
     11        * mathml/vertical-embellished-op-dirty-layout-expected.txt: Added.
     12        * mathml/vertical-embellished-op-dirty-layout.html: Added.
     13
    1142021-04-19  Darin Adler  <darin@apple.com>
    215
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog

    r282510 r282512  
     12021-04-27  Frédéric Wang  <fwang@igalia.com>
     2
     3        [MathML] Assertion failure in RenderTreeNeedsLayoutChecker
     4        https://bugs.webkit.org/show_bug.cgi?id=224903
     5
     6        Reviewed by Alan Bujtas.
     7
     8        After r226180, RenderMathMLRow no longer performs layout of its "embellished operator"
     9        children only its core <mo> descendant, which is causing dirty layout.
     10
     11        Test: mathml/vertical-embellished-op-dirty-layout.html
     12
     13        * rendering/mathml/RenderMathMLRow.cpp:
     14        (WebCore::RenderMathMLRow::stretchVerticalOperatorsAndLayoutChildren): always layout the
     15        "embellished operator" child, after its core <mo>.
     16
    1172021-04-23  Ian Gilbert  <iang@apple.com>
    218
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp

    r244595 r282512  
    102102            renderOperator->stretchTo(stretchAscent, stretchDescent);
    103103            renderOperator->layoutIfNeeded();
     104            child->layoutIfNeeded();
    104105        }
    105106    }
Note: See TracChangeset for help on using the changeset viewer.