Closed Bug 1876307 Opened 5 months ago Closed 1 month ago

Text-Fragments: Revisit search for  

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: jjaschke, Assigned: jjaschke)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As described in this github issue.

The algorithm proposed in the spec to search for whitespace does not treat   correctly for our implementation, as   has already been converted to 0xA0.

This patch replaces this algorithm with checking for 0xA0 directly.
As a side-effect, the whitespace check is performed directly on a nsTextFragment, thus removing a string copy operation.

Assignee: nobody → jjaschke
Status: NEW → ASSIGNED
Pushed by jjaschke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/557c42666445
Text Fragments: Fixed handling of ` ` in document search. r=dom-core,avandolder
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: