mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" lang="en">
|
||||
<head>
|
||||
<title>Selectors Level 4: :first-of-type</title>
|
||||
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
|
||||
<style type="text/css">
|
||||
div > *|* {
|
||||
display: block;
|
||||
color: black;
|
||||
border: thin solid;
|
||||
margin: 1em;
|
||||
}
|
||||
.yellow {
|
||||
background: yellow;
|
||||
}
|
||||
.green {
|
||||
background: lime;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
<p class="yellow">This line should have a yellow background.</p>
|
||||
<p class="yellow">This line should have a yellow background.</p>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user