#761: [PATCH] Cleanup Toolbox's html warnings
------------------------------+---------------------------------------------
Reporter: roger.demetrescu | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Toolbox | Version: 0.9a4
Severity: normal | Keywords: tidy
------------------------------+---------------------------------------------
Using the [http://users.skynet.be/mgueury/mozilla/index.html Tidy Html
Validator extension for Firefox], we can see a tons of html warnings...
The following patch tries to solve 99% of theses warnings:
* <link> inserting "type" attribute
* <style> inserting "type" attribute
* <script> inserting "type" attribute
* <link> attribute "text" has invalid value "text/css"
* <img> lacks "alt" attribute
* <form> lacks "action" attribute
* <style> isn't allowed in <body> elements
* </code> before <pre>
* replacing <p> by <br>
* inserting implicit <br>
* missing <tr>
* <script> isn't allowed in <table> elements
There are still some warnings remaining like:
* <table> proprietary attribute "cellpading"
* <table> proprietary attribute "cellpading"
and also these ones (they come from widget's templates):
* <input> proprietary attribute "autocomplete"
* <img> proprietary attribute "src2"
* <img> lacks "alt" attribute
* <div> proprietary attribute "name"
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/761>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---