Skip to content

Commit a189792

Browse files
committed
A few tweaks to Tab's API changes, including renaming the method on Window.
1 parent 119b7d4 commit a189792

2 files changed

Lines changed: 20 additions & 13 deletions

File tree

css3-conditional/Overview.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
207207
<li><a href="#the-csssupportsrule-interface"><span class=secno>8.2.
208208
</span> The <code>CSSSupportsRule</code> interface</a>
209209

210-
<li><a href="#supports-property-api"><span class=secno>8.3.
211-
</span>supportsProperty() function</a>
210+
<li><a href="#window-api"><span class=secno>8.3. </span>supportsCSS()
211+
function</a>
212212
</ul>
213213

214214
<li><a href="#conformance"><span class=secno>9. </span>Conformance</a>
@@ -1058,8 +1058,12 @@ <h3 id=extentions-to-cssrule-interface><span class=secno>8.1. </span>
10581058
<h3 id=the-csssupportsrule-interface><span class=secno>8.2. </span> The
10591059
<code>CSSSupportsRule</code> interface</h3>
10601060

1061-
<p>The <code>CSSSupportsRule</code> interface represents a ‘<code
1062-
class=css>@media</code>’ rule.
1061+
<p class=issue>Should there be an interface containing the methods common
1062+
to CSSMediaRule, CSSSupportsRule, and CSSDocumentRule, from which they all
1063+
derive? Should it be called CSSGroupRule? CSSConditionalRule?
1064+
1065+
<p>The <code>CSSSupportsRule</code> interface represents a ‘<a
1066+
href="#dfn-support"><code class=css>@supports</code></a>’ rule.
10631067

10641068
<pre class=idl>interface CSSSupportsRule : CSSRule {
10651069
attribute DOMString supportsCondition;
@@ -1117,15 +1121,14 @@ <h3 id=the-csssupportsrule-interface><span class=secno>8.2. </span> The
11171121

11181122
<p class=issue>Define the CSSDocumentRule interface.
11191123

1120-
<h3 id=supports-property-api><span class=secno>8.3.
1121-
</span>supportsProperty() function</h3>
1124+
<h3 id=window-api><span class=secno>8.3. </span>supportsCSS() function</h3>
11221125

11231126
<pre class=idl>partial interface Window {
1124-
boolean supportsProperty (DOMString property, DOMString value);
1127+
boolean supportsCSS (DOMString property, DOMString value);
11251128
};</pre>
11261129

1127-
<p>The <code>supportsProperty</code> function must return <code>true</code>
1128-
if the implementation <a href="#dfn-support"><i>supports</i></a> the value
1130+
<p>The <code>supportsCSS</code> function must return <code>true</code> if
1131+
the implementation <a href="#dfn-support"><i>supports</i></a> the value
11291132
given by <var>value</var> for the property given by <var>property</var>,
11301133
and <code>false</code> otherwise.
11311134

css3-conditional/Overview.src.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,11 @@ <h3 id='extentions-to-cssrule-interface'>
800800
<h3 id="the-csssupportsrule-interface">
801801
The <code>CSSSupportsRule</code> interface</h3>
802802

803-
<p>The <code>CSSSupportsRule</code> interface represents a ''@media'' rule.</p>
803+
<p class="issue">Should there be an interface containing the methods
804+
common to CSSMediaRule, CSSSupportsRule, and CSSDocumentRule, from which
805+
they all derive? Should it be called CSSGroupRule? CSSConditionalRule?</p>
806+
807+
<p>The <code>CSSSupportsRule</code> interface represents a ''@supports'' rule.</p>
804808

805809
<pre class='idl'>interface CSSSupportsRule : CSSRule {
806810
attribute DOMString supportsCondition;
@@ -846,13 +850,13 @@ <h3 id="the-csssupportsrule-interface">
846850
<p class='issue'>Define the CSSDocumentRule interface.
847851

848852

849-
<h3 id="supports-property-api">supportsProperty() function</h3>
853+
<h3 id="window-api">supportsCSS() function</h3>
850854

851855
<pre class='idl'>partial interface Window {
852-
boolean supportsProperty (DOMString property, DOMString value);
856+
boolean supportsCSS (DOMString property, DOMString value);
853857
};</pre>
854858

855-
<p>The <code>supportsProperty</code> function must return <code>true</code>
859+
<p>The <code>supportsCSS</code> function must return <code>true</code>
856860
if the implementation <i>supports</i> the value given by <var>value</var> for
857861
the property given by <var>property</var>, and <code>false</code> otherwise.
858862

0 commit comments

Comments
 (0)