blob: 5aa0f9dab82c79b2b97ff96a21e9f0ee48dabc6b [file] [log] [blame]
<!DOCTYPE html>
<html>
<!-- There was a bug that styles are unexpectedly shared regardless of required status difference. -->
<head>
<style>
:required:valid {
color: red;
}
</style>
</head>
<body>
<input required value="required">
<input value="optional">
</body>
</html>