Open Bug 1561010 Opened 5 years ago Updated 6 months ago

Multiple selectors in :host pseudo-class like ":host(.class1, .class2)" is not supported

Categories

(Core :: CSS Parsing and Computation, defect, P3)

67 Branch
x86_64
macOS
defect

Tracking

()

People

(Reporter: timdream, Unassigned)

Details

Attachments

(1 file)

Attached file test.html

STR: look at the file.

Expected: Text should be red.
Actual: Text is black.

This wasn't supported on WebKit or Blink last I checked, though it looks like Blink does support this now.

Summary: Compound selector list in :host pseudo-class like ":host(.class1, .class2) .class3" is not supported → Multiple selectors in :host pseudo-class like ":host(.class1, .class2) .class3" is not supported
Summary: Multiple selectors in :host pseudo-class like ":host(.class1, .class2) .class3" is not supported → Multiple selectors in :host pseudo-class like ":host(.class1, .class2)" is not supported
Priority: -- → P3
Severity: normal → S3

I was told that this should NOT be supported and Chrome implemented a previous version of the spec.

https://bugs.webkit.org/show_bug.cgi?id=199170#c1

RESOLVED WONTFIX?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: