Closed
Bug 675459
Opened 13 years ago
Closed 13 years ago
Selection issues in and outside iframe
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
Attachments
(2 files)
See url. Steps to reproduce: - Tap on the text above the iframe. - Long tap on the text in the iframe to invoke the selection handles. - Drag the selection handles above the iframe Actual result: - Notice how text inside and outside the iframe gets selected. Also the selection text inside the iframe can turn black when selection handles are moved outside the iframe. Only the selected text from inside the iframe is copied. Expected result: - No text should be selected outside the iframe or else it should be supported in a normal way.
Comment 1•13 years ago
|
||
I can add some code to check that the window used to start the selection is used to limit the selection. Fix is part of patch in bug 670222
Comment 2•13 years ago
|
||
fixed in bug 670222
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
This can still be reproduced, see testcase: - Tap and hold some text outside the iframe to get the selection handles. - Tap and hold some text inside the iframe to get the selection handles there. - Drag the right selection handle outside the iframe and drag it over the text that was previously selected. Result: - The previously selected text and a bunch other text outside the iframe gets selected too. I guess a simple solution could be to remove the selection from the document totally when selection has been finished. So instead of selection.collapseToStart();, use something like selection.removeAllRanges();
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
fixed by bug 674791
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 7•13 years ago
|
||
Verified fixed via bug 674791 Mozilla/5.0 (Android; Linux armv7l; rv:8.0a1) Gecko/20110805 Firefox/8.0a1 Fennec/8.0a1
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•