W3C home > Mailing lists > Public > public-i18n-core@w3.org > January to March 2006

Re: I18n comment: inheritance of :lang and |=

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Jan 2006 19:43:37 +0000 (UTC)
To: ishida@w3.org
Cc: www-style@w3.org, public-i18n-core@w3.org
Message-ID: <Pine.LNX.4.62.0601241939300.9516@dhalsim.dreamhost.com>

On Sat, 21 Jan 2006 ishida@w3.org wrote:
> 
> Comment: "in the same way as if performed by the '|=' operator in 
> attribute selectors"
>
> I think it is important to clarify that the behaviour of :lang and |= is 
> significantly *different* with regards to inherited language values. 
> This is not explained as far as I can see, but my understanding is that 
> it is intended.

This is an official comment on behalf of the CSS working group.

I have added the following paragraph to 6.6.3:

The difference between :lang(C) and the '|=' operator is that the '|=' 
operator only performs a comparison against a given attribute on the 
element, while the :lang(C) pseudo-class uses the UA's knowledge of the 
document's semantics to perform the comparison.

Please let us know if this does not satisfy your request. (The working 
group will review this change and might change it further; if we do, we 
will let you know so you can review the new text as well.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 January 2006 19:43:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 October 2008 10:18:50 GMT