sep 11 2014 13:26 Philippe Wittenbergh <[email protected]>:

> 
> Le 11 sept. 2014 à 18:56, MiB <[email protected]> a écrit :
> 
>> sep 11 2014 05:19 Tom Livingston <[email protected]>:
>> 
>>> Reading this over again, <a href=""><img src="myimg.jpg" /></a> wouldn't
>>> have any text-decoration anyway.
>> 
>> 
>> If you write compliant code it would, at least in a non webkit browser like 
>> Firefox:
>> 
>> <a href="#"><img src="myimg.jpg" alt=”My Image"> </a> 
> 
> Uh ? Does Firefox apply a text-decoration in that case ? That would 
> non-compliant (I thought they had that fixed aeons ago, and Firefox doesn't 
> show any text-decoration over here). The situation with border-bottom is of 
> course different.
> 
> CSS 2.1
> http://www.w3.org/TR/CSS21/text.html#decoration
> 
> CSS3 Text-decoration module
> http://dev.w3.org/csswg/css-text-decor/#line-decoration
> 
> Quote ( present in both docs):
>> Atomic inlines, such as images, are not decorated.
> 
> Assuming a[href] { text-decoration: underline; } (which is the default…)
> 
> Or do I miss something?
> 
> 

Isn’t it obvious that alt text will be shown when there image isn’t? AFICT it’s 
the webkit browser that has a bug not displaying it. It’s the bug system of 
Chrome’s strain.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to