haikuwebkit/LayoutTests/fast/css/child-style-can-override-vi...

11 lines
266 B
HTML

<style>
.flim {color: green;}
a:visited {color: red;}
</style>
This tests that a child style can override the :visited style.
<a href>
<div class=flim>This text should be green (and underlined)</div>
</a>
<div class=flim>This text should be green</div>