[Webkit-unassigned] [Bug 151030] ASSERTION FAILED: roundedIntPoint(LayoutPoint(rendererMappedResult)) == result in WebCore::RenderGeometryMap::mapToContainer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 17 17:27:50 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=151030
Jack <shihchieh_lee at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shihchieh_lee at apple.com
--- Comment #8 from Jack <shihchieh_lee at apple.com> ---
Root cause of descrepency when m_accumulatedOffset is saturated:
In pushMappingsToAncestor, the offset of each layer is accumulated and stored in m_accumulatedOffset, and clamped by saturated value: 0x7FFFFFFF. On the other hand, in popMappingsToAncestor, offset of each layer is substracted from m_accumulatedOffset. However, when m_accumulatedOffset is saturated the substraction does not set m_accumulatedOffset back to the original offset of each layer, resulting in the assertion.
Verified root cause by workaround: Keep a snapshot of m_accumulatedOffset at each call to pushMappingsToAncestor, and restore the offset from the snapshot when popMappingsToAncestor is called.
--
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/20200218/d23f287f/attachment.htm>
More information about the webkit-unassigned
mailing list