CSS First-line selector doesn't work

VERIFIED FIXED

Status

()

Core
CSS Parsing and Computation
P2
normal
VERIFIED FIXED
20 years ago
4 years ago

People

(Reporter: Angus Davis, Assigned: buster)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

20 years ago
I assume that we don't have APIs into the content model to get the first line
(kipp) but this is a stlye thing too (peterl).

<style type="text/css">
P:first-line {color: green;}
</style>
<body>
<p>The first line only should be green. The rest should be default
text color (black) bla bla bla bla bla bla bla bla bla bla
hope this makes it to the second line bla bla bla.
</body>

Updated

20 years ago
Status: NEW → ASSIGNED
Component: Unknown → Style System
(Reporter)

Comment 1

20 years ago
Interesting to note that the latest release of Opera 3.5 beta 8 supports
first-line and first-letter. You can download this browser to see an example of
the expected behavior.

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 2

19 years ago
I checked in support for :first-line on 11/5/98. Enjoy.

Updated

19 years ago
Status: RESOLVED → VERIFIED
QA Contact: 4110

Comment 3

19 years ago
Verified fixed with Feb 4 Seamonkey
Depends on: 922172
No longer depends on: 922172
You need to log in before you can comment on or make changes to this bug.