Bug 252927
| Summary: | Add new option imageOrientation: "none" to createImageBitmaps's | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yi Xu <yiyix> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | dino, sabouhallawa, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Yi Xu
Currently, the createImageBitmap API has 2 imageOrientation, "from-image" and "flipY" [1]. It's different from CSS spec, where it had another option called "none" for ignoring the image orientation metadata [2]
We should probably seek to harmonize the two, if possible.
We should add the new imageOrientation option "none" to createImageBitmap
[1] https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-imagebitmapoptions-imageorientation
[2] https://www.w3.org/TR/css-images-3/#the-image-orientation
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/106210546>