Re: CSS3 Paged Media Draft

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 UTC