зеркало из https://github.com/mozilla/pjs.git
Implement opacity methods
This commit is contained in:
Родитель
262d020083
Коммит
86b7edb580
|
@ -1671,3 +1671,15 @@ nsDOMCSSDeclaration::SetZIndex(const nsString& aZIndex)
|
|||
return SetProperty("z-index", aZIndex, "");
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::GetOpacity(nsString& aOpacity)
|
||||
{
|
||||
return GetPropertyValue("opacity", aOpacity);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::SetOpacity(const nsString& aOpacity)
|
||||
{
|
||||
return SetProperty("opacity", aOpacity, "");
|
||||
}
|
||||
|
|
|
@ -1671,3 +1671,15 @@ nsDOMCSSDeclaration::SetZIndex(const nsString& aZIndex)
|
|||
return SetProperty("z-index", aZIndex, "");
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::GetOpacity(nsString& aOpacity)
|
||||
{
|
||||
return GetPropertyValue("opacity", aOpacity);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::SetOpacity(const nsString& aOpacity)
|
||||
{
|
||||
return SetProperty("opacity", aOpacity, "");
|
||||
}
|
||||
|
|
|
@ -1671,3 +1671,15 @@ nsDOMCSSDeclaration::SetZIndex(const nsString& aZIndex)
|
|||
return SetProperty("z-index", aZIndex, "");
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::GetOpacity(nsString& aOpacity)
|
||||
{
|
||||
return GetPropertyValue("opacity", aOpacity);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMCSSDeclaration::SetOpacity(const nsString& aOpacity)
|
||||
{
|
||||
return SetProperty("opacity", aOpacity, "");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче