I guess you would if the images wasn't found. Alt text would get decorated? Can't check right now.
On Thursday, September 11, 2014, Philippe Wittenbergh <e...@l-c-n.com> wrote: > > Le 11 sept. 2014 à 18:56, MiB <digital.disc...@gmail.com <javascript:;>> > a écrit : > > > sep 11 2014 05:19 Tom Livingston <tom...@gmail.com <javascript:;>>: > > > >> 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? > > Philippe > -- > Philippe Wittenbergh > http://l-c-n.com/ > > > > > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org <javascript:;>] > 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/ > -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/