input.labels doesn't work inside shadow DOM.
Created attachment 449410 [details] WIP Patch
Created attachment 449413 [details] Patch
Committed r288162 (246153@main): <https://commits.webkit.org/246153@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449413 [details].
<rdar://problem/87741546>