Open Bug 1664739 Opened 4 years ago Updated 4 years ago

Expose a warning for invalid selectors within :is() and :where()

Categories

(DevTools :: Console, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug)

Details

Once bug 1664718 is implemented, it is valuable to know for authors when a selector within :is() or :where() is invalid, allowing them to correct the mistake.

Therefore, a warning should be logged to the Console for the invalid parts within the selector.
If multiple selectors within those pseudo-classes are invalid, it is probably better to log individual warnings for each one, from a user perspective and, I guess, also from an implementor perspective.

Sebastian

See Also: → 1664740
Blocks: selectors-4
You need to log in before you can comment on or make changes to this bug.