- From: Gez Lemon <gez.lemon@gmail.com>
- Date: Thu, 24 Aug 2006 21:25:45 +0100
- To: "Christophe Strobbe" <christophe.strobbe@esat.kuleuven.be>
- Cc: WCAG <w3c-wai-gl@w3.org>
Hi Christophe, I posted a solution to make IE render quotation marks for the q element on my website today [1]. It's not a CSS solution, but does have the advantage that developers can use the element according to the spec. [1] http://juicystudio.com/article/fixing-ie-quotes.php Best regards, Gez On 24/08/06, Christophe Strobbe <christophe.strobbe@esat.kuleuven.be> wrote: > > 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 > > > -- _____________________________ Supplement your vitamins http://juicystudio.com
Received on Thursday, 24 August 2006 20:25:57 UTC