Closed Bug 578 Opened 27 years ago Closed 26 years ago

CSS First-line selector doesn't work

Categories

(Core :: CSS Parsing and Computation, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: buster)

References

()

Details

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>
Status: NEW → ASSIGNED
Component: Unknown → Style System
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.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I checked in support for :first-line on 11/5/98. Enjoy.
Status: RESOLVED → VERIFIED
QA Contact: 4110
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.