<html>
<head>
<title>Testcase, bug 431520</title>
<style type="text/css">
fieldset:first-line { color: red }
</style>
<body>
<fieldset><legend>Legend</legend>contents of fieldset</fieldset>
</body>
</html>