Skip to content

Commit 8c597b1

Browse files
tidoustsvgeesus
authored andcommitted
[css-conditional-3] Fix Web IDL, bool should have been boolean
Introduced by recent commit: 3dab354 There's no `bool` type in Web IDL, only `boolean`.
1 parent a024dd4 commit 8c597b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-conditional-3/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ The {{CSSMediaRule}} interface represents a ''@media'' at-rule:
793793
[Exposed=Window]
794794
interface CSSMediaRule : CSSConditionRule {
795795
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
796-
readonly attribute bool matches;
796+
readonly attribute boolean matches;
797797
};
798798
</pre>
799799

@@ -809,7 +809,7 @@ js/CSSConditionRule.html
809809
for the list of media queries specified with the ''@media'' at-rule.
810810
<wpt title=".media returns a MediaList matching the @media condition."></wpt>
811811

812-
<dt><code>matches</code> of type {{bool}}, readonly
812+
<dt><code>matches</code> of type {{boolean}}, readonly
813813
<dd>The <code>matches</code> attribute returns true
814814
if the rule is in an stylesheet attached to a document
815815
whose {{Window}} matches this rule’s {{CSSMediaRule/media}} [=media query=],
@@ -831,7 +831,7 @@ The {{CSSSupportsRule}} interface represents a ''@supports'' rule.
831831
<pre class='idl'>
832832
[Exposed=Window]
833833
interface CSSSupportsRule : CSSConditionRule {
834-
readonly attribute bool matches;
834+
readonly attribute boolean matches;
835835
};
836836
</pre>
837837

@@ -841,7 +841,7 @@ js/CSSConditionRule.html
841841
<wpt title="CSSSupportsRule represents an @supports rule."></wpt> -->
842842

843843
<dl class='idl-attributes'>
844-
<dt><code>matches</code> of type {{bool}}, readonly
844+
<dt><code>matches</code> of type {{boolean}}, readonly
845845
<dd>The <code>matches</code> attribute returns the evaluation of
846846
the [=CSS feature query=] represented in {{CSSConditionRule/conditionText}}.
847847
<wpt title="CSSSupportsRule.matches returns true if matches feature query"></wpt>

0 commit comments

Comments
 (0)