Remove make.font.globalValue from wrappers

This commit is contained in:
pyoor 2017-04-25 11:07:35 -04:00
parent 549c529210
commit c5791d6250

View file

@ -7,10 +7,10 @@ make.font = {
return random.pick(["inherit", "initial", "unset"]); return random.pick(["inherit", "initial", "unset"]);
}, },
style: function () { style: function () {
return random.pick(["italic", "normal", "oblique", "inherit", make.font.globalValue()]); return random.pick(["italic", "normal", "oblique", "inherit"]);
}, },
variant: function () { variant: function () {
return random.pick(["normal", "small-caps", "inherit", make.font.globalValue()]); return random.pick(["normal", "small-caps", "inherit"]);
}, },
weight: function () { weight: function () {
return random.pick([ return random.pick([
@ -20,8 +20,6 @@ make.font = {
["bolder", "lighter"], ["bolder", "lighter"],
/* numeric values */ /* numeric values */
[100, 200, 300, 400, 500, 600, 700, 800, 900], [100, 200, 300, 400, 500, 600, 700, 800, 900],
/* Global values */
make.font.globalValue()
]); ]);
}, },
size: function () { size: function () {
@ -34,8 +32,6 @@ make.font = {
make.numbers.unsignedNumber() + make.units.units(), make.numbers.unsignedNumber() + make.units.units(),
/* <percentage> values */ /* <percentage> values */
make.units.percent(), make.units.percent(),
/* Global values */
make.font.globalValue()
]); ]);
}, },
genericFamily: function () { genericFamily: function () {