W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Re: <q addmarks=true>

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 31 Oct 2008 21:41:17 +0100
Message-ID: <490B6D6D.1080907@disruptive-innovations.com>
To: Jim Jewett <jimjjewett@gmail.com>
Cc: HTML WG <public-html@w3.org>, rob@robburns.com

Jim Jewett wrote:

> Yes, but I wonder if the right answer here is just to support generic
> selectors that can peek into the text itself.
>     q char-equal('"') { display: None; }
> But then I wonder if that isn't really just an argument to use XSLT,
> and not worry about such minor details if neither the server nor the
> browser can process it.

First, I don't think @admarks is useful if we don't semantically tag the
quotes themselves. The idea is to allow to copy and paste a quotation
WITHOUT the quotation marks, whatever they are... BTW that would solve
your second problem, hiding the quotations marks.

Second, your pseudo-selector above is useless. Consider this case:

<p lang="fr">Mon ami lui dit <q admarks="false">« le Général Anthony
              McAuliffe leur a répondu "Nuts!" à Bastogne »</q></p>

you need to select the language surrounding the quote... And even
though, you cannot be sure that the outermost quotations marks aren't
used for a nested quote in a different language.

Received on Friday, 31 October 2008 20:41:59 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:38 UTC