Open Bug 1054845 Opened 10 years ago Updated 2 years ago

Highlight All doesn't work in XML document tree view

Categories

(Toolkit :: Find Toolbar, defect, P5)

1.0 Branch
defect

Tracking

()

People

(Reporter: alexhenrie24, Unassigned)

References

Details

Attachments

(1 file)

Attached file test.xml
Steps to reproduce:
1. Open test.xml
2. Press Ctrl+F
3. Type "hello"
4. Click "Highlight All"

Firefox says "Phrase not found" even though "hello" clearly appears twice in the document.

This bug is very similar to bug 263049, and the test case was copied from there.
Maybe I'm mistaken, but I think you can sidestep the hack from bug 263049 and what's needed for this bug completely by actually displaying the XML document directly (instead of re-rendering it pretty-printed and hiding the original) and simply injecting an XSL of our own when none is found. Wouldn't that be the most logical, simplest solution? And easier to maintain? And allow for an easy update to a more modern "pretty" printing (just update the style sheet)? :)
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: