Re: [csswg-drafts] [cssom][all specs defining IDL] Consider USVString instead of DOMString, replacing surrogates with U+FFFD

We can't use a union type of `DOMString or USVString` because they are both string types and union types must be [distinguishable](https://heycam.github.io/webidl/#dfn-distinguishable).

But we can typedef to only `USVString` and say in prose that it is conforming to use `DOMString` instead (or vice versa).

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1217#issuecomment-295279801 using your GitHub account

Received on Wednesday, 19 April 2017 13:59:05 UTC