Tags:
create new tag
view all tags

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


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff testenv.diff r1 manage 15.8 K 2005-04-29 - 06:46 TravisBarker  
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2005-07-08 - WillNorris
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.