Skip to content

Commit 4bf3afb

Browse files
author
Simon Pieters
committed
[cssom] Remove constructor for MediaList. http://lists.w3.org/Archives/Public/www-style/2013Jun/0504.html
1 parent 88bd61e commit 4bf3afb

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

cssom/Overview.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<h1>CSS Object Model (CSSOM)</h1>
2929

3030

31-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 24 June 2013</h2>
31+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 25 June 2013</h2>
3232

3333
<dl>
3434

@@ -102,7 +102,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
102102
can be found in the
103103
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
104104

105-
<p class="dontpublish">This is the 24 June 2013 Editor's Draft of CSSOM. Please send comments to
105+
<p class="dontpublish">This is the 25 June 2013 Editor's Draft of CSSOM. Please send comments to
106106
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
107107
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
108108
with <samp>[cssom]</samp> at the start of the subject line.
@@ -582,8 +582,7 @@ <h3 id="the-medialist-interface"><span class="secno">4.4 </span>The <code title=
582582

583583
<p>An object that implements the <code><a href="#medialist">MediaList</a></code> interface has an associated <dfn id="collection-of-media-queries">collection of media queries</dfn>.</p>
584584

585-
<pre class="idl">[<a href="#dom-medialist" title="dom-MediaList">Constructor</a>(DOMString text)]
586-
interface <dfn id="medialist">MediaList</dfn> {
585+
<pre class="idl">interface <dfn id="medialist">MediaList</dfn> {
587586
[TreatNullAs=EmptyString] stringifier attribute DOMString <a href="#dom-medialist-mediatext" title="dom-MediaList-mediaText">mediaText</a>;
588587
readonly attribute unsigned long <a href="#dom-medialist-length" title="dom-MediaList-length">length</a>;
589588
getter DOMString <a href="#dom-medialist-item" title="dom-MediaList-item">item</a>(unsigned long index);
@@ -595,9 +594,6 @@ <h3 id="the-medialist-interface"><span class="secno">4.4 </span>The <code title=
595594
in the <a href="#collection-of-media-queries">collection of media queries</a> represented by the collection. If there are no such media queries, then there are no
596595
<a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
597596

598-
<p>When the <dfn id="dom-medialist" title="dom-MediaList"><code>MediaList(<var>text</var>)</code></dfn> constructor is invoked, the <a href="#create-a-medialist-object">create a <code>MediaList</code>
599-
object</a> steps must be run with the string <var>text</var>.</p>
600-
601597
<p>To <dfn id="create-a-medialist-object">create a <code>MediaList</code> object</dfn> with a string <var>text</var>, run the following steps:
602598
<ol>
603599
<li><p>Create a new <code><a href="#medialist">MediaList</a></code> object.</li>

cssom/Overview.src.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,7 @@ <h3>The <code title>MediaList</code> Interface</h3>
503503

504504
<p>An object that implements the <code>MediaList</code> interface has an associated <dfn>collection of media queries</dfn>.</p>
505505

506-
<pre class=idl>[<span title=dom-MediaList>Constructor</span>(DOMString text)]
507-
interface <dfn>MediaList</dfn> {
506+
<pre class=idl>interface <dfn>MediaList</dfn> {
508507
[TreatNullAs=EmptyString] stringifier attribute DOMString <span title=dom-MediaList-mediaText>mediaText</span>;
509508
readonly attribute unsigned long <span title=dom-MediaList-length>length</span>;
510509
getter DOMString <span title=dom-MediaList-item>item</span>(unsigned long index);
@@ -516,9 +515,6 @@ <h3>The <code title>MediaList</code> Interface</h3>
516515
in the <span>collection of media queries</span> represented by the collection. If there are no such media queries, then there are no
517516
<span data-anolis-spec=webidl>supported property indices</span>.
518517

519-
<p>When the <dfn title=dom-MediaList><code>MediaList(<var>text</var>)</code></dfn> constructor is invoked, the <span>create a <code>MediaList</code>
520-
object</span> steps must be run with the string <var>text</var>.</p>
521-
522518
<p>To <dfn>create a <code>MediaList</code> object</dfn> with a string <var>text</var>, run the following steps:
523519
<ol>
524520
<li><p>Create a new <code>MediaList</code> object.</p></li>

0 commit comments

Comments
 (0)