mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS Test: background-attachment: scroll; positioning area</title>
|
||||
<link href="reference/attachment-scroll-positioning-1-ref.htm" rel="match">
|
||||
<meta content="dom" name="flags">
|
||||
<link href="http://exyr.org/about/" rel="author" title="Simon Sapin">
|
||||
<link href="http://www.w3.org/TR/css3-background/#the-background-attachment" rel="help">
|
||||
<style>
|
||||
div {
|
||||
background: url(aqua-yellow-32x32.png) no-repeat 100px 100px;
|
||||
overflow: hidden;
|
||||
height: 200px;
|
||||
}
|
||||
p {
|
||||
padding-top: 100px;
|
||||
height: 500px;
|
||||
}
|
||||
</style>
|
||||
</head><body><div>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
<script>
|
||||
document.getElementsByTagName('div')[0].scrollTop = 60;
|
||||
</script>
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue