There was an attempt to implement this feature in 2018, Intent to implement: Shadow DOM imperative distributed API . However, this feature was put on hold because browser vendors hadn’t yet agreed on the API’s behavior. In the last F2F TPAC meeting , Sept, 2019, the API’s behavior has been finalized. This intent is to implement this API based on the agreed changes.
Differences from the previous implementation and additional work are:
- The order of assigned nodes needs to be preserved.
- Slot assignment is absolute.
- Assigning a grandchild node or ancestor node of the shadow host will throw an exception. Only direct light tree children are slotable.
- Slotchange event is raised when list of assigned nodes or their order changes.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABgHHk4Tp87oYoREOiY5Msw2d2tzJyt6r0ETdVvFxTWuxDuubA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2B-LeH99t-w%2BV_BdhpT1qtuP7%3D%3DKByHs-7PuYxxLmRUsPV5VDg%40mail.gmail.com.