mshtml: Added IHTMLStyleSheetsCollection::get_length implementation.

This commit is contained in:
Jacek Caban 2007-09-19 13:10:02 +02:00 committed by Alexandre Julliard
parent ebd918eb48
commit 271049ca09
1 changed files with 9 additions and 2 deletions

View File

@ -144,8 +144,15 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_get_length(IHTMLStyleSheetsColle
long *p)
{
HTMLStyleSheetsCollection *This = HTMLSTYLESHEETSCOL_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
PRUint32 len = 0;
TRACE("(%p)->(%p)\n", This, p);
if(This->nslist)
nsIDOMStyleSheetList_GetLength(This->nslist, &len);
*p = len;
return S_OK;
}
static HRESULT WINAPI HTMLStyleSheetsCollection_get__newEnum(IHTMLStyleSheetsCollection *iface,