Re: css selectors

> Take a set of blockquotes. Now the generally held typography rule is that
> every one should have a starting quote, but only the very last one from
> the same source should have an ending quote. Currently, the only way you
> could specify this would be to give every blockquote only a quote at the
> start, and then use a class on the last blockquote and blockquotes of that
> type would receive an ending quote as well.

Isn't the rule you cite for multiple paragraphs within a single
quotation as opposed to for multiple separate quotations in a row?  I
would think that:

blockquote > p {
  quotes: '"' '"';
}

blockquote > p:before {
 content: open-quote;
}

blockquote > p:last-of-type:after {
 content: close-quote;
}

would be what you would want... (and is perfectly doable within the
scope of the existing CSS3 Selectors module).

Not to say that the selector you propose is not useful, but I think this
use case if flawed.

Boris
-----------------
An experiment may be considered a success if no more
than half of your data must be discarded to obtain
correspondence with your theory.

Received on Monday, 8 July 2002 04:42:55 UTC