W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2006

LC 695, quotes, Q and CSS

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Thu, 24 Aug 2006 22:13:40 +0200
Message-Id: <6.0.0.22.2.20060824213652.031ffef8@mailserv.esat.kuleuven.be>
To: WCAG <w3c-wai-gl@w3.org>

Hi,

The minutes of last week's telecon say: "refer LC-695 [1] back to committee 
to investigate Gez's proposal of using CSS to generate the language 
appropriate quotes".
I wonder if there was a misunderstanding about CSS support in IE for 
generating quotation marks.

I have looked at several ways of using CSS to generate quotation marks [2].

(1) q:before { content: open-quote } q:after  { content: close-quote }
This generates quotation marks in Firefox 1.0, Mozilla 1.7.3, Opera 7.54 
and 8.02 (all on Windows).
In Internet Explorer 6, this does not generate quotation marks.
These browsers behave the same regardless whether the CSS contains the 
above rule or not.

(2) q:before { content: "“"; }  q:after { content: "”"; }
This generates quotation marks in Firefox 1.0, Mozilla 1.7.3, Opera 7.54 
and 8.02 (all on Windows). Of course, the quotation marks are the same 
regardless of the level of embedding of the quotes.
In Internet Explorer 6, this does not generate quotation marks.

(3) q { quotes: '"' '"' "'" "'" }
This generates quotation marks in Firefox 1.0, Mozilla 1.7.3, Opera 7.54 
and 8.02 (all on Windows). However, Firefox 1.0 and Mozilla 1.7.3, only 
apply the first pair of quotes, i.e. also for nested quotes.
In Internet Explorer 6, this does not generate quotation marks.

(4) q:lang(en) { quotes: '“' '”' "‘" "’" } q:lang(no) { quotes: "" "" "<" 
">" }
This generates quotation marks in Firefox 1.0, Mozilla 1.7.3, Opera 7.54 
and 8.02 (all on Windows). However, Firefox 1.0 and Mozilla 1.7.3, only 
apply the first pair of quotes, i.e. also for nested quotes.
In Internet Explorer 6, this does not generate quotation marks.

I can't think if any way to make IE render quotation marks by means of CSS. 
Have I overlooked something or is the resolution the result of a 
misunderstanding during the teleconference?

Best regards,

Christophe

[1] 
http://www.w3.org/WAI/GL/WCAG20/issue-tracking/viewdata_individual.php?id=695
[2] See CSS spec for more on this: 
www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#quotes-specify


-- 
Christophe Strobbe
K.U.Leuven - Departement of Electrical Engineering - Research Group on 
Document Architectures
Kasteelpark Arenberg 10 - 3001 Leuven-Heverlee - BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/ 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Thursday, 24 August 2006 20:14:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:46 GMT