[Webkit-unassigned] [Bug 70304] New: width/height attributes of input element should be supported when the type of the input element is image.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 17 22:20:56 PDT 2011


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

           Summary: width/height attributes of input element should be
                    supported when the type of the input element is image.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dw.im at samsung.com


Regarding the HTML5 specification, width and height attributes of input element should be supported when the type of the input element is image.

First of all, IDL of input element has width and height attributes (http://www.w3.org/TR/html5/the-input-element.html#the-input-element) in it.
And, there is a description about width and height attributes on input element when their type attribute is in the Image Button state (http://www.w3.org/TR/html5/the-map-element.html#attr-dim-width).

And in my opinion, if the type of input element should be respected the height and width attributes 
(if the result of "m_inputType->shouldRespectHeightAndWidthAttributes()" is true), such as image type, 
width and height attributes should be accessible by JavaScript API.


So, I propose to add width and height attributes into input element.


I'll upload patch, so please review the patch and give some comments.

Thanks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list