Closed Bug 187000 Opened 22 years ago Closed 22 years ago

:first-letter pseudo element does not catch punctuation

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 23605

People

(Reporter: rl, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 I have a paragraph which starts with unicode left double quote and a letter, as follows: <P CLASS=huge><B>“<BIG>S</BIG><SMALL>IR,” CAPTAIN NEMO The style "huge" is defined as follows: .huge:first-letter { text-indent: 0; font-size: 200%; float: left } As the css2 spec says, Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps), "close" (Pe), and "other" (Po) punctuation classes), that precedes the first letter should be included, as in: Quotes that precede the first letter should be included. (see http://www.w3.org/TR/REC-CSS2/selector.html#first-letter) However, in my example, :first-letter catches just the punctuation “ , not the letter S. There for just the punctionation gets to be displayed in the 200% sized font. Reproducible: Always Steps to Reproduce: 1.Look at the page! 2. 3.
*** This bug has been marked as a duplicate of 23605 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.