Re: display="none", but is copied

On Monday 12 November 2001 12:51, Einar Westermann wrote:
|   In CSS2, should non-displayed text as in the following example be copied
|   from the user agent to the clipboard?
|
|   <span style="display:none">Non-displayed text</span>
|
|   - or lies this within the realm of the user agent?

IMHO text in "display:none" and "visibility:hidden" should not be copied to 
clipboard.
Users expects to copy only the things he has on rendered page.
It can be slightly different though for "copy and paste" of a whole page 
(like, you copied everything on a page in MS IE 5.x and pasted it to Word 
2000 - it usually works ok, but AFAIK Word2000 does some HTML re-formatting 
for pasted HTML). But I think for this case browser vendors should reserve 
special "paste original HTML" action in browser's menu.
  
-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

Received on Monday, 12 November 2001 10:08:59 UTC