W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: [css-ui] Request for :dirty pseudoclass

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Thu, 24 Sep 2009 09:42:39 -0400
Message-ID: <7c2a12e20909240642k54ec5741wd2a77e8a5f71d1f7@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Wed, Sep 23, 2009 at 11:42 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> I propose a :dirty pseudoclass be added to CSS UI.

I think ":changed" would be a better name.  An ":unchanged" selector
might also be useful.

> It would match any
> input that the user has significantly interacted with, in the opinion
> of the UA.  In standard browsers it would match as soon as the user
> triggered a change event, but the exact details of when it matches are
> up to the UA.

I don't see why you can't just define it to turn on when the first
change event fires.  Or use some other definition that already exists
in HTML5.  These definitions are already vague enough to accommodate
different input types, while still being well-defined in practice for
the input mechanisms in common use (e.g., text boxes).
Received on Thursday, 24 September 2009 13:43:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:29 UTC