RE: Updated tutorial: Using language information in XHTML, HTML and CSS

Frank,

Thanks for bringing this to my attention!  I will make some changes to the tutorial and augment my tests to show it too.

Cheers,
RI


============
Richard Ishida
W3C

contact info:
http://www.w3.org/People/Ishida/ 

W3C Internationalization:
http://www.w3.org/International/ 

Publication blog:
http://people.w3.org/rishida/blog/
 
 

> -----Original Message-----
> From: Frank Yung-Fong Tang [mailto:ytang0648@aol.com] 
> Sent: 02 August 2005 16:17
> To: Richard Ishida
> Cc: www-international@w3.org
> Subject: Re: Updated tutorial: Using language information in 
> XHTML, HTML and CSS
> 
> Dear Richard:
> 
> After I look carefully about your material. I have to 
> disagree with your statement in slide 7 "
> Using [lang |= "..."]
> 
> This is a nonspecialized selector that works the same way as 
> :lang(), [...].
> "
> 
> 
> As my understanding the :lang() consider the inheritance but 
> [lang|=""] and [lang=""] not
> 
> For example
> 
> <p lang="en">
> <form lang="fr">
> <input name="a1">text</input>
> </form>
> </p>
> 
> 
> so input:lang(fr) will match the text
> but the following
> input[lang|="fr,GB"]
> input[lang|="fr"]
> input[lang="fr"]
> should not match the text because the input itself does not 
> have a lang attribute, only one of it's ascendent has one.
> 
> I use the test suite I hack together in 2000 (see the 
> selectors/selectorstesting.xml in 
> http://people.netscape.com/ftang/paper/unicode18/demo.zip )
> 
> and it looks like FireFox/Mozilla pass all the test now (in 
> 2000, Mozilla does not pass the :lang() test)
> 
> 
> Richard Ishida wrote on 8/2/2005, 5:06 AM:
> 
>  >
>  >
>  >
>  > The GEO Working Group has made substantive changes to the following
>  > tutorial:
>  >
>  >     Using language information in XHTML, HTML and CSS
>  >     http://www.w3.org/International/tutorials/tutorial-lang/
>  >
>  >
>  > Information about declaration of language has been removed to a
>  > separate tutorial, Declaring Language in XHTML and HTML (Draft)[1].
>  > This tutorial now focuses on uses of language information 
> in documents.
>  >
>  > The tutorial has also been adapted to the latest format 
> for tutorials,
>  > and, thanks to Pasquale Popolizio, the Italian translation has been
>  > revised to support the changes. (This is the first translation of a
>  > tutorial in this format.)
>  >
>  >
>  >
>  > You can find various news filters and RSS feeds relating 
> to outputs of
>  > the Internationalization Activity at
>  > http://www.w3.org/International/log/description
>  >
>  >
>  >
>  > [1] http://www.w3.org/International/tutorials/language-decl/
>  >
>  >
>  > ============
>  > Richard Ishida
>  > W3C
>  >
>  > contact info:
>  > http://www.w3.org/People/Ishida/
>  >
>  > W3C Internationalization:
>  > http://www.w3.org/International/
>  >
>  > Publication blog:
>  > http://people.w3.org/rishida/blog/
>  >
>  >
>  >
> 
> 

Received on Tuesday, 2 August 2005 16:07:20 UTC