blob: 8fa102abbe7dd5af5d142282ba4765353037aea9 [file] [log] [blame]
JJ Allaireefa6ad42016-01-30 13:12:05 -05001<!doctype html>
2<html lang="en">
3
4 <head>
5 <meta charset="utf-8">
6
7 <title>reveal.js - Test PDF exports</title>
8
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02009 <link rel="stylesheet" href="../dist/reveal.css">
10 <link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
11 <script src="../node_modules/qunit/qunit/qunit.js"></script>
JJ Allaireefa6ad42016-01-30 13:12:05 -050012 </head>
13
14 <body style="overflow: auto;">
15
16 <div id="qunit"></div>
17 <div id="qunit-fixture"></div>
18
19 <div class="reveal" style="display: none;">
20
21 <div class="slides">
22
23 <section>
24 <h1>1</h1>
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020025 <img data-src="">
JJ Allaireefa6ad42016-01-30 13:12:05 -050026 </section>
27
28 <section>
29 <section>
30 <h1>2.1</h1>
31 </section>
32 <section>
33 <h1>2.2</h1>
34 </section>
35 <section>
36 <h1>2.3</h1>
37 </section>
38 </section>
39
40 <section id="fragment-slides">
41 <section>
42 <h1>3.1</h1>
43 <ul>
44 <li class="fragment">4.1</li>
45 <li class="fragment">4.2</li>
46 <li class="fragment">4.3</li>
47 </ul>
48 </section>
49
50 <section>
51 <h1>3.2</h1>
52 <ul>
53 <li class="fragment" data-fragment-index="0">4.1</li>
54 <li class="fragment" data-fragment-index="0">4.2</li>
55 </ul>
56 </section>
57
58 <section>
59 <h1>3.3</h1>
60 <ul>
61 <li class="fragment" data-fragment-index="1">3.3.1</li>
62 <li class="fragment" data-fragment-index="4">3.3.2</li>
63 <li class="fragment" data-fragment-index="4">3.3.3</li>
64 </ul>
65 </section>
66 </section>
67
68 <section>
69 <h1>4</h1>
70 </section>
71
72 </div>
73
74 </div>
75
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020076 <script src="../dist/reveal.js"></script>
77 <script>
Marc Kupietz09b75752023-10-07 09:32:19 +020078 QUnit.config.testTimeout = 30000;
79 QUnit.config.autostart = false;
80
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020081 Reveal.initialize({ pdf: true }).then( function() {
JJ Allaireefa6ad42016-01-30 13:12:05 -050082
Marc Kupietz09b75752023-10-07 09:32:19 +020083 QUnit.start();
84
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +020085 // Only one test for now, we're mainly ensuring that there
86 // are no execution errors when running PDF mode
87
88 QUnit.test( 'Reveal.isReady', function( assert ) {
89 assert.strictEqual( Reveal.isReady(), true, 'returns true' );
90 });
91
92 } );
93
94 </script>
JJ Allaireefa6ad42016-01-30 13:12:05 -050095
96 </body>
97</html>