Closed
Bug 103248
Opened 23 years ago
Closed 23 years ago
:first-letter style on block replaced with :first-letter style on inline after hover/active/focus
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
People
(Reporter: basic, Assigned: dbaron)
Details
Attachments
(1 file)
2.85 KB,
text/html
|
Details |
The style rules applied on a :first-letter peudo-element on a block gets replaced with style rules on a :first-letter peudo-element on inline (which should not work at all according to CSS2) after a hover,active or focus. Build ID: 2001100303 win32 I've seen this for sometime, just didn't get around to filing this bug. Testcase coming.
In testcase 1, focus/click/hover over the links/span. You will find that all of them, with the exception of one, have their :first-letter style rules removed/replaced.
Assignee | ||
Comment 3•23 years ago
|
||
*** This bug has been marked as a duplicate of 23604 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verifying. Maybe that bug should be moved to the style system component?
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 5•23 years ago
|
||
No, it's probably not a Style System bug. The description of the style system component says: "Bugs in the handling of CSS stylesheets and the computation of style from CSS stylesheets and HTML attributes." The style data computed by the style system is then used by the layout, gfx, view, and font code to display the page. Probably the layout code is asking for the wrong style data, although there could be something in the style system to warn when :first-letter is requested for a non-block element...
You need to log in
before you can comment on or make changes to this bug.
Description
•