Skip to content

Commit

Permalink
Update various element definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Malvoz committed Aug 13, 2021
1 parent ef0e7cb commit e7e9a6d
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ <h3>Changes</h3>
<li><time>2021-03-01</time>: Add <a href="#the-featurecaption-element"><code>featurecaption</code></a> element.</li>
<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>
<li><time>2021-06-15</time>: Remove the <code>line</code> and <code>marker</code> values of the <code>shape</code> attribute.</li>
<li><time>2021-08-13</time>: Update Categories, Content model and Content attributes of various elements.</li>
</ol>
</details>
</section>
Expand Down Expand Up @@ -534,7 +535,7 @@ <h4>The <code>&lt;<dfn id="the-map-element">map</dfn>&gt;</code> element</h4>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#phrasing-content-2">Phrasing content</a>.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#palpable-content-2">Palpable content</a>.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#embedded-content-2">Embedded content</a>.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#interactive-content-2">Interactive content</a>.</dd>
<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>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>Where <a href="https://html.spec.whatwg.org/multipage/dom.html#embedded-content-2">embedded content</a> is expected.</dd>
<dt id="map-content"><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
Expand Down Expand Up @@ -1469,13 +1470,13 @@ <h4 id="the-document-object">The <code>Document</code> object</h4>
<h5>The <code>&lt;<dfn id="the-mapml-element">mapml</dfn>&gt;</code> element</h5>
<dl class="def">
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
<dd>N/A.</dd>
<dd>None.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>The root of a MapML document.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
<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>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
<dd><code>lang</code> — the language of the document, expressed as a BCP 47 language tag. [[BCP47]]</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
<dd>
<details class="a11y-details">
Expand Down Expand Up @@ -1525,12 +1526,13 @@ <h5>The <code>&lt;<dfn id="the-mapml-element">mapml</dfn>&gt;</code> element</h5
<h5>The <code>&lt;<dfn id="the-head-element">head</dfn>&gt;</code> element</h5>
<dl class="def">
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#metadata-content-2">Metadata content</a>.</dd>
<dd>None.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>As the first child element of the <a href="#the-mapml-element"><code>mapml</code></a> element.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
<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>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
<dd>
<details class="a11y-details">
Expand Down Expand Up @@ -1586,8 +1588,9 @@ <h5>The <code>&lt;<dfn id="the-title-element">title</dfn>&gt;</code> element</h5
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>As a child of the <a href="#the-head-element"><code>head</code></a> element.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#text-content">Text</a>.</dd>
<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>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
<dd>
<details class="a11y-details">
Expand Down Expand Up @@ -1942,13 +1945,13 @@ <h2><code>@rel</code> values</h2>
<h5>The <code>&lt;<dfn id="the-body-element">body</dfn>&gt;</code> element</h5>
<dl class="def">
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
<dd>N/A.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/sections.html#sectioning-root">Sectioning root</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>As the second child of the <a href="#the-mapml-element"><code>mapml</code></a> element.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
<dd>Features and metadata.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
<dd>N/A.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
<dd>
<details class="a11y-details">
Expand Down Expand Up @@ -2782,14 +2785,16 @@ <h5>The <code>&lt;<dfn id="the-feature-element">feature</dfn>&gt;</code> element
<dl class="def">
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
<dd>Feature data.</dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#interactive-content-2">Interactive content</a>.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
<dd>Child of the <a href="#the-body-element"><code>body</code></a> element.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
<dd>Optional <a href="#the-featurecaption-element"><code>featurecaption</code></a> element,
optional <a href="#the-geometry-element"><code>geometry</code></a> element,
optional <a href="#the-properties-element"><code>properties</code></a> element.</dd>
optional <a href="#the-properties-element"><code>properties</code></a> element,
optional <a href="#the-image-element"><code>image</code></a> element.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a></dd>
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
<dd><code>zoom</code> — the 'native' zoom level of the feature geometry.</dd>
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
<dd>
Expand Down

0 comments on commit e7e9a6d

Please sign in to comment.