Skip to content

Commit 624a7b9

Browse files
committed
Merge pull request #2 from marek-saji/fontKerning
Support font-kerning
2 parents 16dc97a + 10e5266 commit 624a7b9

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ var fontVariantProperties = {
4141
"slashed-zero": "\"zero\""
4242
},
4343

44+
"font-kerning": {
45+
normal: "\"kern\"",
46+
none: "\"kern\" off"
47+
},
48+
4449
"font-variant": {
4550
normal: "normal",
4651
inherit: "inherit"

test/fixtures/font-variant.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ selector {
1818
selector {
1919
font-variant-position: normal;
2020
}
21+
selector {
22+
font-kerning: normal;
23+
}

test/fixtures/font-variant.expected.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ selector {
2323
font-feature-settings: "subs" off, "sups" off;
2424
font-variant-position: normal;
2525
}
26+
selector {
27+
font-feature-settings: "kern";
28+
font-kerning: normal;
29+
}

0 commit comments

Comments
 (0)