Closed Bug 604617 Opened 14 years ago Closed 14 years ago

selection.selectAllChildren(node) not working as expected

Categories

(Core :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mnater, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b6) Gecko/20100101 Firefox/4.0b6 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b6) Gecko/20100101 Firefox/4.0b6 When a script does a selection.selectAllChildren(node) with a node that has changed before, selection remains empty. Reproducible: Always Steps to Reproduce: 1. Use FF4b6, go to the testcase (http://mnn.ch/diversa/selectAllChildren_fail_testcase.html) 2. Copy the text "Copy me!" and paste somewhere (e.g. to the search-field), nothing is pasted! 3. Use FF3.6 – it works! Actual Results: Nothing is pasted. Expected Results: "copy me!" should be copied. It works in Firefox 3.6. The code in the testcase is actually a stripped down version of the code I use in http://code.google.com/p/hyphenator/ to remove soft hyphens from hyphenated words (therefore the detour via the shadow element).
Attached file testcase
Copying the "Copy Me!" text doesn't work in FF4b6, but works in FF3.6
This is fixed for Fx 4 Beta 7/8 since i can confirm for Beta 6 and say it's WFM on Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101014 Firefox/4.0b8pre. If you want you can either wait untill Beta 7/8 or use/test against a Nightly Build.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → general
Resolution: --- → WORKSFORME
Yep, Checked with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101017 Firefox/4.0b8pre: WFM Thanks a lot!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: