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

Re: CSS3 Paged Media Draft

From: Sjoerd Visscher <sjoerd@heeten.nl>
Date: Wed, 29 Sep 1999 23:50:54 +0200
Message-ID: <004101bf0ac4$b522fca0$1400000a@beneden>
To: "www-style" <www-style@w3.org>
One thing:

I think it's a bit confusing that 'content()' flattens out the text. I think
you'll get the "hey, why is all my markup gone??". Call it 'text()'. And
keep 'content()' to represent the exact content of the element (it should
then be disallowed in set-string). This way (the annoying) :before and
:after are not needed anymore.


P.note:before {content:'[';}
P.note:after {content:']';}
P.note {font-style:italic;}


P.note {
    content:'[' content() ']';

And it will work exactly as expected. The most gain is adding content with
complicated selectors, because the :before and :after require selector

Sjoerd Visscher
Received on Wednesday, 29 September 1999 17:53:29 UTC

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