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 
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
KDE mini-Themes
Received on Monday, 12 November 2001 10:08:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC