Closed Bug 599804 Opened 14 years ago Closed 12 years ago

Highlight all doesn't work with non HTML documents (e.g. CSS styled XML files)

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: takenspc, Assigned: takenspc)

References

()

Details

Attachments

(1 file)

Highlight all doesn't work with non HTML documents even if the term hits when using normal search.
Attached patch PatchSplinter Review
Use doc.documentElement when doc.body doesn't exist.

This also works with the testcase of bug 495141.
Hi.  You needed to request a review.

There is an older bug on this: bug 253261.
Attachment #478723 - Flags: review?
Comment on attachment 478723 [details] [diff] [review]
Patch

> Hi.  You needed to request a review.
...it's also better to request it from a specific person. Tagging adw, since the last review in this file was his.
Attachment #478723 - Flags: review? → review?(adw)
Comment on attachment 478723 [details] [diff] [review]
Patch

Review of attachment 478723 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the patch, Takeshi, and thanks for the review redirection, Nickolay.
Attachment #478723 - Flags: review?(adw) → review+
Status: NEW → ASSIGNED
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/2c7c1df9dc9b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: