File tree Expand file tree Collapse file tree 4 files changed +977
-832
lines changed Expand file tree Collapse file tree 4 files changed +977
-832
lines changed Original file line number Diff line number Diff line change @@ -2696,6 +2696,31 @@ at least as dark as its predecessor. Only values greater than 0 and less than 10
26962696 </pre>
26972697 </div>
26982698
2699+ <h2 id="object-model">Object Model</h2>
2700+
2701+ The contents of <code> @font-face</code> rules can be accessed via
2702+ the following extensions to the CSS Object Model.
2703+
2704+ <h3 id="om-fontface">The <code>CSSFontFaceRule</code> interface</h3>
2705+
2706+ The <dfn>CSSFontFaceRule</dfn> interface represents a <<@font-face>> rule.
2707+
2708+ <pre class="idl">
2709+ interface CSSFontFaceRule : CSSRule {
2710+ attribute DOMString family;
2711+ attribute DOMString src;
2712+ attribute DOMString style;
2713+ attribute DOMString weight;
2714+ attribute DOMString stretch;
2715+ attribute DOMString unicodeRange;
2716+ attribute DOMString variant;
2717+ attribute DOMString featureSettings;
2718+ };</pre>
2719+
2720+ The DOM Level 2 Style specification [[DOM-LEVEL-2-STYLE]] defined
2721+ a different variant of this rule.
2722+ This definition supercedes that one.
2723+
26992724<h2 id="platform-props-to-css" class="no-num">Appendix A: Mapping platform font properties to CSS properties</h2>
27002725
27012726 Issue: Import from level 3
You can’t perform that action at this time.
0 commit comments