Skip to content

Commit 1441087

Browse files
committed
CSSFontFaceRule etc. exposed to Window
CSSFontFaceRule, CSSViewportRule, CSSCounterStyleRule are now explicitly exposed to Window. The other CSSRule interfaces defined in csswg-drafts are already exposed to Window. resolves w3c#2342
1 parent 034b063 commit 1441087

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

css-counter-styles-3/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,6 +2514,7 @@ The <code>CSSCounterStyleRule</code> interface</h3>
25142514
The <a interface>CSSCounterStyleRule</a> interface represents a ''@counter-style'' rule.
25152515

25162516
<pre class='idl'>
2517+
[Exposed=Window]
25172518
interface CSSCounterStyleRule : CSSRule {
25182519
attribute CSSOMString name;
25192520
attribute CSSOMString system;

css-device-adapt-1/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,13 @@ Values have the following meanings:
585585
or limit (with <code>max-zoom</code>) the ability of users to resize
586586
a document, as this causes accessibility and usability issues.
587587

588-
There may be specific use cases where preventing users from zooming
589-
may be appropriate, such as map applications – where custom zoom
590-
functionality is handled via scripting. However, in general this
588+
There may be specific use cases where preventing users from zooming
589+
may be appropriate, such as map applications – where custom zoom
590+
functionality is handled via scripting. However, in general this
591591
practice should be avoided.
592592

593-
Most user agents now allow users to always zoom, regardless
594-
of any restrictions specified by web content – either by default, or
593+
Most user agents now allow users to always zoom, regardless
594+
of any restrictions specified by web content – either by default, or
595595
as a setting/option (which may however not be immediately apparent
596596
to users).
597597
</div>
@@ -926,6 +926,7 @@ The <dfn interface>CSSViewportRule</dfn> interface represents the
926926
style rule for an ''@viewport'' rule.
927927

928928
<pre class=idl>
929+
[Exposed=Window]
929930
interface CSSViewportRule : CSSRule {
930931
readonly attribute CSSStyleDeclaration style;
931932
};

css-fonts-4/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,7 @@ The <code id="cssfontfacerule2">CSSFontFaceRule</code> interface</h3>
36493649
The <dfn>CSSFontFaceRule</dfn> interface represents a <<@font-face>> rule.
36503650

36513651
<pre class="idl">
3652+
[Exposed=Window]
36523653
interface CSSFontFaceRule : CSSRule {
36533654
readonly attribute CSSStyleDeclaration style;
36543655
};

0 commit comments

Comments
 (0)