mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Add WebGLContextAttributes support
This commit also: * Allows to return non-rootable dictionaries from Codegen. * Merges the two context types in an enum type.
This commit is contained in:
parent
b1a773a15b
commit
b3ac346749
16 changed files with 255 additions and 80 deletions
|
@ -12,7 +12,7 @@ interface HTMLCanvasElement : HTMLElement {
|
|||
[Pure]
|
||||
attribute unsigned long height;
|
||||
|
||||
RenderingContext? getContext(DOMString contextId);
|
||||
RenderingContext? getContext(DOMString contextId, any... arguments);
|
||||
//boolean probablySupportsContext(DOMString contextId, any... arguments);
|
||||
|
||||
//void setContext(RenderingContext context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue