- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Fri, 30 Mar 2012 12:18:38 -0700
- To: www-style@w3.org, Tantek Çelik <tantek@cs.stanford.edu>
On 03/30/2012 12:01 PM, Ojan Vafai wrote: > For the editing use-case below, I'd like :empty to match nodes that contain only non-significant whitespace. Does anyone know > what the use-cases for :empty as specced are? I don't know. Imho, it should have been specced as applying to any element that contains nothing but (optional) white space (whether preserved or not). Maybe Tantek remembers why it's specced the way it is? > If we're concerned about back-compat, we could instead add :collapsed to explicitly detect the case in question. We can't actually do that, because selectors can't rely on style resolution. ~fantasai
Received on Friday, 30 March 2012 19:19:09 UTC