FarSeeing has just created a new issue for https://github.com/w3c/csswg-drafts: == [cssom] IndexSizeError vs RangeError == The [CSS Object Model spec](https://drafts.csswg.org/cssom/#css-rules) says that both inserting and deleting rule should throw `InvalidStateError` on exception: >If index is greater than length, then throw an IndexSizeError exception. At the same time [Web IDL linked page](https://heycam.github.io/webidl/#indexsizeerror) says that `InvalidStateError` is deprecated and `RangeError` should be used instead: >The DOMException names marked as deprecated are kept for legacy purposes but their usage is discouraged. What do you think about updating spec to mention `RangeError`? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3828 using your GitHub accountReceived on Monday, 15 April 2019 13:40:37 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC