[Webkit-unassigned] [Bug 179682] Incorrect bounds inside <mover>/<munder> when a stretchy operator is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 30 13:09:25 PST 2017


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

--- Comment #37 from Minsheng Liu <lambda at liu.ms> ---
To handle the latest edge case I provided, I think we really could benefit a lot from a logicalWidthWithoutStretchyOperators() virtual method. With that, we could have something like:

for (child : children)
  layout child if needed

this->m_logicalWidthWithoutStretchyOperator = max(children’s)

for (child : children that are embellished operators)
  let operator = ...
  stretch operator
  fixLayout(parent node = child, bad node = operator)

layout children
set logical width
et cetera 

This way we can combine the method we are working on with layoutBlock.

Also I suspect our existing fixLayout (setNeedsLayout() then layout()) is problematic for cases like an operator embellished with multiple subscript/superscript.

— Sent from my iPhone.

-- 
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/20171130/45f26786/attachment.html>


More information about the webkit-unassigned mailing list