Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@144087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org
2003-06-24 05:40:37 +00:00
parent 9b0895c752
commit 3bdd5c558b
27 changed files with 757 additions and 318 deletions

View File

@@ -148,23 +148,6 @@ nsDOMCSSDeclaration::GetLength(PRUint32* aLength)
return result;
}
NS_IMETHODIMP
nsDOMCSSDeclaration::GetParentRule(nsIDOMCSSRule** aParentRule)
{
NS_ENSURE_ARG_POINTER(aParentRule);
*aParentRule = nsnull;
nsCOMPtr<nsISupports> parent;
GetParent(getter_AddRefs(parent));
if (parent) {
CallQueryInterface(parent, aParentRule);
}
return NS_OK;
}
NS_IMETHODIMP
nsDOMCSSDeclaration::GetPropertyCSSValue(const nsAString& aPropertyName,
nsIDOMCSSValue** aReturn)