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)
Core
DOM: Selection
Tracking
()
VERIFIED
FIXED
130 Branch
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
STR:
- Enable
dom.text_fragments.enabledpref - Go to a page that has a text fragment, e.g. https://en.wikipedia.org/wiki/Nuclear_power#:~:text=up-,Most,reactors
- Try to select some text in the text by starting to drag inside of the target-text selection
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 | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
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
Comment 4•2 years ago
|
||
Backed out for causing lint failure on drag-selection-over-target-text.html
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
Comment 8•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Updated•2 years ago
|
Flags: qe-verify+
Comment 10•2 years ago
|
||
Verified as fixed on Firefox 130 beta 2 and Nightly 131.0a1 under Win 11 64-bit, macOS 12 and Ubuntu 22.04.
You need to log in
before you can comment on or make changes to this bug.
Description
•