Bug 206017

Summary: Issues with naturalWidth/naturalHeight
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: noam, sabouhallawa, simon.fraser
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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.