On Fri, Jan 25, 2013 at 11:24 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:
> I suspect it's approximately zero compat risk. I'm willing to make
> the change iff other browsers are cool with it. I'd make the change
> in WebKit, but I can't make heads nor tails of our lexer.
>
WK already treats any UC code point >= 128 as identifier start (vid.
CSSParser.cpp):
template <typename CharacterType>
static inline bool isIdentifierStartAfterDash(CharacterType*
currentCharacter)
{
return isASCIIAlpha(currentCharacter[0]) || currentCharacter[0] == '_'
|| currentCharacter[0] >= 128
|| (currentCharacter[0] == '\\' &&
isCSSEscape(currentCharacter[1]));
}