See https://github.com/w3c/csswg-drafts/issues/2646 and https://github.com/w3c/webcomponents/issues/535
<rdar://problem/46392352>
Created attachment 356289 [details] Fixes the bug
Committed r238812: <https://trac.webkit.org/changeset/238812>