mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,35 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Overflow-clip-margin: child of a small-border-box out-of-view large-clip-margin parent is shown</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
|
||||
<link rel="author" title="Xianzhu Wang" href="mailto:wangxianzhu@chromium.org">
|
||||
<link rel="match" href="overflow-clip-margin-011-ref.html">
|
||||
<style>
|
||||
.overflow-hidden {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.parent {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
top: 500px;
|
||||
overflow: clip;
|
||||
overflow-clip-margin: 500px;
|
||||
z-index: 1;
|
||||
background: red;
|
||||
}
|
||||
.child {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
top: -500px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div class="overflow-hidden">
|
||||
<div class="parent">
|
||||
<div class="child">
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue