[Webkit-unassigned] [Bug 218692] Implement the imperative slotting API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 8 02:57:22 PDT 2022


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

--- Comment #12 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Ryosuke Niwa from comment #10)
> Created attachment 461478 [details]
> WIP

hm... on my second thought, this approach doesn't quite work. I was trying to avoid having a dedicated back reference from a Node to its manually assigned slot but I don't think there is a way around it. When a slot that's outside "this" shadow tree is assigned of a node that had previously been assigned to another slot in "this" shadow tree, we still need to sever the slot assignment but we won't be able to find the slot without having some kind of a back reference from the node to its manually assigned slot.

So we probably need a new member in NodeRareData which is about back reference from a Node to its manually assigned slot. It kind of stinks that we have to use NodeRareData for this.

-- 
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/20220808/da4295c9/attachment.htm>


More information about the webkit-unassigned mailing list