RE: [css3-text] Suppressing underlines propagated from ancestors

Hope this helps,
Charles Belov
SFMTA Webmaster
 

Aryeh Gregor wrote on Tuesday, February 22, 2011 1:54 PM
> 
> data:text/html,<!doctype html>
> <button onclick="execCommand('underline', false, 
> null)"><u>U</u></button> <div contenteditable=true> <p 
> style="text-decoration: underline">Hello there!
> </div>
> 
> * IE 9 RC and Firefox 4b11 give up and do nothing
> * Chrome dev converts to <p><u>Hello </u>there<u>!</p>
> * Opera 11 converts to <p style="text-decoration: 
> underline">Hello <u>there</u>!</p>, which seems like a bug
> 

and various other examples snipped.

My concern here from an accessibility viewpoint is that semantic (u tag)
and non-semantic (text-decoration: underline) uses of underline are
being conflated.

Hope this helps,
Charles Belov
SFMTA Webmaster

Received on Tuesday, 22 February 2011 23:33:35 UTC