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

[Markdown] [Web/API] Make some more tables Markdownable #8705

Merged
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
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -444,15 +444,7 @@ <h2 id="Mouse_Following_Animation">Mouse Following Animation</h2>

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

<table class="standard-table">
<tbody>
<tr>
<td>
<p><a href="https://kunalverma94.github.io/gallery/gags/beyblade.html"><img alt="beyblade" src="beyblade.jpg"></a></p>
</td>
</tr>
</tbody>
</table>
<p><a href="https://kunalverma94.github.io/gallery/gags/beyblade.html">https://kunalverma94.github.io/gallery/gags/beyblade.html</a></p>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,18 @@ <h3 id="Event_targets">Event targets</h3>
<p>There are five targets to consider:</p>

<table class="standard-table">
<thead>
<tr>
<th>Property</th>
<th>Defined in</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<th>Property</th>
<th>Defined in</th>
<th>Purpose</th>
</tr>
<tr>
<td><code><a href="/en-US/docs/Web/API/Event/target">event.target</a></code></td>
<td><a href="https://www.w3.org/TR/DOM-Level-2/events.html#Events-interface">DOM Event Interface</a></td>
<td>
<p>The DOM element on the lefthand side of the call that triggered this event, eg:</p>

<pre class="brush: js">
<em>element</em>.dispatchEvent(<em>event</em>)
</pre>
</td>
<td>The DOM element on the left hand side of the call that triggered this event.</td>
</tr>
<tr>
<td><code><a href="/en-US/docs/Web/API/Event/currentTarget">event.currentTarget</a></code></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,35 +35,35 @@ <h2 id="Chrome_deviations_from_the_specification">Chrome deviations from the spe
</thead>
<tbody>
<tr>
<th scope="row"><code>FileSystemDirectoryEntry</code></th>
<td><code>FileSystemDirectoryEntry</code></td>
<td><code>DirectoryEntry</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemDirectoryEntrySync</code></th>
<td><code>FileSystemDirectoryEntrySync</code></td>
<td><code>DirectoryEntrySync</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemDirectoryReader</code></th>
<td><code>FileSystemDirectoryReader</code></td>
<td><code>DirectoryReader</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemDirectoryReaderSync</code></th>
<td><code>FileSystemDirectoryReaderSync</code></td>
<td><code>DirectoryReaderSync</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemEntry</code></th>
<td><code>FileSystemEntry</code></td>
<td><code>Entry</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemEntrySync</code></th>
<td><code>FileSystemEntrySync</code></td>
<td><code>EntrySync</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemFileEntry</code></th>
<td><code>FileSystemFileEntry</code></td>
<td><code>FileEntry</code></td>
</tr>
<tr>
<th scope="row"><code>FileSystemFileEntrySync</code></th>
<td><code>FileSystemFileEntrySync</code></td>
<td><code>FileEntrySync</code></td>
</tr>
</tbody>
Expand Down
7 changes: 2 additions & 5 deletions files/en-us/web/api/idbcursor/update/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,8 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The underlying object store uses in-line keys and the property in the value at
the object store's key path does not match the key in this cursor's position.
</p>
</td>
<td>The underlying object store uses in-line keys and the property in the value at
the object store's key path does not match the key in this cursor's position.</td>
</tr>
<tr>
<td><code>DataCloneError</code></td>
Expand Down
9 changes: 3 additions & 6 deletions files/en-us/web/api/idbdatabase/transaction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,8 @@ <h3 id="Exceptions">Exceptions</h3>
<td>
<code><a href="/en-US/docs/Web/API/IDBDatabaseException#not_allowed_err">InvalidStateError</a></code>
</td>
<td>
<p>The <code>close()</code> method has previously been called on this
{{domxref("IDBDatabase")}} instance.</p>
</td>
<td>The <code>close()</code> method has previously been called on this
{{domxref("IDBDatabase")}} instance.</td>
</tr>
<tr>
<td><code>NotFoundError</code></td>
Expand All @@ -133,8 +131,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>InvalidAccessError</code></td>
<td>The function was called with an empty list of store names.<br>
 </td>
<td>The function was called with an empty list of store names.</td>
</tr>
</tbody>
</table>
Expand Down
6 changes: 1 addition & 5 deletions files/en-us/web/api/idbenvironmentsync/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ <h2 id="Attributes">Attributes</h2>
<tr>
<td><code>indexedDBSync</code></td>
<td><code>readonly <a href="/en-US/docs/Web/API/IDBFactorySync">IDBFactorySync</a></code></td>
<td>Provides a synchronous means of accessing the capabilities of indexed databases.
<div class="notecard note">
<p><strong>Note:</strong> Until the Indexed Database API specification is finalized, this attribute should be accessed as <code>moz_indexedDBSync</code>.</p>
</div>
</td>
<td>Provides a synchronous means of accessing the capabilities of indexed databases.</td>
</tr>
</tbody>
</table>
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbindex/count/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbindex/get/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbindex/getkey/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbindex/opencursor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbindex/openkeycursor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbkeyrange/lowerbound/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ <h3 id="Exceptions">Exceptions</h3>
<tbody>
<tr>
<td><code>DataError</code></td>
<td>
<p>The value parameter passed was not a valid key.</p>
</td>
<td>The value parameter passed was not a valid key.</td>
</tr>
</tbody>
</table>
Expand Down
5 changes: 1 addition & 4 deletions files/en-us/web/api/idbkeyrange/only/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ <h3 id="Exceptions">Exceptions</h3>
<tbody>
<tr>
<td><code>DataError</code></td>
<td>
<p>The value parameter passed was not a valid key.</p>

</td>
<td>The value parameter passed was not a valid key.</td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbkeyrange/upperbound/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ <h3 id="Exceptions">Exceptions</h3>
<tbody>
<tr>
<td><code>DataError</code></td>
<td>
<p>The value parameter passed was not a valid key.</p>
</td>
<td>The value parameter passed was not a valid key.</td>
</tr>
</tbody>
</table>
Expand Down
6 changes: 2 additions & 4 deletions files/en-us/web/api/idbobjectstore/delete/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The <var>key</var> is not a <a
<td>The <var>key</var> is not a <a
href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-valid-key">valid
key</a> or a <a
href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-key-range">key
range</a>.</p>
</td>
range</a>.</td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbobjectstore/get/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbobjectstore/getall/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key or is null.</p>
</td>
<td>The key or key range provided contains an invalid key or is null.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbobjectstore/getallkeys/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key or is null.</p>
</td>
<td>The key or key range provided contains an invalid key or is null.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/idbobjectstore/getkey/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ <h3 id="Exceptions">Exceptions</h3>
</tr>
<tr>
<td><code>DataError</code></td>
<td>
<p>The key or key range provided contains an invalid key.</p>
</td>
<td>The key or key range provided contains an invalid key.</td>
</tr>
<tr>
<td><code>InvalidStateError</code></td>
Expand Down
18 changes: 3 additions & 15 deletions files/en-us/web/api/idbtransaction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,31 +116,19 @@ <h2 id="Mode_constants">Mode constants</h2>
<tbody>
<tr>
<td><code><a>READ_ONLY</a></code></td>
<td>
<p>"readonly"</p>

<p>(0 in Chrome)</p>
</td>
<td>"readonly" (0 in Chrome)</td>
<td>
<p>Allows data to be read but not changed.</p>
</td>
</tr>
<tr>
<td><code><a>READ_WRITE</a></code></td>
<td>
<p>"readwrite"</p>

<p>(1 in Chrome)</p>
</td>
<td>"readwrite" (1 in Chrome)</td>
<td>Allows reading and writing of data in existing data stores to be changed.</td>
</tr>
<tr>
<td><code><a>VERSION_CHANGE</a></code></td>
<td>
<p>"versionchange"</p>

<p>(2 in Chrome)</p>
</td>
<td>"versionchange" (2 in Chrome)</td>
<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>
</tr>
</tbody>
Expand Down
Binary file removed files/en-us/web/api/window/open/ais_newwindowicon.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
44 changes: 0 additions & 44 deletions files/en-us/web/api/window/open/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -645,50 +645,6 @@ <h4 id="Always_identify_links_that_will_create_or_will_re-use_a_new_secondary_wi
Predict Where They Are Going</a>, Jakob Nielsen, January 1998</li>
</ul>

<table class="standard-table">
<tbody>
<tr>
<td class="header" colspan="4">Example "New Window" Icons &amp; Cursors</td>
</tr>
<tr>
<td><img alt="New window icon from yahoo.com"
src="newwindowyahoo.png"></td>
<td><img alt="New window icon from microsoft.com"
src="newwinmsie.gif"></td>
<td><img alt="New window icon from webaim.org"
src="popup_requested_new_window.gif"></td>
<td><img alt="New window icon from sun.com"
src="popupimagesun.gif"></td>
</tr>
<tr>
<td><img alt="New window icon from bbc.co.uk"
src="opennews_rb.gif"></td>
<td><img alt="New window icon from Accessible Internet Solutions"
src="ais_newwindowicon.png"></td>
<td><img alt="New window icon from accessify.com"
src="pop-up-launcher.gif"></td>
<td><img alt="New window icon from webstyleguide.com"
src="webstyleguide_com_newwind.gif"></td>
</tr>
<tr>
<td><img alt="New window icon from an unknown source"
src="popicon_1.gif"></td>
<td><img alt="New window icon from an unknown source"
src="new.gif"></td>
<td><img alt="New window icon from an unknown source"
src="willcreateorrecyclenewwindow.gif"></td>
<td><img alt="New window icon from gtalbot.org"
src="openrequestedpopup.png"></td>
</tr>
<tr>
<td colspan="2"><img alt="New window cursor from draig.de"
src="cursor_linknewwindowtargetblank.png"></td>
<td colspan="2"><img alt="New window cursor from mithgol.ru"
src="cursor_newwindowsergeysokoloff.png"></td>
</tr>
</tbody>
</table>

<h4 id="Always_use_the_target_attribute">Always use the target attribute</h4>

<p>If javascript support is disabled or non-existent, then the user agent will create a
Expand Down
Binary file removed files/en-us/web/api/window/open/new.gif
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/newwindowyahoo.png
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/newwinmsie.gif
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/opennews_rb.gif
Binary file not shown.
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/pop-up-launcher.gif
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/popicon_1.gif
Binary file not shown.
Binary file not shown.
Binary file removed files/en-us/web/api/window/open/popupimagesun.gif
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions files/en-us/web/api/worklet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ <h2 id="Worklet_types">Worklet types</h2>
<tbody>
<tr>
<td>{{domxref("PaintWorklet")}}</td>
<td>
<p>For programmatically generating an image where a CSS property expects a file. Access this interface through {{DOMxRef("CSS.paintWorklet")}}.</p>
</td>
<td>For programmatically generating an image where a CSS property expects a file. Access this interface through {{DOMxRef("CSS.paintWorklet")}}.</td>
<td><strong>Chrome:</strong> Main thread, <strong>Gecko:</strong> Paint thread</td>
<td><a href="https://drafts.css-houdini.org/css-paint-api-1/#paint-worklet">CSS Painting API</a></td>
</tr>
Expand Down