- From: Laurens Holst <lholst@students.cs.uu.nl>
- Date: Tue, 29 Mar 2005 22:16:41 +0200
- To: www-style@w3.org
Anne van Kesteren wrote: >> What I meant was that in XHTML 2.0 alternate text is no longer >> provided as an attribute. Instead it is done like this[1]: >> >> <h1 src="heading1.jpg"><em>Surely</em> this would be cool to have</h1> >> >> Since as far as I know there is no such thing as er... content: >> content() or something. > > I assume h1:alt would still match the H1 element if image loading was > somehow prevented. I do not really see the problem. You want > 'content:normal' or so by the way. Oh, stupid me :). h1:alt would even be nice to render a reddish border or something around the element, to indicate something has failed loading. So, let’s say :alt (or rather: :loadfail?) would be nice for elements which the language, e.g. images in HTML, failed to load into the document. However I have my doubts about whether it is also good for intercepting images that CSS itself failed to load. I think for that background-standin-color or something similar is still a nice solution. At least it would solve my current ‘problem’. With such a property my site would render just as it does now in current browsers, however degrade better in newer ones. But, I am sure someone has a better idea :). ~Grauw -- Ushiko-san! Kimi wa doushite, Ushiko-san!!
Received on Tuesday, 29 March 2005 20:16:40 UTC