2012-03-03 18:38:05 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>QUnit Test Suite</title>
|
|
|
|
<link rel="stylesheet" href="lib/qunit.css">
|
|
|
|
<script src="lib/qunit.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- src files -->
|
|
|
|
<script type="text/javascript" src="../../external/jquery-1.6.2.js"></script>
|
|
|
|
|
|
|
|
<!-- 'Core', 'Generate', 'Parse', 'Preload', 'Queue', 'Renderer', 'Util', 'renderers/Canvas' -->
|
|
|
|
<script type="text/javascript" src="../../src/Core.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Generate.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Parse.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Preload.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Queue.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Renderer.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/Util.js"></script>
|
|
|
|
<script type="text/javascript" src="../../src/renderers/Canvas.js"></script>
|
|
|
|
|
|
|
|
<script src="unit/css.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#borders div {
|
|
|
|
border-color: #000;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
#backgroundPosition div {
|
|
|
|
width:50px;
|
|
|
|
height:50px;
|
|
|
|
}
|
2012-03-03 21:18:39 +04:00
|
|
|
|
|
|
|
#paddingPercentage div {
|
|
|
|
width:50px;
|
|
|
|
height:50px;
|
|
|
|
}
|
2012-03-03 18:38:05 +04:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="qunit"></div>
|
2012-03-03 21:18:39 +04:00
|
|
|
<div id="qunit-fixture" style="visibility:none; height:1px; overflow:scroll;">
|
2012-03-03 18:38:05 +04:00
|
|
|
<div id="borders">
|
|
|
|
<div style="border-width: 1px 0;"></div>
|
|
|
|
<div style="border-width: 1em 0;"></div>
|
|
|
|
<div style="border-width: thin medium thick;"></div>
|
|
|
|
<div style="border-width: 5% 6px 12%;"></div> <!-- percentages aren't valid -->
|
|
|
|
<div style="border-width: 5em 5ex 5in 5cm;"></div>
|
|
|
|
<div style="border-width: 500em 500ex 500in 500cm;"></div>
|
|
|
|
<div style="border-width: 5mm 5pt 5pc 5px;"></div>
|
|
|
|
<div style="border-width: auto inherit;"></div>
|
|
|
|
<div style="border-width: 500mm 500pt 500pc 500px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="padding">
|
|
|
|
<div style="padding: 1px 0;"></div>
|
|
|
|
<div style="padding: 1em 0;"></div>
|
|
|
|
<div style="padding: thin medium thick;"></div>
|
|
|
|
<div style="padding: 5em 5ex 5in 5cm;"></div>
|
|
|
|
<div style="padding: 500em 500ex 500in 500cm;"></div>
|
|
|
|
<div style="padding: 5mm 5pt 5pc 5px;"></div>
|
|
|
|
<div style="padding: 500mm 500pt 500pc 500px;"></div>
|
2012-03-03 21:18:39 +04:00
|
|
|
<div style="padding: 1px 5%;"></div>
|
|
|
|
<div style="padding: 15% 0 3%;"></div>
|
2012-03-03 18:38:05 +04:00
|
|
|
</div>
|
|
|
|
|
2012-03-03 21:18:39 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-03 18:38:05 +04:00
|
|
|
<div id="backgroundPosition">
|
|
|
|
<div style="background-position: 1px 0;"></div>
|
|
|
|
<div style="background-position: 1em 0;"></div>
|
|
|
|
<div style="background-position: thin medium;"></div>
|
|
|
|
|
|
|
|
<div style="background-position: 5em 5ex;"></div>
|
|
|
|
<div style="background-position: 5in 5cm;"></div>
|
|
|
|
<div style="background-position: 500in 500cm;"></div>
|
|
|
|
<div style="background-position: 500em 500ex;"></div>
|
|
|
|
<div style="background-position: 5pc 5px;"></div>
|
|
|
|
<div style="background-position: 500pc 500px;"></div>
|
|
|
|
<div style="background-position: 5mm 5pt;"></div>
|
|
|
|
<div style="background-position: 500mm 500pt;"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="backgroundPositionPercentage">
|
|
|
|
<div style="background-position: 5% 6px;"></div>
|
|
|
|
<div style="background-position: center center;"></div>
|
|
|
|
<div style="background-position: left bottom;"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- <iframe src="../borders.html" id="borders"></iframe> -->
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|