[Webkit-unassigned] [Bug 253364] New: Sync 'naturalWidth' and 'naturalHeight' with Spec and change from 'int' to 'unsigned'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 3 17:26:09 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253364

            Bug ID: 253364
           Summary: Sync 'naturalWidth' and 'naturalHeight'  with Spec and
                    change from 'int' to 'unsigned'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: rniwa at webkit.org

Hi Team,

Looking into HTMLImageElement.cpp, I noted that we have 'naturalWidth' and 'naturalHeight' as 'int' rather than 'unsigned' while spec says that it should be 'unsigned'.

Web-Spec: https://html.spec.whatwg.org/#the-img-element

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLImageElement.cpp#569 & https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLImageElement.cpp#577 & https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLImageElement.idl#39 etc.

Appreciate if someone can confirm whether this is still pending or we have it as intentional?

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230304/bf3350e6/attachment-0001.htm>


More information about the webkit-unassigned mailing list