Skip to content

Commit

Permalink
login: Use valid selectors when testing for :is() / :where() support.
Browse files Browse the repository at this point in the history
Rejecting CSS.supports(":is()") is the correct thing to do per
w3c/csswg-drafts#7280

Fixes #17724.
  • Loading branch information
emilio authored and mvollmer committed Sep 12, 2022
1 parent 8c9b0ed commit 33f16d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/static/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
css("display", "flex") &&
css("display", "grid") &&
css("selector(test)") &&
css("selector(:is():where())");
css("selector(:is(*):where(*))");
}

function trim(s) {
Expand Down

0 comments on commit 33f16d1

Please sign in to comment.