| Summary: | Images with orientation = usesWidthAsHeight() do not scale properly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> | ||||||
| Component: | Images | Assignee: | 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: |
|
||||||||
Created attachment 367759 [details]
Patch
Comment on attachment 367759 [details]
Patch
Can we create a test to demonstrate the bug we fixed?
|
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.