Skip to content

Commit da2f6f9

Browse files
authored
Remove style attributes from Web RTC pages (#5724)
1 parent f42a7ef commit da2f6f9

File tree

31 files changed

+51
-51
lines changed

31 files changed

+51
-51
lines changed

files/en-us/web/api/rtcdatachannel/bufferedamount/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h2 id="Example">Example</h2>
6666

6767
<h2 id="Specifications">Specifications</h2>
6868

69-
<table class="standard-table" style="height: 49px; width: 1000px;">
69+
<table class="standard-table">
7070
<thead>
7171
<tr>
7272
<th scope="col">Specification</th>

files/en-us/web/api/rtcdatachannel/bufferedamountlowthreshold/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h2 id="Example">Example</h2>
6262

6363
<h2 id="Specifications">Specifications</h2>
6464

65-
<table class="standard-table" style="height: 49px; width: 1000px;">
65+
<table class="standard-table">
6666
<thead>
6767
<tr>
6868
<th scope="col">Specification</th>

files/en-us/web/api/rtcdatachannel/label/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 id="Example">Example</h2>
5656

5757
<h2 id="Specifications">Specifications</h2>
5858

59-
<table class="standard-table" style="height: 49px; width: 1000px;">
59+
<table class="standard-table">
6060
<thead>
6161
<tr>
6262
<th scope="col">Specification</th>

files/en-us/web/api/rtcdatachannel/onclose/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2 id="Example">Example</h2>
5454

5555
<h2 id="Specifications">Specifications</h2>
5656

57-
<table class="standard-table" style="height: 49px; width: 1000px;">
57+
<table class="standard-table">
5858
<thead>
5959
<tr>
6060
<th scope="col">Specification</th>

files/en-us/web/api/rtcdatachannel/ordered/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2 id="Example">Example</h2>
4343

4444
<h2 id="Specifications">Specifications</h2>
4545

46-
<table class="standard-table" style="height: 49px; width: 1000px;">
46+
<table class="standard-table">
4747
<thead>
4848
<tr>
4949
<th scope="col">Specification</th>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h2 id="Example">Example</h2>
6060

6161
<h2 id="Specifications">Specifications</h2>
6262

63-
<table class="standard-table" style="height: 49px; width: 1000px;">
63+
<table class="standard-table">
6464
<thead>
6565
<tr>
6666
<th scope="col">Specification</th>

files/en-us/web/api/rtcdtmftonechangeevent/tone/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 id="Example">Example</h2>
4141

4242
<h2 id="Specifications">Specifications</h2>
4343

44-
<table class="standard-table" style="height: 49px; width: 1000px;">
44+
<table class="standard-table">
4545
<thead>
4646
<tr>
4747
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/getidentityassertion/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h2 id="Example">Example</h2>
3838

3939
<h2 id="Specifications">Specifications</h2>
4040

41-
<table class="standard-table" style="height: 49px; width: 1000px;">
41+
<table class="standard-table">
4242
<thead>
4343
<tr>
4444
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/getreceivers/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h2 id="Example">Example</h2>
4040

4141
<h2 id="Specifications">Specifications</h2>
4242

43-
<table class="standard-table" style="height: 49px; width: 1000px;">
43+
<table class="standard-table">
4444
<thead>
4545
<tr>
4646
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/getsenders/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2 id="Example">Example</h2>
5757

5858
<h2 id="Specifications">Specifications</h2>
5959

60-
<table class="standard-table" style="height: 49px; width: 1000px;">
60+
<table class="standard-table">
6161
<thead>
6262
<tr>
6363
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/iceconnectionstate/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2 id="Example">Example</h2>
4949

5050
<h2 id="Specifications">Specifications</h2>
5151

52-
<table class="standard-table" style="height: 49px; width: 1000px;">
52+
<table class="standard-table">
5353
<thead>
5454
<tr>
5555
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/icegatheringstate/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 id="Example">Example</h2>
4141

4242
<h2 id="Specifications">Specifications</h2>
4343

44-
<table class="standard-table" style="height: 49px; width: 1000px;">
44+
<table class="standard-table">
4545
<thead>
4646
<tr>
4747
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/peeridentity/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h2 id="Example">Example</h2>
7474

7575
<h2 id="Specifications">Specifications</h2>
7676

77-
<table class="standard-table" style="height: 49px; width: 1000px;">
77+
<table class="standard-table">
7878
<thead>
7979
<tr>
8080
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/remotedescription/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 id="Example">Example</h2>
5656

5757
<h2 id="Specifications">Specifications</h2>
5858

59-
<table class="standard-table" style="height: 49px; width: 1000px;">
59+
<table class="standard-table">
6060
<thead>
6161
<tr>
6262
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/removetrack/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h2 id="Example">Example</h2>
7373

7474
<h2 id="Specifications">Specifications</h2>
7575

76-
<table class="standard-table" style="height: 49px; width: 1000px;">
76+
<table class="standard-table">
7777
<thead>
7878
<tr>
7979
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnection/setidentityprovider/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2 id="Example">Example</h2>
4949

5050
<h2 id="Specifications">Specifications</h2>
5151

52-
<table class="standard-table" style="height: 49px; width: 1000px;">
52+
<table class="standard-table">
5353
<thead>
5454
<tr>
5555
<th scope="col">Specification</th>

files/en-us/web/api/rtcpeerconnectioniceevent/candidate/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 id="Example">Example</h2>
4141

4242
<h2 id="Specifications">Specifications</h2>
4343

44-
<table class="standard-table" style="height: 49px; width: 1000px;">
44+
<table class="standard-table">
4545
<thead>
4646
<tr>
4747
<th scope="col">Specification</th>

files/en-us/web/api/rtcrtpreceiver/getstats/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2 id="Example">Example</h2>
5050

5151
<h2 id="Specifications">Specifications</h2>
5252

53-
<table class="standard-table" style="height: 49px; width: 1000px;">
53+
<table class="standard-table">
5454
<thead>
5555
<tr>
5656
<th scope="col">Specification</th>

files/en-us/web/api/rtcrtpsender/getstats/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2 id="Example">Example</h2>
5050

5151
<h2 id="Specifications">Specifications</h2>
5252

53-
<table class="standard-table" style="height: 49px; width: 1000px;">
53+
<table class="standard-table">
5454
<thead>
5555
<tr>
5656
<th scope="col">Specification</th>

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

+15-15
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,31 @@ <h2 id="Values">Values</h2>
3030
<table class="standard-table">
3131
<thead>
3232
<tr>
33-
<th scope="row" style="vertical-align: top;">Value</th>
34-
<th scope="col" style="vertical-align: top;"><code>RTCRtpSender</code> behavior</th>
35-
<th scope="col" style="vertical-align: top;"><code>RTCRtpReceiver</code> behavior</th>
33+
<th scope="row">Value</th>
34+
<th scope="col"><code>RTCRtpSender</code> behavior</th>
35+
<th scope="col"><code>RTCRtpReceiver</code> behavior</th>
3636
</tr>
3737
</thead>
3838
<tbody>
3939
<tr>
40-
<th scope="row" style="vertical-align: top;"><a id="sendrecv"><code>"sendrecv"</code></a></th>
41-
<td style="vertical-align: top;">Offers to send {{Glossary("RTP")}} data, and will do so if the other peer accepts the connection and at least one of the sender's encodings is active<sup>1</sup>.</td>
42-
<td style="vertical-align: top;">Offers to receive RTP data, and does so if the other peer accepts.</td>
40+
<th scope="row"><a id="sendrecv"><code>"sendrecv"</code></a></th>
41+
<td>Offers to send {{Glossary("RTP")}} data, and will do so if the other peer accepts the connection and at least one of the sender's encodings is active<sup>1</sup>.</td>
42+
<td>Offers to receive RTP data, and does so if the other peer accepts.</td>
4343
</tr>
4444
<tr>
45-
<th scope="row" style="vertical-align: top;"><a id="sendonly"><code>"sendonly"</code></a></th>
46-
<td style="vertical-align: top;">Offers to send RTP data, and will do so if the other peer accepts the connection and at least one of the sender's encodings is active<sup>1</sup>.</td>
47-
<td style="vertical-align: top;">Does <em>not</em> offer to receive RTP data and will not do so.</td>
45+
<th scope="row"><a id="sendonly"><code>"sendonly"</code></a></th>
46+
<td>Offers to send RTP data, and will do so if the other peer accepts the connection and at least one of the sender's encodings is active<sup>1</sup>.</td>
47+
<td>Does <em>not</em> offer to receive RTP data and will not do so.</td>
4848
</tr>
4949
<tr>
50-
<th scope="row" style="vertical-align: top;"><a id="recvonly"><code>"recvonly"</code></a></th>
51-
<td style="vertical-align: top;">Does <em>not</em> offer to send RTP data, and will not do so.</td>
52-
<td style="vertical-align: top;">Offers to receive RTP data, and will do so if the other peer offers.</td>
50+
<th scope="row"><a id="recvonly"><code>"recvonly"</code></a></th>
51+
<td>Does <em>not</em> offer to send RTP data, and will not do so.</td>
52+
<td>Offers to receive RTP data, and will do so if the other peer offers.</td>
5353
</tr>
5454
<tr>
55-
<th scope="row" style="vertical-align: top;"><a id="inactive"><code>"inactive"</code></a></th>
56-
<td style="vertical-align: top;">Does <em>not</em> offer to send RTP data, and will not do so.</td>
57-
<td style="vertical-align: top;">Does <em>not</em> offer to receive RTP data and will not do so.</td>
55+
<th scope="row"><a id="inactive"><code>"inactive"</code></a></th>
56+
<td>Does <em>not</em> offer to send RTP data, and will not do so.</td>
57+
<td>Does <em>not</em> offer to receive RTP data and will not do so.</td>
5858
</tr>
5959
</tbody>
6060
</table>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2 id="Example">Example</h2>
7979

8080
<h2 id="Specifications">Specifications</h2>
8181

82-
<table class="standard-table" style="height: 49px; width: 1000px;">
82+
<table class="standard-table">
8383
<thead>
8484
<tr>
8585
<th scope="col">Specification</th>

files/en-us/web/api/rtcsessiondescription/sdp/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2 id="Example">Example</h2>
4747

4848
<h2 id="Specifications">Specifications</h2>
4949

50-
<table class="standard-table" style="height: 49px; width: 1000px;">
50+
<table class="standard-table">
5151
<thead>
5252
<tr>
5353
<th scope="col">Specification</th>

files/en-us/web/api/rtcsessiondescription/tojson/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 id="Example">Example</h2>
4444

4545
<h2 id="Specifications">Specifications</h2>
4646

47-
<table class="standard-table" style="height: 49px; width: 1000px;">
47+
<table class="standard-table">
4848
<thead>
4949
<tr>
5050
<th scope="col">Specification</th>

files/en-us/web/api/rtcsessiondescription/type/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h2 id="Example">Example</h2>
4848

4949
<h2 id="Specifications">Specifications</h2>
5050

51-
<table class="standard-table" style="height: 49px; width: 1000px;">
51+
<table class="standard-table">
5252
<thead>
5353
<tr>
5454
<th scope="col">Specification</th>

files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/connect_peers/answer_a_call/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h4>Warning</h4>
4545
});</pre>
4646

4747
<p>Let's walk through the most important parts of this code:</p>
48-
<ol style="list-style-type: upper-latin">
48+
<ul>
4949
<li>
5050
<p><code>call.answer(window.localStream)</code>: if <code>answerCall</code> is <code>true</code>, you'll want to call peerJS’s <code>answer()</code> function on the call to create an answer, passing it the local stream.</p>
5151
</li>
@@ -58,7 +58,7 @@ <h4>Warning</h4>
5858
<li>
5959
<p>If the person denies the call, we’re just going to log a message to the console.</p>
6060
</li>
61-
</ol>
61+
</ul>
6262
</li>
6363
<li>
6464
<p>The code you have now is enough for you to create a call and answer it. Refresh your browsers and test it out. You’ll want to make sure that both browsers have the console open or else you won’t get the prompt to answer the call. Click call, submit the peer ID for the other browser and then answer the call. The final page should look like this:</p>

files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/connect_peers/creating_a_call/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
})</pre>
3232

3333
<p>Let's walk through this code:</p>
34-
<ol style="list-style-type: upper-latin">
34+
<ul>
3535
<li>
3636
<p><code>const call = peer.call(code, window.localStream)</code>: This will create a call with the <code>code</code> and <code>window.localStream</code> we've previously assigned. Note that the <code>localStream</code> will be the user's <code>localStream</code>. So for caller A it'll be their stream &amp; for B, their own stream.</p>
3737
</li>
@@ -50,7 +50,7 @@
5050
<li>
5151
<p>Finally you want to show the correct content, so call the <code>showConnectedContent()</code> function you created earlier.</p>
5252
</li>
53-
</ol>
53+
</ul>
5454
<li>
5555
<p>To test this out, open <code>localhost:8000</code> in two browser windows and click Call inside one of them. You should see this:</p>
5656

files/en-us/web/api/webrtc_api/build_a_phone_with_peerjs/connect_peers/get_microphone_permission/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<p>Let's explain the most important lines:</p>
2626

27-
<ol style="list-style-type:upper-latin;">
27+
<ul>
2828
<li>
2929
<p><code>window.localStream = stream</code> attaches the <code>MediaStream</code> object (which we have assigned to <code>stream</code> on the previous line) to the window as the <code>localStream</code>.</p>
3030
</li>
@@ -34,7 +34,7 @@
3434
<li>
3535
<p><code>window.localAudio.autoplay = true</code> sets the <code>autoplay</code> attribute of the <code>&lt;audio&gt;</code> element to true, so that the audio plays automatically.</p>
3636
</li>
37-
</ol>
37+
</ul>
3838

3939
<div class="notecard warning">
4040
<h4>Warning</h4>

files/en-us/web/api/webrtc_api/connectivity/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ <h3 id="ICE_restarts">ICE restarts</h3>
143143

144144
<h2 id="The_entire_exchange_in_a_complicated_diagram">The entire exchange in a complicated diagram</h2>
145145

146-
<p><a href="https://hacks.mozilla.org/wp-content/uploads/2013/07/webrtc-complete-diagram.png"><img alt="A complete architectural diagram showing the whole WebRTC process." src="webrtc-complete-diagram.png" style="display: block; margin: 0px auto;"></a></p>
146+
<p><a href="https://hacks.mozilla.org/wp-content/uploads/2013/07/webrtc-complete-diagram.png"><img alt="A complete architectural diagram showing the whole WebRTC process." src="webrtc-complete-diagram.png"></a></p>

files/en-us/web/api/webrtc_api/protocols/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2 id="STUN">STUN</h2>
3131

3232
<p>The client will send a request to a STUN server on the Internet who will reply with the client’s public address and whether or not the client is accessible behind the router’s NAT.</p>
3333

34-
<p><img alt="An interaction between two users of a WebRTC application involving a STUN server." src="webrtc-stun.png" style="display: block; margin: 0px auto;"></p>
34+
<p><img alt="An interaction between two users of a WebRTC application involving a STUN server." src="webrtc-stun.png"></p>
3535

3636
<h2 id="NAT">NAT</h2>
3737

@@ -45,7 +45,7 @@ <h2 id="TURN">TURN</h2>
4545

4646
<p><a href="https://en.wikipedia.org/wiki/TURN">Traversal Using Relays around NAT (TURN)</a> is meant to bypass the Symmetric NAT restriction by opening a connection with a TURN server and relaying all information through that server. You would create a connection with a TURN server and tell all peers to send packets to the server which will then be forwarded to you. This obviously comes with some overhead so it is only used if there are no other alternatives.</p>
4747

48-
<p><img alt="An interaction between two users of a WebRTC application involving STUN and TURN servers." src="webrtc-turn.png" style="display: block; margin: 0px auto;"></p>
48+
<p><img alt="An interaction between two users of a WebRTC application involving STUN and TURN servers." src="webrtc-turn.png"></p>
4949

5050
<h2 id="SDP">SDP</h2>
5151

files/en-us/web/api/webrtc_api/taking_still_photos/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<p><span class="seoSummary">This article shows how to use WebRTC to access the camera on a computer or mobile phone with WebRTC support and take a photo with it.</span> <a href="https://mdn-samples.mozilla.org/s/webrtc-capturestill">Try this sample</a> then read on to learn how it works.</p>
2020

21-
<p><img alt="WebRTC-based image capture app — on the left we have a video stream taken from a webcam and a take photo button, on the right we have the still image output from taking the photo" src="web-rtc-demo.png" style="display: block; margin: 0px auto;"></p>
21+
<p><img alt="WebRTC-based image capture app — on the left we have a video stream taken from a webcam and a take photo button, on the right we have the still image output from taking the photo" src="web-rtc-demo.png"></p>
2222

2323
<p>You can also jump straight to the <a href="https://github.com/mdn/samples-server/tree/master/s/webrtc-capturestill" rel="noopener">code on Github</a> if you like.</p>
2424

@@ -47,7 +47,7 @@ <h2 id="The_HTML_markup">The HTML markup</h2>
4747

4848
<p>That's all of the relevant HTML. The rest is just some page layout fluff and a bit of text offering a link back to this page.</p>
4949

50-
<h2 id="The_JavaScript_code"><span style="font-size: 30px;">The JavaScript code</span></h2>
50+
<h2 id="The_JavaScript_code">The JavaScript code</h2>
5151

5252
<p>Now let's take a look at the <a href="https://github.com/mdn/samples-server/tree/master/s/webrtc-capturestill/capture.js" rel="noopener">JavaScript code</a>. We'll break it up into a few bite-sized pieces to make it easier to explain.</p>
5353

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h2 id="Reference">Reference</h2>
6969
</thead>
7070
<tbody>
7171
<tr>
72-
<th scope="row" style="vertical-align: top;"><code>candidate-pair</code></th>
72+
<th scope="row"><code>candidate-pair</code></th>
7373
<td>Statistics describing the change from one {{domxref("RTCIceTransport")}} to another, such as during an <a href="/en-US/docs/Web/API/WebRTC_API/Session_lifetime#ice_restart">ICE restart</a>.</td>
7474
<td>
7575
<ul class="directory-tree">
@@ -371,7 +371,7 @@ <h2 id="Reference">Reference</h2>
371371
</td>
372372
</tr>
373373
<tr>
374-
<th scope="row" style="vertical-align: top;"><code>transceiver</code></th>
374+
<th scope="row"><code>transceiver</code></th>
375375
<td>Statistics related to a specific {{domxref("RTCRtpTransceiver")}}.</td>
376376
<td>
377377
<ul class="directory-tree">

0 commit comments

Comments
 (0)