Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
unprefixed css should come last
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Jul 29, 2014
1 parent 6c4a5ba commit db1a8ed
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions core-scroll-header-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@
this.fire('core-header-transform',
{y: y, height: this.headerHeight, condensedHeight: this.condensedHeaderHeight});
},

translateY: function(s, y) {
s.webkitTransform = s.transform = 'translate3d(0, ' + y + 'px, 0)';
s.transform = s.webkitTransform = 'translate3d(0, ' + y + 'px, 0)';
},

scroll: function() {
if (!this.header) {
return;
Expand Down
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
var d = e.detail;
var m = d.height - d.condensedHeight;
var scale = Math.max(0.75, (m - d.y) / (m / 0.25) + 0.75);
titleStyle.webkitTransform = titleStyle.transform =
titleStyle.transform = titleStyle.webkitTransform =
'scale(' + scale + ') translateZ(0)';
});

Expand Down
2 changes: 1 addition & 1 deletion demos/demo4.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
var d = e.detail;
var m = d.height - d.condensedHeight;
var scale = Math.max(0.75, (m - d.y) / (m / 0.25) + 0.75);
titleStyle.webkitTransform = titleStyle.transform =
titleStyle.transform = titleStyle.webkitTransform =
'scale(' + scale + ') translateZ(0)';
});

Expand Down
2 changes: 1 addition & 1 deletion demos/demo5.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
var d = e.detail;
var m = d.height - d.condensedHeight;
var scale = Math.max(0.75, (m - d.y) / (m / 0.25) + 0.75);
titleStyle.webkitTransform = titleStyle.transform =
titleStyle.transform = titleStyle.webkitTransform =
'scale(' + scale + ') translateZ(0)';
});

Expand Down
2 changes: 1 addition & 1 deletion demos/demo6.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
var d = e.detail;
var m = d.height - d.condensedHeight;
var scale = Math.max(0.75, (m - d.y) / (m / 0.25) + 0.75);
titleStyle.webkitTransform = titleStyle.transform =
titleStyle.transform = titleStyle.webkitTransform =
'scale(' + scale + ') translateZ(0)';
});

Expand Down
2 changes: 1 addition & 1 deletion demos/demo7.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>Resize window to toggle between fixed header and scrolled header</h3>
var d = e.detail;
var m = d.height - d.condensedHeight;
var scale = Math.max(0.75, (m - d.y) / (m / 0.25) + 0.75);
titleStyle.webkitTransform = titleStyle.transform =
titleStyle.transform = titleStyle.webkitTransform =
'scale(' + scale + ') translateZ(0)';
});

Expand Down

0 comments on commit db1a8ed

Please sign in to comment.