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

Re: display="none", but is copied

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Mon, 12 Nov 2001 07:20:23 -0800
To: Einar Westermann <einar.westermann@trygdeetaten.no>, "www-style@w3.org" <www-style@w3.org>
Message-id: <0GMP005FL17TM7@mta5.snfc21.pbi.net>
CSS (1&2) does not discuss user agent usage (or not) of the clipboard.  UA
dependent.

Having said that, one might say that the "right" thing to do is probably to
not copy text from "display:none" or "visibility:hidden" elements within the
selection.  I don't know if any UA supports this however.

Tantek

----------
>From: Einar Westermann <einar.westermann@trygdeetaten.no>
>To: www-style@w3.org
>Subject: display="none", but is copied
>Date: Mon, Nov 12, 2001, 4:51 AM
>

> 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?
> 
Received on Monday, 12 November 2001 10:19:08 GMT

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