Closed
Bug 301675
Opened 20 years ago
Closed 20 years ago
default value of size DOM attribute of HTMLSelectElement must be 0 when the HTML attribute is not there
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: annevk, Assigned: annevk)
References
()
Details
Attachments
(1 file)
|
797 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
See: <http://whatwg.org/specs/web-forms/current-work/#size>
That is consistent with what both Opera and IE have implemented.
Comment 1•20 years ago
|
||
See
http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsHTMLSelectElement.cpp#1542
(and the very next line shows what you'd want to do for a default value of 0).
| Assignee | ||
Comment 2•20 years ago
|
||
Something like this? Thanks for the point btw.
Assignee: general → bug
Status: NEW → ASSIGNED
Attachment #190241 -
Flags: superreview?(bzbarsky)
Attachment #190241 -
Flags: review?(bzbarsky)
Comment 3•20 years ago
|
||
Comment on attachment 190241 [details] [diff] [review]
patch #1
Indeed. Want to get 1.8 approval and such too? If so, let me know if/when you
need checkin.
Attachment #190241 -
Flags: superreview?(bzbarsky)
Attachment #190241 -
Flags: superreview+
Attachment #190241 -
Flags: review?(bzbarsky)
Attachment #190241 -
Flags: review+
| Assignee | ||
Comment 4•20 years ago
|
||
Comment on attachment 190241 [details] [diff] [review]
patch #1
Trivial patch that make us a more conforming browser and more consistent with
both Opera and IE.
Attachment #190241 -
Flags: approval1.8b4?
Updated•20 years ago
|
Attachment #190241 -
Flags: approval1.8b4? → approval1.8b4+
Comment 5•20 years ago
|
||
Checking in nsHTMLSelectElement.cpp;
/cvsroot/mozilla/content/html/content/src/nsHTMLSelectElement.cpp,v <--
nsHTMLSelectElement.cpp
new revision: 1.230; previous revision: 1.229
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
This broke the tree since the patch didn't remove the old macro. Timeless fixed it.
You need to log in
before you can comment on or make changes to this bug.
Description
•