Reduce test output size

This commit is contained in:
Niklas von Hertzen 2017-08-30 22:20:42 +08:00
parent 23b6f29ecf
commit badbf52c1c
6 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<script type="text/javascript"> <script type="text/javascript">
function setUp() { function setUp() {
var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"]; var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"];
for (var i = 1;i<=100;i++){ for (var i = 1;i<=15;i++){
$('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[1])); $('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[1]));
} }
} }

View File

@ -8,7 +8,7 @@
<script type="text/javascript"> <script type="text/javascript">
function setUp() { function setUp() {
var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"]; var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"];
for (var i = 1;i<=100;i++){ for (var i = 1;i<=15;i++){
$('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[0])); $('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[0]));
} }
} }

View File

@ -8,7 +8,7 @@
<script type="text/javascript"> <script type="text/javascript">
function setUp() { function setUp() {
var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"]; var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"];
for (var i = 1;i<=100;i++){ for (var i = 1;i<=15;i++){
$('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[4])); $('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[4]));
} }
} }

View File

@ -8,7 +8,7 @@
<script type="text/javascript"> <script type="text/javascript">
function setUp() { function setUp() {
var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"]; var supportedTypes = ["decimal","decimal-leading-zero","upper-roman","lower-roman","lower-alpha","upper-alpha"];
for (var i = 1;i<=100;i++){ for (var i = 1;i<=15;i++){
$('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[2])); $('#dynamic').append($('<li />').text(i).css('list-style-type',supportedTypes[2]));
} }
} }

View File

@ -9,7 +9,7 @@
$('body').empty(); $('body').empty();
$.each(['arial','verdana','tahoma','courier new'],function(i,e){ $.each(['arial','verdana','tahoma','courier new'],function(i,e){
var div = $('<div />').css('font-family',e).appendTo('body'); var div = $('<div />').css('font-family',e).appendTo('body');
for(var i=0;i<=10;i++){ for(var i=0;i<=5;i++){
$('<div />').text('Testing texts').css('margin-top',1).css('border','1px solid black').css('font-size',(16+i*6)).appendTo(div); $('<div />').text('Testing texts').css('margin-top',1).css('border','1px solid black').css('font-size',(16+i*6)).appendTo(div);
} }
}); });

View File

@ -9,7 +9,7 @@
$('body').empty(); $('body').empty();
$.each(['arial','verdana','tahoma','courier new'],function(i,e){ $.each(['arial','verdana','tahoma','courier new'],function(i,e){
var div = $('<div />').css('font-family',e).appendTo('body'); var div = $('<div />').css('font-family',e).appendTo('body');
for(var i=0;i<=10;i++){ for(var i=0;i<=5;i++){
$('<div />').text('Testing texts').css('margin-top',1).css('border','1px solid black').css('font-size',(16+i*6)).appendTo(div); $('<div />').text('Testing texts').css('margin-top',1).css('border','1px solid black').css('font-size',(16+i*6)).appendTo(div);
} }