Closed Bug 1908856 Opened 2 years ago Closed 2 years ago

Text-Fragments: It's not possible to create a selection on a text directive

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
firefox130 --- verified
firefox131 --- verified

People

(Reporter: jjaschke, Assigned: jjaschke)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

Expected results:
Text can be selected.

Actual results:
Selecting is not possible. No visible selection is shown. Logging selectionchange events to the console shows that no selection change event is fired. Selecting something + Copying also does not work.

Starting to drag outside of the target text selection does work. Also selecting by double-clicking inside of a target-text area does work.

Assignee: nobody → jjaschke
Status: NEW → ASSIGNED
Pushed by jjaschke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/968450206e7e Text Fragments: Allow to start a selection over a target-text selection. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47430 for changes under testing/web-platform/tests

Backed out for causing lint failure on drag-selection-over-target-text.html

Backout link

Push with failures

Failure log

Flags: needinfo?(jjaschke)

oops. Fix incoming.

Flags: needinfo?(jjaschke)
Upstream PR was closed without merging
Pushed by jjaschke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80682a1fd673 Text Fragments: Allow to start a selection over a target-text selection. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Flags: qe-verify+

Verified as fixed on Firefox 130 beta 2 and Nightly 131.0a1 under Win 11 64-bit, macOS 12 and Ubuntu 22.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: