Skip to content

Commit

Permalink
Editorial: attribute domintro/index tweaks
Browse files Browse the repository at this point in the history
* Adds an annotation to prevent "is" and "dir" from getting
  over-explained, per whatwg/html-build#210.
* Removes the double description of the disabled attribute
  (attr-fe-disabled), once for form elements and once for
  form-associated custom elements. There is only one <dfn>
  so there should be only one attribute index entry.
  • Loading branch information
domenic committed Oct 19, 2019
1 parent 770162d commit 3909818
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -22284,7 +22284,7 @@ wormhole connection.&lt;/mark>&lt;/p></code></pre>
<dd><span>Phrasing content</span>.</dd>
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dd>Also, the <code data-x="attr-dir">dir</code> global attribute has special semantics on this element.</dd>
<dd>Also, the <code data-x="attr-dir">dir</code><!-- no-annotate --> global attribute has special semantics on this element.</dd>
<dt><span data-x="concept-element-dom">DOM interface</span>:</dt>
<dd>Uses <code>HTMLElement</code>.</dd>
</dl>
Expand Down Expand Up @@ -22345,7 +22345,7 @@ wormhole connection.&lt;/mark>&lt;/p></code></pre>
<dd><span>Phrasing content</span>.</dd>
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dd>Also, the <code data-x="attr-dir">dir</code> global attribute has special semantics on this element.</dd>
<dd>Also, the <code data-x="attr-dir">dir</code><!-- no-annotate --> global attribute has special semantics on this element.</dd>
<dt><span data-x="concept-element-dom">DOM interface</span>:</dt>
<dd>Uses <code>HTMLElement</code>.</dd>
</dl>
Expand Down Expand Up @@ -66865,7 +66865,7 @@ document.body.append(parent);
<dt><span data-x="concept-element-content-model">Content model</span>:</dt>
<dd><span>Transparent</span>.</dd>
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span>, except the <code data-x="attr-is">is</code> attribute</dd>
<dd><span>Global attributes</span>, except the <code data-x="attr-is">is</code> attribute<!-- no-annotate --></dd>
<dd><code data-x="attr-fae-form">form</code>, for <span data-x="form-associated custom element">form-associated custom elements</span></dd>
<dd><code data-x="attr-fe-disabled">disabled</code>, for <span data-x="form-associated custom element">form-associated custom elements</span></dd>
<dd><code data-x="attr-face-readonly">readonly</code>, for <span data-x="form-associated custom element">form-associated custom elements</span></dd>
Expand Down Expand Up @@ -121283,15 +121283,10 @@ interface <dfn>External</dfn> {
<code data-x="attr-optgroup-disabled">optgroup</code>;
<code data-x="attr-option-disabled">option</code>;
<code data-x="attr-fe-disabled">select</code>;
<code data-x="attr-fe-disabled">textarea</code>
<code data-x="attr-fe-disabled">textarea</code>;
<span data-x="attr-fe-disabled">form-associated custom elements</span>
<td> Whether the form control is disabled
<td> <span>Boolean attribute</span>
<tr>
<th> <code data-x="">disabled</code>
<td> <span data-x="attr-fe-disabled">form-associated custom elements</span>
<td> Trigger "<code data-x="">formDisabledCallback</code>" reaction, and
disable form submission for the element's data.
<td> <span>Boolean attribute</span>
<tr>
<th> <code data-x="">disabled</code>
<td> <code data-x="attr-fieldset-disabled">fieldset</code>
Expand Down

0 comments on commit 3909818

Please sign in to comment.