mirror of
https://github.com/servo/servo.git
synced 2025-09-16 09:58:23 +01:00
Update web-platform-tests to revision 4accec3d14ccdc7b170017c0df299b954019f06f
This commit is contained in:
parent
630cf2745b
commit
b30b1992ac
50 changed files with 1015 additions and 760 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference for sticky elements should invalidate when top/left/bottom/right changes</title>
|
||||
|
||||
<style>
|
||||
.box {
|
||||
/* Triggers promotion without creating stacking context. */
|
||||
backface-visibility: hidden;
|
||||
background: green;
|
||||
position: sticky;
|
||||
top: 200px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
height: 200vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="box"></div>
|
||||
<div class="spacer"></div>
|
Loading…
Add table
Add a link
Reference in a new issue