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

Re: css selectors

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 08 Jul 2002 04:37:00 -0400
Message-Id: <200207080837.EAA10147@no-knife.mit.edu>
To: "Lachlan Cannon" <luminosity@members.evolt.org>
cc: www-style@w3.org

> 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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:02 UTC