Closed Bug 168084 Opened 22 years ago Closed 22 years ago

type ahead find in links mode matches text inside <a name=foo>

Categories

(SeaMonkey :: Find In Page, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: jmd, Assigned: aaronlev)

References

Details

Attachments

(1 file, 3 obsolete files)

type ahead find in links mode matches text inside <a name=foo>

To reproduce, search for "conf" here in links mode.
http://www.mozilla.org/releases/mozilla1.2a/
It goes to non href header text.

2002091108 Linux.
Blocks: isearch
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.2beta
OS: Linux → All
Hardware: PC → All
Attached patch Checks nsILink::GetHrefCString (obsolete) — Splinter Review
Seeking r=
Comment on attachment 98817 [details] [diff] [review]
Checks nsILink::GetHrefCString

Um.. GetHrefCString is expensive.  How about using nsIContent::HasAttr instead?
Attachment #98817 - Flags: needs-work+
Bz, I'm looking for something that will work in XML. 

Will nsILink be supported on those? And if so, I would think GetHrefCstring
would be more likely to work that checking an attribute. 
Oh, you want it to work with XLinks?  Those don't support nsILink.  Further,
<link> elements and <area> elements both implement nsILink (not sure whether you
care about that or not in this case).
I will open up a separate bug on Xlink support. 

I won't care about <area> until we can search text equivalents.
Status: ASSIGNED → NEW
Component: Browser-General → Keyboard Navigation
QA Contact: asa → sairuh
Seeking r=/sr=
Attachment #98817 - Attachment is obsolete: true
Seeking r=/sr= for real this time
Attachment #98851 - Attachment is obsolete: true
Attachment #98853 - Attachment is obsolete: true
Comment on attachment 98854 [details] [diff] [review]
I've never had so many patches for such a simple bug :)

r/sr=bzbarsky
Attachment #98854 - Flags: superreview+
Comment on attachment 98854 [details] [diff] [review]
I've never had so many patches for such a simple bug :)

r=caillon
Attachment #98854 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
vrfy'd with this test case (2002.09.24.08 moz trunk):

1. load http://mozilla.org/quality/browser/front-end/testcases/keyboard-nav/
2. typeahead find for the named anchor "refs"

results: not found, as expected.
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → Keyboard: Find as you Type
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: