#!/usr/bin/python
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
tag_style_title_folder = [
('
', '', 'Plain <div>', 'div'),
('
', '\n', '<div> styled as table cell', 'table-cell'),
('zx', '', '<font> with alternating attributes and a character between each tag', 'font'),
]
for (tag, style, title, folder) in tag_style_title_folder:
for depth in xrange(200, 4010, 10):
f = open("%s/%d.html" % (folder, depth), "w")
f.write("%s %d\n" % (title, depth))
f.write('\n')
f.write(style)
f.write("%s %d
" % (title, depth))
if folder == "font":
depth /= 2
for x in xrange(depth):
f.write("%s\n" % tag)
f.write("PASS")
f.close()