mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Add a simpler concurrency demo for linuxcon
This commit is contained in:
parent
15c40d788c
commit
d569b3c197
1 changed files with 61 additions and 0 deletions
61
tests/html/linuxcon.html
Normal file
61
tests/html/linuxcon.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
background-color: #ccc;
|
||||
font-size: 50px;
|
||||
}
|
||||
.frame {
|
||||
text-align: center;
|
||||
}
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
.narrow {
|
||||
width: 300px;
|
||||
margin: 10px;
|
||||
}
|
||||
.wide {
|
||||
width: 600px;
|
||||
}
|
||||
.short {
|
||||
height: 360px;
|
||||
}
|
||||
.tall {
|
||||
height: 800px;
|
||||
}
|
||||
iframe {
|
||||
width: 300px;
|
||||
border: solid 1px black;
|
||||
display: block;
|
||||
background-color: white;
|
||||
}
|
||||
.wide iframe {
|
||||
width: 600px;
|
||||
}
|
||||
.tall iframe {
|
||||
height: 660px;
|
||||
}
|
||||
.short iframe {
|
||||
height: 300px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="left">
|
||||
<div class="frame short narrow">
|
||||
<iframe id="frametwo" sandbox="allow-scripts" src="summit-two.html">
|
||||
</iframe>
|
||||
frame one
|
||||
</div>
|
||||
</div>
|
||||
<div class="left">
|
||||
<div class="frame short narrow">
|
||||
<iframe id="framethree" sandbox="allow-scripts" src="summit-three.html">
|
||||
</iframe>
|
||||
frame two
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue