Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms). Bug 296309, r+sr=dbaron, a=chofmann git-svn-id: svn://10.0.0.236/trunk@197743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
85dcb3291e
commit
cf947a47ed
@ -233,7 +233,7 @@ inDOMUtils::SetContentState(nsIDOMElement *aElement, PRInt32 aState)
|
||||
NS_IMETHODIMP
|
||||
inDOMUtils::GetContentState(nsIDOMElement *aElement, PRInt32* aState)
|
||||
{
|
||||
*aState = NS_EVENT_STATE_UNSPECIFIED;
|
||||
*aState = 0;
|
||||
|
||||
if (!aElement)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user