11<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2+ <!--
3+ ISSUES
4+ - This list is not complete
5+ - The specification is pretty vague and more importantly inconsistent about
6+ liveness
7+ -->
28< html lang ="en-US ">
39 < head >
410 < title > Cascading Style Sheets Object Model (CSSOM)</ title >
@@ -130,8 +136,8 @@ <h4 id="terminology">Terminology and Conventions</h4>
130136 < p > A < dfn > color component separator</ dfn > is a literal U+002C COMMA followed
131137 by a U+0020 SPACE.</ p >
132138
133- < p > When this specification talks about object < code > < var > A</ var > </ code > where
134- < code > < var > A</ var > </ code > is actually an interface, it generally means
139+ < p > When this specification talks about object < code > < var > A</ var > </ code >
140+ where < code > < var > A</ var > </ code > is actually an interface, it generally means
135141 an object implementing interface < code > < var > A</ var > </ code > .</ p >
136142
137143 <!--
@@ -142,11 +148,11 @@ <h4 id="terminology">Terminology and Conventions</h4>
142148 -->
143149
144150 < p > The terms < dfn id ="whitespace "> whitespace</ dfn > and
145- < dfn id ="style-sheet "> style sheet</ dfn > are used as defined in the < cite > CSS
146- 2.1 Specification</ cite > [CSS21].</ p >
151+ < dfn id ="style-sheet "> style sheet</ dfn > are used as defined in the < cite > CSS
152+ 2.1 Specification</ cite > [CSS21].</ p >
147153
148154 < p > A < dfn id ="css-style-sheet "> CSS style sheet</ dfn > is a < span > style
149- sheet</ span > that conforms to the CSS syntax rules.</ p >
155+ sheet</ span > that conforms to the CSS syntax rules.</ p >
150156
151157 <!-- XXX: "Cascading Style Sheet style sheet" is just a joke... -->
152158
@@ -264,14 +270,17 @@ <h4><code><?xml-stylesheet?></code> processing instruction</h4>
264270 < em class ="ct "> must</ em > implement the < code > LinkStyle</ code > on objects
265271 implementing < code > ProcessingInstruction</ code > .</ p >
266272
267- < p > If the < code > href</ code > pseudo-attribute of the processing instruction
268- doesn't point to an external resource or points to an external resource that
273+ < p > If the < code title =""> target</ code > DOM attribute of the
274+ < code > ProcessingInstruction</ code > is not < code > xml-stylesheet</ code > or if
275+ the < code > href</ code > pseudo-attribute of the processing instruction doesn't
276+ point to an external resource or does point to an external resource that
269277 has not yet been downloaded the < code title ="linkstyle-sheet "> sheet</ code >
270278 attribute < em class ="ct "> must</ em > be < code > null</ code > . Otherwise, if the
271- resource has been downloaded and the determined type is a supported style
272- sheet language the < code title ="linkstyle-sheet "> sheet</ code > attribute
273- < em class ="ct "> must</ em > be a < code > StyleSheet</ code > object with the
274- members implemented as follows:</ p >
279+ < code title =""> target</ code > DOM attribute is < code > xml-stylesheet</ code > ,
280+ the resource has been downloaded and the determined type is a supported
281+ style sheet language the < code title ="linkstyle-sheet "> sheet</ code >
282+ attribute < em class ="ct "> must</ em > be a < code > StyleSheet</ code > object with
283+ the members implemented as follows:</ p >
275284
276285 < dl >
277286 < dt > < code title ="stylesheet-type "> type</ code > </ dt >
@@ -1056,13 +1065,12 @@ <h4>The <code>CSSStyleRule</code> Interface</h4>
10561065
10571066 < dt > < dfn id ="cssstylerule-selectortext " title ="cssstylerule-selectortext "> < code > selectorText</ code > </ dfn >
10581067 of type < code > DOMString</ code > </ dt >
1059- <!-- Firefox currently doesn't allow setting of selectorText -->
10601068
10611069 < dd >
10621070 < p > On setting, user agents < em class ="ct "> must</ em > parse the given string
1063- as a group of selectors. If the given string was ignored user agents
1064- < em class ="ct "> must</ em > act as if setting didn't occur. Otherwise, set the
1065- attribute to the parsed string.</ p >
1071+ as a group of selectors. If the given string is ignored user agents
1072+ < em class ="ct "> must</ em > act as if setting didn't occur. Otherwise, set
1073+ the attribute to the parsed string.</ p >
10661074
10671075 < p > On getting, this attribute < em class ="ct "> must</ em > return a
10681076 < span title ="canon-selectors "> textual representation of the group of
@@ -1082,18 +1090,15 @@ <h4>The <code>CSSCharsetRule</code> Interface</h4>
10821090 style sheet</ span > to indicate the encoding of the file ([CSS21], section
10831091 4.4).</ p >
10841092
1085- <!-- XXX: this was not readonly -->
10861093 < pre class ="idl "> interface < dfn > CSSCharsetRule</ dfn > : < span > CSSRule</ span > {
10871094 readonly attribute DOMString < span > encoding</ span > ;
10881095};</ pre >
10891096
10901097 < dl class ="members ">
1091-
10921098 < dt > < dfn id ="csscharsetrule-encoding "> < code > encoding</ code > </ dfn > of type
1093- < code > DOMString</ code > , readonly</ dt >
1099+ < code > DOMString</ code > , readonly</ dt >
10941100
10951101 < dd > This attribute < em class ="ct "> must</ em > be the specified encoding.</ p >
1096-
10971102 </ dl >
10981103
10991104 < h4 > The < code > CSSImportRule</ code > Interface</ h4 >
@@ -1108,15 +1113,14 @@ <h4>The <code>CSSImportRule</code> Interface</h4>
11081113};</ pre >
11091114
11101115 < dl class ="members ">
1111-
11121116 < dt > < dfn id ="cssimportrule-href " title ="cssimportrule-href "> < code > href</ code > </ dfn >
1113- of type < code > DOMString</ code > , readonly</ dt >
1117+ of type < code > DOMString</ code > , readonly</ dt >
11141118
11151119 < dd > This attribute < em class ="ct "> must</ em > be the < em > resolved</ em > URI of
1116- the style sheet to be included.</ dd >
1120+ the style sheet to be included.</ dd >
11171121
11181122 < dt > < dfn id ="cssimportrule-media " title ="cssimportrule-media "> < code > media</ code > </ dfn >
1119- of type < code > MediaList</ code > , readonly</ dt >
1123+ of type < code > MediaList</ code > , readonly</ dt >
11201124
11211125 < dd > This attribute < em class ="ct "> must</ em > be a live < code > MediaList</ code >
11221126 containing a list of media queries applicable to the imported style
0 commit comments