[css-houdini-drafts] [css-typed-om-1]"Throw a TypeError and exit this algorithm" wording is weird

bzbarsky has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om-1]"Throw a TypeError and exit this algorithm" wording is weird ==
This occurs in a bunch of places in the draft.  The concept of "throw" as defined at https://heycam.github.io/webidl/#dfn-throw already implies termination of not just this algorithm but everything up to the nearest catch.  This is already relied to by this spec when it calls things like https://drafts.css-houdini.org/css-typed-om-1/#normalize-a-style-value and expects the exceptions thrown there to terminate the caller (e.g. <https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-append>).

Probably better to just drop the "exit this algorithm" bits.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/655 using your GitHub account

Received on Thursday, 15 February 2018 18:13:51 UTC