Created attachment 372778 [details] test.html Summary: 2nd selector in the compond selector list in :host pseudo-class like ":host(.class1, .class2) .class3" is not supported Steps To Reproduce: 1. Open up test.html 2. Inspect the test. Results: The text should be red. Tested on STP Release 85 (Safari 13.0, WebKit 14608.1.28.1) macOS 10.14.4 (18E226) Notes: If I change the selector to |:host(.class2, .class1) .class3| then the text is red, indicating that the selector is supported but not implemented correctly. === Firefox doesn’t seem to support this yet (https://bugzilla.mozilla.org/show_bug.cgi?id=1561010) and Chrome can parse this test correctly. === Was filed as rdar://52060837
At some point :host() was indeed supposed to accept a <compound-selector-list>, but this is no longer the case. Only a single <compound-selector> should be supported now. https://drafts.csswg.org/css-scoping/#selectordef-host