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