[csswg-drafts] [css-variables] [css-syntax] Define how Unicode name comparisons work

litherum has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-variables] [css-syntax] Define how Unicode name comparisons work ==
Because [names](https://drafts.csswg.org/css-syntax-3/#consume-name) support all of Unicode, and various places need to compare these for equality (e.g. comparing a custom property name to the first argument of `var()`) the spec should mention how these equality operations work.

Unicode equality comparisons generally involve the [Unicode Collation Algorithm](https://www.unicode.org/reports/tr10/#Equality). This incorporates the [Unicode Normalization](http://unicode.org/reports/tr15/) routines, which may be sufficient.

An easier-to-compute option is to say that these names are compared byte-by-byte.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2693 using your GitHub account

Received on Tuesday, 22 May 2018 08:05:25 UTC