Re: [csswg-drafts] [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”

I spent some time reading through the comments and still like `input:when([type=number])` better than any of the alternatives. 

Also, even though Edge does not support the `:matches` pseudo nor plans to support it at the moment, I would like to agree that `:matches` is a reasonable name, and does not need to be changed. I'm highly sympathetic with implementors having a feature shipped for years then ultimately having no advantage of it whatsoever because everything gets renamed in the end. The work required to rename a feature is much more important than it seems. You have to update the tests, the comments, the function named after it; seriously I wouldn't want to impose this on Safari if there isn't a clear and obvious reason.


-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-361840758 using your GitHub account

Received on Wednesday, 31 January 2018 06:51:54 UTC