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.
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)? :)
You need to log in before you can comment on or make changes to this bug.