Skip to content

Commit

Permalink
[cssom] Make MediaList.item return serialization.
Browse files Browse the repository at this point in the history
Fixes #600.
  • Loading branch information
upsuper authored and zcorpan committed Oct 19, 2016
1 parent d19e55e commit 33a023d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cssom/Overview.bs
Expand Up @@ -478,9 +478,10 @@ Setting the {{MediaList/mediaText}} attribute must run these steps:
value to the <a>collection of media queries</a>.
</ol>

The <dfn method for=MediaList>item(<var>index</var>)</dfn> method must return the media query in the <a>collection of media
queries</a> given by <var>index</var>, or null, if <var>index</var> is greater than or equal to the number of media queries in the
<a>collection of media queries</a>.
The <dfn method for=MediaList>item(<var>index</var>)</dfn> method must return a
<a lt="serialize a media query">serialization</a> of the media query in the <a>collection of media queries</a>
given by <var>index</var>, or null, if <var>index</var> is greater than or equal to the number of media queries
in the <a>collection of media queries</a>.

The <dfn attribute for=MediaList>length</dfn> attribute must return the number of media queries in the <a>collection of media
queries</a>.
Expand Down

0 comments on commit 33a023d

Please sign in to comment.