Closed Bug 1809680 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 37880 - Rename imageOrientation: 'none' to 'from-image'

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37880 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37880
Details from upstream follow.

Yi <yiyix@google.com> wrote:

Rename imageOrientation: 'none' to 'from-image'

Currently, developers use the option imageOrientation: 'none' to specify that the image follows the orientation from image with no additional operations. It's confusing and contradicts with the CSS spec. Rename this option to 'from-image'.

Bug:1342260

Change-Id: If9c5fcb386df85211a9380dc54adf157af5385f6
Reviewed-on: https://chromium-review.googlesource.com/4152576
WPT-Export-Revision: 3783e00d05e43e087e6b45ad4553792175fa4a72

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

OK : 3
PASS: 18
FAIL: 16

Chrome

OK : 3
PASS: 15
FAIL: 19

Safari

OK : 3
PASS: 14
FAIL: 20

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html [wpt.fyi]
    • createImageBitmap from an HTMLCanvasElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an HTMLVideoElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an HTMLVideoElement imageOrientation: "flipY", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from a bitmap HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from a vector HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from a bitmap SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from a vector SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an OffscreenCanvas imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an ImageData imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from an ImageBitmap imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap from a Blob imageOrientation: "from-image", and drawImage on the created ImageBitmap: FAIL (Chrome: FAIL, Safari: FAIL)
  • /html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html [wpt.fyi]
    • createImageBitmap throws an InvalidStateError error with big imageBitmap scaled up in big height: FAIL (Chrome: FAIL, Safari: FAIL)
    • createImageBitmap throws an InvalidStateError error with big imageBitmap scaled up in big width: FAIL (Chrome: FAIL, Safari: FAIL)
  • /html/canvas/element/manual/imagebitmap/imageBitmapRendering-transferFromImageBitmap.html [wpt.fyi]: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/533980b5682f
[wpt PR 37880] - Rename imageOrientation: 'none' to 'from-image', a=testonly
https://hg.mozilla.org/integration/autoland/rev/c10b2f605fd3
[wpt PR 37880] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.