Closed Bug 1972004 Opened 2 months ago Closed 1 month ago

Text-Fragments: Suspiciously long text directive created on www.lipsum.com

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: jjaschke, Assigned: jjaschke)

Details

Attachments

(1 file)

Text directives on www.lipsum.com for the word "Lorem" are suspiciously long, for example:
Created by algorithm: https://www.lipsum.com/#:~:text=years%20old%2E%20Richard%20McClintock%2C%20a%20Latin%20professor%20at%20Hampden%2DSydney%20College%20in%20Virginia%2C%20looked%20up%20one%20of%20the%20more%20obscure%20Latin%20words%2C%20consectetur%2C%20from%20a-,Lorem
Shortest possible text directive: https://www.lipsum.com/#:~:text=a-,Lorem

Profiler Logging shows that the common string lengths going leftwards are wrong, leading to a 154 character long prefix.

Pushed by jjaschke@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8f393986de94 https://hg.mozilla.org/integration/autoland/rev/b463d210926d Text Fragments: Correctly compute word boundary distances when going right-to-left. r=keithamus,mccr8
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: