@@ -804,18 +804,13 @@ <h3>The <code>StyleSheet</code> Interface</h3>
804804 of type < code > boolean</ code > </ dt >
805805
806806 < dd >
807- < p > This attribute affects which style sheets are
808- < span title ="enabled style sheet "> enabled</ span > .</ p >
809-
810807 < p > On getting, this attribute < em class ="ct "> must</ em > be < code > true</ code >
811808 when the style sheet is disabled and < code > false</ code > otherwise.</ p >
812809
813810 < p > On setting, a value of < code > true</ code > < em class ="ct "> must</ em > disable
814- the style sheet and a value of < code > false</ code > enables it.</ p >
811+ the style sheet and a value of < code > false</ code > enable it.</ p >
815812 </ dd >
816813
817- <!-- XXX: the first person to detect the loop gets a cookie -->
818-
819814 < dt > < dfn id ="stylesheet-ownernode " title ="stylesheet-ownernode "> < code > ownerNode</ code > </ dfn >
820815 of type < code > Node</ code > , readonly</ dt >
821816
@@ -825,41 +820,41 @@ <h3>The <code>StyleSheet</code> Interface</h3>
825820 interface.</ dd >
826821
827822 < dt > < dfn id ="stylesheet-parentstylesheet " title ="stylesheet-parentstylesheet "> < code > parentStyleSheet</ code > </ dfn >
828- of type < code > StyleSheet</ code > , readonly</ dt >
823+ of type < code > StyleSheet</ code > , readonly</ dt >
829824
830825 < dd > This attribute < em class ="ct "> must</ em > be the < code > StyleSheet</ code >
831- object that caused the inclusion of the current style sheet or
832- < code > null</ code > if there is no such object.</ dd >
826+ object that caused the inclusion of the current style sheet or
827+ < code > null</ code > if there is no such object.</ dd >
833828
834- < dt > < dfn id ="stylesheet-href " title ="stylesheet-href "> < code > href</ code > </ dfn > of type
835- < code > DOMString</ code > , readonly</ dt >
829+ < dt > < dfn id ="stylesheet-href " title ="stylesheet-href "> < code > href</ code > </ dfn >
830+ of type < code > DOMString</ code > , readonly</ dt >
836831
837832 < dd > This attribute < em class ="ct "> must</ em > be an IRI pointing to the
838- location of the standalone style sheet or < code > null</ code > otherwise
839- (when it's inside a < code > style</ code > element for example).</ dd >
840-
833+ location of the standalone style sheet or < code > null</ code > otherwise (when
834+ it's inside a < code > style</ code > element for example).</ dd >
841835 <!-- XXX: ready for IRI-hell? -->
842836
843837 < dt > < dfn id ="stylesheet-title " title ="stylesheet-title "> < code > title</ code > </ dfn >
844- of type < code > DOMString</ code > </ dt >
838+ of type < code > DOMString</ code > </ dt >
845839
846840 < dd > This attribute < em class ="ct "> must</ em > be the
847- < span title ="have a title "> title</ span > of the style sheet. In HTML this can
848- obtained from the < code > HTMLLinkElement</ code > or
849- < code > HTMLStyleElement</ code > for example.</ dd >
841+ < span title ="have a title "> title</ span > of the style sheet. In HTML this can
842+ obtained from the < code > HTMLLinkElement</ code > or
843+ < code > HTMLStyleElement</ code > for example.</ dd >
850844
851- < dt > < dfn id ="stylesheet-media " title ="stylesheet-media "> < code > media</ code > </ dfn > of type
852- < code > MediaList</ code > , readonly</ dt >
845+ < dt > < dfn id ="stylesheet-media " title ="stylesheet-media "> < code > media</ code > </ dfn >
846+ of type < code > MediaList</ code > , readonly</ dt >
853847
854848 < dd >
855849 < p > This attribute < em class ="ct "> must</ em > be a < code > MediaList</ code >
856- object.</ p >
850+ object.</ p >
857851
858852 < p > In binding languages that support setting to a readonly attribute setting
859- < code title ="stylesheet-media "> media</ code > to a string
860- < em class ="ct "> must</ em > set the value of
861- < code title ="medialist-mediatext "> mediaText</ code > on the
862- < code > MediaList</ code > object.</ p >
853+ < code title ="stylesheet-media "> media</ code > to a string
854+ < em class ="ct "> must</ em > set the value of
855+ < code title ="medialist-mediatext "> mediaText</ code > on the
856+ < code > MediaList</ code > object.</ p >
857+ <!-- XXX -->
863858 </ dd >
864859
865860 </ dl >
@@ -903,11 +898,9 @@ <h3>The <code>MediaList</code> Interface</h3>
903898 list of < span title ="canon-media "> normalized media queries</ span > or the
904899 empty string otherwise.</ p >
905900
906- < p > On setting a < code > SYNTAX_ERR</ code > exception < em class ="ct "> must</ em >
907- be thrown if the given media query or comma-separated list of media queries
908- is invalid. Otherwise the value is set to the given value.</ p >
909-
910- < p class ="issue "> Should setting to "foobar" work? Need to test!!11!</ p >
901+ < p > On setting < span class ="issue "> ...</ span > .</ p >
902+ <!-- XXX Media Queries need to define parsing of media queries more
903+ accurately. -->
911904 </ dd >
912905
913906 < dt > < dfn id ="medialist-length " title ="medialist-length "> < code > length</ code > </ dfn >
@@ -929,18 +922,21 @@ <h3>The <code>MediaList</code> Interface</h3>
929922 < dt > < dfn id ="medialist-appendmedium " title ="medialist-appendmedium "> < code > appendMedium(< var title =""> medium</ var > )</ code > </ dfn > ,
930923 method</ dt >
931924
932- < dd > When invoked with an invalid < var > medium</ var >
933- < em class ="ct "> must</ em > throw a < code > INVALID_CHARACTER_ERR</ code >
934- exception, otherwise it < em class ="ct "> must</ em > act as if
925+ < dd > When invoked, < span class ="issue "> ...</ span > .
926+ <!--
927+ XXX see above, Media Queries need to define parsing of media queries.
928+
929+ otherwise it <em class="ct">must</em> act as if
935930 <code>deleteMedium</code> was invoked with <var>newMedium</var> as argument
936931 (if it was in the list) and add <var>newMedium</var> to the end of the
937- list.</ dd >
932+ list.
933+ --> </ dd >
938934
939935 < dt > < dfn id ="medialist-deletemedium " title ="medialist-deletemedium "> < code > deleteMedium(< var title =""> medium</ var > )</ code > </ dfn > ,
940936 method</ dt >
941937
942938 < dd > This method, when invoked, < em class ="ct "> must</ em > raise a
943- < code > NOT_FOUND_ERR</ code > exception when < var > medium</ var > was not in the
939+ < code > NOT_FOUND_ERR</ code > exception when < var > medium</ var > is not in the
944940 collection. Otherwise, < var > medium</ var > < em class ="ct "> must</ em > be removed
945941 from the collection.</ dd >
946942
0 commit comments