W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] several messages about quotations

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 12 Apr 2008 13:38:48 -0700
Message-ID: <48011DD8.7010708@inkedblade.net>
Ian Hickson wrote:
> Summary: I've made the spec require that any punctuation for <q> be 
> included inside the element; I've added examples for <q>.
 > ...
>> How would you define CSS pseudo-elements for open and close quotes in 
>> such a way that they would be implementable and would not match 
>> apostrophes and would correctly differentiate between open and close 
>> quotes in languages that use the same character for opening and closing 
>> and in languages that invert the direction of guillemets compared to 
>> French?
> 
> I would introduce two pseudo-elements, ::quote-start and ::quote-end, 
> which match one or more characters with the Quotation_Mark property (as 
> per Unicode PropList) found at the start or end of an element, if such 
> text is a direct child of the element (skipping White_Space characters).
> 
> I've started this idea down the path of the CSS working group.

Please send a message with your proposal to www-style for discussion and
CC www-international. (We use the wiki to track issues, not as a substitute
for mailing list discussion. Also, it would be important to have i18n people
involved since punctuation styles vary across languages and I'm not sure
Unicode's Quotation_Mark property is adequate.)

~fantasai
Received on Saturday, 12 April 2008 13:38:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC