@@ -196,7 +196,7 @@ <h3>Serializing Media Queries</h3>
196196 by a space (U+0020), to < var title =""> s</ var > .</ p > </ li >
197197
198198 < li > < p > Let < var title =""> type</ var > be the media type of the media query,
199- < span title ="escape as identifier "> escaped</ span > and
199+ < span title ="escape an identifier "> escaped</ span > and
200200 < span > converted to ASCII lowercase</ span > .</ p > </ li >
201201
202202 < li > < p > If the media query does not contain media features append
@@ -373,9 +373,9 @@ <h3>The <code title="">MediaList</code> Interface</h3>
373373
374374 < p > The
375375 < dfn id ="dom-medialist-mediatext " title ="dom-MediaList-mediaText "> < code > mediaText</ code > </ dfn >
376- attribute < em class ="ct "> must</ em > , on getting, return a
376+ attribute, on getting, < em class ="ct "> must</ em > return a
377377 < span title ="serialize a list of media queries "> serialization</ span > of
378- the < span > list of media qeuries </ span > .</ p >
378+ the < span > list of media queries </ span > .</ p >
379379
380380 < p > On setting the < code title ="dom-MediaList-mediaText "> mediaText</ code >
381381 attribute these steps < em class ="ct "> must</ em > be run:</ p >
@@ -393,19 +393,21 @@ <h3>The <code title="">MediaList</code> Interface</h3>
393393
394394 < p > The
395395 < dfn id ="dom-medialist-length " title ="dom-MediaList-length "> < code > length</ code > </ dfn >
396- attribute, on getting, < em class ="ct "> must</ em > return the number of media
397- queries in the < span > collection of media queries</ span > .</ p >
396+ attribute < em class ="ct "> must</ em > return the number of media queries in
397+ the < span > collection of media queries</ span > .</ p >
398398
399399 < p > The
400400 < dfn id ="dom-medialist-item " title ="dom-MediaList-item "> < code > item(< var title =""> index</ var > )</ code > </ dfn >
401- method, when invoked, < em class ="ct "> must</ em > return the item in the list
402- given by < var title =""> index</ var > , or null, if < var title =""> index</ var > is
403- greater than or equal to the number of items in the list.</ p >
401+ method < em class ="ct "> must</ em > return the media query in the
402+ < span > collection of media queries</ span > given by
403+ < var title =""> index</ var > , or null, if < var title =""> index</ var > is
404+ greater than or equal to the number of media queries in the
405+ < span > collection of media queries</ span > .</ p >
404406 <!-- XXX need consistency here WebIDL? list of media queries? -->
405407
406408 < p > The
407409 < dfn id ="dom-medialist-appendmedium " title ="dom-MediaList-appendmedium "> < code > appendMedium(< var title =""> medium</ var > )</ code > </ dfn >
408- method < em class ="ct "> must</ em > , when invoked, run these steps:</ p >
410+ method < em class ="ct "> must</ em > run these steps:</ p >
409411
410412 < ol >
411413 < li > < p > Let < var title =""> m</ var > be the result of
@@ -425,18 +427,19 @@ <h3>The <code title="">MediaList</code> Interface</h3>
425427
426428 < p > The
427429 < dfn id ="dom-medialist-deletemedium " title ="dom-MediaList-deletemedium "> < code > deleteMedium(< var title =""> medium</ var > )</ code > </ dfn >
428- method < em class ="ct "> must</ em > , when invoked, run these steps:</ p >
429-
430+ method < em class ="ct "> must</ em > run these steps:</ p >
431+
430432 < ol >
431433 < li > < p > Let < var title =""> m</ var > be the result of
432434 < span title ="parse a media query "> parsing</ span > the given
433435 value.</ p > </ li >
434436
435437 < li > < p > If < var title =""> m</ var > is null terminate these steps.</ p > </ li >
436438
437- < li > < p > Remove any media query from the < span > collection of media queries</ span >
438- for which < span title ="compare media queries "> comparing</ span > the media
439- query with < var title =""> m</ var > returns true.</ p > </ li >
439+ < li > < p > Remove any media query from the
440+ < span > collection of media queries</ span > for which
441+ < span title ="compare media queries "> comparing</ span > the media query with
442+ < var title =""> m</ var > returns true.</ p > </ li >
440443 </ ol >
441444
442445 < h3 > Creating a < code title =""> MediaList</ code > Object</ h3 >
0 commit comments