From: wei zhang Date: Mon, 14 May 2018 13:37:17 +0000 (+0800) Subject: [common][fonts][DPTTIZEN-3007 modify 2 cases for spec changed] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffe3683a43d30b61c22f1a722a1cfd0f12730bba;p=test%2Ftct%2Fweb%2Fapi.git [common][fonts][DPTTIZEN-3007 modify 2 cases for spec changed] Change-Id: Ibe229da7e8655497c83e51479fb278504e574742 --- diff --git a/common/tct-fonts-css3-tests/fonts/CSS3DF_font-stretch_attribute.html b/common/tct-fonts-css3-tests/fonts/CSS3DF_font-stretch_attribute.html index ec9c35c33..d720c82ba 100755 --- a/common/tct-fonts-css3-tests/fonts/CSS3DF_font-stretch_attribute.html +++ b/common/tct-fonts-css3-tests/fonts/CSS3DF_font-stretch_attribute.html @@ -44,7 +44,7 @@ test(function () { 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"); diff --git a/common/tct-fonts-css3-tests/fonts/CSS3DF_initial_value.html b/common/tct-fonts-css3-tests/fonts/CSS3DF_initial_value.html index 964091092..d6953ba6b 100755 --- a/common/tct-fonts-css3-tests/fonts/CSS3DF_initial_value.html +++ b/common/tct-fonts-css3-tests/fonts/CSS3DF_initial_value.html @@ -46,7 +46,7 @@ Authors: ["font-style", "normal"], ["font-variant", "normal"], ["font-variant-ligatures", "normal"], - ["font-weight", "normal"] + ["font-weight", "400"] ].forEach(function(attr) { var name = attr[0];