|
136 | 136 | 'input':frozenset(('accept','accesskey','action','alt','autocomplete','autofocus','checked','disabled','enctype','form','inputmode','list','maxlength','method','min','max','name','pattern','step','readonly','replace','required','size','src','tabindex','target','template','value')), |
137 | 137 | 'form':frozenset(('action','method','enctype','accept','name','onsubmit', |
138 | 138 | 'onreset','accept-charset','data','replace')), |
139 | | -'button':frozenset(('name','value','type','disabled','form','autofocus')), |
| 139 | +'button':frozenset(('action','enctype','method','replace','template','name','value','type','disabled','form','autofocus')),# XXX may need matrix of acceptable attributes based on value of type attribute (like input) |
140 | 140 | 'select':frozenset(('name','size','multiple','disabled','data','accesskey', |
141 | 141 | 'form','autofocus')), |
142 | | -'optgroup':frozenset(('disabled','label','form','autofocus')), |
143 | | -'option':frozenset(('selected','disabled','label','value','form','autofocus')), |
144 | | -'textarea':frozenset(('name','rows','cols','disabled','readonly','required', |
145 | | -'form','autofocus','wrap','accept')), |
| 142 | +'optgroup':frozenset(('disabled','label')), |
| 143 | +'option':frozenset(('selected','disabled','label','value')), |
| 144 | +'textarea':frozenset(('maxlength','name','rows','cols','disabled','readonly','required','form','autofocus','wrap','accept')), |
146 | 145 | 'label':frozenset(('for','accesskey','form')), |
147 | 146 | 'fieldset':frozenset(('disabled','form')), |
148 | 147 | 'output':frozenset(('form','name','for','onforminput','onformchange')), |
|