blob: f82349d5ea449ff7a08f368860a235154f0b23d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com" />
<title>:root test</title>
<style type="text/css">
html:root { background: green; }
html { background: red; }
p:root { background: red; }
</style>
</head>
<body>
The background of the page should be green and you should see not red at all.
<p>And the background of this sentence should be green too.</p>
</body>
</html>
|