W3C home > Mailing lists > Public > wai-xtech@w3.org > January 2009

Why is text crossed out in implementation guide?

From: Aaron M Leventhal <aleventh@us.ibm.com>
Date: Wed, 21 Jan 2009 11:18:53 +0100
To: cooper@w3.org
Cc: "wai-xtech@w3.org" <wai-xtech@w3.org>
Message-ID: <OF399E0101.4D8F3EF7-ONC1257545.00388741-C1257545.0038A82A@us.ibm.com>
Hi Michael,

"Prepend a space if necessary: if the current node is an element and is 
not styled with display: inline, append a space character if the text 
equivalent result string is not currently empty. This space character 
should be removed at the end, if the entire text equivalent computation 
for an element yields no other results. "

and 

"Append a space if necessary: if the current node is an element and is not 
styled with display: inline, append a space character. This last space 
should be trimmed off if it ends up being last character in the entire 
text equivalent computation for an element. "

Why are the second sentences crossed out? It's necessary to do those steps 
so that truly empty names show as being empty.

- Aaron
Received on Wednesday, 21 January 2009 10:19:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:48:47 GMT