[Webkit-unassigned] [Bug 250476] New: Rename createImageBitMaps's imageOrientation from "none" to "from-image"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 14:40:01 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250476

            Bug ID: 250476
           Summary: Rename createImageBitMaps's imageOrientation from
                    "none" to "from-image"
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yiyix at chromium.org
                CC: dino at apple.com

createImageBitMaps's imageOrientation currently has 2 values: "none" and "flipY", where 'none' is used for use the orientation from image. This contradicts from CSS spec, where imageorientation has 3 values: "none", "flipY" and "from-image" and "none" means render the image as coded, no orientation applied.

Rename none to from-image, then update the meaning of none to match what CSS has.

Reference:
whatwg spec: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-imagebitmapoptions-imageorientation

CSS spec: https://www.w3.org/TR/css-images-3/#the-image-orientation

github issue: https://github.com/whatwg/html/issues/8085

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230111/eced6636/attachment.htm>


More information about the webkit-unassigned mailing list