News for hackers. Stuff that matters.
Re:StackOverflow for HTML and CSS by kolya3 on Tuesday August 11, 2009 @07:54PM (#756829)
What would validation prove? These guys created a website so you can talk to experts on web design. They are not claiming to be experts on that topic themselves. Even if validation meant much it would seem unfair to hold the owners of this site responsible.
Re:StackOverflow for HTML and CSS by blasdel on Tuesday August 11, 2009 @09:54PM (#757070)
Validation would prove that they knew what it meant to paste this at the top of their template:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
If they actually served the pages with the correct Content-Type, their pages would not render in any browser.
Re:StackOverflow for HTML and CSS by jonny_noog on Wednesday August 12, 2009 @02:25AM (#757450)
If they actually served the pages with the correct Content-Type, their pages would not render in any browser.

You mean it wouldn't render in IE. In any more reasonable browser, if there were any parsing errors in the XHTML then you would get a big fat error message but otherwise it would render just fine.

But who cares! it's all about HTML 5 now, baby!

Re:StackOverflow for HTML and CSS by blasdel on Thursday August 13, 2009 @02:27PM (#761387)
No, it wouldn't render in any XHTML-supporting browser. You'll get the error message instead of the page.
Re:StackOverflow for HTML and CSS by jonny_noog on Wednesday August 26, 2009 @05:25AM (#786893)
Yes, WebKit apparently renders the page up to the error.

http://realtech.burningbird.net/archive/200905?page=2

I could have been a bit more specific in my earlier comment as I include Firefox in the group of reasonable browsers, even though with it, you get the YSOD. I know a lot of people swear by Opera, but I don't use it, so won't include it in my reasonable browsers list purely for subjective reasons.

Though as I said, what does it matter now that XHTML 2 has been canned.