W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [selectors] decide on :blank (#1967)

From: zocky via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Nov 2019 18:27:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-548899875-1572632861-sysbot+gh@w3.org>
It's obvious that `:empty` should be left as is, and a new pseudo should be used for elements that have no other content than white space. `:blank` is as good a choice as any.

Also, inputs should be entirely left out of this. It is coincidental that this can be used to detect empty textareas. This cannot be made useful for detecting values of inputs in general (consider selects). It's a separate issue, and would need a separate solution.


-- 
GitHub Notification of comment by zocky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1967#issuecomment-548899875 using your GitHub account
Received on Friday, 1 November 2019 18:27:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC