Justin Novosad

Results 6 issues of Justin Novosad

willReadFrequently is a performance hint that tells browsers to expect calls to getImageData on that context. This allows browsers to optimize performance for readback use cases. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently This feature...

Spec: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#cropped-to-the-source-rectangle-with-formatting Currently, imageOrientation is applied by createImageBItmap after cropping and resizing. The problem with this is that "flipY" causes the source image's EXIF orientation metadata to be ignored. In...

topic: canvas

Step 3 of [importExternalTexture](https://www.w3.org/TR/webgpu/#dom-gpudevice-importexternaltexture) states: "If usability is bad, throw an [InvalidStateError](https://webidl.spec.whatwg.org/#invalidstateerror) and stop." [EDIT: and `copyExternalImageToTexture` --@kainino0x] Because this exception needs to be thrown synchronously, importExternalTexture cannot be implemented...

tacit resolution candidate

Removal due to lack of implementer interest. The scrollPathIntoView method of CanvasRenderingContext2D has been in the spec for over a decade, no browser has shipped it. Possible to implement similar...

The scrollPathIntoView method has been in the spec since 2011 (commit 7a8cca38), no browsers have shipped it yet, though there is an experimental implementation hidden behind a runtime flag in...

removal/deprecation
topic: canvas

Currently, the proposal suggests using a union type for the data attribute: ``` typedef (Uint8ClampedArray or Uint16ClampedArray or Float32Array) ImageDataArray; partial interface ImageData { readonly attribute ImageDataArray data; }; ```...