[Webkit-unassigned] [Bug 196123] With async scrolling enabled, this MathML test asserts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 26 03:30:51 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=196123

--- Comment #3 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
Just took a quick look now, it seems enough to call updateScrollInfoAfterLayout() in layoutBlock like what is done in RenderBlock::simplifiedLayout().

diff --git a/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp b/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
index 8e356b6b696..e9b1118e956 100644
--- a/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
+++ b/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
@@ -252,6 +252,8 @@ void RenderMathMLBlock::layoutBlock(bool relayoutChildren, LayoutUnit)

     repainter.repaintAfterLayout();

+    updateScrollInfoAfterLayout();
+
     clearNeedsLayout();
 }

However, we need to do that in all implementations and add test for each case. Would be similar to bug 178865 I guess.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190326/f9cf1220/attachment.html>


More information about the webkit-unassigned mailing list