nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst

git-svn-id: svn://10.0.0.236/trunk@94974 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
glazman%netscape.com
2001-05-15 08:25:03 +00:00
parent 35cc679664
commit fe602274b6
2 changed files with 16 additions and 2 deletions

View File

@@ -67,8 +67,15 @@ NS_IMPL_RELEASE(nsDOMCSSDeclaration);
NS_IMETHODIMP
nsDOMCSSDeclaration::GetCssText(nsAWritableString& aCssText)
{
nsCOMPtr<nsICSSDeclaration> decl;
aCssText.Truncate();
// XXX TBI
GetCSSDeclaration(getter_AddRefs(decl), PR_FALSE);
NS_ASSERTION(decl, "null CSSDeclaration");
if (decl) {
decl->ToString(aCssText);
}
return NS_OK;
}

View File

@@ -67,8 +67,15 @@ NS_IMPL_RELEASE(nsDOMCSSDeclaration);
NS_IMETHODIMP
nsDOMCSSDeclaration::GetCssText(nsAWritableString& aCssText)
{
nsCOMPtr<nsICSSDeclaration> decl;
aCssText.Truncate();
// XXX TBI
GetCSSDeclaration(getter_AddRefs(decl), PR_FALSE);
NS_ASSERTION(decl, "null CSSDeclaration");
if (decl) {
decl->ToString(aCssText);
}
return NS_OK;
}