Closed Bug 296362 Opened 20 years ago Closed 20 years ago

Highlight doesn't work on XML data pages (pretty print or non-prety print)

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 253261

People

(Reporter: martin.dale.1, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When an XML file is viewed in pretty print form (no style sheet applied) the
FAYT works OK, as does the "Find Next" and "Find Previous" and the words are
highlighted with a green background.  When the "Hightlight" button is pressed
nothing happens.
The same thing happens if the page is not in pretty print mode (click middle
mouse button for autoscroll - see bug #215762).

If an XSL style sheet is applied the Hightlight works OK again.

Reproducible: Always

Steps to Reproduce:
1.View any xml document containing elements and data but without a style sheet
2.Ctrl+F to get the "Find toolbar"
3.type a term to find, note the text is highlighted.
4.Try Next/Previous to prove that these buttons still work as expected
5.Press the Highlight button - Nothing happens.
Actual Results:  
The text was not highlighted

Expected Results:  
The text should have highlighted as per normal HTML pages and like the Find Next
and Find Previous.

*** This bug has been marked as a duplicate of 253261 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.