Skip to content

Commit 25d20cf

Browse files
committed
Support font-kerning
1 parent 6bf2819 commit 25d20cf

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
@@ -40,6 +40,11 @@ var fontVariantProperties = {
4040
"slashed-zero": "\"zero\""
4141
},
4242

43+
"font-kerning": {
44+
normal: "\"kern\"",
45+
none: "\"kern\" off"
46+
},
47+
4348
"font-variant": {
4449
normal: "normal",
4550
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: normal;
2424
font-variant-position: normal;
2525
}
26+
selector {
27+
font-feature-settings: "kern";
28+
font-kerning: normal;
29+
}

0 commit comments

Comments
 (0)