Closed
Bug 114325
Opened 24 years ago
Closed 15 years ago
Update callers for hasAttribute work
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
mozilla1.0.1
People
(Reporter: jag+mozilla, Unassigned)
References
()
Details
(Whiteboard: bugday0420)
Attachments
(1 file)
4.10 KB,
patch
|
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
There are a bunch of places that still e.g. .setAttribute("checked", "false"),
.setAttribute("checked", someCondition), or .getAttribute("checked") == "false".
This use clashes with the use of .hasAttribute("checked") for the checked
property on checkbox.
Please fix these sites, or revert the logic in checkbox.xml until you have a
chance to fix them.
Reporter | ||
Comment 1•24 years ago
|
||
This may (in part) be causing bug 113482 and bug 113335.
I also suspect this bug is the reason why, when you go to preferences, when you
have all the checkboxes on the navigator panel unchecked, select another panel,
then select the navigator panel again, the checkboxes will now all be checked.
![]() |
||
Updated•24 years ago
|
Comment 2•24 years ago
|
||
*** Bug 114250 has been marked as a duplicate of this bug. ***
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
I only found a few places that should be affected by the changes I've made so
far, and only one was related to checkbox...
Summary: The world isn't ready for checkbox's hasAttribute("checked") instead of getAttribute("checked") == "true" → Update callers for hasAttribute work
Comment 5•24 years ago
|
||
Comment on attachment 61031 [details] [diff] [review]
patch
sr=hewitt
Attachment #61031 -
Flags: superreview+
![]() |
||
Comment 6•24 years ago
|
||
Please make sure that
http://lxr.mozilla.org/seamonkey/search?string=checked%3D%22false%22
are a totally separate issue... (they look like they should be)
Reporter | ||
Comment 7•24 years ago
|
||
And then there's the other two possibilities I pointed out in my original
comment.
E.g. |setAttribute("checked", a!=b)| and |var foo = el.getAttribute("checked");
if (foo != "false") { ... } else { ... }| (there's some of this somewhere in
wallet code, twice, iirc).
Comment 8•24 years ago
|
||
I went through get/setAttribute calls and didn't find any more that would break
as a result of my changes. The one in wallet that I think you're referring to
is commented out, but it doesn't refer to a checkbox anyways, it's a command.
Updated•24 years ago
|
Target Milestone: --- → mozilla1.0.1
![]() |
||
Comment 10•22 years ago
|
||
Neil, do you have the time to wrap this up?
Target Milestone: Future → mozilla1.0.1
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•18 years ago
|
Assignee: bross2 → general
QA Contact: doronr → general
![]() |
||
Comment 11•16 years ago
|
||
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
![]() |
||
Comment 12•15 years ago
|
||
Marking this INCOMPLETE, as it's not sure this work has been completed, but then, if problems have not been fixed, they have been lurking for quite some time and very possibly have been rewritten and replaced since then anyhow.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Whiteboard: bugday0420
You need to log in
before you can comment on or make changes to this bug.
Description
•