mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
16 lines
648 B
XML
16 lines
648 B
XML
<csstest def=":focus pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="20" rev="1.1" date="03-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Daniel Glazman</author>
|
|
<author>Ian Hickson</author>
|
|
|
|
<userinteraction/>
|
|
|
|
<cssrules>a:focus { background-color : lime }</cssrules>
|
|
|
|
<code>
|
|
<p xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">anchors</a>
|
|
in this page should turn <a href="#foo">to green</a> when they have the
|
|
<a href="#foo">focus</a>.</p>
|
|
</code>
|
|
|
|
</csstest>
|