зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1809740 Support from-image for the createImageBitmap imageOrientation option r=smaug
Currently only the value 'flipY' is checked in code, with 'none' being the default behaviour. Upstream web platform tests now use the value 'from-image' in tests which now fail unless 'from-image' is accepted as a valid option. More work will be required later to change the behaviour of the 'none' option. Differential Revision: https://phabricator.services.mozilla.com/D166866
This commit is contained in:
Родитель
c5eeb9f4fc
Коммит
e907a8d13e
|
@ -387,7 +387,7 @@ dictionary ChannelPixelLayout {
|
|||
|
||||
typedef sequence<ChannelPixelLayout> ImagePixelLayout;
|
||||
|
||||
enum ImageOrientation { "none", "flipY" };
|
||||
enum ImageOrientation { "none", "flipY", "from-image" };
|
||||
enum PremultiplyAlpha { "none", "premultiply", "default" };
|
||||
enum ColorSpaceConversion { "none", "default" };
|
||||
//enum ResizeQuality { "pixelated", "low", "medium", "high" };
|
||||
|
|
|
@ -5,35 +5,8 @@
|
|||
[createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an HTMLCanvasElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an HTMLVideoElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from a bitmap HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from a vector HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from a bitmap SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from a vector SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an OffscreenCanvas imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an ImageData imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from an ImageBitmap imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap from a Blob imageOrientation: "from-image", and drawImage on the created ImageBitmap]
|
||||
expected: FAIL
|
||||
expected: FAIL
|
|
@ -1,8 +1,3 @@
|
|||
[createImageBitmap-sizeOverflow.html]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[createImageBitmap throws an InvalidStateError error with big imageBitmap scaled up in big height]
|
||||
expected: FAIL
|
||||
|
||||
[createImageBitmap throws an InvalidStateError error with big imageBitmap scaled up in big width]
|
||||
expected: FAIL
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
|
@ -1,2 +0,0 @@
|
|||
[imageBitmapRendering-transferFromImageBitmap.html]
|
||||
expected: FAIL
|
Загрузка…
Ссылка в новой задаче