Closed Bug 230027 Opened 21 years ago Closed 21 years ago

Pseudo Element first letters is being ignored

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: MasterDevil, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

The link provided as an example might not always be online since its the
testserver I run on my own computer.

Reproducible: Always

Steps to Reproduce:
1. Create a html page with a div that contains ='newsb'
2. In an external style sheet create a class like this one:
.newsb:first-letter {
	font: 180%;
	float: left;
}
3. Link to the stylesheet so it gets applied to the html page.

Actual Results:  
While IE 6.0 Renders the page properly Mozilla Firebird will totally ignore the
pseudo class, it renders the first letter of the newsb class as it renders the
rest of the text.

Expected Results:  
It should have made the first letter in the <div class='newsb'> </div> 180%
bigger then the default font size of that class, or it's parents class if the
newsb class doesn't have font-size defined.
Quoting myself

-----------------------------------------------------
Create a html page with a div that contains ='newsb'
-----------------------------------------------------


That should of course be class='newsb'
the element itself isn't being ignored, Firebird (and Mozilla and Opera) don't
seem to like the font: property.  Using font-size explicitly works quite fine in
all browsers.
QA Contact: mconnor
verified with Hixie that font: requires a font-family along with any of the
optional attributes.

use font-size: if you just want that.

-> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.