Skip to content

Commit 931fbfe

Browse files
authored
Update HTML5, CSS2, and RFC references (#4005)
Many links related to HTML5, CSS and RFCs point to outdated resources. This PR attempts to replace those links with the latest ones.
1 parent a957a96 commit 931fbfe

File tree

14 files changed

+35
-32
lines changed

14 files changed

+35
-32
lines changed

techniques/css/C18.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ <h2>Tests</h2>
5353
<h2>Resources</h2>
5454
<ul>
5555
<li>
56-
<a href="https://www.w3.org/TR/CSS2/box.html#margin-properties">Margin properties: '<code class="language-css">margin-top</code>', '<code class="language-css">margin-right</code>', '<code class="language-css">margin-bottom</code>', '<code class="language-css">margin-left</code>', and '<code class="language-css">margin</code>' in the CSS2 specification</a>
56+
<a href="https://www.w3.org/TR/css-box-3/#margins">Margin properties: '<code class="language-css">margin-top</code>', '<code class="language-css">margin-right</code>', '<code class="language-css">margin-bottom</code>', '<code class="language-css">margin-left</code>', and '<code class="language-css">margin</code>' in the CSS Box Model Module Level 3 specification</a>
5757
</li>
5858
<li>
59-
<a href="https://www.w3.org/TR/CSS2/box.html#padding-properties">Padding properties: '<code class="language-css">padding-top</code>', '<code class="language-css">padding-right</code>', '<code class="language-css">padding-bottom</code>', '<code class="language-css">padding-left</code>', and '<code class="language-css">padding</code>' in the CSS2 specification</a>
59+
<a href="https://www.w3.org/TR/css-box-3/#paddings">Padding properties: '<code class="language-css">padding-top</code>', '<code class="language-css">padding-right</code>', '<code class="language-css">padding-bottom</code>', '<code class="language-css">padding-left</code>', and '<code class="language-css">padding</code>' in the CSS Box Model Module Level 3 specification</a>
6060
</li>
6161
</ul>
6262
</section>

techniques/css/C22.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,21 @@ <h2>Resources</h2>
314314
<li>
315315
<a href="https://www.w3.org/TR/CSS21/">CSS2.1 Specification</a>
316316
</li>
317+
<li>
318+
<a href="https://www.w3.org/TR/css-fonts-3/">CSS Fonts Module Level 3</a>
319+
</li>
320+
<li>
321+
<a href="https://www.w3.org/TR/css-color-4/">CSS Color Module Level 4</a>
322+
</li>
323+
<li>
324+
<a href="https://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>
325+
</li>
326+
<li>
327+
<a href="https://www.w3.org/TR/css-backgrounds-3/">CSS Backgrounds and Borders Module Level 3</a>
328+
</li>
329+
<li>
330+
<a href="https://www.w3.org/TR/selectors-3/">Selectors Level 3</a>
331+
</li>
317332
<li>
318333
<a href="https://www.w3.org/Style/CSS/learning">Learning CSS</a>
319334
</li>

techniques/failures/F1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<p>This describes the failure condition that results when CSS, rather than
77
structural markup, is used to modify the visual layout of the content, and
88
the modified layout changes the meaning of the content. Using the
9-
positioning properties of CSS2, content may be displayed at any position on
9+
positioning properties of CSS, content may be displayed at any position on
1010
the user's viewport. The order in which items appear on a screen may be
1111
different than the order they are found in the source document. Assistive
1212
technologies rely on the source code or other programmatically determined

techniques/failures/F24.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ <h3>Specifying foreground color of link text with CSS</h3>
100100

101101
<ul>
102102
<li>
103-
<a href="https://www.w3.org/TR/CSS2/cascade.html#inheritance">Assigning property values, Cascading, and Inheritance</a>
104-
</li>
103+
<a href="https://www.w3.org/TR/css-cascade-4/">CSS Cascading and Inheritance Level 4</a>
104+
</li>
105105
</ul>
106106

107107
</section></body></html>

techniques/failures/F4.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2>Related Techniques</h2>
5050
<section id="resources">
5151
<h2>Resources</h2>
5252
<ul>
53-
<li><a href="https://www.w3.org/TR/CSS2/text.html#propdef-text-decoration">CSS 2 text-decoration property</a></li>
53+
<li><a href="https://www.w3.org/TR/css-text-decor-3/#text-decoration-property">CSS Text Decoration Module Level 3: text-decoration property</a></li>
5454
</ul>
5555
</section>
5656
</body>

techniques/failures/F58.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@
5656

5757
<ul>
5858
<li>
59-
<a href="http://www.ietf.org/rfc/rfc1945.txt">Hypertext
60-
Transfer Protocol -- HTTP/1.0 (IETF Request for Comments
61-
1945)</a> (plain text) </li>
62-
<li>
63-
<a href="http://www.ietf.org/rfc/rfc2616.txt">Hypertext
64-
Transfer Protocol -- HTTP/1.1 (IETF Request for Comments
65-
2616)</a> (plain text) </li>
59+
<a href="https://www.rfc-editor.org/rfc/rfc9110#name-redirection-3xx">RFC 9110: HTTP Semantics 15.4. Redirection 3xx</li>
6660

6761
</ul>
6862

techniques/failures/F77.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</ul></section><section id="resources"><h2>Resources</h2>
4141

4242
<ul>
43-
<li>HTML 5: <a href="https://www.w3.org/TR/html5/dom.html#the-id-attribute">id attribute</a>
43+
<li>HTML: <a href="https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute">id attribute</a>
4444
</li>
4545
<li>
4646
<a href="https://www.w3.org/TR/2005/REC-xml-id-20050909/">xml:id Version 1.0</a> - W3C Recommendation 9 September 2005.</li>

techniques/failures/F93.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ <h3>An auto-playing audio track</h3>
3535

3636
<ul>
3737
<li>
38-
<a href="https://www.w3.org/TR/html5/">HTML5</a>
39-
</li>
40-
<li>
41-
<a href="https://html.spec.whatwg.org/">HTML5 Living Standard</a>
42-
</li>
38+
<a href="https://html.spec.whatwg.org/">HTML Living Standard</a>
39+
</li>
4340
</ul>
4441

4542
</section>

techniques/general/G112.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h3>Driver</h3>
1919
<h3>W3C key words</h3>
2020

2121
<p>Definition: The key words "must", "must not", "required", "shall", "shall not", "should", "should not", "recommended", "may", and "optional" in this specification are to be interpreted as described in
22-
<a href="http://www.faqs.org/rfcs/rfc2119.html">RFC 2119</a>.</p>
22+
<a href="https://www.rfc-editor.org/rfc/rfc2119">RFC 2119</a>.</p>
2323

2424
</section>
2525
<section class="example">

techniques/general/G138.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ <h3>Color and strong emphasis for required form fields</h3>
3434
<a href="https://www.paciellogroup.com/blog/2008/02/screen-readers-lack-emphasis/">Screen Readers lack emphasis</a>
3535
</li>
3636
<li>
37-
<a href="https://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1">Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM</a>
38-
</li>
39-
<li>
40-
<a href="https://www.w3.org/TR/html5/text-level-semantics.html#the-em-element">HTML 5.0: 4.5.2 The em element</a>
41-
</li>
37+
<a href="https://html.spec.whatwg.org/multipage/text-level-semantics.html#text-level-semantics">HTML: 4.5 Text-level semantics</a>
38+
</li>
4239
</ul>
4340

4441
</section></body></html>

techniques/general/G204.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
<ul>
3131
<li>
32-
<a href="https://www.w3.org/TR/CSS2/box.html">CSS Box Model</a>
33-
</li>
32+
<a href="https://www.w3.org/TR/css-box-3/">CSS Box Model Module Level 3</a>
33+
</li>
3434
</ul>
3535

3636
</section></body></html>

techniques/html/H57.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h3>Procedure</h3>
5252
<p>Examine the <code class="language-html">html</code> element of the document.</p>
5353
<ol>
5454
<li>Check that the <code class="language-html">html</code> element has a <code class="language-html">lang</code> attribute.</li>
55-
<li>Check that the value of the <code class="language-html">lang</code> attribute conforms to <a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47: Tags for the Identification of Languages</a> or its successor and reflects the primary language used by the Web page.</li>
55+
<li>Check that the value of the <code class="language-html">lang</code> attribute conforms to <a href="https://www.rfc-editor.org/info/bcp47">BCP 47: Tags for Identifying Languages; Matching of Language Tags</a> or its successor and reflects the primary language used by the Web page.</li>
5656
</ol>
5757
</section>
5858
<section class="results">
@@ -78,7 +78,7 @@ <h2>Resources</h2>
7878
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang">HTML "<code class="language-html">lang</code>" attribute on the Mozilla Developer Network</a>.
7979
</li>
8080
<li>
81-
<a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47: Tags for the Identification of Languages</a>.
81+
<a href="https://www.rfc-editor.org/info/bcp47">BCP 47: Tags for Identifying Languages; Matching of Language Tags</a>.
8282
</li>
8383
<li>
8484
<a href="https://www.w3.org/International/articles/language-tags/">Language tags in HTML and XML</a>.

techniques/html/H58.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h3>Procedure</h3>
5050
</ol>
5151
<p>For each <code class="language-html">lang</code> attribute in the document:</p>
5252
<ol>
53-
<li>Check that the value of the <code class="language-html">lang</code> attribute conforms to <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47: Tags for the Identification of Languages</a> or its successor.</li>
53+
<li>Check that the value of the <code class="language-html">lang</code> attribute conforms to <a href="https://www.rfc-editor.org/info/bcp47">BCP 47: Tags for Identifying Languages; Matching of Language Tags</a> or its successor.</li>
5454
<li>Check that the language code matches the language of the content it applies to.</li>
5555
</ol>
5656
</section>
@@ -77,7 +77,7 @@ <h2>Resources</h2>
7777
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang">HTML "<code class="language-html">lang</code>" attribute on the Mozilla Developer Network</a>.
7878
</li>
7979
<li>
80-
<a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47: Tags for the Identification of Languages</a>.
80+
<a href="https://www.rfc-editor.org/info/bcp47">BCP 47: Tags for Identifying Languages; Matching of Language Tags</a>.
8181
</li>
8282
<li>
8383
<a href="https://www.w3.org/International/articles/language-tags/">Language tags in HTML and XML</a>.

techniques/server-side-script/SVR1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h2>Resources</h2>
112112
<a href="https://www.w3.org/QA/Tips/reback">Use standard redirects: do not break the back button!</a> (W3C QA Tip).
113113
</li>
114114
<li>
115-
<a href="https://tools.ietf.org/html/rfc7231#section-6.4">HTTP/1.1 Status Code Definitions: Redirection 3xx</a>.
115+
<a href="https://www.rfc-editor.org/rfc/rfc9110#name-redirection-3xx">RFC 9110: HTTP Semantics 15.4. Redirection 3xx</a>.
116116
</li>
117117
<li>
118118
<a href="http://docs.oracle.com/cd/E17802_01/products/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html">Interface javax.servlet.http.HttpServletResponse</a> in

0 commit comments

Comments
 (0)