[w3c/clipboard-apis] Use bikeshed algorithms more better (#125)

Currently the source uses: `<div class=algorithm>`

Bikeshed does a better job if you use: `<div algorithm>`

* better formatting - algorithms are wrapped in a block
* variable checks - bikeshed can issue errors if variables are not used at least twice within an algorithm and does scope checks
* better linking - the algorithm plucks its name from the first `<dfn>`, and can be specified explicitly in the `<div>` if needed, which validates the intent of the author a little more


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/125

Received on Monday, 22 June 2020 17:56:24 UTC