Re: [css-houdini-drafts] [css-typed-om] StylePropertyMap order

Comparing by code point is already done elsewhere in CSS; sorting should be fine too. You're right that testing for that detail would be nice.

@darrnshn "code units" are JS "characters", basically - the UTF-16 two-byte chunks.  So something from the astral planes is two units wide.  Shouldn't be hard to put together a test that sorts oppositely depending on whether you're using code points or code units.  I'll look into it.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/700#issuecomment-367516255 using your GitHub account

Received on Wednesday, 21 February 2018 23:40:00 UTC