Skip to content

Commit 57ef841

Browse files
authored
- Adds warn-proprietary-attributes: no to the tidy spec (#481)
- Re-run tidy resulting in some line wrapping fixes.
1 parent 1d9fcf3 commit 57ef841

File tree

2 files changed

+59
-56
lines changed

2 files changed

+59
-56
lines changed

build/tidyconfig.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
char-encoding: utf8
22
doctype: html5
33
drop-proprietary-attributes: no
4+
warn-proprietary-attributes: no
45
indent: yes
56
indent-spaces: 2
67
preserve-entities: yes

index.html

Lines changed: 58 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8" />
4+
<meta charset="UTF-8">
55
<title>
66
Presentation API
77
</title>
@@ -329,13 +329,13 @@ <h2>
329329
</li>
330330
<li>
331331
<dfn><a href=
332-
"https://html.spec.whatwg.org/multipage/browsers.html#allowed-to-navigate">allowed
333-
to navigate</a></dfn>
332+
"https://html.spec.whatwg.org/multipage/browsers.html#allowed-to-navigate">
333+
allowed to navigate</a></dfn>
334334
</li>
335335
<li>
336336
<dfn><a href=
337-
"https://html.spec.whatwg.org/multipage/interaction.html#allowed-to-show-a-popup">allowed
338-
to show a popup</a></dfn>
337+
"https://html.spec.whatwg.org/multipage/interaction.html#allowed-to-show-a-popup">
338+
allowed to show a popup</a></dfn>
339339
</li>
340340
<li>
341341
<dfn><a href=
@@ -344,13 +344,13 @@ <h2>
344344
</li>
345345
<li>
346346
<a href=
347-
"https://html.spec.whatwg.org/multipage/web-sockets.html#binarytype">
348-
<dfn><code>BinaryType</code></dfn></a>
347+
"https://html.spec.whatwg.org/multipage/web-sockets.html#binarytype"><dfn>
348+
<code>BinaryType</code></dfn></a>
349349
</li>
350350
<li>
351351
<dfn data-lt="browsing context|browsing contexts"><a href=
352-
"https://html.spec.whatwg.org/multipage/browsers.html#browsing-context">browsing
353-
context</a></dfn>
352+
"https://html.spec.whatwg.org/multipage/browsers.html#browsing-context">
353+
browsing context</a></dfn>
354354
</li>
355355
<li>
356356
<dfn><a href=
@@ -374,13 +374,13 @@ <h2>
374374
</li>
375375
<li>
376376
<a href=
377-
"https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-attributes"><dfn>
378-
<code>EventHandler</code></dfn></a>
377+
"https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-attributes">
378+
<dfn><code>EventHandler</code></dfn></a>
379379
</li>
380380
<li>
381381
<dfn><a href=
382-
"https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers">event
383-
handler</a></dfn>
382+
"https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers">
383+
event handler</a></dfn>
384384
</li>
385385
<li>
386386
<dfn><a href=
@@ -389,8 +389,8 @@ <h2>
389389
</li>
390390
<li>
391391
<dfn><a href=
392-
"https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in
393-
parallel</a></dfn>
392+
"https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">
393+
in parallel</a></dfn>
394394
</li>
395395
<li>
396396
<dfn><a href=
@@ -399,7 +399,8 @@ <h2>
399399
</li>
400400
<li>
401401
<dfn data-lt="steps to navigate"><a href=
402-
"https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate">navigate</a></dfn>
402+
"https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate">
403+
navigate</a></dfn>
403404
</li>
404405
<li>
405406
<dfn><a href=
@@ -408,8 +409,8 @@ <h2>
408409
</li>
409410
<li>
410411
<a href=
411-
"https://html.spec.whatwg.org/multipage/system-state.html#navigator">
412-
<dfn><code>Navigator</code></dfn></a>
412+
"https://html.spec.whatwg.org/multipage/system-state.html#navigator"><dfn>
413+
<code>Navigator</code></dfn></a>
413414
</li>
414415
<li>
415416
<dfn><a href=
@@ -423,13 +424,13 @@ <h2>
423424
</li>
424425
<li>
425426
<dfn><a href=
426-
"https://html.spec.whatwg.org/multipage/urls-and-fetching.html#parse-a-url">parse a
427-
URL</a></dfn>
427+
"https://html.spec.whatwg.org/multipage/urls-and-fetching.html#parse-a-url">
428+
parse a URL</a></dfn>
428429
</li>
429430
<li>
430431
<dfn><a href=
431-
"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task">queue a
432-
task</a></dfn>
432+
"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task">
433+
queue a task</a></dfn>
433434
</li>
434435
<li>
435436
<dfn><a href=
@@ -443,8 +444,8 @@ <h2>
443444
</li>
444445
<li>
445446
<dfn><a href=
446-
"https://html.spec.whatwg.org/multipage/history.html#dom-location-reload">reload
447-
a document</a></dfn>
447+
"https://html.spec.whatwg.org/multipage/history.html#dom-location-reload">
448+
reload a document</a></dfn>
448449
</li>
449450
<li>
450451
<dfn><a href=
@@ -454,12 +455,13 @@ <h2>
454455
<li>
455456
<dfn><a href=
456457
"https://html.spec.whatwg.org/multipage/origin.html#sandboxed-top-level-navigation-without-user-activation-browsing-context-flag">
457-
sandboxed top-level navigation without user activation browsing context flag</a></dfn>
458+
sandboxed top-level navigation without user activation browsing
459+
context flag</a></dfn>
458460
</li>
459461
<li>
460462
<dfn><a href=
461-
"https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag">sandboxed
462-
modals flag</a></dfn>
463+
"https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag">
464+
sandboxed modals flag</a></dfn>
463465
</li>
464466
<li>
465467
<dfn><a href=
@@ -468,13 +470,13 @@ <h2>
468470
</li>
469471
<li>
470472
<dfn><a href=
471-
"https://html.spec.whatwg.org/multipage/origin.html#sandboxing-flag-set">sandboxing
472-
flag set</a></dfn>
473+
"https://html.spec.whatwg.org/multipage/origin.html#sandboxing-flag-set">
474+
sandboxing flag set</a></dfn>
473475
</li>
474476
<li>
475477
<dfn><a href=
476-
"https://html.spec.whatwg.org/multipage/history.html#session-history">session
477-
history</a></dfn>
478+
"https://html.spec.whatwg.org/multipage/history.html#session-history">
479+
session history</a></dfn>
478480
</li>
479481
<li>
480482
<dfn><a href=
@@ -487,9 +489,8 @@ <h2>
487489
top-level browsing context</a></dfn>
488490
</li>
489491
<li>
490-
<dfn><a href=
491-
"https://html.spec.whatwg.org/#unload-a-document">unload a
492-
document</a></dfn>
492+
<dfn><a href="https://html.spec.whatwg.org/#unload-a-document">unload
493+
a document</a></dfn>
493494
</li>
494495
</ul>
495496
<p>
@@ -505,11 +506,10 @@ <h2>
505506
<a href=
506507
"https://dom.spec.whatwg.org/#dictdef-eventinit"><dfn><code>EventInit</code></dfn></a>,
507508
<dfn data-lt="fire|fires an event|fire an event"><a href=
508-
"https://dom.spec.whatwg.org/#concept-event-fire">firing an event</a></dfn>,
509-
and
510-
<dfn data-lt="isTrusted|trusted event"><a href=
511-
"https://dom.spec.whatwg.org/#dom-event-istrusted">trusted event</a></dfn>
512-
are defined in [[!DOM]].
509+
"https://dom.spec.whatwg.org/#concept-event-fire">firing an
510+
event</a></dfn>, and <dfn data-lt="isTrusted|trusted event"><a href=
511+
"https://dom.spec.whatwg.org/#dom-event-istrusted">trusted
512+
event</a></dfn> are defined in [[!DOM]].
513513
</p>
514514
<p>
515515
The term <a href=
@@ -2242,11 +2242,11 @@ <h3>
22422242
<p>
22432243
The <dfn>binaryType</dfn> attribute can take one of the values of
22442244
<a>BinaryType</a>. When a <a>PresentationConnection</a> object is
2245-
created, its
2246-
<a data-link-for="PresentationConnection">binaryType</a> attribute
2247-
MUST be set to the string "<code>arraybuffer</code>". On getting,
2248-
it MUST return the last value it was set to. On setting, the user
2249-
agent MUST set the attribute to the new value.
2245+
created, its <a data-link-for=
2246+
"PresentationConnection">binaryType</a> attribute MUST be set to
2247+
the string "<code>arraybuffer</code>". On getting, it MUST return
2248+
the last value it was set to. On setting, the user agent MUST set
2249+
the attribute to the new value.
22502250
</p>
22512251
<div class="note">
22522252
The <a data-link-for="PresentationConnection">binaryType</a>
@@ -2324,8 +2324,9 @@ <h4>
23242324
</li>
23252325
<li>
23262326
<a>Fire an event</a> named <a class=
2327-
"PresentationConnectionEvent">connect</a> whose <a>isTrusted</a>
2328-
attribute is true at <var>presentationConnection</var>.
2327+
"PresentationConnectionEvent">connect</a> whose
2328+
<a>isTrusted</a> attribute is true at
2329+
<var>presentationConnection</var>.
23292330
</li>
23302331
</ol>
23312332
</li>
@@ -2747,8 +2748,8 @@ <h4>
27472748
"PresentationConnectionState">terminated</a>.
27482749
</li>
27492750
<li>
2750-
<a>Fires an event</a> named <code>terminate</code>
2751-
whose <a>isTrusted</a> attribute is true at <var>known
2751+
<a>Fires an event</a> named <code>terminate</code> whose
2752+
<a>isTrusted</a> attribute is true at <var>known
27522753
connection</var>.
27532754
</li>
27542755
</ol>
@@ -3041,10 +3042,10 @@ <h4>
30413042
document, i.e. that have the <a>receiving browsing context</a> as
30423043
their <a data-lt="top-level browsing context">top-level browsing
30433044
context</a>, MUST also have restrictions 2-4 above. In addition,
3044-
they MUST have the <a>sandboxed top-level navigation without user activation browsing
3045-
context flag</a> set. All of these <a>browsing contexts</a> MUST
3046-
also share the same browsing state (storage) for features 5-10
3047-
listed above.
3045+
they MUST have the <a>sandboxed top-level navigation without user
3046+
activation browsing context flag</a> set. All of these <a>browsing
3047+
contexts</a> MUST also share the same browsing state (storage) for
3048+
features 5-10 listed above.
30483049
</p>
30493050
<p>
30503051
When the <a>top-level browsing context</a> attempts to navigate to
@@ -3360,10 +3361,11 @@ <h3>
33603361
click to trigger a request to start an unwanted presentation.
33613362
</p>
33623363
<p>
3363-
The <a>sandboxed top-level navigation without user activation browsing context flag</a>
3364-
is set on the <a>receiving browsing context</a> to enforce that
3365-
the top-level origin of the presentation remains the same during
3366-
the lifetime of the presentation.
3364+
The <a>sandboxed top-level navigation without user activation
3365+
browsing context flag</a> is set on the <a>receiving browsing
3366+
context</a> to enforce that the top-level origin of the
3367+
presentation remains the same during the lifetime of the
3368+
presentation.
33673369
</p>
33683370
</dd>
33693371
<dt>

0 commit comments

Comments
 (0)