mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
d4d2946639
(Note: this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
19 lines
341 B
HTML
19 lines
341 B
HTML
<!DOCTYPE HTML>
|
|
<title>Test for calc() on transform-origin</title>
|
|
<style>
|
|
|
|
body { margin: 100px }
|
|
|
|
p {
|
|
height: 50px; width: 200px;
|
|
background: yellow;
|
|
-moz-transform: rotate(15deg);
|
|
}
|
|
|
|
#one { -moz-transform-origin: 150px 20px; }
|
|
#two { -moz-transform-origin: -22px -35px; }
|
|
|
|
</style>
|
|
<p id="one">hello</p>
|
|
<p id="two">hello</p>
|