From 76eed4e72f7cb3f5cd0a5245dcb35cd24a39c9a6 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 14 Oct 2016 18:07:54 +1100 Subject: [PATCH] [cssom] Make MediaList.item return serialization. Fixes #600. --- cssom/Overview.bs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cssom/Overview.bs b/cssom/Overview.bs index 0032513494c..9a2e2936f79 100644 --- a/cssom/Overview.bs +++ b/cssom/Overview.bs @@ -478,9 +478,10 @@ Setting the {{MediaList/mediaText}} attribute must run these steps: value to the collection of media queries. -The item(index) method must return the media query in the collection of media -queries given by index, or null, if index is greater than or equal to the number of media queries in the -collection of media queries. +The item(index) method must return a +serialization of the media query in the collection of media queries +given by index, or null, if index is greater than or equal to the number of media queries +in the collection of media queries. The length attribute must return the number of media queries in the collection of media queries.