WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.

git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-05-03 21:42:00 +00:00
parent f94a42e025
commit 09a726c20d
17 changed files with 335 additions and 47 deletions

View File

@@ -64,8 +64,12 @@ public:
virtual void DropReference() = 0;
virtual nsresult GetCSSDeclaration(nsICSSDeclaration **aDecl,
PRBool aAllocate) = 0;
// Note! This will only set the declaration if a style rule already exists
virtual nsresult SetCSSDeclaration(nsICSSDeclaration *aDecl) = 0;
virtual nsresult ParseDeclaration(const nsString& aDecl) = 0;
virtual nsresult ParseDeclaration(const nsString& aDecl,
PRBool aParseOnlyOneDecl,
PRBool aClearOldDecl) = 0;
virtual nsresult GetParent(nsISupports **aParent) = 0;
protected: