In the following HTML
<article>
<div></div>
</article>
the div is absolutely positioned in an arbitrary position inside the article and transformed with an arbitrary matrix3d.
How to “reverse” the transform of the div by transforming the article, so that the div appears rectangular again in its original size?
Here’s how the situation looks: http://jsfiddle.net/kBWcc/
Note: Usage of matrix3d in this case is obligatory.
After half a day of trying i finally found a so-far webkit-only solution, which involves WebKitCSSMatrix object.
Here’s how a solution looks: http://jsfiddle.net/kBWcc/2/