Bug 206017 - Issues with naturalWidth/naturalHeight
Summary: Issues with naturalWidth/naturalHeight
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-09 10:46 PST by Simon Fraser (smfr)
Modified: 2020-01-21 13:14 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-01-09 10:46:48 PST
https://github.com/whatwg/html/issues/4495

It's not specified whether image.naturalWidth and image.naturalHeight should respect EXIF orientation (probably). However, WebKit also takes image-orientation style into account, and should probably not. Also, we don't update style and layout before using the renderer to get at the style. So there are multiple bugs here.