Skip to content

Commit

Permalink
Meta: mark seven definitions as exported
Browse files Browse the repository at this point in the history
Helps with #9159.
  • Loading branch information
dontcallmedom authored Apr 17, 2023
1 parent d635f0b commit a05b1ce
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -1525,10 +1525,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<p>This specification refers to both HTML and XML attributes and IDL attributes, often in the same
context. When it is not clear which is being referred to, they are referred to as <dfn
data-x="">content attributes</dfn> for HTML and XML attributes, and <dfn data-x="">IDL
attributes</dfn> for those defined on IDL interfaces. Similarly, the term "properties" is used for
both JavaScript object properties and CSS properties. When these are ambiguous they are qualified
as <dfn data-x="">object properties</dfn> and <dfn data-x="">CSS properties</dfn> respectively.</p>
data-x="" data-lt="content attribute" export>content attributes</dfn> for HTML and XML attributes,
and <dfn data-x="">IDL attributes</dfn> for those defined on IDL interfaces. Similarly, the term
"properties" is used for both JavaScript object properties and CSS properties. When these are
ambiguous they are qualified as <dfn data-x="">object properties</dfn> and <dfn data-x="">CSS properties</dfn> respectively.</p>

<p>Generally, when the specification states that a feature applies to <span>the HTML syntax</span>
or <span>the XML syntax</span>, it also includes the other. When a feature specifically only
Expand Down Expand Up @@ -4737,12 +4737,12 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<h4>Keywords and enumerated attributes</h4>

<p>Some attributes, called <dfn data-x="enumerated attribute">enumerated attributes</dfn>, take
on a finite set of states. The state for such an attribute is derived by combining the
attribute's value, a set of keyword/state mappings given in the specification of each attribute,
and two possible special states that can also be given in the specification of the attribute.
These special states are the <dfn><i>invalid value default</i></dfn> and the <dfn><i>missing
value default</i></dfn>.</p>
<p>Some attributes, called <dfn data-x="enumerated attribute" data-lt="enumerated attribute"
export>enumerated attributes</dfn>, take on a finite set of states. The state for such an
attribute is derived by combining the attribute's value, a set of keyword/state mappings given in
the specification of each attribute, and two possible special states that can also be given in the
specification of the attribute. These special states are the <dfn><i>invalid value
default</i></dfn> and the <dfn><i>missing value default</i></dfn>.</p>

<p class="note">Multiple keywords can map to the same state.</p>

Expand Down Expand Up @@ -7659,10 +7659,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
element</span>'s <span>internal content attribute map</span>.</p></li>
</ul>

<p>A <span>reflected IDL attribute</span> can be defined to <dfn>reflect</dfn> a <span>reflected
content attribute name</span> of a <span>reflected target</span>. In general this means that the
IDL attribute getter returns the current value of the content attribute, and the setter changes
the value of the content attribute to the given value.</p>
<p>A <span>reflected IDL attribute</span> can be defined to <dfn export>reflect</dfn> a
<span>reflected content attribute name</span> of a <span>reflected target</span>. In general this
means that the IDL attribute getter returns the current value of the content attribute, and the
setter changes the value of the content attribute to the given value.</p>

<p>If the <span>reflected target</span> is an element, then the <span>reflected IDL
attribute</span> can additionally declare to <dfn>support <code>ElementInternals</code></dfn>.
Expand Down Expand Up @@ -34676,7 +34676,8 @@ interface <dfn interface>HTMLTrackElement</dfn> : <span>HTMLElement</span> {
<h4>Media elements</h4>

<p><span>HTMLMediaElement</span> objects (<code>audio</code> and <code>video</code>, in this
specification) are simply known as <dfn data-x="media element">media elements</dfn>.</p>
specification) are simply known as <dfn data-x="media element" data-lt="media element"
export>media elements</dfn>.</p>

<pre><code class="idl">enum <dfn enum>CanPlayTypeResult</dfn> { "" /* <span data-x="dom-CanPlayTypeResult-nil">empty string</span> */, "<span data-x="dom-CanPlayTypeResult-maybe">maybe</span>", "<span data-x="dom-CanPlayTypeResult-probably">probably</span>" };
typedef (<span>MediaStream</span> or <span>MediaSource</span> or <span>Blob</span>) <dfn typedef>MediaProvider</dfn>;
Expand Down Expand Up @@ -89051,8 +89052,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
<ul>
<li><p>An <dfn data-x="nav-id">id</dfn>, a <span>new unique internal value</span>.</p></li>

<li><p id="parent-browsing-context">A <dfn data-x="nav-parent">parent</dfn>, a
<span>navigable</span> or null.</p></li>
<li><p id="parent-browsing-context">A <dfn data-x="nav-parent" export for=navigable>parent</dfn>,
a <span>navigable</span> or null.</p></li>

<li>
<p id="current-entry">A <dfn data-x="nav-current-history-entry">current session history
Expand Down Expand Up @@ -123339,8 +123340,8 @@ console.assert(container.firstChild instanceof SuperP);

<hr>

<p>An element is <dfn>being rendered</dfn> if it has any associated CSS layout boxes, SVG layout
boxes, or some equivalent in other styling languages.</p>
<p>An element is <dfn export>being rendered</dfn> if it has any associated CSS layout boxes, SVG
layout boxes, or some equivalent in other styling languages.</p>

<p class="note">Just being off-screen does not mean the element is not <span>being
rendered</span>. The presence of the <code data-x="attr-hidden">hidden</code> attribute normally
Expand Down Expand Up @@ -123383,7 +123384,8 @@ console.assert(container.firstChild instanceof SuperP);
<span>HTML elements</span>.</p>

<p>Some rules are intended for the author-level zero-specificity presentational hints part of the
CSS cascade; these are explicitly called out as <dfn>presentational hints</dfn>.</p>
CSS cascade; these are explicitly called out as <dfn data-lt="presentational hint"
export>presentational hints</dfn>.</p>

<hr>

Expand Down

0 comments on commit a05b1ce

Please sign in to comment.