Closed Bug 1154168 Opened 11 years ago Closed 5 years ago

Text selection doesn't work properly in remote iframes (Desktop)

Categories

(Core :: DOM: Selection, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: paul, Unassigned)

Details

Attachments

(2 files)

Attached video screencast
Selecting text drag the iframe instead. And triple-click also select text from outside the iframe. See attached screencast. <iframe remote="true" src="http://example.com/" mozbrowser></iframe> STR 1: - mouse down on a character - move mouse ER: - text gets selected as mouse move AR: - Nothing is selected, or, iframe is being drag & dropped Getting this JS error: JavaScript error: file:///Users/paul/mozilla/gecko-projects/obj.noindex/dist/B2G.app/Contents/Resources/components/contentAreaDropListener.js, line 106: TypeError: dataTransfer is null STR 2: - triple click on a paragraph ER: - Only text in iframe is selected AR: - Text outside of the iframe is also selected
Attached file simple test case
This doesn't happen if -moz-user-select is set to none (on the iframe).

Closing as invalid because remote mozbrowser iframes no longer exist.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: