Skip to content

Commit

Permalink
Export the definitions of [CEReactions] and [HTMLConstructor]
Browse files Browse the repository at this point in the history
Per speced/bikeshed#677, this will allow
specs created with Bikeshed to automatically link to these (which is
primarily important for [CEReactions]).
  • Loading branch information
domenic committed Jun 20, 2016
1 parent 518d16f commit 6e040bf
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions source
Expand Up @@ -9662,7 +9662,8 @@ interface <dfn>HTMLUnknownElement</dfn> : <span>HTMLElement</span> { };</pre>
<h4 id="html-element-constructors">HTML element constructors</h4>

<p>To support the <a href="#custom-elements">custom elements</a> feature, all HTML elements have
special constructor behavior. This is indicated via the <dfn
special constructor behavior. This is indicated via the <dfn data-export=""
data-dfn-type="extended-attribute" data-lt="HTMLConstructor"
data-x="HTMLConstructor"><code>[HTMLConstructor]</code></dfn> IDL <span>extended attribute</span>.
It indicates that the interface object for the given interface will have a specific behavior when
called, as defined in detail below.</p>
Expand Down Expand Up @@ -66925,11 +66926,11 @@ customElements.define("x-foo", class extends HTMLElement {
<hr>

<p>To ensure <span data-x="concept-custom-element-reaction">custom element reactions</span> are
triggered appropriately, we introduce the <dfn
data-x="CEReactions"><code>[CEReactions]</code></dfn> IDL <span>extended attribute</span>. It
indicates that the relevant algorithm is to be supplemented with additional steps in order to
appropriately track and invoke <span data-x="concept-custom-element-reaction">custom element
reactions</span>.</p>
triggered appropriately, we introduce the <dfn data-export="" data-dfn-type="extended-attribute"
data-lt="CEReactions" data-x="CEReactions"><code>[CEReactions]</code></dfn> IDL <span>extended
attribute</span>. It indicates that the relevant algorithm is to be supplemented with additional
steps in order to appropriately track and invoke <span
data-x="concept-custom-element-reaction">custom element reactions</span>.</p>

<p>The <code data-x="CEReactions">[CEReactions]</code> extended attribute must take no
arguments, and must not appear on anything other than an operation, attribute, setter, or deleter.
Expand Down Expand Up @@ -92040,14 +92041,14 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
<code>DOMException</code> and abort these steps.</p></li>

<li><p>If <var>image</var>'s media data has no <span>intrinsic dimensions</span> (e.g. it's a
vector graphic with no specified content size), and both or either of the <dfn><code
vector graphic with no specified content size), and both or either of the <dfn><code
data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</code></dfn> and <dfn><code
data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</code></dfn> options are not specified,
then return a promise rejected with an <span>"<code>InvalidStateError</code>"</span>
then return a promise rejected with an <span>"<code>InvalidStateError</code>"</span>
<code>DOMException</code> and abort these steps.</p></li>

<li><p>If <var>image</var>'s media data has no <span>intrinsic dimensions</span> (e.g. it's a vector
graphics with no specified content size), it should be rendered to a bitmap of the size
graphics with no specified content size), it should be rendered to a bitmap of the size
specified by the <span data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth</span> and the
<span data-x="dom-ImageBitmapOptions-resizeHeight">resizeHeight</span> options.</p></li>

Expand Down

0 comments on commit 6e040bf

Please sign in to comment.