W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: Naming of selector that matches :empty or only-whitespace (was Re: [CSSWG] Minutes Telecon 2013-04-10)

From: Brian Kardell <bkardell@gmail.com>
Date: Mon, 22 Apr 2013 10:30:07 -0400
Message-ID: <CADC=+jff1CvgJ1QX2j0DMQScvRXeULa4y2Jibqfo9P+95TUpJg@mail.gmail.com>
To: David Baron <dbaron@dbaron.org>
Cc: www-style@w3.org
How about :blank
On Apr 22, 2013 9:34 AM, "L. David Baron" <dbaron@dbaron.org> wrote:

> 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 14:30:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 April 2013 14:30:40 UTC