Closed
Bug 294615
Opened 20 years ago
Closed 18 years ago
Search/find fails on words containing soft hyphen (­)
Categories
(Core Graveyard :: Embedding: APIs, defect, P3)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: virkkila, Assigned: asaf)
References
()
Details
(Keywords: html4, testcase)
Attachments
(1 file)
3.03 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050306 Firefox/1.0.1 (Debian package 1.0.1-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050306 Firefox/1.0.1 (Debian package 1.0.1-2)
Soft hyphens (­) are never rendered in Firefox (Bug 9101). Many sites (esp
news outlets) use ­ since every other browser has support for them. This
causes problems for find, since "dis­cre­tion­a­ry" will be
rendered as "discretionary" but will not mach when you search for it.
Reproducible: Always
Steps to Reproduce:
1. Go to: https://bugzilla.mozilla.org/attachment.cgi?id=906
2. Press ctrl+f
3. Type "discretionary"
Actual Results:
The word is not found
Expected Results:
The ­ should be ignored, and the word should be found.
Comment 1•18 years ago
|
||
Bug 9101 is fixed, but this bug is still present.
We should ignore ­ when searching, if possible.
Comment 2•18 years ago
|
||
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.3 says "For operations such as searching and sorting, the soft hyphen should always be ignored."
Assignee | ||
Comment 3•18 years ago
|
||
Attachment #273268 -
Flags: superreview?(jst)
Attachment #273268 -
Flags: review?(jst)
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → mano
Component: Find Toolbar / FastFind → Embedding: APIs
Priority: -- → P3
Product: Firefox → Core
Target Milestone: --- → mozilla1.9beta1
Version: unspecified → Trunk
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Updated•18 years ago
|
Attachment #273268 -
Flags: superreview?(jst)
Attachment #273268 -
Flags: superreview+
Attachment #273268 -
Flags: review?(jst)
Attachment #273268 -
Flags: review+
Assignee | ||
Comment 4•18 years ago
|
||
mozilla/embedding/components/find/src/nsFind.cpp 1.47
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
We _may_ also want to ignore ​ (zero width space), which can be used as a line-breaking character without visible hyphen (for example in URLs).
Comment 6•18 years ago
|
||
Hi Jonathan, that seems a good idea to me, I filed bug 389651 for it.
Updated•18 years ago
|
Flags: in-testsuite?
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•