Skip to content

Commit da18d36

Browse files
authored
Merge pull request #238 from prushforth/nopan-extent-attributes
Update `extent` and `controlslist` specs
2 parents 675a174 + 6bfefcc commit da18d36

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spec/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ <h3>Changes</h3>
365365
<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>
366366
<li><time>2023-02-24</time>: Remove <code>datalist</code> element and associated input <code>shard</code> and <code>list</code> attributes.
367367
<li><time>2023-03-13</time>: Add <code>layer.zoomTo()</code> method.
368+
<li><time>2023-03-13</time>: Remove <code>nopan</code> from <code>controlslist</code> attribute. Add <code>label</code>, <label>opacity</label>, and <code>checked</code> attributes to <code>extent</code> element
368369
</ol>
369370
</details>
370371
</section>
@@ -664,14 +665,12 @@ <h4>The <code>&lt;<dfn id="the-map-element">map</dfn>&gt;</code> element</h4>
664665
The allowed values are
665666
<dfn id="attr-map-controlslist-nofullscreen"><code>nofullscreen</code></dfn>,
666667
<dfn id="attr-map-controlslist-nolayer"><code>nolayer</code></dfn>,
667-
<dfn id="attr-map-controlslist-nopan"><code>nopan</code></dfn>,
668668
<dfn id="attr-map-controlslist-noreload"><code>noreload</code></dfn>
669669
and <dfn id="attr-map-controlslist-nozoom"><code>nozoom</code></dfn>.
670670
</p>
671671

672672
<p>The <a href="#attr-map-controlslist-nofullscreen"><code>nofullscreen</code></a> keyword hints that the fullscreen mode control should be hidden when using the user agent's own set of controls for the media element.</p>
673673
<p>The <a href="#attr-map-controlslist-nolayer"><code>nolayer</code></a> keyword hints that the layer control should be hidden when using the user agent's own set of controls for the media element.</p>
674-
<p>The <a href="#attr-map-controlslist-nopan"><code>nopan</code></a> keyword hints that the pan controls should be hidden when using the user agent's own set of controls for the media element.</p>
675674
<p>The <a href="#attr-map-controlslist-noreload"><code>noreload</code></a> keyword hints that the reload control should be hidden when using the user agent's own set of controls for the media element.</p>
676675
<p>The <a href="#attr-map-controlslist-nozoom"><code>nozoom</code></a> keyword hints that the zoom controls should be hidden when using the user agent's own set of controls for the media element.</p>
677676

@@ -1988,15 +1987,18 @@ <h5>The <code>&lt;<dfn id="the-extent-element">extent</dfn>&gt;</code> element</
19881987
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
19891988
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#metadata-content-2">Metadata content</a>.</dd>
19901989
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
1991-
<dd>Required to be a child of the <a href="#the-body-element"><code>body</code></a> element.</dd>
1990+
<dd>A child of the <a href="#the-body-element"><code>body</code></a> element when loaded over the network, or a child of the <a href="#the-layer-element"><code>layer</code></a> element when loaded inline.</dd>
19921991
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
19931992
<dd>
19941993
A set of multiple <a href="#the-input-element"><code>input</code></a> and one or more <a href="#the-link-element"><code>link</code></a> elements with their <code>rel</code> attribute in either the "<a href="#link-rel-tile"><code>tile</code></a>", "<a href="#link-rel-image"><code>image</code></a>" or "<a href="#link-rel-features"><code>features</code></a>" state, and zero or one
19951994
<a href="#the-link-element"><code>link</code></a> element with its <code>rel</code> attribute in the "<a href="#link-rel-query"><code>query</code></a>" state.
19961995
</dd>
19971996

19981997
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
1999-
<dd><code>units</code> — The name of the coordinate reference system whose measurement units are to be used by values submitted by child <a href="#the-input-element"><code>input</code></a> elements.</dd>
1998+
<dd><code>units</code> — The name of the coordinate reference system whose measurement units are to be used by values supplied by child <a href="#the-input-element"><code>input</code></a> elements.</dd>
1999+
<dd><code>label</code> — A text label to be applied to the user interface for the <a href="#the-extent-element"><code>extent</code></a> in the layer control. If no label is supplied, the <a href="#the-extent-element"><code>extent</code></a> will not expose a user interface in the layer control, but will still be displayed on the map.</dd>
2000+
<dd><code>opacity</code> — An initial opacity value, that will be applied to the content retrieved by the <a href="#the-extent-element"><code>extent</code></a>, and which is reflected to the exposed user interface for opacity. Opacity values have a decimal range from 0 (transparent) to 1.0 (opaque).</dd>
2001+
<dd><code>checked</code> — A boolean attribute that sets the initial state of the exposed user interface in the layer control. If checked, the <a href="#the-extent-element"><code>extent</code></a> content is displayed on the map.</dd>
20002002
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
20012003
<dd>
20022004
<details class="a11y-details">

0 commit comments

Comments
 (0)