[Webkit-unassigned] [Bug 249391] Fix inline-block abspos bug
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 25 08:20:40 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=249391
--- Comment #3 from zalan <zalan at apple.com> ---
(In reply to Ahmad Saleem from comment #2)
> This seems to be repaint issue because resizing window make it looks similar
> to Chrome Canary 112 and Firefox Nightly 112.
>
> I tried in local testing and this compiles:
>
> if ((oldStyle && isOutOfFlowPositioned() && parent() && (parent() !=
> containingBlock()))
> && (style().position() == oldStyle->position())
> && (style().display() != oldStyle->display())
> && ((style().display() == DisplayType::Block) || (style().display()
> == DisplayType::InlineBlock))
> && ((oldStyle->display() == DisplayType::Block ) ||
> (oldStyle->display() == DisplayType::InlineBlock)))
> parent()->setChildNeedsLayout(MarkOnlyThis);
>
> _______
>
> I tried to change "last line" with:
>
> setNeedsLayout() and other child variants to force repainting to get this
> fixed but it seems it does not work in case of Safari.
>
> Would appreciate any input or suggestion. Just wanted to share my input and
> progress in the background on fixing this bug. Thanks!
I think parent()->setNeedsLayout(LayoutInvalidationReason::ChildChanged, MarkContainerChain); maps to parent()->setChildNeedsLayout();
--
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/20230225/30ada891/attachment-0001.htm>
More information about the webkit-unassigned
mailing list