Skip to content

Commit e2ce94f

Browse files
committed
[selectors] Fix broken links
1 parent 3992c20 commit e2ce94f

2 files changed

Lines changed: 19 additions & 21 deletions

File tree

selectors/Overview.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2+
"http://www.w3.org/TR/html4/loose.dtd">
23

34
<html lang=en>
45
<head profile="http://dublincore.org/documents/2008/08/04/dc-html/ ">
@@ -1222,7 +1223,7 @@ <h3 id=profiles><span class=secno>2.1. </span> <a
12221223
<p class=issue>We are considering whether this restriction should be
12231224
lifted.
12241225

1225-
<li>The <a href=idref-combinators>reference combinator</a>
1226+
<li>The <a href="#idref-combinators">reference combinator</a>
12261227

12271228
<li>The <a href="#subject">subject indicator</a>
12281229
</ul>
@@ -1481,7 +1482,7 @@ <h3 id=pseudo-elements><span class=secno>3.5. </span>Pseudo-elements</h3>
14811482
colons (<code>::</code>) followed by the name of the <a
14821483
href="#pseudo-element"><i>pseudo-element</i></a>. <a
14831484
href="#pseudo-element"><i>Pseudo-element</i></a> names are <a
1484-
href=case-sensitive>ASCII case-insensitive</a>.
1485+
href="#case-sensitive">ASCII case-insensitive</a>.
14851486

14861487
<p>This <code>::</code> notation was chosen in order to establish a
14871488
discrimination between <a href="#pseudo-class"><i>pseudo-classes</i></a>
@@ -2887,12 +2888,11 @@ <h3 id=the-dir-pseudo><span class=secno>10.1. </span> The directionality
28872888
For example, in HTML, the directionality of an element inherits so that a
28882889
child without a <code>dir</code> attribute will have the same
28892890
directionality as its closest ancestor with a valid <code>dir</code>
2890-
attribute. As another example, <a
2891-
href="http://www.w3.org/TR/html5/global-attributes.html#the-directionality">in
2892-
HTML5</a>, an element that matches <code>[dir=auto]</code> will match
2893-
either <code>:dir(ltr)</code> or <code>:dir(rtl)</code> depending on the
2894-
resolved directionality of the elements as determined by its contents. <a
2895-
href="#HTML5" rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>
2891+
attribute. As another example, in HTML, an element that matches
2892+
<code>[dir=auto]</code> will match either <code>:dir(ltr)</code> or
2893+
<code>:dir(rtl)</code> depending on the resolved directionality of the
2894+
elements as determined by its contents. <a href="#HTML5"
2895+
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>
28962896

28972897
<h3 id=the-lang-pseudo><span class=secno>10.2. </span> The language
28982898
pseudo-class <a href="#lang-pseudo"><code>:lang()</code></a></h3>
@@ -4357,10 +4357,9 @@ <h3 id=conformance-classes><span class=secno>18.2. </span> Conformance
43574357
<p>An authoring tool is conformant to Selectors Level 4 if it writes
43584358
syntactically correct selectors.
43594359

4360-
<p>Any specification reusing Selectors must contain a <a
4361-
href="#profiling">Profile</a> listing the subset of Selectors it accepts
4362-
or excludes, and describing any constraints it adds to the current
4363-
specification.
4360+
<p>Any specification reusing Selectors must define the subset of Selectors
4361+
it accepts or excludes, and describe any additional constraints it adds to
4362+
the current specification.
43644363

43654364
<p>Specifications reusing Selectors must define how to handle invalid
43664365
selectors. (In the case of CSS, the entire rule in which the selector is

selectors/Overview.src.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
22
<html lang="en">
33
<head>
44
<title>Selectors Level 4</title>
@@ -542,7 +542,7 @@ <h3 id="profiles">
542542
<ul>
543543
<li><i>Combinators</i> within <code>:matches()</code>, <code>:not()</code>, <code>:nth-match()</code>, and <code>:nth-last-match()</code>.
544544
<p class='issue'>We are considering whether this restriction should be lifted.
545-
<li>The <a href="idref-combinators">reference combinator</a>
545+
<li>The <a href="#idref-combinators">reference combinator</a>
546546
<li>The <a href="#subject">subject indicator</a>
547547
</ul>
548548

@@ -771,7 +771,7 @@ <h3 id="pseudo-elements">Pseudo-elements</h3>
771771

772772
<p>A <i>pseudo-element</i> is made of two colons (<code>::</code>)
773773
followed by the name of the <i>pseudo-element</i>.
774-
<i>Pseudo-element</i> names are <a href="case-sensitive">ASCII case-insensitive</a>.
774+
<i>Pseudo-element</i> names are <a href="#case-sensitive">ASCII case-insensitive</a>.
775775

776776
<p>This <code>::</code> notation was chosen in order to establish
777777
a discrimination between <i>pseudo-classes</i> (which subclass existing elements)
@@ -1944,8 +1944,7 @@ <h3 id="the-dir-pseudo">
19441944
comparison. For example, in HTML, the directionality of an element
19451945
inherits so that a child without a <code>dir</code> attribute will have
19461946
the same directionality as its closest ancestor with a valid <code>dir</code>
1947-
attribute. As another example,
1948-
<a href="http://www.w3.org/TR/html5/global-attributes.html#the-directionality">in HTML5</a>,
1947+
attribute. As another example, in HTML,
19491948
an element that matches <code>[dir=auto]</code> will match either
19501949
<code>:dir(ltr)</code> or <code>:dir(rtl)</code> depending on the resolved
19511950
directionality of the elements as determined by its contents. [[HTML5]]
@@ -3168,9 +3167,9 @@ <h3 id="conformance-classes">
31683167
<p>An authoring tool is conformant to Selectors Level 4
31693168
if it writes syntactically correct selectors.
31703169

3171-
<p>Any specification reusing Selectors must contain a <a
3172-
href="#profiling">Profile</a> listing the
3173-
subset of Selectors it accepts or excludes, and describing any constraints
3170+
<p>Any specification reusing Selectors must define
3171+
the subset of Selectors it accepts or excludes,
3172+
and describe any additional constraints
31743173
it adds to the current specification.
31753174

31763175
<p>Specifications reusing Selectors must define how to handle invalid

0 commit comments

Comments
 (0)