mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
32 lines
1.3 KiB
HTML
32 lines
1.3 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: ID as selector</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 c15-ids-000"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#id-as-selector"/>
|
|
<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"/>
|
|
<link rel="match" href="reference/c12-grouping-000-ref.xht"/>
|
|
|
|
<style type="text/css"><![CDATA[
|
|
body {color: red;}
|
|
#test1 {color: green;}
|
|
#test2 {color: green;}
|
|
p#test3 {color: green;}
|
|
]]></style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" title="5.9 ID selectors"/>
|
|
</head>
|
|
<body>
|
|
<p id="test1"> This sentence should be green. </p>
|
|
<p id="test2"> This sentence should be green. </p>
|
|
<p id="test3"> This sentence should be green. </p>
|
|
</body>
|
|
</html> |