You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: files/en-us/web/api/document/xmlencoding/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
<p>...the result should be "UTF-16".</p>
25
25
26
-
<p>However, Firefox 3.0 includes information on endianness (e.g., UTF-16BE for big endian encoding), and while this extra information is removed as of Firefox 3.1b3, Firefox 3.1b3 is still consulting the file's encoding, rather than the XML Declaration as the spec defines it ("An attribute specifying, <u><em>as part of the XML declaration</em></u>, the encoding of this document.").</p>
26
+
<p>However, Firefox 3.0 includes information on endianness (e.g., UTF-16BE for big endian encoding), and while this extra information is removed as of Firefox 3.1b3, Firefox 3.1b3 is still consulting the file's encoding, rather than the XML Declaration as the spec defines it ("An attribute specifying, <em>as part of the XML declaration</em>, the encoding of this document.").</p>
<td><em><code>long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("maxlength", "input") }} attribute, containing the <u><strong>maximum number of characters</strong></u> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
179
+
<td><em><code>long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("maxlength", "input") }} attribute, containing the maximum number of characters (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
180
180
</tr>
181
181
<tr>
182
182
<td><code>min</code></td>
183
183
<td><em><code>string</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("min", "input") }} attribute, containing the minimum (numeric or date-time) value for this item, which must not be greater than its maximum ({{htmlattrxref("max","input")}} attribute) value.</td>
184
184
</tr>
185
185
<tr>
186
186
<td><code>minLength</code></td>
187
-
<td><em><code>long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("minlength", "input") }} attribute, containing the <u><strong>minimum number of characters</strong></u> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
187
+
<td><em><code>long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("minlength", "input") }} attribute, containing the minimum number of characters (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
188
188
</tr>
189
189
<tr>
190
190
<td><code>pattern</code></td>
191
-
<td><em><code>string</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("pattern", "input") }} attribute, containing a <u><strong>regular expression</strong></u> that the control's value is checked against. Use the {{htmlattrxref("title","input")}} attribute to describe the pattern to help the user. This attribute applies when the value of the {{htmlattrxref("type","input")}} attribute is <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code> or <code>email</code>; otherwise it is ignored.</td>
191
+
<td><em><code>string</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("pattern", "input") }} attribute, containing a regular expression that the control's value is checked against. Use the {{htmlattrxref("title","input")}} attribute to describe the pattern to help the user. This attribute applies when the value of the {{htmlattrxref("type","input")}} attribute is <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code> or <code>email</code>; otherwise it is ignored.</td>
<td><em><code>unsigned long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("size", "input") }} attribute, containing <u><strong>visual size of the control</strong></u>. This value is in pixels unless the value of {{htmlattrxref("type","input")}} is <code>text</code> or <code>password</code>, in which case, it is an integer number of characters. Applies only when {{htmlattrxref("type","input")}} is set to <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code>, <code>email</code>, or <code>password</code>; otherwise it is ignored.</td>
219
+
<td><em><code>unsigned long</code>:</em><strong>Returns / Sets</strong> the element's {{ htmlattrxref("size", "input") }} attribute, containing visual size of the control. This value is in pixels unless the value of {{htmlattrxref("type","input")}} is <code>text</code> or <code>password</code>, in which case, it is an integer number of characters. Applies only when {{htmlattrxref("type","input")}} is set to <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code>, <code>email</code>, or <code>password</code>; otherwise it is ignored.</td>
<dd>A boolean value that states whether this result is final (true) or not (false) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.</dd>
<dd>Returns <cite>the length of the "array" — the </cite>number of {{domxref("SpeechRecognitionAlternative")}} objects contained in the result (also referred to as "n-best alternatives".)</dd>
25
+
<dd>Returns the length of the "array" — the number of {{domxref("SpeechRecognitionAlternative")}} objects contained in the result (also referred to as "n-best alternatives".)</dd>
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-alpn/"><cite>Application Layer Protocol Negotiation for Web Real-Time Communications</cite></a></li>
238
-
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-audio/"><cite>WebRTC Audio Codec and Processing Requirements</cite></a></li>
239
-
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-data-channel/"><cite>RTCWeb Data Channels</cite></a></li>
240
-
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-data-protocol/"><cite>RTCWeb Data Channel Protocol</cite></a></li>
241
-
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-rtp-usage/"><cite>Web Real-Time Communication (WebRTC): Media Transport and Use of RTP</cite></a></li>
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-transports/"><cite>Transports for RTCWEB</cite></a></li>
237
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-alpn/">Application Layer Protocol Negotiation for Web Real-Time Communications</a></li>
238
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-audio/">WebRTC Audio Codec and Processing Requirements</a></li>
239
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-data-channel/">RTCWeb Data Channels</a></li>
240
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-data-protocol/">RTCWeb Data Channel Protocol</a></li>
241
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-rtcweb-rtp-usage/">Web Real-Time Communication (WebRTC): Media Transport and Use of RTP</a></li>
<li><ahref="https://datatracker.ietf.org/doc/html/rfc5245">Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocol</a></li>
250
-
<li><ahref="https://datatracker.ietf.org/doc/html/rfc5389"><cite>Session Traversal Utilities for NAT (STUN)</cite></a></li>
251
-
<li><ahref="https://datatracker.ietf.org/doc/html/rfc7064"><cite>URI Scheme for the Session Traversal Utilities for NAT (STUN) Protocol</cite></a></li>
252
-
<li><ahref="https://datatracker.ietf.org/doc/html/rfc7065"><cite>Traversal Using Relays around NAT (TURN) Uniform Resource Identifiers</cite></a></li>
253
-
<li><ahref="https://datatracker.ietf.org/doc/html/rfc3264"><cite>An Offer/Answer Model with Session Description Protocol (SDP)</cite></a></li>
254
-
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-tram-turn-third-party-authz/"><cite>Session Traversal Utilities for NAT (STUN) Extension for Third Party Authorization</cite></a></li>
250
+
<li><ahref="https://datatracker.ietf.org/doc/html/rfc5389">Session Traversal Utilities for NAT (STUN)</a></li>
251
+
<li><ahref="https://datatracker.ietf.org/doc/html/rfc7064">URI Scheme for the Session Traversal Utilities for NAT (STUN) Protocol</a></li>
252
+
<li><ahref="https://datatracker.ietf.org/doc/html/rfc7065">Traversal Using Relays around NAT (TURN) Uniform Resource Identifiers</a></li>
253
+
<li><ahref="https://datatracker.ietf.org/doc/html/rfc3264">An Offer/Answer Model with Session Description Protocol (SDP)</a></li>
254
+
<li><ahref="https://datatracker.ietf.org/doc/draft-ietf-tram-turn-third-party-authz/">Session Traversal Utilities for NAT (STUN) Extension for Third Party Authorization</a></li>
Copy file name to clipboardexpand all lines: files/en-us/web/api/webrtc_api/protocols/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ <h2 id="ICE">ICE</h2>
27
27
28
28
<h2id="STUN">STUN</h2>
29
29
30
-
<p><ahref="https://en.wikipedia.org/wiki/STUN">Session Traversal Utilities for <u>NAT</u> (STU<u>N</u>)</a> (acronym within an acronym) is a protocol to discover your public address and determine any restrictions in your router that would prevent a direct connection with a peer.</p>
30
+
<p><ahref="https://en.wikipedia.org/wiki/STUN">Session Traversal Utilities for NAT (STUN)</a> is a protocol to discover your public address and determine any restrictions in your router that would prevent a direct connection with a peer.</p>
31
31
32
32
<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>
0 commit comments