html5 Living Standard — Updated 17 June 2011

Discuss general web development questions. Help others and get help from others.

Moderator: kfury77

html5 Living Standard — Updated 17 June 2011

Postby mapleleaf » Fri Jun 17, 2011 10:31 pm


FYI

here is the latest update on html5 17-06-2011

http://developers.whatwg.org/

http://www.whatwg.org/specs/web-apps/cu ... multipage/

Btw, here is what happens when the closing element(tag) is missing as in <section>...<section based on the 17-06-2011 update on html5 as well as others before.

Image

From the above the 1st error being that </section and not </section> the error condition generates 3 additional errors which is in fact multiplicative as compared to being additive.

IF the 1st error is corrected then the remaining errors will disappear.

Therefore, IMHO this should be looked at as WB2011 does not present this as an error particularly when it reflects html5 as seen in the image below

Image
User avatar
mapleleaf
 
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada

Re: html5 Living Standard — Updated 17 June 2011

Postby davenz » Sun Aug 07, 2011 10:01 am

I agree, this should be considered an error when doctype is HTML5.

Another one similar to this is that line breaks won't validate properly (W3C) when written as </br> and the doctype is HTML4.01X. When this doctype is used perhaps WeBuilder should tag this as an error?

Cheers
davenz
 

Re: html5 Living Standard — Updated 17 June 2011

Postby Gatis » Tue Aug 16, 2011 4:49 pm

Hi,

The "section" has a closing tag in the example discussed above (event if the tag is incomplete according to the validation errors mapleleaf stated).
The green/red highlighting has not been intended to show you all the possible validation errors.
I do agree, that the condition for valid closing tag can be reviewed (currently it looks only for </Tag_Specifier ).
But then we would need some more feedback about necessity of changing this.
Kind regards,
Gatis Avots
Gatis
Blumentals Software Developer
 
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia


Return to Web Developer Talk

Who is online

Users browsing this forum: No registered users and 8 guests