[Webkit-unassigned] [Bug 217808] REGRESSION(r268249): image-orientation:none seems to be broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 16 12:35:57 PDT 2020


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

--- Comment #2 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
When opening LayoutTests/fast/images/image-orientation-none.html in Safari or mini browser, the display looks broken. However run-webkit-tests passes this test and matches the display of LayoutTests/fast/images/image-orientation-none-expected.html.

The bug happens because CachedImage::isOriginClean() returns false of local images files. So HTMLImageElement::allowsOrientationOverride() return false as well and finally RenderElement::imageOrientation() returns ImageOrientation::FromImage and ignores the css styling image-orientation.

When accessing the same page through an HTTP server, the display looks fine.

-- 
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/20201016/9c143fa9/attachment.htm>


More information about the webkit-unassigned mailing list