aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-22 16:10:08 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-22 16:10:08 +0200
commit73f96f1d284bca6e01c36c888c2620b376c06598 (patch)
tree3a9170f600f00505d69b61407c228bdfc8dc7dd2 /test
parent3ad0d6adc026c620af1b2eaadabd2ce2c338e2f1 (diff)
downloadfreenode-live-2017-presentation-73f96f1d284bca6e01c36c888c2620b376c06598.tar
freenode-live-2017-presentation-73f96f1d284bca6e01c36c888c2620b376c06598.tar.gz
lazy-load support for audio #793
Diffstat (limited to 'test')
-rw-r--r--test/test.html4
-rw-r--r--test/test.js2
2 files changed, 0 insertions, 6 deletions
diff --git a/test/test.html b/test/test.html
index 31c31dd..edb1623 100644
--- a/test/test.html
+++ b/test/test.html
@@ -22,10 +22,6 @@
<section>
<h1>1</h1>
<img data-src="fake-url.png">
- <video>
- <source data-src="fake-url.mp4" />
- <source data-src="fake-url.webm" />
- </video>
</section>
<section>
diff --git a/test/test.js b/test/test.js
index 367373e..93a3d61 100644
--- a/test/test.js
+++ b/test/test.js
@@ -456,8 +456,6 @@ Reveal.addEventListener( 'ready', function() {
test( 'img with data-src', function() {
strictEqual( document.querySelectorAll( '.reveal section img[src]' ).length, 1, 'Image source has been set' );
-
- strictEqual( document.querySelectorAll( '.reveal section video source[src]' ).length, 2, 'Video sources have been set' );
});