Closed Bug 1889177 Opened 2 years ago Closed 2 years ago

:host in Logical Combination with Non-Featureless Selectors Should Still Match the Featureless Element

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1879349

People

(Reporter: dshin, Unassigned)

Details

Attachments

(1 file)

Attached test case should display 2 1px black borders with 5px padding in between. In Firefox, it displays only one border.
Spec: "For example, the shadow host in a shadow tree is featureless, and can’t be matched by any pseudo-class except for :host and :host-context() (or combinations including those, such as :is(:host, :root)). "
From resolution here: https://github.com/w3c/csswg-drafts/issues/6420
Current behaviour however is a conscious decision, due to additional complexity.

Severity: -- → S3

Parallel problem for @scope encountered in WPT

This is bug 1879349, right?

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1879349
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: