- From: Pierre Spring via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Nov 2018 12:26:10 +0000
- To: public-css-archive@w3.org
@ExE-Boss The way the `:blank` and `:empty` selectors are defined, does not allow for **whitespace only** content to still be selected.
My understanding is that we are trying to find or redefine a selector, that can be used in real world scenarios. Given that whitespace and newlines are not usually considered when outputting HTML, we are in need of a selector that could identify the following example:
```html
<div class="drop-zone">
</div>
```
```css
.drop-zone:blank {
content: 'Drop File Here To Upload';
}
```
--
GitHub Notification of comment by caillou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1967#issuecomment-441015114 using your GitHub account
Received on Thursday, 22 November 2018 12:26:11 UTC