Closed
Bug 470771
Opened 16 years ago
Closed 16 years ago
CSS :first-letter doesn't work with a class set by JavaScript
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: liam, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Consider this CSS rule: dt.test:first-letter {background-color: green;} If the dt element is given the "test" class by JavaScript, the CSS rule will not be applied. If the class is set by the class attribute, the rule applies correctly. If the selector is "dt:first-letter", the rule applies correctly. Reproducible: Always
Reporter | ||
Comment 1•16 years ago
|
||
Thanks for reporting.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•