Closed Bug 299830 Opened 15 years ago Closed 15 years ago

Find functionality doesn't find CSS-generated text

Categories

(Toolkit :: Find Toolbar, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 12460

People

(Reporter: graham.knap, Unassigned)

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

I often write programming notes and other documentation using HTML. In my CSS
stylesheet, I have this:

.fixme {
	color: 800000;	
}

.fixme:before {
	content: "FIXME: "
}

Thus if I write <p class="fixme"> or whatever, the browser formats this text
specially, and generates the text "FIXME:" at the beginning of that container.

This morning I noticed that if I hit "Find" and type "FIXME", Firefox doesn't
find the text, even though it's clearly visible on the screen.

Reproducible: Always

Steps to Reproduce:
1. View an HTML document containing CSS-generated text.
2. Open the Find bar, and search for the generated text.

Actual Results:  
"Phrase not found"

Expected Results:  
Should have found the generated text.

*** This bug has been marked as a duplicate of 12460 ***
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.