[heycam/webidl] Turn 1-line prose algorithms into step-based algorithms for readability. (#203)

This is especially an issue with the IDL to ES conversion algorithms.

For example, turn:

```
When the \[[DefineOwnProperty]] internal method of a [=named properties object=] is called,
it must return <emu-val>false</emu-val>.
```

into:

```
<div algorithm="to invoke the internal [[DefineOwnProperty]] method of named properties object">
    
    When the \[[DefineOwnProperty]] internal method of a [=named properties object=] is called,
    the following steps are taken:
    
    1.  Return <emu-val>false</emu-val>.
</div>
```

For context, see discussion in https://github.com/heycam/webidl/pull/198#issuecomment-255540339 and following comments.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/203

Received on Sunday, 23 October 2016 12:10:40 UTC