[Webkit-unassigned] [Bug 178865] ASSERTION FAILED: !renderer->needsLayout() in WebCore::RenderBlock::checkPositionedObjectsNeedLayout with MathML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 15 09:07:14 PST 2017


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

--- Comment #4 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to zalan from comment #3)
> >2) Maybe call insertPositionedObject in other MathML layout functions too
> Not sure how much it actually matter for MatML content, but in general any
> container (block or inline) could potentially be a containing block for any
> out of flow positioned descendant.

I think we should definitely handle (1) i.e. call layoutPositionedObjects() in all MathML layoutBlock functions in order to address this kind of ASSERT failures where MathML elements have out-of-flow child in descendants.

I'm less sure about (2) i.e. passing out-of-flow children of a MathML element to insertPositionedObject. That would be easy to do but this would also add some special handling in all MathML layoutBlock functions just for the sake of some weird use cases (e.g. absolutely positioning a numerator or a super-script). So I actually lean toward removing that from RenderMathMLRow too which is even more straightforward and simplify code further.

-- 
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/20171115/245a808c/attachment.html>


More information about the webkit-unassigned mailing list