[Webkit-unassigned] [Bug 280399] Conditionally rendered slot elements causes other slots to be hidden
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 1 02:33:08 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280399
Mathias R. <willow4 at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |willow4 at gmx.de
--- Comment #1 from Mathias R. <willow4 at gmx.de> ---
Hi,
we're facing the same Bug in a Project with conditionally rendered slots.
In addition to Hans' explanation, I would like to add that this only seems to occur with elements whose slots have display: contents and contain text nodes. If you set the slot to e.g. display: block or wrap the text in an element such as span, p or div, the error does not occur.
In his example that would mean using <my-headline><span>Headline</span></my-headline> in my-app.ts would work.
--
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/20241001/7dafad51/attachment.htm>
More information about the webkit-unassigned
mailing list