mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
17
tests/html/test-css-pseudo-root.html
Normal file
17
tests/html/test-css-pseudo-root.html
Normal file
|
@ -0,0 +1,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>
|
Loading…
Add table
Add a link
Reference in a new issue