mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision b'0802d8bd01e17178d9cd2355e6fbaf3c098e7953'
This commit is contained in:
parent
aa427dd412
commit
9ed042224a
254 changed files with 10823 additions and 1484 deletions
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Shared transitions: 3d transform ref</title>
|
||||
<link rel="help" href="https://github.com/WICG/view-transitions">
|
||||
<link rel="author" href="mailto:vmpstr@chromium.org">
|
||||
<style>
|
||||
div { box-sizing: border-box; will-change: transform }
|
||||
.wrap_perspective {
|
||||
perspective: 100px;
|
||||
width: max-content;
|
||||
transform: translate(200px);
|
||||
}
|
||||
.rotatex {
|
||||
transform-style: preserve-3d;
|
||||
transform: rotateX(20deg);
|
||||
background: blue;
|
||||
}
|
||||
.shared {
|
||||
contain: layout;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
body { background: pink }
|
||||
|
||||
</style>
|
||||
|
||||
<div class="wrap_perspective"><div class="rotatex shared"></div></div>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue