Commit 9fb9ca0d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added IDM_ITALIC implementation.

parent 5f907804
......@@ -369,6 +369,16 @@ static HRESULT exec_bold(HTMLDocument *This)
return S_OK;
}
static HRESULT exec_italic(HTMLDocument *This)
{
TRACE("(%p)\n", This);
if(This->nscontainer)
do_ns_command(This->nscontainer, "cmd_italic", NULL);
return S_OK;
}
static HRESULT exec_browsemode(HTMLDocument *This)
{
WARN("(%p)\n", This);
......@@ -734,6 +744,10 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
return exec_bold(This);
case IDM_ITALIC:
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
return exec_italic(This);
case IDM_BROWSEMODE:
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment