[Webkit-unassigned] [Bug 30708] New: ::first-letter inherits from ::after pseudo-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 23 00:17:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30708

           Summary: ::first-letter inherits from ::after pseudo-element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phiw at l-c-n.com


Created an attachment (id=41717)
 --> (https://bugs.webkit.org/attachment.cgi?id=41717)
test case

::first-letter inherits properties from ::after pseudo-element

The following properties are inherited (unless overridden by the ::first-letter
selector):
* color (but not background-color)
* font-size
* font-weight
* font-style
* text-transform

Non-exhaustive list, that is what I've tested so far :-)

This is similar to the inheritance problems noted in bug 21937 - with
display:run-in.

In the testcase:
AR: the first-letter is red, italicised and smaller than the subsequent text,
and lower-cased…
ER: the first 'L' should be identical to the second one, except bold.

Gecko, Opera display this correctly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list