philwareham / hive-framework

A website development framework built with Sass, with optional support for jQuery UI.
https://hive-framework.philwareham.co.uk
MIT License
19 stars 8 forks source link

search_input form HTML errors #5

Closed hcgtv closed 9 years ago

hcgtv commented 9 years ago

Using Nu Html Checker: https://validator.w3.org/nu/

Gives me this: Error: Attribute autosave not allowed on element input at this point. From line 193, column 13; to line 193, column 103

And this: Error: Attribute results not allowed on element input at this point. From line 193, column 13; to line 193, column 103

This is a test site using the latest Textpattern master branch.

philwareham commented 9 years ago

Hmmm, seems to be some confusion over whether autosave is a standards compliant attribute or not https://developer.mozilla.org/en/docs/Web/HTML/Element/Input

The results attribute seems to be non-standard now (WebKit only).

Gotta love the HTML5 spec. Changes weekly.

philwareham commented 9 years ago

Looks like autosave is not a standards compliant attribute (MDN document is incorrect). Will remove.

philwareham commented 9 years ago

Fixed - thanks Bert!