Closed Bug 525735 Opened 15 years ago Closed 15 years ago

Remove deprecated method getBoxObjectFor in select1 realization

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sergeyreym, Assigned: sergeyreym)

References

()

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.10 (karmic) Firefox/3.5.4
Build Identifier: Trunk

In FF (from trunk version) builded with Xforms and patch from https://bugzilla.mozilla.org/show_bug.cgi?id=525730. select1 with drop-down list works not correctly.
when clicks in control drop-down doesn't work.

Reproducible: Always

Steps to Reproduce:
1.click on drop-down control
2.nothing happens, that's wrong.
Version: unspecified → Trunk
Summary: Dwop-Down list doesn't work in select1 → Drop-Down list doesn't work in select1
I had get an indea that XForms doesn't load any items to select. In DOMInspector I saw that items are loaded.
Blocks: 525730
JavaScript Debugger shows the error when clicks in control drop-down

[e] message = [string] "document.getBoxObjectFor is not a function"
Stopped for thrown exception.


The method  getBoxObjectFor is depricated
https://bugzilla.mozilla.org/show_bug.cgi?id=409220
I think you should use nsIDOMNSElement instead.
No longer blocks: 525730
Summary: Drop-Down list doesn't work in select1 → Remove deprecated method getBoxObjectFor in select1 realization
I made this patch to replace deprecated method getBoxObjectFor, but bug is still exist.
This patch is workable.
Attachment #409696 - Attachment is obsolete: true
Attachment #409901 - Flags: review?(Olli.Pettay)
Comment on attachment 409901 [details] [diff] [review]
replacing getBoxObjectFor to getClientBoundingBox

I can't test this right now, but looks ok to me.
Surkov should also review this.
Attachment #409901 - Flags: review?(Olli.Pettay) → review+
Attachment #409901 - Flags: review?(surkov.alexander)
I really would like to get bug 525730 firstly to be able to test this one. Since Sergey works on it as well then it should be reachable ;)
This patch is actual for mozilla 3.6.
Attachment #409901 - Flags: review?(surkov.alexander) → review+
Assignee: nobody → sergeyreym
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
landed - http://hg.mozilla.org/xforms/rev/dda416d6a55f
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: