W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] [web-apps] Some comments

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 04 Aug 2004 15:43:29 +0200
Message-ID: <4110E801.3000107@annevankesteren.nl>
Some comments on the 4th of August draft:


2.1. Tutorial

The only problem I have with this is that mixing inline, A, and block 
level, MENU, elements looks a bit wrong. I don't really have suggestions 
yet on how to change this, but I think it is worth looking into. Using the a element to define a command

# An a element with an appropriate href attribute that points to a menu
# element in the same file can be used to open a menu.

'open a menu' should point to '#menu-links', not '#menu-link'. Using the a element with the command attribute

It should be more clear that ':link' and ':visited' are from CSS. Using the command element to define a command

The attribute TYPE should be renamed. TYPE should only be used for media 
types (MIME types), like |type="text/css"|.

2.3.1. The menu element

Why not use NL from XHTML 2.0? Because MENU existed in some older 
version of HTML and NL doesn't work as expected (the same)? Displaying menu bars inline

# xh|menubar > xh|a[href], xh|menubar > xh|li > xh|a[href] { ... }

Why not use ':link' and ':visited'. It is longer, but probably more 
appropriate. (In Mozilla and maybe other browsers things like 
':-moz-any-link' can be used.)

(I might have missed a few things and probably more things need to be 
addressed, but this was what I spotted after a quick review.)

  Anne van Kesteren
Received on Wednesday, 4 August 2004 06:43:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC