/usr/share/doc/libjs-scriptaculous/test/functional/effect_puff_test.html is in libjs-scriptaculous 1.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>script.aculo.us Effects functional test file</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="../../lib/prototype.js" type="text/javascript"></script>
<script src="../../src/scriptaculous.js" type="text/javascript"></script>
<script src="../../src/unittest.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
Position.includeScrollOffsets = true;
</script>
<body>
<h1>script.aculo.us Effects functional test file</h1>
<h2>Effect.Puff</h2>
<div id="p1" style="width:100px;height:100px;background-color:#dde;" onclick="Effect.Puff(this)">
click to test puff, no position set
</div>
<div id="p2" style="float:right;width:100px;height:100px;background-color:#dde;" onclick="Effect.Puff(this)">
click to test puff, floats
</div>
<div id="p3" style="position:absolute;left:200px;top:100px;width:100px;height:100px;background-color:#dde;" onclick="Effect.Puff(this)">
click to test puff, absolute position set
</div>
<h3>Floating inside a container</h3>
<div style="width:300px;height:300px;border:1px solid red">
<div style="float:left;width:100px;height:100px;background-color:#888;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#999;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#aaa;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#bbb;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#ccc;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#ddd;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#eee;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#777;" onclick="Effect.Puff(this)">
click to puff
</div>
<div style="float:left;width:100px;height:100px;background-color:#666;" onclick="Effect.Puff(this)">
click to puff
</div>
</div>
</div>
</body>
</html>
|