Re: HTML 5 conformance: table border obsolete?

2014-02-06 0:00, Guus Schreiber wrote:

> Some time early this year the validator has started to give an error
> message when encountering:
>
>    <table border="1">.
>
> This is explicitly allowed  in HTML5 [1].

It's not very explicit. The part "Content attributes" says just: "Global 
attributes". Later in the prose, the border attribute is mentioned. So 
border="1" is allowed, but by taking a quick look at the HTML5 CR, you 
might easily get a different impression. The HTML 5.1 draft does not 
change this.

> Is this a validator bug? Or am I missing something?

Well, these days, a bug is whatever someone or his brother calls a bug. 
In the good old days, it was a deviation from an approved specification 
in software. Since HTML5 is not an approved specification, software 
purported to process "HTML5" cannot have any bugs in the classical 
sense, no matter what they do.

But it's of course a deviation from HTML5 CR. Interestingly, the problem 
exists in http://validator.w3.org but not on http://validator.nu that it 
is based on. This suggests that the feature might be unintentional.

Yucca

Received on Wednesday, 5 February 2014 22:42:11 UTC