Skip to content

Commit

Permalink
Add 'autofocus' core attribute
Browse files Browse the repository at this point in the history
This fixes #726
  • Loading branch information
tkent-google authored and AmeliaBR committed Aug 31, 2019
1 parent c85c6b1 commit 793f517
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions master/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ <h3 id="structure">Document Structure chapter</h3>
<a href="https://github.com/w3c/svgwg/issues/517">Issue discussion</a>
<a href="https://github.com/w3c/svgwg/pull/528">Edits</a>
</li>
<li>Added the <a>'autofocus'</a> attribute in no namespace.</li>
</ul>
</div>

Expand Down
1 change: 1 addition & 0 deletions master/definitions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@
href='struct.html#TermCoreAttribute'>
<attribute name='id' href='struct.html#IDAttribute'/>
<attribute name='tabindex' href='struct.html#SVGElementTabindexAttribute'/>
<attribute name='autofocus' href='struct.html#SVGElementAutofocusAttribute'/>
<attribute name='lang' href='struct.html#LangAttribute'/>
<attribute name='xml:space' href='struct.html#XMLSpaceAttribute'/>
<attribute name='class' href='styling.html#ClassAttribute' animatable='yes'/>
Expand Down
27 changes: 27 additions & 0 deletions master/struct.html
Original file line number Diff line number Diff line change
Expand Up @@ -2105,6 +2105,33 @@ <h3 id="tabindexattribute">The <span class='attr-name'>'tabindex'</span> attribu
</dd>
</dl>

<h3 id="autofocusattribute">The <span class='attr-name'>'autofocus'</span> attribute</h3>

<dl class='attrdef-list'>
<dt>
<table class="attrdef def">
<tr>
<th>Name</th>
<th>Value</th>
<th>Initial value</th>
<th>Animatable</th>
</tr>
<tr>
<td><dfn id="SVGElementAutofocusAttribute" data-dfn-for="core-attributes" data-dfn-type="element-attr">autofocus</dfn></td>
<td><a href="https://html.spec.whatwg.org/C/#boolean-attribute">boolean attribute</a> <span class="syntax">[HTML]</span></td>
<td>(none)</td>
<td>no</td>
</tr>
</table>
</dt>
<dd>
<p>This content attribute allows authors to ask a focusable element to be
focused after it's connected to a document. See
<a href="https://html.spec.whatwg.org/C/#attr-fe-autofocus">autofocus</a> in
the HTML specification.</p>
</dd>
</dl>

<div class='ready-for-wider-review'>
<h3 id="DataAttributes">The <span class='attr-name'>'data-*'</span> attributes</h3>

Expand Down

0 comments on commit 793f517

Please sign in to comment.