mshtml: Implement HTMLStyle's toString.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f8c9634262
commit
fc4482815c
|
@ -3025,8 +3025,10 @@ static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttri
|
|||
static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
|
||||
{
|
||||
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
||||
FIXME("(%p)->(%p)\n", This, String);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, String);
|
||||
|
||||
return dispex_to_string(&This->css_style.dispex, String);
|
||||
}
|
||||
|
||||
static const IHTMLStyleVtbl HTMLStyleVtbl = {
|
||||
|
|
|
@ -218,6 +218,7 @@ sync_test("builtin_toString", function() {
|
|||
test("navigator", window.navigator, "Navigator");
|
||||
test("screen", window.screen, "Screen");
|
||||
test("sessionStorage", window.sessionStorage, "Storage");
|
||||
test("style", document.body.style, "MSStyleCSSProperties");
|
||||
test("styleSheet", sheet, "CSSStyleSheet");
|
||||
test("styleSheetRule", sheet.rules.item(0), "CSSStyleRule");
|
||||
test("styleSheetRules", sheet.rules, "MSCSSRuleList");
|
||||
|
|
Loading…
Reference in New Issue