Skip to content

Commit 164d51f

Browse files
committed
[css2] Slight rewrite of subject definition, skip -> ignore, fixed broken links, inline -> inline-level, matching of |= from beginning only
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401180
1 parent 17606af commit 164d51f

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

css2/selector.src

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
22
<html lang="en">
3-
<!-- $Id: selector.src,v 2.23 1998-03-14 00:43:19 ijacobs Exp $ -->
3+
<!-- $Id: selector.src,v 2.24 1998-03-14 23:45:44 ijacobs Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -91,23 +91,22 @@ href="#pseudo-classes">pseudo-class</a>. Each component specifies a
9191
requirement of an element, and the simple selector requires the
9292
logical AND of those requirements.
9393

94+
9495
<P>A <span class="index-def"
9596
title="selector"><dfn>selector</dfn></span> is a chain of one or more
9697
simple selectors separated by combinators (plus optional whitespace).
98+
The elements of the document tree that match a selector are called
99+
<span class="index-def" title="subject (of selector)|selector::subject
100+
of"><a name="subject"><dfn>subjects</dfn></a></span> of the selector.
97101
A selector consisting of a single simple selector matches any element
98-
satisfying its requirements. Additional components (always preprended)
99-
impose additional constraints that must be met for the selector to
100-
match.
101-
102-
<P>The <span class="index-def" title="subject (of
103-
selector)|selector::subject of"><a
104-
name="subject"><dfn>subject</dfn></a></span> of a selector is the
105-
rightmost simple selector of a chain. When a selector matches, the subject
106-
designates the element in the document tree to which the rest
107-
of the rule applies.
102+
satisfying its requirements. Prepending a simple selector and
103+
combinator to a chain imposes additional matching constraints, so the
104+
subjects of a selector are always a subset of the elements matching
105+
the rightmost simple selector.
108106

109107
<P>One <a href="#pseudo-elements">pseudo-element</a> may be appended
110-
to the subject of a selector; it refers to a subpart of the subject.
108+
to the last simple selector in a chain, in which case the style
109+
information applies to a subpart of the subjects.
111110

112111
<h3><a name="grouping">Grouping</a></h3>
113112

@@ -335,7 +334,8 @@ spaces (since they are separated by spaces).
335334
<dt><span class="index-def" title="hyphen-separated
336335
matching|&#124;="><code>[att|=val]</code></span>
337336
<dd>Match when the element's "att" attribute value is a
338-
hyphen-separated list of "words", beginning with "val".
337+
hyphen-separated list of "words", beginning with "val". The match
338+
always starts at the beginning of the attribute value.
339339
<!--If this selector is used, the words in the value must not contain
340340
hyphens (since they are separated by hyphens).--> This is primarily
341341
intended to allow <span class="index-inst" title="language
@@ -608,7 +608,7 @@ line of an element's content. CSS pseudo-elements allow style sheet
608608
designers to refer to this otherwise inaccessible
609609
information. Pseudo-elements may also provide style sheet designers a
610610
way to assign style to otherwise <a
611-
href="conform.html#anonymous">anonymous</a> content (e.g., the <a
611+
href="visuren.html#anonymous">anonymous</a> content (e.g., the <a
612612
href="generate.html#before-after-content">:before and :after</a>
613613
pseudo-elements give access to generated content).
614614

@@ -653,8 +653,8 @@ element, and the first letter.
653653
-->
654654

655655
<p><a href="conform.html#conformance">Conforming HTML user agents</a>
656-
may <span class="index-inst" title="skip"><a
657-
href="syndata.html#skip">skip</a></span> all rules with :first-line or
656+
may <span class="index-inst" title="ignore"><a
657+
href="syndata.html#ignore">ignore</a></span> all rules with :first-line or
658658
:first-letter in the selector, or, alternatively, may only support a
659659
subset of the properties on these pseudo-elements.</P>
660660

@@ -708,7 +708,7 @@ child:</p>
708708
</pre>
709709
</div>
710710

711-
<P>Note that since <a href="conform.html#anonymous">anonymous</a>
711+
<P>Note that since <a href="visuren.html#anonymous">anonymous</a>
712712
boxes are not part of the document tree, they are not counted when
713713
calculating the first child.</p>
714714

@@ -988,7 +988,7 @@ SPAN when inserting the fictional tag sequence for :first-line.</p>
988988
a block-level element.</p>
989989

990990
<p>The <a name="first-line">:first-line</a> pseudo-element is similar
991-
to an inline element, but with certain restrictions. Only the
991+
to an inline-level element, but with certain restrictions. Only the
992992
following properties apply to a :first-line element: <a
993993
href="fonts.html#font-properties">font properties,</a> <a
994994
href="colors.html">color properties,</a> <a
@@ -1009,7 +1009,7 @@ class="propinst-clear">'clear'.</span></p>
10091009
class="index-inst" title="initial caps">"initial caps"</span> and
10101010
<span class="index-inst" title="drop caps">"drop caps"</span>, which
10111011
are common typographical effects. This type of initial letter is
1012-
similar to an inline element if its <span
1012+
similar to an inline-level element if its <span
10131013
class="propinst-float">'float'</span> property is 'none', otherwise it
10141014
is similar to a floating element.</p>
10151015

@@ -1089,7 +1089,7 @@ first letter should be included."></p>
10891089
parenthesis and ellipsis points) or other characters that are normally
10901090
not considered letters (e.g., digits and mathematical symbols),
10911091
:first-letter pseudo-elements are generally <span class="index-inst"
1092-
title="skip"><a href="syndata.html#skip">skipped</a></span></p>
1092+
title="ignore"><a href="syndata.html#ignore">ignored</a></span></p>
10931093
Removed 27/2/98 -->
10941094

10951095
<p>The :first-letter pseudo-element matches parts of <a

0 commit comments

Comments
 (0)