String MediaList::item(unsigned index) const { if (index < m_queries.size()) { MediaQuery* query = m_queries[index]; return query->cssText(); } return String(); }
// http://dev.w3.org/csswg/cssom/#compare-media-queries bool MediaQuery::operator==(const MediaQuery& other) const { return cssText() == other.cssText(); }