default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner git-svn-id: svn://10.0.0.236/trunk@238907 18797224-902f-48f8-a5cc-f745e15eee43
13 lines
186 B
HTML
13 lines
186 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body { color: red }
|
|
body::first-line { color: green; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This should be green
|
|
</body>
|
|
</html>
|