Permalink
Browse files

tmp

  • Loading branch information...
1 parent 4ba79cf commit 9d97f5e4f1ae65b398ce6fb28a994917298ab6d7 @mcfedr committed Jan 31, 2012
Showing with 12 additions and 12 deletions.
  1. +7 −7 Source/Fx/Fx.CSS3.js
  2. +2 −2 Source/Fx/Fx.Elements.CSS3.js
  3. +1 −1 Source/Fx/Fx.Morph.CSS3.js
  4. +1 −1 Source/Fx/Fx.Tween.CSS3.js
  5. +1 −1 Tests/Specs/mootools-core
View
@@ -85,12 +85,12 @@ provides: [Fx.CSS3Funcs]
'quint:in:out' : '0.9,0,0.1,1'
};
- var animatable = ['background-color', 'border-bottom-width', 'border-left-width', 'border-right-width',
+ /*var animatable = ['background-color', 'border-bottom-width', 'border-left-width', 'border-right-width',
'border-spacing', 'border-top-width', 'border-width', 'bottom', 'color', 'font-size', 'font-weight',
'height', 'left', 'letter-spacing', 'line-height', 'margin-bottom', 'margin-left', 'margin-right',
'margin-top', 'max-height', 'max-width', 'min-height', 'min-width', 'opacity', 'outline-color', 'outline-offset',
'outline-width', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'right', 'text-indent',
- 'top', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index'];
+ 'top', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index'];*/
/*
This is a list of properties listed by w3c but that are currently largely unsupported
@@ -102,6 +102,10 @@ provides: [Fx.CSS3Funcs]
*/
Fx.CSS3Funcs = {
+ css3Features: css3Features,
+ transitionTimings: transitionTimings,
+ //Fx.CSS3Funcs.animatable: animatable,
+
initialize: function(element, options){
if(css3Features) {
options = options || {};
@@ -156,7 +160,7 @@ provides: [Fx.CSS3Funcs]
this.element.setStyle(Fx.CSS3Funcs.css3Features.transitionProperty, 'none');
this.set(this.compute(from, to, 0));
- trans.delay(0.1);
+ trans.delay(1);
this.fireEvent('start', this.subject);
}
else {
@@ -188,10 +192,6 @@ provides: [Fx.CSS3Funcs]
}
};
- Fx.CSS3Funcs.css3Features = css3Features;
- Fx.CSS3Funcs.transitionTimings = transitionTimings;
- Fx.CSS3Funcs.animatable = animatable;
-
Fx.CSS3Stop = {
cancel: function(){
if (this.css3Supported){
@@ -44,12 +44,12 @@ provides: [Fx.Elements.CSS3]
},
checkCSS3: function(obj){
- return (Fx.CSS3Funcs.css3Features && Object.every(obj, function(properties, key) {
+ return (Fx.CSS3Funcs.css3Features/* && Object.every(obj, function(properties, key) {
if(properties && this.elements[key]) {
return Fx.CSS3Funcs.animatable.containsArray(Object.keys(properties));
}
return true;
- }, this));
+ }, this)*/);
},
count: 0,
@@ -22,7 +22,7 @@ provides: [Fx.Morph.CSS3]
Extends: morphCSS2,
checkCSS3: function(properties){
- return (Fx.CSS3Funcs.css3Features && Fx.CSS3Funcs.animatable.containsArray(Object.keys(properties)));
+ return (Fx.CSS3Funcs.css3Features/* && Fx.CSS3Funcs.animatable.containsArray(Object.keys(properties))*/);
},
start: function(properties){
@@ -22,7 +22,7 @@ provides: [Fx.Tween.CSS3]
Extends: tweenCSS2,
checkCSS3: function(property){
- return (Fx.CSS3Funcs.css3Features && Fx.CSS3Funcs.animatable.contains(property));
+ return (Fx.CSS3Funcs.css3Features/* && Fx.CSS3Funcs.animatable.contains(property)*/);
},
start: function(property, from, to){
Submodule mootools-core updated 102 files

0 comments on commit 9d97f5e

Please sign in to comment.