Changeset 244595 in webkit
- Timestamp:
- Apr 24, 2019 10:19:18 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r244593 r244595 1 2019-04-24 Frederic Wang <fwang@igalia.com> 2 3 With async scrolling enabled, this MathML test asserts 4 https://bugs.webkit.org/show_bug.cgi?id=196123 5 6 Reviewed by Rob Buis. 7 8 Add a test for each MathML layoutBlock functions/classes. 9 10 * mathml/mathml-overflow-crash-expected.txt: Added. 11 * mathml/mathml-overflow-crash.html: Added. 12 1 13 2019-04-24 Cathie Chen <cathiechen@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r244591 r244595 1 2019-04-24 Frederic Wang <fwang@igalia.com> 2 3 With async scrolling enabled, this MathML test asserts 4 https://bugs.webkit.org/show_bug.cgi?id=196123 5 6 This patch ensures that updateScrollInfoAfterLayout() is called during MathML layout. This 7 fixes assertions when async scrolling is enabled and MathML elements have non-visible overflow. 8 9 Reviewed by Rob Buis. 10 11 Test: mathml/mathml-overflow-crash.html 12 13 * rendering/mathml/RenderMathMLBlock.cpp: 14 (WebCore::RenderMathMLBlock::layoutBlock): 15 (WebCore::RenderMathMLBlock::layoutInvalidMarkup): 16 * rendering/mathml/RenderMathMLFraction.cpp: 17 (WebCore::RenderMathMLFraction::layoutBlock): 18 * rendering/mathml/RenderMathMLMath.cpp: 19 (WebCore::RenderMathMLMath::layoutBlock): 20 * rendering/mathml/RenderMathMLMenclose.cpp: 21 (WebCore::RenderMathMLMenclose::layoutBlock): 22 * rendering/mathml/RenderMathMLOperator.cpp: 23 (WebCore::RenderMathMLOperator::layoutBlock): 24 * rendering/mathml/RenderMathMLPadded.cpp: 25 (WebCore::RenderMathMLPadded::layoutBlock): 26 * rendering/mathml/RenderMathMLRoot.cpp: 27 (WebCore::RenderMathMLRoot::layoutBlock): 28 * rendering/mathml/RenderMathMLRow.cpp: 29 (WebCore::RenderMathMLRow::layoutBlock): 30 * rendering/mathml/RenderMathMLScripts.cpp: 31 (WebCore::RenderMathMLScripts::layoutBlock): 32 * rendering/mathml/RenderMathMLSpace.cpp: 33 (WebCore::RenderMathMLSpace::layoutBlock): 34 * rendering/mathml/RenderMathMLToken.cpp: 35 (WebCore::RenderMathMLToken::layoutBlock): 36 * rendering/mathml/RenderMathMLUnderOver.cpp: 37 (WebCore::RenderMathMLUnderOver::layoutBlock): 38 1 39 2019-04-24 Greg V <greg@unrelenting.technology> 2 40 -
trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
r239461 r244595 253 253 repainter.repaintAfterLayout(); 254 254 255 updateScrollInfoAfterLayout(); 256 255 257 clearNeedsLayout(); 256 258 } … … 266 268 setLogicalHeight(0); 267 269 layoutPositionedObjects(relayoutChildren); 270 updateScrollInfoAfterLayout(); 268 271 clearNeedsLayout(); 269 272 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp
r239427 r244595 249 249 layoutPositionedObjects(relayoutChildren); 250 250 251 updateScrollInfoAfterLayout(); 252 251 253 clearNeedsLayout(); 252 254 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLMath.cpp
r238463 r244595 88 88 layoutPositionedObjects(relayoutChildren); 89 89 90 updateScrollInfoAfterLayout(); 91 90 92 clearNeedsLayout(); 91 93 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp
r234619 r244595 191 191 layoutPositionedObjects(relayoutChildren); 192 192 193 updateScrollInfoAfterLayout(); 194 193 195 clearNeedsLayout(); 194 196 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp
r239427 r244595 244 244 } 245 245 246 updateScrollInfoAfterLayout(); 247 246 248 clearNeedsLayout(); 247 249 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp
r239427 r244595 112 112 layoutPositionedObjects(relayoutChildren); 113 113 114 updateScrollInfoAfterLayout(); 115 114 116 clearNeedsLayout(); 115 117 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp
r238463 r244595 262 262 layoutPositionedObjects(relayoutChildren); 263 263 264 updateScrollInfoAfterLayout(); 265 264 266 clearNeedsLayout(); 265 267 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp
r239427 r244595 179 179 layoutPositionedObjects(relayoutChildren); 180 180 181 updateScrollInfoAfterLayout(); 182 181 183 clearNeedsLayout(); 182 184 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.cpp
r240666 r244595 462 462 layoutPositionedObjects(relayoutChildren); 463 463 464 updateScrollInfoAfterLayout(); 465 464 466 clearNeedsLayout(); 465 467 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp
r239427 r244595 82 82 setLogicalHeight(height + depth); 83 83 84 updateScrollInfoAfterLayout(); 85 84 86 clearNeedsLayout(); 85 87 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.cpp
r239427 r244595 587 587 setLogicalHeight(mathVariantGlyph.font->boundsForGlyph(mathVariantGlyph.glyph).height()); 588 588 589 updateScrollInfoAfterLayout(); 590 589 591 clearNeedsLayout(); 590 592 } -
trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp
r240666 r244595 354 354 layoutPositionedObjects(relayoutChildren); 355 355 356 updateScrollInfoAfterLayout(); 357 356 358 clearNeedsLayout(); 357 359 }
Note: See TracChangeset
for help on using the changeset viewer.