Skip to content

Commit dd002cf

Browse files
authored
Update various element definitions (#207)
* Update `<featurecaption>` element defs * Update various element definitions
1 parent 224c118 commit dd002cf

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

spec/index.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ <h3>Changes</h3>
359359
<li><time>2021-03-01</time>: Add <a href="#the-featurecaption-element"><code>featurecaption</code></a> element.</li>
360360
<li><time>2021-03-15</time>: Add required text for <a href="#dfn-text-mapml"><code>text/mapml</code></a> MIME media type registration with IANA.</li>
361361
<li><time>2021-06-15</time>: Remove the <code>line</code> and <code>marker</code> values of the <code>shape</code> attribute.</li>
362+
<li><time>2021-08-13</time>: Update Categories, Content model and Content attributes of various elements.</li>
362363
<li><time>2021-09-08</time>: Remove <code>HTMLExtentControlsCollection</code> attribute, per <a href="https://github.com/Maps4HTML/MapML/issues/212">#212</a></li>
363364
<li><time>2021-09-08</time>: Remove undefined and unresolved <code>LinkStyle</code> interface reference, per <a href="https://github.com/Maps4HTML/MapML/issues/212">#212</a></li>
364365
<li><time>2021-09-08</time>: Remove <code>legendLinks</code> attribute and interface definition and reference, per <a href="https://github.com/Maps4HTML/MapML/issues/212">#212</a></li>
@@ -537,7 +538,7 @@ <h4>The <code>&lt;<dfn id="the-map-element">map</dfn>&gt;</code> element</h4>
537538
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#phrasing-content-2">Phrasing content</a>.</dd>
538539
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#palpable-content-2">Palpable content</a>.</dd>
539540
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#embedded-content-2">Embedded content</a>.</dd>
540-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#interactive-content-2">Interactive content</a>.</dd>
541+
<dd>If the element has a <code>controls</code> attribute: <a href="https://html.spec.whatwg.org/multipage/dom.html#interactive-content-2">Interactive content</a>.</dd>
541542
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
542543
<dd>Where <a href="https://html.spec.whatwg.org/multipage/dom.html#embedded-content-2">embedded content</a> is expected.</dd>
543544
<dt id="map-content"><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
@@ -1458,13 +1459,13 @@ <h4 id="the-document-object">The <code>Document</code> object</h4>
14581459
<h5>The <code>&lt;<dfn id="the-mapml-element">mapml</dfn>&gt;</code> element</h5>
14591460
<dl class="def">
14601461
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
1461-
<dd>N/A.</dd>
1462+
<dd>None.</dd>
14621463
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
14631464
<dd>The root of a MapML document.</dd>
14641465
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
14651466
<dd>One <a href="#the-head-element"><code>head</code></a> element, followed by one <a href="#the-body-element"><code>body</code></a> element.</dd>
14661467
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
1467-
<dd><code>lang</code> — the language of the document, expressed as a BCP 47 language tag. [[BCP47]]</dd>
1468+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
14681469
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
14691470
<dd>
14701471
<details class="a11y-details">
@@ -1514,12 +1515,13 @@ <h5>The <code>&lt;<dfn id="the-mapml-element">mapml</dfn>&gt;</code> element</h5
15141515
<h5>The <code>&lt;<dfn id="the-head-element">head</dfn>&gt;</code> element</h5>
15151516
<dl class="def">
15161517
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
1517-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#metadata-content-2">Metadata content</a>.</dd>
1518+
<dd>None.</dd>
15181519
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
15191520
<dd>As the first child element of the <a href="#the-mapml-element"><code>mapml</code></a> element.</dd>
15201521
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
15211522
<dd>One or more elements of metadata content, of which exactly one is a <code>title</code> element and no more than one is a <code>base</code> element.</dd>
15221523
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
1524+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
15231525
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
15241526
<dd>
15251527
<details class="a11y-details">
@@ -1575,8 +1577,9 @@ <h5>The <code>&lt;<dfn id="the-title-element">title</dfn>&gt;</code> element</h5
15751577
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
15761578
<dd>As a child of the <a href="#the-head-element"><code>head</code></a> element.</dd>
15771579
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
1578-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#text-content">Text</a>.</dd>
1580+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#text-content">Text</a> that is not <a href="https://html.spec.whatwg.org/multipage/dom.html#inter-element-whitespace">inter-element whitespace</a>.</dd>
15791581
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
1582+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
15801583
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
15811584
<dd>
15821585
<details class="a11y-details">
@@ -1930,13 +1933,13 @@ <h2><code>@rel</code> values</h2>
19301933
<h5>The <code>&lt;<dfn id="the-body-element">body</dfn>&gt;</code> element</h5>
19311934
<dl class="def">
19321935
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
1933-
<dd>N/A.</dd>
1936+
<dd><a href="https://html.spec.whatwg.org/multipage/sections.html#sectioning-root">Sectioning root</a>.</dd>
19341937
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
19351938
<dd>As the second child of the <a href="#the-mapml-element"><code>mapml</code></a> element.</dd>
19361939
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
19371940
<dd>Features and metadata.</dd>
19381941
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
1939-
<dd>N/A.</dd>
1942+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
19401943
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
19411944
<dd>
19421945
<details class="a11y-details">
@@ -2769,14 +2772,16 @@ <h5>The <code>&lt;<dfn id="the-feature-element">feature</dfn>&gt;</code> element
27692772
<dl class="def">
27702773
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
27712774
<dd>Feature data.</dd>
2775+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#interactive-content-2">Interactive content</a>.</dd>
27722776
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
27732777
<dd>Child of the <a href="#the-body-element"><code>body</code></a> element.</dd>
27742778
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
27752779
<dd>Optional <a href="#the-featurecaption-element"><code>featurecaption</code></a> element,
27762780
optional <a href="#the-geometry-element"><code>geometry</code></a> element,
2777-
optional <a href="#the-properties-element"><code>properties</code></a> element.</dd>
2781+
optional <a href="#the-properties-element"><code>properties</code></a> element,
2782+
optional <a href="#the-image-element"><code>image</code></a> element.</dd>
27782783
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
2779-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a></dd>
2784+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
27802785
<dd><code>zoom</code> — the 'native' zoom level of the feature geometry.</dd>
27812786
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
27822787
<dd>
@@ -2835,11 +2840,11 @@ <h5>The <code>&lt;<dfn id="the-featurecaption-element">featurecaption</dfn>&gt;<
28352840
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
28362841
<dd>Feature data.</dd>
28372842
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
2838-
<dd>Child of the <a href="#the-feature-element"><code>feature</code></a> element.</dd>
2843+
<dd>As a child of a <a href="#the-feature-element"><code>feature</code></a> element containing no other <a href="#the-featurecaption-element"><code>featurecaption</code></a> elements.</dd>
28392844
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
2840-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#flow-content">Flow content</a>.</dd>
2845+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#text-content">Text</a> that is not <a href="https://html.spec.whatwg.org/multipage/dom.html#inter-element-whitespace">inter-element whitespace</a>.</dd>
28412846
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
2842-
<dd>N/A.</dd>
2847+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
28432848
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
28442849
<dd>
28452850
<details class="a11y-details">

0 commit comments

Comments
 (0)