[Webkit-unassigned] [Bug 264392] Expanding ghost margin on custom element re-render

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 19 11:50:03 PST 2023


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

--- Comment #3 from oceansky <cris at dosyago.com> ---
Hello Simon Fraser,

Yes, thank you, I'm sorry about that! You're right that it could indeed be described better.

The bug is the accumulation of a margin when the custom element is re-rendered. The result is that the paragraph and button are pushed down on each render, by this growing 'ghost' margin. I do not know if it is actually a "margin", but its effect is similar. 

The only data change is an increment of a counter, displayed as text in the paragraph, which seems unlikely to account for it. Yet it occurs! 

Examining the DOM in Inspector does not reveal any node leak: there are not unintended nodes being added at each render. 

I could not find any CSS (styled or computed) that defines this increasing offset.

There is no code, style, or change it seems that creates this margin in the reproduction, it simply occurs.

It's entirely possible I simply may have missed something. The reproduction code is very straightforward, so that seems unlikely, tho not impossible!

-- 
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/20231119/f0336571/attachment-0001.htm>


More information about the webkit-unassigned mailing list