[css-variables] [css-syntax] Define how Unicode name comparisons work #2693
Labels
Closed Rejected as Invalid
css-variables-1
Current Work
i18n-tracker
Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Testing Unnecessary
Memory aid - issue doesn't require tests
Because names 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. This incorporates the Unicode Normalization routines, which may be sufficient.
An easier-to-compute option is to say that these names are compared byte-by-byte.
The text was updated successfully, but these errors were encountered: