Skip to content

Commit c8b5ae4

Browse files
authored
[Markdown] [Web/API] Make some more tables Markdownable (#8705)
1 parent 7b284ec commit c8b5ae4

File tree

37 files changed

+41
-148
lines changed

37 files changed

+41
-148
lines changed
Binary file not shown.

files/en-us/web/api/canvas_api/tutorial/basic_animations/index.html

+1-9
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,7 @@ <h2 id="Mouse_Following_Animation">Mouse Following Animation</h2>
444444

445445
<h5 id="Output">Output</h5>
446446

447-
<table class="standard-table">
448-
<tbody>
449-
<tr>
450-
<td>
451-
<p><a href="https://kunalverma94.github.io/gallery/gags/beyblade.html"><img alt="beyblade" src="beyblade.jpg"></a></p>
452-
</td>
453-
</tr>
454-
</tbody>
455-
</table>
447+
<p><a href="https://kunalverma94.github.io/gallery/gags/beyblade.html">https://kunalverma94.github.io/gallery/gags/beyblade.html</a></p>
456448

457449
<h2 id="Snake_Game">Snake Game</h2>
458450

files/en-us/web/api/event/comparison_of_event_targets/index.html

+8-12
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,18 @@ <h3 id="Event_targets">Event targets</h3>
1818
<p>There are five targets to consider:</p>
1919

2020
<table class="standard-table">
21+
<thead>
22+
<tr>
23+
<th>Property</th>
24+
<th>Defined in</th>
25+
<th>Purpose</th>
26+
</tr>
27+
</thead>
2128
<tbody>
22-
<tr>
23-
<th>Property</th>
24-
<th>Defined in</th>
25-
<th>Purpose</th>
26-
</tr>
2729
<tr>
2830
<td><code><a href="/en-US/docs/Web/API/Event/target">event.target</a></code></td>
2931
<td><a href="https://www.w3.org/TR/DOM-Level-2/events.html#Events-interface">DOM Event Interface</a></td>
30-
<td>
31-
<p>The DOM element on the lefthand side of the call that triggered this event, eg:</p>
32-
33-
<pre class="brush: js">
34-
<em>element</em>.dispatchEvent(<em>event</em>)
35-
</pre>
36-
</td>
32+
<td>The DOM element on the left hand side of the call that triggered this event.</td>
3733
</tr>
3834
<tr>
3935
<td><code><a href="/en-US/docs/Web/API/Event/currentTarget">event.currentTarget</a></code></td>

files/en-us/web/api/file_and_directory_entries_api/firefox_support/index.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -35,35 +35,35 @@ <h2 id="Chrome_deviations_from_the_specification">Chrome deviations from the spe
3535
</thead>
3636
<tbody>
3737
<tr>
38-
<th scope="row"><code>FileSystemDirectoryEntry</code></th>
38+
<td><code>FileSystemDirectoryEntry</code></td>
3939
<td><code>DirectoryEntry</code></td>
4040
</tr>
4141
<tr>
42-
<th scope="row"><code>FileSystemDirectoryEntrySync</code></th>
42+
<td><code>FileSystemDirectoryEntrySync</code></td>
4343
<td><code>DirectoryEntrySync</code></td>
4444
</tr>
4545
<tr>
46-
<th scope="row"><code>FileSystemDirectoryReader</code></th>
46+
<td><code>FileSystemDirectoryReader</code></td>
4747
<td><code>DirectoryReader</code></td>
4848
</tr>
4949
<tr>
50-
<th scope="row"><code>FileSystemDirectoryReaderSync</code></th>
50+
<td><code>FileSystemDirectoryReaderSync</code></td>
5151
<td><code>DirectoryReaderSync</code></td>
5252
</tr>
5353
<tr>
54-
<th scope="row"><code>FileSystemEntry</code></th>
54+
<td><code>FileSystemEntry</code></td>
5555
<td><code>Entry</code></td>
5656
</tr>
5757
<tr>
58-
<th scope="row"><code>FileSystemEntrySync</code></th>
58+
<td><code>FileSystemEntrySync</code></td>
5959
<td><code>EntrySync</code></td>
6060
</tr>
6161
<tr>
62-
<th scope="row"><code>FileSystemFileEntry</code></th>
62+
<td><code>FileSystemFileEntry</code></td>
6363
<td><code>FileEntry</code></td>
6464
</tr>
6565
<tr>
66-
<th scope="row"><code>FileSystemFileEntrySync</code></th>
66+
<td><code>FileSystemFileEntrySync</code></td>
6767
<td><code>FileEntrySync</code></td>
6868
</tr>
6969
</tbody>

files/en-us/web/api/idbcursor/update/index.html

+2-5
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,8 @@ <h3 id="Exceptions">Exceptions</h3>
7070
</tr>
7171
<tr>
7272
<td><code>DataError</code></td>
73-
<td>
74-
<p>The underlying object store uses in-line keys and the property in the value at
75-
the object store's key path does not match the key in this cursor's position.
76-
</p>
77-
</td>
73+
<td>The underlying object store uses in-line keys and the property in the value at
74+
the object store's key path does not match the key in this cursor's position.</td>
7875
</tr>
7976
<tr>
8077
<td><code>DataCloneError</code></td>

files/en-us/web/api/idbdatabase/transaction/index.html

+3-6
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,8 @@ <h3 id="Exceptions">Exceptions</h3>
117117
<td>
118118
<code><a href="/en-US/docs/Web/API/IDBDatabaseException#not_allowed_err">InvalidStateError</a></code>
119119
</td>
120-
<td>
121-
<p>The <code>close()</code> method has previously been called on this
122-
{{domxref("IDBDatabase")}} instance.</p>
123-
</td>
120+
<td>The <code>close()</code> method has previously been called on this
121+
{{domxref("IDBDatabase")}} instance.</td>
124122
</tr>
125123
<tr>
126124
<td><code>NotFoundError</code></td>
@@ -133,8 +131,7 @@ <h3 id="Exceptions">Exceptions</h3>
133131
</tr>
134132
<tr>
135133
<td><code>InvalidAccessError</code></td>
136-
<td>The function was called with an empty list of store names.<br>
137-
 </td>
134+
<td>The function was called with an empty list of store names.</td>
138135
</tr>
139136
</tbody>
140137
</table>

files/en-us/web/api/idbenvironmentsync/index.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ <h2 id="Attributes">Attributes</h2>
3131
<tr>
3232
<td><code>indexedDBSync</code></td>
3333
<td><code>readonly <a href="/en-US/docs/Web/API/IDBFactorySync">IDBFactorySync</a></code></td>
34-
<td>Provides a synchronous means of accessing the capabilities of indexed databases.
35-
<div class="notecard note">
36-
<p><strong>Note:</strong> Until the Indexed Database API specification is finalized, this attribute should be accessed as <code>moz_indexedDBSync</code>.</p>
37-
</div>
38-
</td>
34+
<td>Provides a synchronous means of accessing the capabilities of indexed databases.</td>
3935
</tr>
4036
</tbody>
4137
</table>

files/en-us/web/api/idbindex/count/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ <h3 id="Exceptions">Exceptions</h3>
5757
</tr>
5858
<tr>
5959
<td><code>DataError</code></td>
60-
<td>
61-
<p>The key or key range provided contains an invalid key.</p>
62-
</td>
60+
<td>The key or key range provided contains an invalid key.</td>
6361
</tr>
6462
<tr>
6563
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbindex/get/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ <h3 id="Exceptions">Exceptions</h3>
6363
</tr>
6464
<tr>
6565
<td><code>DataError</code></td>
66-
<td>
67-
<p>The key or key range provided contains an invalid key.</p>
68-
</td>
66+
<td>The key or key range provided contains an invalid key.</td>
6967
</tr>
7068
<tr>
7169
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbindex/getkey/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ <h3 id="Exceptions">Exceptions</h3>
6262
</tr>
6363
<tr>
6464
<td><code>DataError</code></td>
65-
<td>
66-
<p>The key or key range provided contains an invalid key.</p>
67-
</td>
65+
<td>The key or key range provided contains an invalid key.</td>
6866
</tr>
6967
<tr>
7068
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbindex/opencursor/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ <h3 id="Exceptions">Exceptions</h3>
7474
</tr>
7575
<tr>
7676
<td><code>DataError</code></td>
77-
<td>
78-
<p>The key or key range provided contains an invalid key.</p>
79-
</td>
77+
<td>The key or key range provided contains an invalid key.</td>
8078
</tr>
8179
<tr>
8280
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbindex/openkeycursor/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ <h3 id="Exceptions">Exceptions</h3>
8282
</tr>
8383
<tr>
8484
<td><code>DataError</code></td>
85-
<td>
86-
<p>The key or key range provided contains an invalid key.</p>
87-
</td>
85+
<td>The key or key range provided contains an invalid key.</td>
8886
</tr>
8987
<tr>
9088
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbkeyrange/lowerbound/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ <h3 id="Exceptions">Exceptions</h3>
5656
<tbody>
5757
<tr>
5858
<td><code>DataError</code></td>
59-
<td>
60-
<p>The value parameter passed was not a valid key.</p>
61-
</td>
59+
<td>The value parameter passed was not a valid key.</td>
6260
</tr>
6361
</tbody>
6462
</table>

files/en-us/web/api/idbkeyrange/only/index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ <h3 id="Exceptions">Exceptions</h3>
4848
<tbody>
4949
<tr>
5050
<td><code>DataError</code></td>
51-
<td>
52-
<p>The value parameter passed was not a valid key.</p>
53-
54-
</td>
51+
<td>The value parameter passed was not a valid key.</td>
5552
</tr>
5653
</tbody>
5754
</table>

files/en-us/web/api/idbkeyrange/upperbound/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ <h3 id="Exceptions">Exceptions</h3>
5353
<tbody>
5454
<tr>
5555
<td><code>DataError</code></td>
56-
<td>
57-
<p>The value parameter passed was not a valid key.</p>
58-
</td>
56+
<td>The value parameter passed was not a valid key.</td>
5957
</tr>
6058
</tbody>
6159
</table>

files/en-us/web/api/idbobjectstore/delete/index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,11 @@ <h3 id="Exceptions">Exceptions</h3>
7272
</tr>
7373
<tr>
7474
<td><code>DataError</code></td>
75-
<td>
76-
<p>The <var>key</var> is not a <a
75+
<td>The <var>key</var> is not a <a
7776
href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-valid-key">valid
7877
key</a> or a <a
7978
href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-key-range">key
80-
range</a>.</p>
81-
</td>
79+
range</a>.</td>
8280
</tr>
8381
</tbody>
8482
</table>

files/en-us/web/api/idbobjectstore/get/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ <h3 id="Exceptions">Exceptions</h3>
6666
</tr>
6767
<tr>
6868
<td><code>DataError</code></td>
69-
<td>
70-
<p>The key or key range provided contains an invalid key.</p>
71-
</td>
69+
<td>The key or key range provided contains an invalid key.</td>
7270
</tr>
7371
<tr>
7472
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbobjectstore/getall/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ <h3 id="Exceptions">Exceptions</h3>
8282
</tr>
8383
<tr>
8484
<td><code>DataError</code></td>
85-
<td>
86-
<p>The key or key range provided contains an invalid key or is null.</p>
87-
</td>
85+
<td>The key or key range provided contains an invalid key or is null.</td>
8886
</tr>
8987
<tr>
9088
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbobjectstore/getallkeys/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ <h3 id="Exceptions">Exceptions</h3>
7373
</tr>
7474
<tr>
7575
<td><code>DataError</code></td>
76-
<td>
77-
<p>The key or key range provided contains an invalid key or is null.</p>
78-
</td>
76+
<td>The key or key range provided contains an invalid key or is null.</td>
7977
</tr>
8078
<tr>
8179
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbobjectstore/getkey/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ <h3 id="Exceptions">Exceptions</h3>
5959
</tr>
6060
<tr>
6161
<td><code>DataError</code></td>
62-
<td>
63-
<p>The key or key range provided contains an invalid key.</p>
64-
</td>
62+
<td>The key or key range provided contains an invalid key.</td>
6563
</tr>
6664
<tr>
6765
<td><code>InvalidStateError</code></td>

files/en-us/web/api/idbtransaction/index.html

+3-15
Original file line numberDiff line numberDiff line change
@@ -116,31 +116,19 @@ <h2 id="Mode_constants">Mode constants</h2>
116116
<tbody>
117117
<tr>
118118
<td><code><a>READ_ONLY</a></code></td>
119-
<td>
120-
<p>"readonly"</p>
121-
122-
<p>(0 in Chrome)</p>
123-
</td>
119+
<td>"readonly" (0 in Chrome)</td>
124120
<td>
125121
<p>Allows data to be read but not changed.</p>
126122
</td>
127123
</tr>
128124
<tr>
129125
<td><code><a>READ_WRITE</a></code></td>
130-
<td>
131-
<p>"readwrite"</p>
132-
133-
<p>(1 in Chrome)</p>
134-
</td>
126+
<td>"readwrite" (1 in Chrome)</td>
135127
<td>Allows reading and writing of data in existing data stores to be changed.</td>
136128
</tr>
137129
<tr>
138130
<td><code><a>VERSION_CHANGE</a></code></td>
139-
<td>
140-
<p>"versionchange"</p>
141-
142-
<p>(2 in Chrome)</p>
143-
</td>
131+
<td>"versionchange" (2 in Chrome)</td>
144132
<td>Allows any operation to be performed, including ones that delete and create object stores and indexes. This mode is for updating the version number of transactions that were started using the <a href="/en-US/docs/Web/API/IDBDatabase#setversion"><code>setVersion()</code></a> method of <a href="/en-US/docs/Web/API/IDBDatabase">IDBDatabase</a> objects. Transactions of this mode cannot run concurrently with other transactions. Transactions in this mode are known as "upgrade transactions."</td>
145133
</tr>
146134
</tbody>
Binary file not shown.
Binary file not shown.
Binary file not shown.

files/en-us/web/api/window/open/index.html

-44
Original file line numberDiff line numberDiff line change
@@ -645,50 +645,6 @@ <h4 id="Always_identify_links_that_will_create_or_will_re-use_a_new_secondary_wi
645645
Predict Where They Are Going</a>, Jakob Nielsen, January 1998</li>
646646
</ul>
647647

648-
<table class="standard-table">
649-
<tbody>
650-
<tr>
651-
<td class="header" colspan="4">Example "New Window" Icons &amp; Cursors</td>
652-
</tr>
653-
<tr>
654-
<td><img alt="New window icon from yahoo.com"
655-
src="newwindowyahoo.png"></td>
656-
<td><img alt="New window icon from microsoft.com"
657-
src="newwinmsie.gif"></td>
658-
<td><img alt="New window icon from webaim.org"
659-
src="popup_requested_new_window.gif"></td>
660-
<td><img alt="New window icon from sun.com"
661-
src="popupimagesun.gif"></td>
662-
</tr>
663-
<tr>
664-
<td><img alt="New window icon from bbc.co.uk"
665-
src="opennews_rb.gif"></td>
666-
<td><img alt="New window icon from Accessible Internet Solutions"
667-
src="ais_newwindowicon.png"></td>
668-
<td><img alt="New window icon from accessify.com"
669-
src="pop-up-launcher.gif"></td>
670-
<td><img alt="New window icon from webstyleguide.com"
671-
src="webstyleguide_com_newwind.gif"></td>
672-
</tr>
673-
<tr>
674-
<td><img alt="New window icon from an unknown source"
675-
src="popicon_1.gif"></td>
676-
<td><img alt="New window icon from an unknown source"
677-
src="new.gif"></td>
678-
<td><img alt="New window icon from an unknown source"
679-
src="willcreateorrecyclenewwindow.gif"></td>
680-
<td><img alt="New window icon from gtalbot.org"
681-
src="openrequestedpopup.png"></td>
682-
</tr>
683-
<tr>
684-
<td colspan="2"><img alt="New window cursor from draig.de"
685-
src="cursor_linknewwindowtargetblank.png"></td>
686-
<td colspan="2"><img alt="New window cursor from mithgol.ru"
687-
src="cursor_newwindowsergeysokoloff.png"></td>
688-
</tr>
689-
</tbody>
690-
</table>
691-
692648
<h4 id="Always_use_the_target_attribute">Always use the target attribute</h4>
693649

694650
<p>If javascript support is disabled or non-existent, then the user agent will create a
-150 Bytes
Binary file not shown.
-142 Bytes
Binary file not shown.
-123 Bytes
Binary file not shown.
-207 Bytes
Binary file not shown.
Binary file not shown.
-105 Bytes
Binary file not shown.
-111 Bytes
Binary file not shown.
Binary file not shown.
-99 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

files/en-us/web/api/worklet/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ <h2 id="Worklet_types">Worklet types</h2>
3131
<tbody>
3232
<tr>
3333
<td>{{domxref("PaintWorklet")}}</td>
34-
<td>
35-
<p>For programmatically generating an image where a CSS property expects a file. Access this interface through {{DOMxRef("CSS.paintWorklet")}}.</p>
36-
</td>
34+
<td>For programmatically generating an image where a CSS property expects a file. Access this interface through {{DOMxRef("CSS.paintWorklet")}}.</td>
3735
<td><strong>Chrome:</strong> Main thread, <strong>Gecko:</strong> Paint thread</td>
3836
<td><a href="https://drafts.css-houdini.org/css-paint-api-1/#paint-worklet">CSS Painting API</a></td>
3937
</tr>

0 commit comments

Comments
 (0)