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
441441attribute selectors. Style sheets should be designed so that they work
442442even 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
445445subset" of the DTD but <em>is</em> required to look for default
446446attribute values in the document's "internal subset." (See [[XML10]]
447447for 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
451453attribute values as if they were present in the document. (E.g., an
452454XHTML UA is not required to use its built-in knowledge of the XHTML
453455DTD.)
@@ -471,7 +473,7 @@ EXAMPLE[notation=decimal] { /*... default property settings ...*/ }
471473EXAMPLE[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
475477is set by default, i.e., not set explicitly. To catch all cases, the
476478attribute selector for the default value must be dropped:</p>
477479
0 commit comments