W3C home > Mailing lists > Public > www-html@w3.org > September 2005

Re: XHTML copy and pasting *with* format (and potentially, meaning)

From: David Dorward <david@dorward.me.uk>
Date: Mon, 26 Sep 2005 07:47:31 +0100
To: www-html@w3.org
Message-Id: <1127717251.7198.2.camel@omega.thecoreworlds.net>

On Mon, 2005-09-26 at 01:19 -0300, Junk Account wrote:
> Please see http://www.netsnippets.com .
> The problem? it does not save formatting. 
> Question: Why?

The software wasn't written that way.

> Question: Could it be done?

Yes.

> Question: What would that require, both from XHTML and from CSS?

Nothing they don't provide already, its just data.

Its just a case of the software needing to make use of it.

> Regarding CSS, and at least asuming the page author *has* used it
> whenever possible...can just the relevant rules be extracted? Not just
> the whole document CSS, be it just one sheet or many, but just the
> minimum required for identical reproduction of the selected area?

Yes. The Mozilla/Firefox DOM inspector already demonstrates that its
easy to show what CSS styles are applied to an element and in what
order.


-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy
Received on Monday, 26 September 2005 06:44:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT