Back to Serenity

:is() test

Base/res/html/misc/is-selector.html

latest335 B
Original Source

:is() test

Nothing

These should have no background.

.special :is(h2, p)

These should have a green background.

.forgiving :is(&&&fakhsdaskjhd, h2, p)

These should have a green background. :is() takes a "permissive selector list", so even though part of it is invalid, this does not make the whole selector-list invalid.