Re: [whatwg/dom] label-input association across Shadow DOM boundary (#530)

Thanks for filing this. A better place to file this would be at https://github.com/whatwg/html/issues/new as the DOM Standard doesn't really say how the `label` element needs to behave.

I suspect this would be problematic to fix as you want something that crosses the boundary (an extra complication might be that this also affects selectors). We generally decided that forms only work within the same tree. An `input` element inside a shadow tree also does not get submitted for instance. An alternative that might make sense and preserves the encapsulation boundary is that we allow a shadow host to be labeled, and that it can decide somehow who gets focus.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/530#issuecomment-341659372

Received on Friday, 3 November 2017 09:51:12 UTC