{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2143","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2143/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2143/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2143/events","html_url":"https://github.com/w3c/csswg-drafts/issues/2143","id":284993448,"node_id":"MDU6SXNzdWUyODQ5OTM0NDg=","number":2143,"title":"[selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”","user":{"login":"fantasai","id":725717,"node_id":"MDQ6VXNlcjcyNTcxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/725717?v=4","gravatar_id":"","url":"https://api.github.com/users/fantasai","html_url":"https://github.com/fantasai","followers_url":"https://api.github.com/users/fantasai/followers","following_url":"https://api.github.com/users/fantasai/following{/other_user}","gists_url":"https://api.github.com/users/fantasai/gists{/gist_id}","starred_url":"https://api.github.com/users/fantasai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantasai/subscriptions","organizations_url":"https://api.github.com/users/fantasai/orgs","repos_url":"https://api.github.com/users/fantasai/repos","events_url":"https://api.github.com/users/fantasai/events{/privacy}","received_events_url":"https://api.github.com/users/fantasai/received_events","type":"User","site_admin":false},"labels":[{"id":378718577,"node_id":"MDU6TGFiZWwzNzg3MTg1Nzc=","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/selectors-4","name":"selectors-4","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":69,"created_at":"2017-12-28T21:30:19Z","updated_at":"2018-07-06T03:02:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In Issue #1170 we decided to add a functional pseudo-class that is exactly like `:matches()` but has zero specificity. However, we didn't decide on a name.\r\n\r\nSuggestions in that thread included `:is()`, `:when()`, `:filter()`, and `:nospecificity()`.  It was noted that having `:filter()` as a selector and `filter` s a property might be confusing, and that `:nospecificity()` is a pain to type. Additional suggestions, comments, and clarifications welcome."},"comment":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/comments/402911739","html_url":"https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-402911739","issue_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2143","id":402911739,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjkxMTczOQ==","user":{"login":"LeaVerou","id":175836,"node_id":"MDQ6VXNlcjE3NTgzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/175836?v=4","gravatar_id":"","url":"https://api.github.com/users/LeaVerou","html_url":"https://github.com/LeaVerou","followers_url":"https://api.github.com/users/LeaVerou/followers","following_url":"https://api.github.com/users/LeaVerou/following{/other_user}","gists_url":"https://api.github.com/users/LeaVerou/gists{/gist_id}","starred_url":"https://api.github.com/users/LeaVerou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeaVerou/subscriptions","organizations_url":"https://api.github.com/users/LeaVerou/orgs","repos_url":"https://api.github.com/users/LeaVerou/repos","events_url":"https://api.github.com/users/LeaVerou/events{/privacy}","received_events_url":"https://api.github.com/users/LeaVerou/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T03:02:43Z","updated_at":"2018-07-06T03:02:43Z","author_association":"CONTRIBUTOR","body":"Hi all,\r\n\r\nI know that when it comes to names, we all have opinions. However, the group has been discussing this for months (possibly over a year) at this point. We've recently discussed it again F2F, and narrowed it down to :if and :where. I think it's highly unlikely that we will go back and reconsider other names at this point. Therefore, it would be far more productive to argue which one of these is a better choice. \r\n\r\nPersonally, I see myself using this A LOT so I think brevity is important. [Roman Komarov seems to think the same](https://twitter.com/kizmarh/status/1014793591485620224). So, I would vote for `:if()`. Also, I think `:if()` stands much better when it's by itself than `:where()`.\r\nHowever, the community so far seems to favor :where(): https://twitter.com/LeaVerou/status/1014767203508338688\r\n\r\nI do worry a little that this is because they hope to see if used for something else though, or because many of them are programmers and are used to if from there (whereas if has a much stronger association with natural language, if your brain has not been tainted by programming languages)."}}
{"actor":{"display_login":"LeaVerou"}}