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

Re: New display value "footnote"

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 19 Sep 2002 17:16:32 +0000 (GMT)
To: Stuart Ballard <sballard@netreach.com>
Cc: Christoph <christoph.paeper@tu-clausthal.de>, "www-style@w3.org" <www-style@w3.org>, bert@w3.org
Message-ID: <Pine.LNX.4.21.0209191712220.25982-100000@dhalsim.dreamhost.com>

On Thu, 19 Sep 2002, Stuart Ballard wrote:
> 
> Ian Hickson wrote:
> >    @media print {
> >       fn { content: footnote; }
> >       fn::footnote { content: contents; }
> >    }
> >
> > It requires two rules to specify a footnote.
> > 
> > And I don't really see any sensible way of solving that.
> 
> Does it necesarily?
> 
> Can't you just say that the ::footnote pseudo-element doesn't exist at
> all unless "content: footnote" is specified on the relevant element,
> and then say that the default value of the "content" property on the
> ::footnote pseudo-element is "contents"?

So what you are saying is that the 'content' property on the '::footnote'
pseudo-element has an initial value ('normal') which computes to 'none' in
the usual case but 'contents' if the element itself uses the counter
'footnote' (directly or indirectly) somewhere in _its_ 'content' property?

It's a bit of a hack but I suppose it could work.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 19 September 2002 13:16:46 GMT

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