[Webkit-unassigned] [Bug 70304] 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
Thu Dec 1 23:35:17 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=70304
--- Comment #41 from Dongwoo Joshua Im <dw.im at samsung.com> 2011-12-01 23:35:16 PST ---
(In reply to comment #39)
> (In reply to comment #38)
> > (From update of attachment 117571 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=117571&action=review
> > > LayoutTests/fast/forms/input-width-height-attributes.html:86
> > > +text1.width = 100;
> > > +text1.height = 50;
> > > +debug('Test case #5 : Text, Setting by JavaScript API as \"100\", \"50\"');
> > > +shouldBe('text1.width,text1.height', '0,0');
> > > +
> >
> > After this, we had better test:
> > - text1 has width= and height= HTML attributes.
> > - Changing the type to image, width/height values are not changed.
> >
> I will try.
>
IMO, if we want that width is 0 when we change text1 as image,
I think we should call setAttribute() when m_inputType is image.
Isn't it?
--
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