- From: Dirk Schulze <dschulze@adobe.com>
- Date: Thu, 7 Aug 2014 18:27:46 +0000
- To: Axel Dahmen <brille1@hotmail.com>
- CC: "www-style@w3.org" <www-style@w3.org>
On Aug 7, 2014, at 7:48 PM, Axel Dahmen <brille1@hotmail.com> wrote: > Instead of defining a list of several transform functions, I suggest to just give the dx/dy offsets of the upper left/upper right/lower left and lower right edges of an element. > > For instance, a rule like this: > > img > {transform: Point(10%, 10%) Point(-10%, 10%) Point(-10%, -10%) Point(-30%, 10%) > } > > would result in the application to perform all necessary transformations in order to have the edges of the element meet the given calculated values. This seems to be a rather specific proposal. However, I could imagine that we add this possibility as JS API with the help of DOMQuad[1] which takes your proposal into account already. Greetings, Dirk [1] http://dev.w3.org/fxtf/geometry/#DOMQuad > > Here's a short movie clip I have created years ago to suggest this same feature to the HTML5 canvas element: > > https://onedrive.live.com/?cid=f18aeca352311e71&id=F18AECA352311E71!236&sff=1&authkey=!ADjO30UeJ7scJIU&v=3 > > Axel Dahmen > www.axeldahmen.de > > > >
Received on Thursday, 7 August 2014 18:28:24 UTC