Re: :invalid

On Fri, Sep 24, 2010 at 1:58 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> While we could try to come up with some set of selectors which can be
> combined together to accomplish this set of rules, I think this has a
> couple of problems. First of all it is somewhat inflexible. If we want
> to change the above rules we might need to invent even more selectors.
> Second, it makes it more cumbersome for authors to override the
> default UA stylesheet since that stylesheet might be different in
> different UAs.

But the styling will be different as well in different UAs, right?
Mozilla currently adds a fuzzy red border, but others might change the
background color, add a little X icon, or any number of other things.
So even if we had a unified :invalid-ui selector, it wouldn't let you
override the UI of some generic unknown browser by itself -- you'd
still have to figure out what rules the browser has by default, so as
to specifically override them.

In most cases, in principle, we'd want all UAs' built-in stylesheets
to be identical, so authors can override them reliably.  Here it seems
like we're talking about UAs applying entirely different UI in ways
that are visible to authors.  Surely that's an intrinsic
interoperability problem no matter what we do.  (Not that I have any
better solution to propose.)

Received on Monday, 27 September 2010 18:56:51 UTC