[whatwg] WAML 1.0

>> Just a quick comment on Section 2.1.
>> 
>> In the first code sample, the '/' is missing from all the close
>> tags of the 'li' elements.
> 
> Those examples are HTML, not XHTML, and so do not need the XML
> empty-tag notation.

Ian, I believe you are missing the point. Let me quote an example[1]:

# <menu id="file">
#    <li><button type="button" onclick="fnew()">New...</button><li>
#    <li><button type="button" onclick="fopen()">Open...</button><li>

The LI open-tag after the BUTTON closing-tag should really be a LI 
closing-tag as in:

  <menu id="file">
     <li><button type="button" onclick="fnew()">New...</button></li>
     <li><button type="button" onclick="fopen()">Open...</button></li>

Of course, this applies to all of LI 
open-tags-that-should-be-closing-tags in the example.


[1]<http://whatwg.org/specs/web-apps/current-work/#tutorial>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Sunday, 22 August 2004 13:17:31 UTC