-
WebIDL: https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface
Spec: https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencanvas-converttoblob
Code:
* `componen…
-
The canvas API supports taking an existing HTMLCanvasElement, calling the `transferControlToOffscreen` method and obtaining a new `OffscreenCanvas` which wraps the existing canvas state. The existing …
-
In addition to WebIDL, the HTML spec often includes a prose description of the API immediately after the definition of the API, like this: http://www.w3.org/TR/html5/embedded-content-0.html#htmltracke…
-
In #12 I added some type tests. The biggest issue that they seem to reveal is that we don't see JS builtins. For example, suppose someone uses `Object`:
```py
from js import Object
Object.fromEnt…
-
In [script](https://github.com/servo/servo/tree/48a95b2471c590a0ee1b85710fbb5a37ee8215c5/components/script), you can find `unsafe` blocks peppered around, most(all?) of which relate to integration wit…
-
The WebIDL spec has an inline issue (the first paragraph of ). When it was a W3C spec this recieved appropriate issue styling, but it appears that the WHATWG stylesheets don't have styles for inline i…
-
See https://github.com/whatwg/webidl/pull/1311.
-
When running `webidl-scraper https://html.spec.whatwg.org/` or `webidl-scraper https://html.spec.whatwg.org/ -o html`, nothing happens except `env: node\r: No such file or directory` is logged.
I bel…
-
Should add `[Throws]` to WebIDL? This is a Mozilla-specific extended attribute which indicates which operations may throw. @fitzgen commented to me that this is very useful for [web-sys](https://rustw…
-
How should we document everything?
- Markdown
- [WebIDL](https://www.w3.org/TR/WebIDL-1/) (W3C)
- [Bikeshed](https://github.com/tabatkins/bikeshed) (WHATWG)
- [Ecmarkup](https://bterlson.github.…