mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
34 lines
1.5 KiB
HTML
34 lines
1.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CSS Test: anchor</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test c21-pseu-id-000"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<meta name="flags" content="interact"/>
|
|
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes"/>
|
|
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
|
|
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
|
<style type="text/css"><![CDATA[
|
|
#one {color: green;}
|
|
a {color: red;}
|
|
a:link {color: red;}
|
|
a:visited {color: red;}
|
|
a:hover {color: red;}
|
|
a:focus {color: red;}
|
|
a:active {color: red;}
|
|
]]></style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" title="6.4.3 Calculating a selector's specificity"/>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" title="6.4 The cascade"/>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#pseudo-class-selectors" title="5.11 Pseudo-classes"/>
|
|
</head>
|
|
<body>
|
|
<p><a href="" id="one">Whatever you do to this link, it should stay green.</a> (hover, focus, activate, follow)</p>
|
|
</body>
|
|
</html> |