Skip to content

Commit bc7236d

Browse files
committed
[css2] Issue 143 from http://wiki.csswg.org/spec/css2.1
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403033
1 parent 0dcb167 commit bc7236d

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

css2/selector.src

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22
<html lang="en">
3-
<!-- $Id: selector.src,v 2.117 2010-08-25 23:13:02 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.118 2010-09-29 15:53:39 bbos Exp $ -->
44
<head>
55
<title>Selectors</title>
66
</head>
@@ -441,13 +441,15 @@ title="DTD">DTD</span> or elsewhere, but cannot always be selected by
441441
attribute selectors. Style sheets should be designed so that they work
442442
even if the default values are not included in the document tree.
443443

444-
<p>More precisely, a UA is <em>not</em> required to read an "external
444+
<p>More precisely, a UA may, but is <em>not</em> required to, read an "external
445445
subset" of the DTD but <em>is</em> required to look for default
446446
attribute values in the document's "internal subset." (See [[XML10]]
447447
for definitions of these subsets.)
448+
Depending on the UA, a default attribute value defined in the external
449+
subset of the DTD might or might not appear in the document tree.
448450

449-
<p>A UA that recognizes an XML namespace [[-XMLNAMESPACES]] is not
450-
required to use its knowledge of that namespace to treat default
451+
<p>A UA that recognizes an XML namespace [[-XMLNAMESPACES]] may, but is not
452+
required to, use its knowledge of that namespace to treat default
451453
attribute values as if they were present in the document. (E.g., an
452454
XHTML UA is not required to use its built-in knowledge of the XHTML
453455
DTD.)
@@ -471,7 +473,7 @@ EXAMPLE[notation=decimal] { /*... default property settings ...*/ }
471473
EXAMPLE[notation=octal] { /*... other settings...*/ }
472474
</pre>
473475

474-
<p>the first rule will not match elements whose "notation" attribute
476+
<p>the first rule might not match elements whose "notation" attribute
475477
is set by default, i.e., not set explicitly. To catch all cases, the
476478
attribute selector for the default value must be dropped:</p>
477479

0 commit comments

Comments
 (0)