Debian Codegraph @

tests/visual/dialog/stacking.html

raw symbols SCIP
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>Dialog Visual Test</title>
6 <link rel="stylesheet" href="../../../themes/base/all.css">
7 <script src="../../../external/requirejs/require.js"></script>
8 <script src="../../../demos/bootstrap.js">
9 var iframeDialog = $( "#dialog-iframe" ).dialog({
10 position: {
11 my: "right-90 center"
12 },
13 height: 400
14 }),
15
16 scrollingDialog = $( "#dialog-scrolling" ).dialog({
17 maxHeight: 200,
18 position: {
19 my: "left+90 center"
20 }
21 }),
22
23 otherDialog = $( "#dialog-other" ).dialog({
24 width: 200,
25 height: 150
26 });
27 </script>
28 </head>
29 <body>
30
31 <p>WHAT: Two dialogs, one embedding an iframe, one having just scrollable content.</p>
32 <p>EXPECTED: When focusing on one or the other dialog, it shouldn't affect how the content is displayed on the other dialog. It shouldn't reload the iframe or reset the scroll.</p>
33
34
35 <div id="dialog-iframe" title="Dialog that embeds an iframe">
36 <iframe src="animated.html" height="400"></iframe>
37 </div>
38
39 <div id="dialog-scrolling" title="Dialog with scroll">
40 <p style="height:600px;background:#eee">a bunch of content</p>
41 </div>
42
43 <div id="dialog-other" title="placeholder">Just another dialog to test stacking</div>
44
45 </body>
46 </html>