Closed
Bug 619996
Opened 14 years ago
Closed 14 years ago
Remove nsISelectElement
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
4.72 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
4.56 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
3.52 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
5.69 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
3.61 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
79.25 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
12.77 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
As noted in bug 604807, we could remove it. Patches coming up.
Blocks: 604807
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #507560 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #507561 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #507562 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #507563 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #507564 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #507566 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #507567 -
Flags: review?(bzbarsky)
Comment 8•14 years ago
|
||
Comment on attachment 507560 [details] [diff] [review] Part a: Remove unnecessary inclusions of and references to nsISelectElement.h r=me
Attachment #507560 -
Flags: review?(bzbarsky) → review+
Comment 9•14 years ago
|
||
Comment on attachment 507561 [details] [diff] [review] Part b: make nsHTMLOptionElement::GetSelect return nsHTMLSelectElement. >+ if (aContent && >+ aContent->NodeInfo()->Equals(nsGkAtoms::option, kNameSpaceID_XHTML)) As long as you're here: if (aContent && aContent->IsHTML(nsGkAtoms::option)) >+++ b/content/html/content/src/nsHTMLSelectElement.h >+ if (!aContent || >+ !aContent->NodeInfo()->Equals(nsGkAtoms::select, kNameSpaceID_XHTML)) >+ return NULL; Again, IsHTML(). And let's stick with nsnull until the mass-change. ;) r=me with the nits picked.
Attachment #507561 -
Flags: review?(bzbarsky) → review+
Comment 10•14 years ago
|
||
Comment on attachment 507562 [details] [diff] [review] Part c: stop using QueryInterface on nsHTMLOptionElement::GetSelect's return value. r=me
Attachment #507562 -
Flags: review?(bzbarsky) → review+
Comment 11•14 years ago
|
||
Comment on attachment 507563 [details] [diff] [review] Part d: use nsHTMLSelectElement::FromContent in nsListControlFrame. r=me, if you check that stuff like SetOptionsSelectedByIndex can't trigger script (e.g. via onchange events). If it can, you need to hold strong refs in soe places here...
Attachment #507563 -
Flags: review?(bzbarsky) → review+
Comment 12•14 years ago
|
||
Comment on attachment 507564 [details] [diff] [review] Part e: make nsSafeOptionListMutation::mSelect a nsHTMLSelectElement. r=me
Attachment #507564 -
Flags: review?(bzbarsky) → review+
Comment 13•14 years ago
|
||
Comment on attachment 507566 [details] [diff] [review] Part f: kill layout/forms/resources. r=me; can't believe this was still around.
Attachment #507566 -
Flags: review?(bzbarsky) → review+
Comment 14•14 years ago
|
||
Comment on attachment 507567 [details] [diff] [review] Part g: Kill nsISelectElement. r=me
Attachment #507567 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 15•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/83b87584d902 http://hg.mozilla.org/mozilla-central/rev/ac5c47d204dc http://hg.mozilla.org/mozilla-central/rev/98c2bd7b6d53 http://hg.mozilla.org/mozilla-central/rev/e8ac4db006eb http://hg.mozilla.org/mozilla-central/rev/b71908ead27b http://hg.mozilla.org/mozilla-central/rev/7ddc7042d30e http://hg.mozilla.org/mozilla-central/rev/83692ba345d4 http://hg.mozilla.org/mozilla-central/rev/55f92ef9873c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•