W3C home > Mailing lists > Public > www-style@w3.org > January 2006

I18n comment: hreflang in short forms

From: <ishida@w3.org>
Date: Sat, 21 Jan 2006 10:35:12 +0000
To: www-style@w3.org, public-i18n-core@w3.org
Message-Id: <20060121103508.12A9A4F1D3@homer.w3.org>

Comment from the i18n review of:
http://www.w3.org/TR/2005/WD-css3-selectors-20051215/

Comment 4
At http://www.w3.org/International/reviews/0601-css3-selectors/
Editorial/substantive: E/S
Location in reviewed document:
2

Comment:
"E[hreflang|="en"] an E element whose "hreflang" attribute has a hyphen-separated list of values beginning (from the left) with "en""


I think this should be made more generic, ie. replace hreflang with foo in the pattern to match the surrounding text. Otherwise it appears that this only works with hreflang. You could mention hreflang as an example of the type of attribute you have in mind (but see also point 1b), but my understanding is that this attribute can be used not only for xml:lang or lang attributes too, but also in principle for other attributes defined in schemas that use a similar mechanism for values.


If this is not the case, and particularly if xml:lang and lang are not to be used with this selector, that should be made much clearer. 6.3.1 says "For lang (or xml:lang) language subcode matching, please see the :lang pseudo-class." This is not clear enough to say that those attributes are not relevant to this selector, and if my understanding is correct, would probably benefit from the addition of 'also' before 'see' to clarify the sense.



> From: Daniel Glazman 
> [mailto:daniel.glazman@disruptive-innovations.com] 

> #4 I tend to disagree with changing 'hreflang' to 'foo'. We are not
>     only giving here a meaningful example. Nothing in the prose says
>     the selector is restricted to lang or hreflang
Received on Saturday, 21 January 2006 10:35:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:42 GMT