Skip to content

Commit

Permalink
Removes unnecessary fraction clarifications, improves alternate fract…
Browse files Browse the repository at this point in the history
…ion support

Alternate fractions will work whether or not they supersede the default
fractions in the font now.
  • Loading branch information
kennethormandy committed May 30, 2016
1 parent 5493898 commit e4672fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,17 @@

.frac {
@supports not (font-variant-numeric: diagonal-fractions) {
font-feature-settings: "frac", "afrc" 0;
font-feature-settings: "frac";
}
-ms-font-feature-settings: "frac", "afrc" 0;
-ms-font-feature-settings: "frac";
font-variant-numeric: diagonal-fractions;
}

.afrc {
@supports not (font-variant-numeric: stacked-fractions) {
font-feature-settings: "frac", "afrc";
font-feature-settings: "afrc";
}
-ms-font-feature-settings: "frac", "afrc";
-ms-font-feature-settings: "afrc";
font-variant-numeric: stacked-fractions;
}

Expand Down

0 comments on commit e4672fe

Please sign in to comment.