Refactoring Proposal: Validate testenv against w3c and use css for style
Motivation
valid html works in more browsers and css makes it look nice
Description
update DEVELOP testenv using the .diff patch attached to this topic. this will cause testenv to be valid xhtml and includes css style for an improved look which also matches the css style used in the recently improved index.html.
--
TravisBarker - 29 Apr 2005
Impact and Available Solutions
Note: Patch is attached as
https://twiki.org/p/pub/Codev/ValidateTestenvAndUseCss/testenv.diff. The patch is against the DEVELOP branch of /bin/testenv 29 APR 05 .
Examples
Compare
new testenv
with
old testenv
.
Implementation
just merge the diff.
Committed r4165. Needs to be revalidated.
Thanks Travis!
--
CrawfordCurrie - 29 Apr 2005
Discussion
validation checks out
OK r4166
--
TravisBarker - 29 Apr 2005
Small (but hard?) idea: create alternating rows, like table plugin does. Plus TOC at the top?
--
ArthurClemens - 29 Apr 2005
good thinking, but I have no idea how to do TOC on pages outside of twiki topics, would %TOC% resolve in bin? I will play with the idea.
--
TravisBarker - 29 Apr 2005
now testenv is configue it's got over 250 errors:
http://validator.w3.org/check?uri=http://ntwiki.ethermage.net/~develop/cgi-bin/configure
--
SamHasler - 05 Jul 2005
A good guide to read side-by-side with that report is
http://www.w3schools.com/tags/tag_button.asp
I suspect that most of the problems are not in
configure per se but in the
CGI library that is being used.
--
AntonAylward - 05 Jul 2005
Correct; I validated it this way:
$ ./configure > blah.html
$ <send blah.html to the validation service>
and it has
no errors. I did notice that if you do a 'save document' from a browser, then it saves non-XHTML content. TBH I can't be bothered mucking around with it; as Anton says,
configure uses the world standard perl
CGI library to generate its
HTML. If that isn't compliant, then god help the web.
--
CrawfordCurrie - 06 Jul 2005
However, there could be a gap between:
<input type='button' ... >
and
<button .... >
--
AntonAylward - 06 Jul 2005
See
DevelopDiscussions