mshtml: Added IHTMLStyleSheetRulesCollection::get_length implementation.
This commit is contained in:
parent
4ac1ba130a
commit
23393756dd
|
@ -154,8 +154,20 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_get_length(IHTMLStyleSheetRu
|
||||||
long *p)
|
long *p)
|
||||||
{
|
{
|
||||||
HTMLStyleSheetRulesCollection *This = HTMLSTYLERULESCOL_THIS(iface);
|
HTMLStyleSheetRulesCollection *This = HTMLSTYLERULESCOL_THIS(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
PRUint32 len = 0;
|
||||||
return E_NOTIMPL;
|
|
||||||
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
|
||||||
|
if(This->nslist) {
|
||||||
|
nsresult nsres;
|
||||||
|
|
||||||
|
nsres = nsIDOMCSSRuleList_GetLength(This->nslist, &len);
|
||||||
|
if(NS_FAILED(nsres))
|
||||||
|
ERR("GetLength failed: %08x\n", nsres);
|
||||||
|
}
|
||||||
|
|
||||||
|
*p = len;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLStyleSheetRulesCollection_item(IHTMLStyleSheetRulesCollection *iface,
|
static HRESULT WINAPI HTMLStyleSheetRulesCollection_item(IHTMLStyleSheetRulesCollection *iface,
|
||||||
|
|
Loading…
Reference in New Issue