55
edits
| Line 59: | Line 59: | ||
<blockquote><code>class="fh enable_form_history"</code></blockquote> | <blockquote><code>class="fh enable_form_history"</code></blockquote> | ||
The two variations are necessary because an input might have autocomplete enabled within a form that generally wants autocomplete disabled (thanks to | The two variations are necessary because an input might have autocomplete enabled within a form that generally wants autocomplete disabled (thanks to Richard Moore for pointing that out to me). | ||
When serving the same resource in an HTML representation (e.g. with content negotiation), it would then be possible for an XSL transformation to add the correct <code>autocomplete</code> attribute and leave the class untouched, with something along the lines of: | When serving the same resource in an HTML representation (e.g. with content negotiation), it would then be possible for an XSL transformation to add the correct <code>autocomplete</code> attribute and leave the class untouched, with something along the lines of: | ||
edits