@@ -202,11 +202,12 @@ partial interface mixin DocumentOrShadowRoot {
202
202
<dd>
203
203
Displays <var> element</var> fullscreen and resolves <var> promise</var> when done.
204
204
205
- When supplied, <var> options</var> 's <code> navigationUI</code> member indicates whether showing
206
- navigation UI while in fullscreen is preferred or not. If set to "<code> show</code> ", navigation
207
- simplicity is preferred over screen space, and if set to "<code> hide</code> ", more screen space
208
- is preferred. User agents are always free to honor user preference over the application's. The
209
- default value "<code> auto</code> " indicates no application preference.
205
+ When supplied, <var> options</var> 's {{FullscreenOptions/navigationUI}} member indicates whether
206
+ showing navigation UI while in fullscreen is preferred or not. If set to
207
+ "{{FullscreenNavigationUI/show}} ", navigation simplicity is preferred over screen space, and if
208
+ set to "{{FullscreenNavigationUI/hide}} ", more screen space is preferred. User agents are always
209
+ free to honor user preference over the application's. The default value
210
+ "{{FullscreenNavigationUI/auto}} " indicates no application preference.
210
211
211
212
<dt><code><var> document</var> . {{Document/fullscreenEnabled}} </code>
212
213
<dd><p> Returns true if <var> document</var> has the ability to display <a>elements</a> fullscreen
@@ -234,7 +235,7 @@ if all of the following are true, and false otherwise:
234
235
<!-- cross-process, recursive -->
235
236
</ul>
236
237
237
- <div algorithm>
238
+ <div algorithm="requestFullscreen(options)" >
238
239
<p> The <dfn method for=Element><code>requestFullscreen(<var>options</var>)</code></dfn> method steps
239
240
are:
240
241
273
274
<li>
274
275
<p> If <var> error</var> is false, then resize <var> pendingDoc</var> 's
275
276
<a>top-level browsing context</a> 's <a>active document</a>' s viewport's dimensions, optionally
276
- taking into account <var> options</var> 's <code> navigationUI </code> member :
277
+ taking into account <var> options</var> ["{{FullscreenOptions/navigationUI}}"] :
277
278
<!-- cross-process -->
278
279
279
280
<table>
@@ -285,15 +286,15 @@ are:
285
286
</thead>
286
287
<tbody>
287
288
<tr>
288
- <td> "<code> hide</code> "</td>
289
+ <td> "<dfn enum-value for="FullscreenNavigationUI">< code>hide</code></dfn > "</td>
289
290
<td> full dimensions of the screen of the output device</td>
290
291
</tr>
291
292
<tr>
292
- <td> "<code> show</code> "</td>
293
+ <td> "<dfn enum-value for="FullscreenNavigationUI">< code>show</code></dfn > "</td>
293
294
<td> dimensions of the screen of the output device clamped to allow the user agent to show page navigation controls</td>
294
295
</tr>
295
296
<tr>
296
- <td> "<code> auto</code> "</td>
297
+ <td> "<dfn enum-value for="FullscreenNavigationUI">< code>auto</code></dfn > "</td>
297
298
<td> user-agent defined, but matching one of the above</td>
298
299
</tr>
299
300
</tbody>
315
316
<p> If <var> error</var> is true:
316
317
317
318
<ol>
318
- <li><p> <a for=set>Append</a> (<code> fullscreenerror</code> , <a>this</a> ) to
319
+ <li><p> <a for=set>Append</a> ({{ fullscreenerror}} , <a>this</a> ) to
319
320
<var> pendingDoc</var> 's <a>list of pending fullscreen events</a> .
320
321
321
322
<li><p> Reject <var> promise</var> with a {{TypeError}} exception and terminate these
346
347
347
348
<li><p> <a lt="fullscreen an element">Fullscreen <var>element</var></a> within <var> doc</var> .
348
349
349
- <li><p> <a for=set>Append</a> (<code> fullscreenchange</code> , <var> element</var> ) to
350
+ <li><p> <a for=set>Append</a> ({{ fullscreenchange}} , <var> element</var> ) to
350
351
<var> doc</var> 's <a>list of pending fullscreen events</a> .
351
352
</ol>
352
353
@@ -456,7 +457,7 @@ could be an open <{dialog}> element.
456
457
457
458
<li><p> If <var> doc</var> 's <a>fullscreen element</a> is not <a>connected</a> :
458
459
<ol>
459
- <li><p> <a for=set>Append</a> (<code> fullscreenchange</code> , <var> doc</var> 's
460
+ <li><p> <a for=set>Append</a> ({{ fullscreenchange}} , <var> doc</var> 's
460
461
<a>fullscreen element</a> ) to <var> doc</var> 's
461
462
<a>list of pending fullscreen events</a> .
462
463
</ol>
@@ -482,7 +483,7 @@ could be an open <{dialog}> element.
482
483
<p> <a>For each</a> <var> exitDoc</var> in <var> exitDocs</var> :
483
484
484
485
<ol>
485
- <li><p> <a for=set>Append</a> (<code> fullscreenchange</code> , <var> exitDoc</var> 's
486
+ <li><p> <a for=set>Append</a> ({{ fullscreenchange}} , <var> exitDoc</var> 's
486
487
<a>fullscreen element</a> ) to <var> exitDoc</var> 's <a>list of pending fullscreen events</a> .
487
488
488
489
<li><p> If <var> resize</var> is true, <a lt="unfullscreen a document">unfullscreen
@@ -496,7 +497,7 @@ could be an open <{dialog}> element.
496
497
<p> <a>For each</a> <var> descendantDoc</var> in <var> descendantDocs</var> :
497
498
498
499
<ol>
499
- <li><p> <a for=set>Append</a> (<code> fullscreenchange</code> , <var> descendantDoc</var> 's
500
+ <li><p> <a for=set>Append</a> ({{ fullscreenchange}} , <var> descendantDoc</var> 's
500
501
<a>fullscreen element</a> ) to <var> descendantDoc</var> 's
501
502
<a>list of pending fullscreen events</a> .
502
503
@@ -526,11 +527,11 @@ result of running <a>exit fullscreen</a> on <a>this</a>.
526
527
<th> <a>event handler event type</a>
527
528
<tbody>
528
529
<tr>
529
- <td> <dfn attribute for=Document id=handler-document-onfullscreenchange><code>onfullscreenchange</code></dfn>
530
- <td><code> fullscreenchange</code>
530
+ <td> <dfn attribute for=Document,Element id=handler-document-onfullscreenchange><code>onfullscreenchange</code></dfn>
531
+ <td> <dfn event for=Document,Element>< code>fullscreenchange</code></dfn >
531
532
<tr>
532
- <td> <dfn attribute for=Document id=handler-document-onfullscreenerror><code>onfullscreenerror</code></dfn>
533
- <td><code> fullscreenerror</code>
533
+ <td> <dfn attribute for=Document,Element id=handler-document-onfullscreenerror><code>onfullscreenerror</code></dfn>
534
+ <td> <dfn event for=Document,Element>< code>fullscreenerror</code></dfn >
534
535
</table>
535
536
536
537
<p class=note> These are not supported by {{ShadowRoot}} or {{Window}} objects, and there are no
0 commit comments