| <!DOCTYPE html> |
| <html> |
| <head> |
| <style type="text/css" media="screen"> |
| .target { |
| position: absolute; |
| top: 100px; |
| left: 0; |
| height: 100px; |
| width: 100px; |
| } |
| #box { |
| background-color: green; |
| transform: translateX(200px) scale(1) translateZ(0); |
| opacity: 0.5; |
| } |
| #indicator { |
| left: 200px; |
| background-color: red; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="target" id="indicator"></div> |
| <div class="target" id="box"></div> |
| <div id="result"> |
| PASS - "transform.4" property for "box" element at 0.5s saw something close to: 200</div> |
| </body> |
| </html> |