[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:37:17 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=151030
--- Comment #9 from Jack <shihchieh_lee at apple.com> ---
workaround:
-void RenderGeometryMap::stepInserted(const RenderGeometryMapStep& step)
+void RenderGeometryMap::stepInserted(RenderGeometryMapStep& step)
{
// RenderView's offset, is only applied when we have fixed-positions.
- if (!step.m_renderer->isRenderView())
+ if (!step.m_renderer->isRenderView()) {
+ step.m_accumulatedOffsetCache = m_accumulatedOffset;
m_accumulatedOffset += step.m_offset;
+ }
void RenderGeometryMap::stepRemoved(const RenderGeometryMapStep& step)
{
// RenderView's offset, is only applied when we have fixed-positions.
if (!step.m_renderer->isRenderView())
- m_accumulatedOffset -= step.m_offset;
+ m_accumulatedOffset = step.m_accumulatedOffsetCache;
--
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/53721d28/attachment.htm>
More information about the webkit-unassigned
mailing list