diff --git a/dlls/jscript/string.c b/dlls/jscript/string.c
index 12daecb..95c55ac 100644
--- a/dlls/jscript/string.c
+++ b/dlls/jscript/string.c
@@ -398,8 +398,9 @@ static HRESULT String_fontcolor(DispatchEx *dispex, LCID lcid, WORD flags, DISPP
static HRESULT String_fontsize(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,
VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
{
- FIXME("\n");
- return E_NOTIMPL;
+ static const WCHAR fonttagW[] = {'F','O','N','T',0};
+ static const WCHAR sizeattrW[] = {'S','I','Z','E',0};
+ return do_attribute_tag_format(dispex, lcid, flags, dp, retv, ei, sp, fonttagW, sizeattrW);
}
static HRESULT String_indexOf(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,
diff --git a/dlls/jscript/tests/api.js b/dlls/jscript/tests/api.js
index 7d18cb2..f8172bf 100644
--- a/dlls/jscript/tests/api.js
+++ b/dlls/jscript/tests/api.js
@@ -384,6 +384,23 @@ ok(tmp === "test", "'test'.fontcolor(3,4) = " + tmp);
tmp = "test".fontcolor("RED");
ok(tmp === "test", "'test'.fontcolor('RED') = " + tmp);
+tmp = "".fontsize();
+ok(tmp === "", "''.fontsize() = " + tmp);
+tmp = "".fontsize(3);
+ok(tmp === "", "''.fontsize(3) = " + tmp);
+tmp = "".fontsize(3,4);
+ok(tmp === "", "''.fontsize(3,4) = " + tmp);
+tmp = "".fontsize("TEST");
+ok(tmp === "", "''.fontsize('TEST') = " + tmp);
+tmp = "test".fontsize();
+ok(tmp === "test", "'test'.fontsize() = " + tmp);
+tmp = "test".fontsize(3);
+ok(tmp === "test", "'test'.fontsize(3) = " + tmp);
+tmp = "test".fontsize(3,4);
+ok(tmp === "test", "'test'.fontsize(3,4) = " + tmp);
+tmp = "test".fontsize("TEST");
+ok(tmp === "test", "'test'.fontsize('TEST') = " + tmp);
+
var arr = new Array();
ok(typeof(arr) === "object", "arr () is not object");
ok((arr.length === 0), "arr.length is not 0");