Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix information for fullscreenchange event #4603

Merged
merged 2 commits into from
Apr 30, 2021
Merged
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions files/en-us/web/api/fullscreen_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ <h4 id="Event_handlers_on_documents">Event handlers on documents</h4>

<dl>
<dt>{{DOMxRef("Document.onfullscreenchange")}}</dt>
<dd>An event handler for the {{Event("fullscreenchange")}} event that's sent to a {{DOMxRef("Document")}} when that document is placed into full-screen mode, or when that document exits full-screen mode. This handler is called only when the entire document is presented in full-screen mode.</dd>
<dd>An event handler for the {{Event("fullscreenchange")}} event that's bubbled up to the {{DOMxRef("Document")}} when any {{DOMxRef("Element")}} in that document is placed into full-screen mode, or exits full-screen mode.</dd>
<dt>{{DOMxRef("Document.onfullscreenerror")}}</dt>
<dd>An event handler for the {{Event("fullscreenerror")}} event that gets sent to a {{DOMxRef("Document")}} when an error occurs while trying to enable or disable full-screen mode for the entire document.</dd>
<dd>An event handler for the {{Event("fullscreenerror")}} event that gets bubbled up to the {{DOMxRef("Document")}} when an error occurs while trying to enable or disable full-screen mode for any {{DOMxRef("Element")}} in that document.</dd>
</dl>

<h4 id="Event_handlers_on_elements">Event handlers on elements</h4>
Expand All @@ -101,9 +101,9 @@ <h2 id="Events">Events</h2>

<dl>
<dt>{{Event("fullscreenchange")}}</dt>
<dd>Sent to a {{DOMxRef("Document")}} or {{DOMxRef("Element")}} when it transitions into or out of full-screen mode.</dd>
<dd>Sent to a {{DOMxRef("Element")}} when it transitions into or out of full-screen mode.</dd>
<dt>{{Event("fullscreenerror")}}</dt>
<dd>Sent to a <code>Document</code> or <code>Element</code> if an error occurs while attempting to switch it into or out of full-screen mode.</dd>
<dd>Sent to a <code>Element</code> if an error occurs while attempting to switch it into or out of full-screen mode.</dd>
</dl>

<h2 id="Dictionaries">Dictionaries</h2>
Expand Down