Closed Bug 1958639 Opened 25 days ago Closed 23 days ago

Triple clicking on a word on wikipedia does not select the whole sentence

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox137 --- wontfix
firefox138 --- wontfix
firefox139 --- fixed

People

(Reporter: mayankleoboy1, Assigned: emilio)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(3 files)

Go to https://en.wikipedia.org/wiki/Dirichlet_integral
Search for "Mossinghoff"
When you find that word on the page, triple-click it

AR: Only that word is selected
ER: The whole sentence or line is selected.

Bisection:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9f8766e42efea809351839114d64085d7518adf9&tochange=ee653474267a8b3660c9d70f659b5f655d3ed586

Feel free to dupe.

Attached file about:support
Keywords: regression
Regressed by: 1603964

Set release status flags based on info from the regressing bug 1603964

:emilio, since you are the author of the regressor, bug 1603964, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Attached file Reduced test-case.

The inner block of a scroller for example (::-moz-scrolled-content)
shouldn't be considered a line break.

Same for scrollbar nodes, we don't want to break on scrollbars (or
native anonymous content in general), since we can't position the caret
and such there anyways.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/099bd0ee7554 Ignore anonymous boxes and NAC for paragraph selection code. r=masayuki

Backed out changeset 099bd0ee7554 (Bug 1958639) for causing bc failures on browser_clipboard and browser_edit.js

Push with failures

Failure log

Backout link

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d1bc4a5a5404 Ignore anonymous boxes and NAC for paragraph selection code. r=masayuki
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox138 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Really old regression, probably worth letting it ride the trains

Flags: needinfo?(emilio)
Regressions: 1959780
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: