[Webkit-unassigned] [Bug 45986] New: :first-letter should apply to "punctuation" after the first letter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 12:26:31 PDT 2010


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

           Summary: :first-letter should apply to "punctuation" after the
                    first letter
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org


Created an attachment (id=67933)
 --> (https://bugs.webkit.org/attachment.cgi?id=67933)
[TEST] Test Page

The CSS 2.1 Spec states:

>  Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps),
> "close" (Pe), "initial" (Pi). "final" (Pf) and "other" (Po) punctuation classes), that
> precedes or follows the first letter should be included [...]

So for:

  <style> p:first-letter { color:red; }</style>
  <p>!!!H!!!ello</p>

We should expect the first 7 characters to be red. Currently just the first 4 are red.

Other Browsers:

  - Mac - Firefox 4b6 handles this correctly
  - Mac - Opera 10.60 handles 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