Throw on non-numeric opacity values

This commit is contained in:
Tim Schaub
2019-08-15 09:44:30 -06:00
parent e8e7c46463
commit 2c69ad2bb4
3 changed files with 30 additions and 1 deletions

View File

@@ -236,3 +236,7 @@ A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUF
### 63
Support for the `OES_element_index_uint` WebGL extension is mandatory for WebGL layers.
### 64
Layer opacity must be a number.