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

@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