- From: Richard Ishida <ishida@w3.org>
- Date: Tue, 14 Mar 2006 17:01:05 -0000
- To: "'Ian Hickson'" <ian@hixie.ch>
- Cc: <www-style@w3.org>, <public-i18n-core@w3.org>
I pushed back on this with Francois during our i18n call. I still think the best is ===== In this HTML example, the P does not match p[lang|=fr] (because only BODY has a LANG attribute) but the P does match p:lang(fr). <body lang="fr"> <p>Je suis Français.</p> </body> ====== since matching the body element is not central to the point of the example - the example is all about the behaviour of the p element. (Note also that the above introduces 'p's before the '['s. Francois had no noticed that change.) (I uppercased the 'F' in the version above). (Btw, I'm assuming that the capitalisation of words like LANG just indicates some special styling rather than intended capitalisation in the final text.) RI ============ Richard Ishida Internationalization Lead W3C (World Wide Web Consortium) http://www.w3.org/People/Ishida/ http://www.w3.org/International/ http://people.w3.org/rishida/blog/ http://www.flickr.com/photos/ishida/ > -----Original Message----- > From: François Yergeau [mailto:francois@yergeau.com] > Sent: 14 March 2006 16:01 > To: Richard Ishida > Cc: 'Ian Hickson'; www-style@w3.org; public-i18n-core@w3.org > Subject: Re: I18n comment: inheritance of :lang and |= > > Richard Ishida a écrit : > > In this HTML example, the P does not match [lang|=fr] > > (because only BODY has a LANG attribute) but both the > > BODY and the P match :lang(fr). > > I prefer this version to Richard's later, simpler one. I > think it's better to say explicitly that the body matches :lang(fr). > > Oh, and français needs a capital F: > > > > <body lang="fr"> > > <p>Je suis Français.</p> > > </body> > > > -- > François >
Received on Tuesday, 14 March 2006 17:01:16 UTC