mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:18:13 +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
26
Base/res/html/misc/empty.html
Normal file
26
Base/res/html/misc/empty.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>:empty test</title>
|
||||
<style>
|
||||
.box {
|
||||
background-color: pink;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.box:empty {
|
||||
background-color: lime;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="box"><!-- I will be lime. --></div>
|
||||
<div class="box">I will be pink.</div>
|
||||
<div class="box">
|
||||
<!-- I will be pink in older browsers because of the whitespace around this comment. -->
|
||||
</div>
|
||||
<div class="box">
|
||||
<p><!-- I will be pink in all browsers because of the non-collapsible whitespace and elements around this comment. --></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue