Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Add focusin and focusout #1142

Merged
merged 6 commits into from
Feb 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sections/changes.include
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

<h3 id="changes-wd2">Changes since the <a href="https://www.w3.org/TR/2017/WD-html53-20171214/">HTML 5.3 First Public Working Draft</a></h3>
<dl>

<dt><a href="https://github.com/w3c/html/pull/1142">Add <code>focusin</code> and <code>focusout</code> events</a></dt>
<dd>Substantive change. Fixed <a href="https://github.com/w3c/html/issues/278">issue 278</a></dd>
<dt><a href="https://github.com/w3c/html/pull/1163">Allow fully internationalised email addresses</a> in the <{input/E-mail}> type, as per [[RFC6531]].</dt>
<dd>Substantive change. Fixed <a href="https://github.com/w3c/html/issues/845">issue 845</a></dd>
<dt><a href="https://github.com/w3c/html/pull/1155">Specify allowable context types for <code>canvas</code> in the HTML spec</a>.
Expand Down
14 changes: 14 additions & 0 deletions sections/editing.include
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,13 @@ Editing:

</li>

<li>

If <var>blur event target</var> is not null, <a href="#event-firing">fire</a>
an event named <code>focusout</code> at the <var>blur event target</var>.

</li>

</ol>

</li>
Expand Down Expand Up @@ -1156,6 +1163,13 @@ Editing:

</li>

<li>

If <var>focus event target</var> is not null, <a href="#event-firing">fire</a>
an event named <code>focusin</code> at the <var>focus event target</var>.

</li>

</ol>

</li>
Expand Down
14 changes: 13 additions & 1 deletion sections/events.include
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h3 class="no-num" id="events-table">Events</h3>
<h3 class="no-num" id="events-table">Events</h3>

<em>This section is non-normative.</em>

Expand Down Expand Up @@ -112,6 +112,18 @@
<td>{{Window}}, elements</td>
<td>Fired at nodes gaining focus</td>
</tr>
<tr> <!-- focusin -->
<td><dfn event for="global"><code>focusin</code></dfn></td>
<td>{{Event}}</td>
<td>{{Window}}, elements</td>
<td>Fired at nodes gaining focus</td>
</tr>
<tr> <!-- focusout -->
<td><dfn event for="global"><code>focusout</code></dfn></td>
<td>{{Event}}</td>
<td>{{Window}}, elements</td>
<td>Fired at nodes losing focus</td>
</tr>
<tr> <!-- hashchange -->
<td><dfn event for="global"><code>hashchange</code></dfn></td>
<td>{{HashChangeEvent}}</td>
Expand Down