mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
test: Add a box model smoketest
This commit is contained in:
parent
e1b9e01e69
commit
327e7996a1
1 changed files with 25 additions and 0 deletions
25
src/test/html/box-model-smoketest.html
Normal file
25
src/test/html/box-model-smoketest.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>box model smoketest</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
#outer {
|
||||
background-color: red;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#inner {
|
||||
margin: 16px;
|
||||
border: solid green 16px;
|
||||
padding: 16px;
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><div id=outer><div id=inner>Ten points for Gryffindor</div></div></body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue