Find API - add option for diacritics
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(firefox111 fixed)
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: jgoudey, Assigned: gregp)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
Using the find function of the find API, there is no option to match or not match diacritics. However, the option exists in the findbar.
Actual results:
Diacritics are always NOT matched
Expected results:
There should be a "matchDiacritics" option in the "options" parameter of the browser.find.find() function.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
![]() |
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Sounds reasonable to match the capability of the UI.
Comment hidden (admin-reviewed) |
Comment 4•2 years ago
•
|
||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 7•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
bugherder |
Assignee | ||
Comment 12•2 years ago
|
||
(In reply to rbloor from comment #11)
I'm working on the content and BCD updates
Thanks! This is an option similar to caseSensitive or entireWord, but for diacritics. For example, let's say you search for Bánana
in a document containing Bánana Banana Banana
. When matchDiacritics is false, you'll get 3 three results. When matchDiacritics is true, you'll get one result (Bánana
).
Comment 13•2 years ago
|
||
Assignee | ||
Comment 14•2 years ago
|
||
Wonderful, thanks! I left some comments on the BCD changes. Content looks great!!
Description
•