[Bug 17153] Nu validator wrongly stamps <command> in the <head> as invalid

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17153

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xn--mlform-iua@xn--mlform-i
                   |                            |ua.no

--- Comment #2 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2012-05-29 17:16:14 UTC ---
(In reply to comment #1)

If you think the HTML5 spec needs to be updated, then isn't the propert thing
to file a bug? 

** 
   Note that I did not say that you should remove the validator's current
warning against using <command>. I just said that the validator should reflect
the fact <command> is permitted in <head>. **

I would further more argue that, after 7 years - 5 of them within W3C -
browsers are picking up. OK, I don't know how deep their support of <command>
is - but:

*  they can't see it as a unknown element, when they (as I said above) keep it
in the <head> if you place it there. Which is a form of support. Because, if
they had seen it as an unknown element, then they would have spit it out of
<head> and placed in the body element.

* Note in this regard that IE8 too would keep it the head, becaue IE
historically allowed new elements in the <head>. But note that IE9 did not keep
it in the <head> - probably because it did not get its HTML5 implementation
correct. Whereas IE10 *does* keep <command> in the head - but spits any other
unknown element out of <head>.

* Thus, what the WHATwg spec says about implementation of <command>, is not
entirely correct:
http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#the-command-element

* Meanwhile, the last changes to the command element was, according to
HTML4-differences, the 25 May 2011 working draft, so it I don't know how old
one actually claim <command> to be:
http://www.w3.org/TR/html5-diff/#changes-2011-05-25

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 29 May 2012 17:16:22 UTC