summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transitions/historical.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-transitions/historical.html')
-rw-r--r--testing/web-platform/tests/css/css-transitions/historical.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transitions/historical.html b/testing/web-platform/tests/css/css-transitions/historical.html
new file mode 100644
index 0000000000..e01ed4da9d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transitions/historical.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<title>Historical CSS Transition features must be removed</title>
+<link rel="help" href="http://www.w3.org/TR/css3-transitions-1/#starting">
+
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+function isInterfaceNuked(name) {
+ test(function() {
+ assert_equals(window[name], undefined)
+ }, "Historical CSS features must be removed: " + name)
+}
+var nukedInterfaces = [
+ "WebKitTransitionEvent", // Replaced by unprefixed TransitionEvent
+];
+nukedInterfaces.forEach(isInterfaceNuked);
+</script>