Re: [svgwg] naturalWidth and naturalHeight in the context of an HTML image (#1044)

> See [whatwg/html#11287](https://github.com/whatwg/html/issues/11287) for a related discussion/work to address this.

Yeah, sorry - I intended to submit a spec PR but didn't get around to it yet.

If it's useful for now, though, the changes that I landed in Gecko (to align with what seemed like the most coherent form of what WebKit & Chromium were doing) are in these bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1965560  (for img.height and img.width)
https://bugzilla.mozilla.org/show_bug.cgi?id=1935269  (for img.naturalHeight and img.naturalWidth)

-- 
GitHub Notification of comment by dholbert
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1044#issuecomment-3672321649 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 18 December 2025 21:26:46 UTC