W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Re: [XHTML 2] Embedding Attributes Examples

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Tue, 31 May 2005 22:40:03 +0200
Message-ID: <429CCBA3.6090907@students.cs.uu.nl>
To: "Justin Wood (Callek)" <116057@bacon.qcc.mass.edu>
Cc: Jim Ley <jim@jibbering.com>, Lachlan Hunt <lachlan.hunt@lachy.id.au>, www-html@w3.org

Justin Wood (Callek) wrote:
> CSS authors can even (with CSS3 Selectors) check the exact src 
> attribute, or even check for the existance of an src attribute to style 
> differently, though this is "slightly" problematic if the content cannot 
> be loaded by a specific UA, issue's such as this should be considered by 
> the XHTML 2 author, and with the advent of this issue, my hope is that 
> someone could propose a CSS change to reference this need.

Styling differently when a replaced element (or a CSS background image) 
is ‘successful’ or not does not only apply to these cases, but also to 
XHTML 1.0 or reasonably common CSS usage (e.g. on my weblog I have a 
green transparent image, which I would like to provide a fallback colour 
other than white for while it’s not loaded yet or when it fails).

This was discussed on www-style not too long ago, however I do not know 
whether the CSS WG did anything with it. I believe it was this thread:


> Specs are not standalone, yes.  Though they should be strongly 
> targetted, and XHTML 2's goal is structural/content not presentation, 
> thus the CSS issue is not one to warrant _any_ change in the examples or 
> actual uses of the spec [imho].

I strongly agree. A limitation in a specific styling language does not 
justify limiting XHTML in its abilities.

*Especially* not in the case of XHTML 2.0, which for the time being 
probably won’t see browser implementations yet, at least until it 
reaches CR. And by that time I think that CSS implementations have 
reached a higher level of CSS support, and the CSS3 specification will 
also have matured more (possibly by cooperation with the HTML WG). 
Talking about not being able to express certain things in CSS for XHTML 
2.0 is mere speculation, unless you can see the future :).

(which, would be a useful ability ;p)


Ushiko-san! Kimi wa doushite, Ushiko-san!!
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.
Received on Tuesday, 31 May 2005 20:40:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC