mozilla

Compare Revisions

font-feature-settings

Change Revisions

Revision 22284:

Revision 22284 by Jdaggett on

Revision 22285:

Revision 22285 by Jdaggett on

Title:
font-feature-settings
font-feature-settings
Slug:
CSS/font-feature-settings
CSS/font-feature-settings
Tags:
css, NeedsUpdate, "CSS Reference", "CSS:Mozilla Extensions", NeedsCompatTable
css, NeedsUpdate, "CSS Reference", "CSS:Mozilla Extensions", NeedsCompatTable
Content:

Revision 22284
Revision 22285
t59    <p>t59    <pre>
60      &nbsp;60/* use small-cap alternate glyphs */
61    </p>61.smallcaps { -moz-font-feature-settings: "smcp=1"; }
62    <p>62 
63      &nbsp;63/* convert both upper and lowercase to small caps (affects punctu
 >ation also) */
64    </p>64.allsmallcaps { -moz-font-feature-settings: "c2sc=1, smcp=1"; }
65 
66/* enable historical forms */
67.hist { -moz-font-feature-settings: "hist=1"; }
68 
69/* disable common ligatures */
70.noligs { -moz-font-feature-settings: "liga=0"; }
71 
72/* enable tabular (monospaced) figures */
73td.tabular { -moz-font-feature-settings: "tnum=1"; }
74 
75/* enable automatic fractions */
76.fractions { -moz-font-feature-settings: "frac=1"; }
77</pre>

Back to History