W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] [html5] Rendering of interactive content

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 11 Feb 2009 21:37:46 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0902112136010.952@hixie.dreamhostps.com>
On Wed, 11 Feb 2009, Aryeh Gregor wrote:
> You could say that not only should authors never set the background 
> color without setting the foreground color, they should also never set 
> the background color without setting the *link* color.

Yeah, that's what I meant.

> But this still doesn't help if the UA (or a user stylesheet) uses
> span { color: green; }

Such a user would be to blame for again not setting the colour and 
background (and link colour for links in the <span>) together.

> I don't think there's any way around this.  If a UA sets unexpected 
> style rules, it *will* break some sites.  I imagine that the response to 
> this is that while this may be so, it's possible that in some cases it 
> will be a tradeoff against platform integration or something, and so it 
> should still be up to the implementers to decide whether it's a good 
> tradeoff in their case.  The expectation would be that for conventional 
> browsers, it won't be.  This is pretty much just the definition of 
> "should" in RFC2119.

I mostly agree, except that I think the current spec text (using "expected 
to" rather than "should") more accurately represents what we want here.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 February 2009 13:37:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC