File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -990,20 +990,18 @@ Interaction with CSS Font Loading and Matching</h3>
990
990
-->
991
991
992
992
<h2 id='font-face-source'>
993
- The <code>FontFaceSource</code> interface </h2>
993
+ The <code>FontFaceSource</code> mixin </h2>
994
994
995
995
<pre class='idl'>
996
- [Exposed=(Window,Worker),
997
- NoInterfaceObject]
998
- interface FontFaceSource {
996
+ interface mixin FontFaceSource {
999
997
readonly attribute FontFaceSet fonts;
1000
998
};
1001
999
1002
- Document implements FontFaceSource;
1003
- WorkerGlobalScope implements FontFaceSource;
1000
+ Document includes FontFaceSource;
1001
+ WorkerGlobalScope includes FontFaceSource;
1004
1002
</pre>
1005
1003
1006
- Any document, workers, or other context which can use fonts in some manner must implement the {{FontFaceSource}} interface .
1004
+ Any document, workers, or other context which can use fonts in some manner must include the {{FontFaceSource}} mixin .
1007
1005
The value of the context’s {{fonts}} attribute is its <dfn>font source</dfn> ,
1008
1006
which provides all of the fonts used in font-related operations,
1009
1007
unless defined otherwise.
You can’t perform that action at this time.
0 commit comments