Highlight All doesn't work in XML document tree view

NEW
Unassigned

Status

()

Toolkit
Find Toolbar
P5
normal
4 years ago
2 years ago

People

(Reporter: Alex Henrie, Unassigned)

Tracking

1.0 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8474369 [details]
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.

Comment 1

3 years ago
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
Blocks: 1283042
You need to log in before you can comment on or make changes to this bug.