4 The perspective origin should be positioned in the container's border box,
5 regardless of the presence of scrollbars.
10 background-color: green;
11 border:
10px solid black;
20 background-color: blue;
23 transform: translateZ(-
1000px);
27 <div class=
"container">
28 <div class=
"transformed"></div>
31 <!-- This blue box should be smaller because it should be obscured by the border. -->
32 <div class=
"container" style=
"perspective-origin: 0 0">
33 <div class=
"transformed"></div>
36 <div class=
"container" style=
"perspective-origin: 60% 40px">
37 <div class=
"transformed"></div>