WebIDL does not seem to fully specify when EnforceRange is valid. (Added in https://github.com/gpuweb/gpuweb/pull/498.) I posted a question about it: https://github.com/heycam/webidl/issues/842 Need to update this spec according to the answer there.