Update contexts in which some MapML elements can be used
For example:
<extent>:
Required to be the first child of the
<body>element.
<feature>, <tile>:
Child of the
<body>element.
<meta>:
In the
<head>element.
<link>:
If the element represents a hyperlink (has a
hrefattribute): as a child of theheadorbodyelement.
The above should only be true if the root document is MapML. I believe all these elements can be children of the <layer> element as well.
@Malvoz How should this be specified, in your view? I guess a first step might be to integrate the <map> and <layer> spec into this spec, and then decide. WDYT?
The contexts will have to be conditional. An example of that can be seen in https://html.spec.whatwg.org/multipage/image-maps.html#the-area-element:
Contexts in which this element can be used: Where phrasing content is expected, but only if there is a
mapelement ancestor.