Bug 197074

Summary: Images with orientation = usesWidthAsHeight() do not scale properly
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: NEW    
Severity: Normal CC: darin, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case
none
Patch sabouhallawa: review?

Said Abou-Hallawa
Reported 2019-04-18 14:28:11 PDT
Created attachment 367758 [details] test case Open the attached image. It has orientation = OriginLeftBottom. This means the physical width of the image is actually its height. Expected: The aspect-ratio of the image is persevered no matter how big the window size is. Actual results: The aspect-ratio of the image is not persevered. And the image is resized in an awkward way.
Attachments
test case (8.70 MB, image/jpeg)
2019-04-18 14:28 PDT, Said Abou-Hallawa
no flags
Patch (5.57 KB, patch)
2019-04-18 14:29 PDT, Said Abou-Hallawa
sabouhallawa: review?
Said Abou-Hallawa
Comment 1 2019-04-18 14:29:58 PDT
Said Abou-Hallawa
Comment 2 2019-04-18 15:07:50 PDT
Darin Adler
Comment 3 2019-04-21 12:39:58 PDT
Comment on attachment 367759 [details] Patch Can we create a test to demonstrate the bug we fixed?
Note You need to log in before you can comment on or make changes to this bug.