mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 4adce83d1f2b08fa2e92427c4687d0cf535aee53
This commit is contained in:
parent
d3763452b5
commit
3e4ec1724a
102 changed files with 3019 additions and 1309 deletions
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test: nested clip-path() inside the same reference frame with position: fixed</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1501111">
|
||||
<link rel="help" href="https://drafts.fxtf.org/css-masking/#the-clip-path">
|
||||
<link rel="match" href="clip-path-fixed-nested-ref.html">
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.outer-clip {
|
||||
height: 100vh;
|
||||
clip-path: inset(0 0 0 0);
|
||||
background: green;
|
||||
}
|
||||
.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
.inner-clip {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
clip-path: inset(0 0 0 0);
|
||||
}
|
||||
.inner-clip-contents {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
background: purple;
|
||||
}
|
||||
</style>
|
||||
<div class="outer-clip">
|
||||
<div class="fixed">
|
||||
<div class="inner-clip">
|
||||
<div class="inner-clip-contents"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue