| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <title>Compare Compound Transforms (translate scale rotate)</title> |
| <style type="text/css" media="screen"> |
| <p>Test ensures that nested transformed elements produce the same result as a single compound transform.You should not see any red in the two tests below</p> |
| <div style="-webkit-transform: translate(75px, 20px)"> |
| <div style="-webkit-transform: scale(1.6, 1.6)"> |
| <div style="-webkit-transform: rotate(45deg)"> |
| <div class="box" style="background-color: red">Individual</div> |
| <div class="box" style="-webkit-transform: translate(75px, 20px) scale(1.6, 1.6) rotate(45deg);"></div> |
| <div style="-webkit-transform: scale(1.6, 1.6)"> |
| <div style="-webkit-transform: translate(75px, 20px)"> |
| <div style="-webkit-transform: rotate(45deg)"> |
| <div class="box" style="background-color: red">Individual</div> |
| <div class="box" style="-webkit-transform: scale(1.6, 1.6) translate(75px, 20px) rotate(45deg);"></div> |