[Webkit-unassigned] [Bug 249391] Fix inline-block abspos bug
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 24 18:02:42 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=249391
--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
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!
--
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/8f36b737/attachment-0001.htm>
More information about the webkit-unassigned
mailing list