Update CSS tests to revision d674587d6ae7d2e231d632785559f2613d554eb0

This commit is contained in:
Ms2ger
2015-08-21 17:46:44 +02:00
parent 7c45ff8e05
commit f235d49372
6623 changed files with 267392 additions and 10061 deletions

View File

@@ -62,22 +62,6 @@ root.reflow = function() {
document.body.offsetWidth;
};
// add all known TransitionEnd events to element
root.addTransitionEvent = function(element, handler) {
return addEvent(element, 'TransitionEnd webkitTransitionEnd transitionend oTransitionEnd otransitionend MSTransitionEnd', handler);
};
// add space-separated list of events to element
root.addEvent = function(element, events, handler) {
var _events = {};
var tokens = events.split(" ");
for (var i = 0, token; token = tokens[i]; i++) {
element.addEventListener(token, handler, false);
_events[token] = handler;
}
return _events;
};
// merge objects
root.extend = function(target /*, ..rest */) {
Array.prototype.slice.call(arguments, 1).forEach(function(obj) {
@@ -109,14 +93,4 @@ root.domFixture = function(selector) {
throw new Error('domFixture must be initialized first!');
}
};
// return requestAnimationFrame handler, if available
root.getRequestAnimationFrame = function() {
return window.requestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.webkitRequestAnimationFrame
|| window.msRequestAnimationFrame
|| window.oRequestAnimationFrame;
};
})(window);
})(window);