30 lines
766 B
HTML
30 lines
766 B
HTML
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
<script src="resources/scripted-random.js"></script>
|
|
<script src="resources/viewspec-parser.js"></script>
|
|
</head>
|
|
<body>
|
|
<p id="description"></p>
|
|
<div id="console"></div>
|
|
<script>
|
|
var tests = [];
|
|
|
|
// viewBox with random assortments of valid characters
|
|
for (var i = 0; i < 50; i++) { //>
|
|
var attributeString = "svgView(viewBox(";
|
|
var count = Math.scriptedRandomInt(20);
|
|
for (var j = 0; j < count; j++) { //>
|
|
attributeString += characters[Math.scriptedRandomInt(characters.length)];
|
|
}
|
|
tests.push(attributeString);
|
|
}
|
|
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
|
|
startViewspecTests(tests);
|
|
|
|
</script>
|
|
</html>
|