mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
Base: Move all the HTML test content into /res/html/misc
This commit is contained in:
parent
4720635aab
commit
de12cf6821
58 changed files with 1 additions and 1 deletions
28
Base/res/html/misc/only-child.html
Normal file
28
Base/res/html/misc/only-child.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>:only-child test</title>
|
||||
<style>
|
||||
div:only-child {
|
||||
color: red;
|
||||
}
|
||||
|
||||
div {
|
||||
display: inline-block;
|
||||
margin: 6px;
|
||||
border-width: 1px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div>I am an only child.</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>I am the 1st sibling.</div>
|
||||
<div>I am the 2nd sibling.</div>
|
||||
<div>I am the 3rd sibling, <div>but this is an only child.</div></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue