Example #1
0
    def __init__(self, prettify=True):
        unique_attrs = (
                'value',
                'type',
                'size',
                'src',
                'step',
                'required',
                'readonly',
                'placeholder',
                'pattern',
                'name',
                'mulitiple',
                'min',
                'maxlength',
                'max',
                'list',
                'height',
                'width',
                'formtarget',
                'formnovalidate',
                'formmethod',
                'formenctype',
                'formaction',
                'form',
                'disabled',
                'checked',
                'autofocus',
                'alt',
                'align',
                'accept'

                )
        DomObject.__init__(self, 'input', prettify, unique_attrs)
Example #2
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'form', prettify, ('method',
                                                 'action',
                                                 'autocomplete',
                                                 'novalidate',
                                                 'accept-charset',
                                                 'enctype',
                                                 'name',
                                                 'target'))
Example #3
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'blockquote', prettify)
Example #4
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'command', prettify)
Example #5
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'article', prettify)
Example #6
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'output', prettify)
Example #7
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'textarea', prettify)
Example #8
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'datalist', prettify)
Example #9
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'iframe', prettify)
Example #10
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'img',prettify, unique_attrs=('src', 'width', 'height'))
Example #11
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'del')
Example #12
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'strong', prettify)
Example #13
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'a',prettify, unique_attrs=('href', 'target','rel'))
Example #14
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'div', prettify, unique_attrs=('rel',))
Example #15
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'figure', prettify)
Example #16
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'fieldset', prettify)
Example #17
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'legend', prettify)
Example #18
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'source', prettify)
Example #19
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'button', prettify)
Example #20
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'canvas', prettify)
Example #21
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'option', prettify)
Example #22
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'table', prettify,('border',))
Example #23
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'keygen', prettify)
Example #24
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'noscript', prettify)
Example #25
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'progress', prettify)
Example #26
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'colgroup', prettify)
Example #27
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'summary', prettify)
Example #28
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'th', prettify, ('colspan','rowspan','headers', 'scope'))
Example #29
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'h6', prettify)
Example #30
0
 def __init__(self, prettify=True):
     DomObject.__init__(self, 'footer', prettify)