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)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 23604

People

(Reporter: basic, Assigned: dbaron)

Details

Attachments

(1 file)

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.
Attached file testcase 1
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.

*** 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
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.

Attachment

General

Creator:
Created:
Updated:
Size: