Cerbera wrote:The problem with that is current versions of IE treat unrecognised elements rather badly. ...<snip>... So that technique wouldn't be backwards compatible.
Personally I coudn't care less about IE at the moment. It has slowed down progress for way too long.
But you're right. Let's call this list a
<dfl> (or anything else) then if adding totally new elements is less of a problem than adding new 'sub elements' to existing ones.
Cerbera wrote:In the dialogue example, one <di> is containing many <dt>+<dd> groups (let's call them definition items). Since the <di> element looks like it means "Definition Item" I think it should only contain one definition item or be given a different name.
In a definition list it would be a
definition item, in a dialog a
dialog item I guess. The number of
<dt>'s and
<dd>'s should be free (which is already the case in the current implicit grouping): more terms can have the same definition, but one term can also have more definitions.
In dialogs,
dialog items could be used for dividing a dialog in different parts, for instance because the subject changes, or there is a flashback of an earlier conversation, a telephone call intervenes, the conversation changes to whispering or singing (in a musical), whatever
. Anyway, during dialogs things can change and therefore parts of such a dialog can be grouped.
Then again, this
<di>-tag can be optional I think (as in the XHTML 2 specs), especialy for
<dialog>. I certainly do miss it in the current
<dl> though.
Another positive thing about the
<di> could be that it may allow swapping the order of
<dt>'s and
<dd>'s:
- Code: Select all
<di>
<dd>Capital of the Netherlands.</dd>
<dt>Amsterdam</dt>
</di>
This could be handy.