[Webkit-unassigned] [Bug 8426] New: CSS: last-child pseudo-class doesn't work correctly
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sun Apr 16 12:59:37 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8426
Summary: CSS: last-child pseudo-class doesn't work correctly
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: eggdrop at ggaweb.ch
In the following example, "GREEN" should be green, "BLACK" should be black and
"RED" should be red. However, in Safari everything is red.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style>
#c div:first-child { color:green; }
#c div:last-child { color:red; }
</style>
</head>
<body>
<div id="c"><div>GREEN</div> <div>BLACK</div> <div>RED</div></div>
</body>
</html>
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list