assert_equals(typeof div.style[headProp("fontStretch")], "string", "Check if font-stretch is of type string");
origin = GetCurrentStyle("fontStretch");
- assert_equals(origin, "normal", "The font-stretch initial value is not normal");
+ assert_equals(origin, "100%", "The font-stretch initial value is not 100%");
div.style[headProp("fontStretch")] = "condensed";
assert_not_equals(div.style[headProp("fontStretch")], origin, "The font-stretch value is not writable");
["font-style", "normal"],
["font-variant", "normal"],
["font-variant-ligatures", "normal"],
- ["font-weight", "normal"]
+ ["font-weight", "400"]
].forEach(function(attr) {
var name = attr[0];