mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52
This commit is contained in:
parent
0c20fba2ab
commit
9c6bf785bd
150 changed files with 1798 additions and 876 deletions
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: Multi-column element with scrolled content clipping (reference)</title>
|
||||
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
|
||||
<style>
|
||||
#columns {
|
||||
column-width: 350px;
|
||||
}
|
||||
.spacer {
|
||||
height: 200px;
|
||||
width: 10px;
|
||||
}
|
||||
#outer {
|
||||
border: 1px solid black;
|
||||
overflow: scroll;
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
}
|
||||
.inner {
|
||||
overflow: scroll;
|
||||
visibility: hidden;
|
||||
}
|
||||
.clipped_target {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class=spacer></div>
|
||||
<div id=columns>
|
||||
<div class=spacer></div>
|
||||
<div id=outer>
|
||||
<div class=inner>
|
||||
<pre class=clipped_target>
|
||||
scrollable
|
||||
content
|
||||
goes
|
||||
here
|
||||
</pre>
|
||||
</div>
|
||||
<div class=spacer></div>
|
||||
<div class=spacer></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.onload = () => { outer.scrollTop = 100; };
|
||||
</script>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue