Re: [webkit-dev] -webkit-transform-origin-x,y CSS properties

2012-03-01 Thread Dirk Schulze

On Feb 29, 2012, at 9:44 AM, Simon Fraser wrote:

 On Feb 29, 2012, at 9:32 AM, Hans Muller wrote:
 
 
 Are the -webkit-transform-origin-x,y CSS properties on their way in our
 out?  The ugly little test below demonstrates that they're probably not
 supported by Opera or Mozilla.
 
 They are not in the spec:
 http://www.w3.org/TR/css3-transforms/
 
 We will not be supporting the unprefixed versions of these properties.
The question was more, if we will continue supporting the prefixed version of 
these properties. Even if you did not answer directly, your answer implies that 
you want to continue to support them.

Dirk

 
 Simon
 
 CSSComputedStyleDeclaration::getPropertyCSSValue() in WebKit (explicitly)
 ignores them.   Should they stay or should they go?  Or perhaps they
 should just be left alone?
 
 Thanks,
 - Hans
 
 
 
 
 html  
 style
 div.square {
   position: absolute;
   top: 150px;
   left: 150px;
   width: 100px;
   height: 100px;
   background-color: blue;
   -webkit-transform-origin-x: -150px;
   -webkit-transform-origin-y: -150px;
   -webkit-transition: -webkit-transform 0.5s;
   -moz-transform-origin-x: -150px;
   -moz-transform-origin-y: -150px;
   -moz-transition: -moz-transform 0.5s;
   -o-transform-origin-x: -150px;
   -o-transform-origin-y: -150px;
   -o-transition: -o-transform 0.5s;
 }
 
 div.square:hover {
 -webkit-transform: rotate(45deg);
 -webki-transition: -webkit-transform 0.5s;
 -moz-transform: rotate(45deg);
 -moz-transition: -moz-transform 0.5s;
 -o-transform: rotate(45deg);
 -o-transition: -o-transform 0.5s;
 }
 /style
 
 body
 div class=square/div
 /body
 /html
 
 
 
 
 
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] -webkit-transform-origin-x,y CSS properties

2012-03-01 Thread Simon Fraser
On Mar 1, 2012, at 8:45 AM, Dirk Schulze wrote:

 
 On Feb 29, 2012, at 9:44 AM, Simon Fraser wrote:
 
 On Feb 29, 2012, at 9:32 AM, Hans Muller wrote:
 
 
 Are the -webkit-transform-origin-x,y CSS properties on their way in our
 out?  The ugly little test below demonstrates that they're probably not
 supported by Opera or Mozilla.
 
 They are not in the spec:
 http://www.w3.org/TR/css3-transforms/
 
 We will not be supporting the unprefixed versions of these properties.
 The question was more, if we will continue supporting the prefixed version of 
 these properties. Even if you did not answer directly, your answer implies 
 that you want to continue to support them.

Yes, I think we need to continue to support them.

Simon

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] -webkit-transform-origin-x,y CSS properties

2012-02-29 Thread Hans Muller

Are the -webkit-transform-origin-x,y CSS properties on their way in our
out?  The ugly little test below demonstrates that they're probably not
supported by Opera or Mozilla.
CSSComputedStyleDeclaration::getPropertyCSSValue() in WebKit (explicitly)
ignores them.   Should they stay or should they go?  Or perhaps they
should just be left alone?

Thanks,
- Hans




html  
style
div.square {
position: absolute;
top: 150px;
left: 150px;
width: 100px;
height: 100px;
background-color: blue;
-webkit-transform-origin-x: -150px;
-webkit-transform-origin-y: -150px;
-webkit-transition: -webkit-transform 0.5s;
-moz-transform-origin-x: -150px;
-moz-transform-origin-y: -150px;
-moz-transition: -moz-transform 0.5s;
-o-transform-origin-x: -150px;
-o-transform-origin-y: -150px;
-o-transition: -o-transform 0.5s;
}

div.square:hover {
  -webkit-transform: rotate(45deg);
  -webki-transition: -webkit-transform 0.5s;
  -moz-transform: rotate(45deg);
  -moz-transition: -moz-transform 0.5s;
  -o-transform: rotate(45deg);
  -o-transition: -o-transform 0.5s;
}
/style

body
  div class=square/div
/body
/html






___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev