~bac/juju-gui/trunkcopy

« back to all changes in this revision

Viewing changes to lib/yui/tests/resize/tests/index.html

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
 
<html>
3
 
<head>
4
 
    <title>Resize Tests</title>
5
 
    <style>
6
 
        #parent {
7
 
            height: 500px;
8
 
            width: 500px;
9
 
            border: 1px solid black;
10
 
        }
11
 
 
12
 
        #resize {
13
 
            height: 100px;
14
 
            width: 100px;
15
 
        }
16
 
    </style>
17
 
</head>
18
 
<body class="yui3-skin-sam">
19
 
<div id="log"></div>
20
 
 
21
 
<div id="resize">
22
 
</div>
23
 
 
24
 
<script type="text/javascript" src="../../../build/yui/yui.js"></script>
25
 
<script type="text/javascript">
26
 
 
27
 
var YUI_config = {
28
 
    gconfig: true,
29
 
    gfilter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
30
 
};
31
 
 
32
 
 
33
 
YUI({
34
 
    filter: YUI_config.gfilter,
35
 
    modules: {
36
 
        'resize-tests': {
37
 
            fullpath: './resize-tests.js',
38
 
            requires: ['resize', 'test']
39
 
        }
40
 
    }
41
 
}).use('resize-tests', 'test-console', function(Y) {
42
 
    new Y.Test.Console().render('#log');
43
 
 
44
 
    Y.Test.Runner.run();
45
 
});
46
 
 
47
 
</script>
48
 
</body>
49
 
</html>