W3C home > Mailing lists > Public > www-style@w3.org > November 2001

Re: display="none", but is copied

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Mon, 12 Nov 2001 17:37:59 +0000
Message-Id: <200111121508.fACF8PH00934@post.cnt.ru>
To: Einar Westermann <einar.westermann@trygdeetaten.no>, www-style@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT