W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Re: CSS3 Paged Media Draft

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Thu, 30 Sep 1999 23:02:49 +0100 (BST)
To: "L. David Baron" <dbaron@fas.harvard.edu>
cc: www-style@w3.org
Message-ID: <Pine.GSO.4.04.9909302258110.16589-100000@ss1.bath.ac.uk>
On Wed, 29 Sep 1999, L. David Baron wrote:

>>    <x>
>>      <span id="one"> ids </span>
>>      <script type="text/plain">
>>         Something which manipulates the DOM
>>      </script>
>>    </x>
>> 
>>    x { content: content() content(); }
>
> I don't see a problem here. CSS is only controlling the display of
> the document. The script element should have 'display: none' and
> should be handled by some other system of the application processing
> the document.

Hmm. Interesting point.

How would this work, then?

   <p id="a"><a href="#b">foo</a></p>
   <p id="b"><a href="#a">bar</a></p>

   a { content: target-content(href); }

-- 
Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html
Received on Thursday, 30 September 1999 18:02:56 GMT

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