mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34
This commit is contained in:
parent
b2465a1f22
commit
9115c87050
166 changed files with 2072 additions and 749 deletions
|
@ -0,0 +1,31 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Verifies overflow-clip-margin impacts layout</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
|
||||
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
|
||||
<style>
|
||||
.scroller {
|
||||
overflow: auto;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.child {
|
||||
position: relative;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<p>You should see a green box with scrollbars.</p>
|
||||
<div class="scroller">
|
||||
<div class="child"></div>
|
||||
</div>
|
||||
|
||||
<p>You should see a green box with scrollbars.</p>
|
||||
<div class="scroller">
|
||||
<div class="child" style="width: 150px; height: 150px"></div>
|
||||
</div>
|
||||
|
||||
<p>You should see a green box with no scrollbars.</p>
|
||||
<div class="scroller" style="background-color: green">
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue