W3C home > Mailing lists > Public > www-style@w3.org > January 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:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:22 UTC