- From: L. David Baron <dbaron@dbaron.org>
- Date: Mon, 22 Apr 2013 09:32:58 -0400
- To: www-style@w3.org
On Wednesday 2013-04-10 18:19 -0700, fantasai wrote: > - RESOLVED: Define a new selector that matches element that is > either completely empty or contains only whitespace. > Note: Need naming suggestions. > fantasai: So what would we name it? > Bert: :blank? > fantasai: I thought we might use that for empty inputs... > <tantek> :space > <fantasai> tantek, it's potentially empty > <tantek> space is pretty empty ;) > <tantek> :visibly-empty > glazou: What about :almost-empty? > <plinss> :mostly-empty > <leif1> :insignificant > <Rossen> :just-about-empty > <TabAtkins> :this-element-intentionally-left-blank > * sgalineau approves of all these as aliases > <BradK> :good-as-empty > <tantek> :empty-or-space > <jdovey> :quiet > <Rossen> :boring > <tantek> :silent > <BradK> :white-space > szilles: :void > TabAtkins: Confusing because void refers to what :empty currently means. > > SimonSapin: Would this select elements with other empty children? > <SimonSapin> <div><div></div></div> > fantasai: No, only elements that contain nothing or insignificant whitespace. > glazou: We agree on the selector, but still need to come up with a good name. > > RESOLVED: Define a new selector that matches empty or only whitespace. In Gecko we call this :-moz-only-whitespace. So I'd offer :only-whitespace as another suggestion. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla http://www.mozilla.org/ 𝄂
Received on Monday, 22 April 2013 13:33:29 UTC