mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 14:44:26 +00:00
Bug 788549 Part 3: Refactor nsComputedDOMStyle::DoGetTransform r=dbaron
This commit is contained in:
parent
5142c6a110
commit
6d6b236316
@ -1096,6 +1096,12 @@ nsComputedDOMStyle::DoGetTransform()
|
||||
bounds,
|
||||
float(nsDeviceContext::AppUnitsPerCSSPixel()));
|
||||
|
||||
return MatrixToCSSValue(matrix);
|
||||
}
|
||||
|
||||
/* static */ CSSValue*
|
||||
nsComputedDOMStyle::MatrixToCSSValue(gfx3DMatrix& matrix)
|
||||
{
|
||||
bool is3D = !matrix.Is2D();
|
||||
|
||||
nsAutoString resultString(NS_LITERAL_STRING("matrix"));
|
||||
|
@ -437,6 +437,7 @@ private:
|
||||
mozilla::dom::CSSValue* DoGetMaskType();
|
||||
mozilla::dom::CSSValue* DoGetPaintOrder();
|
||||
|
||||
static mozilla::dom::CSSValue* MatrixToCSSValue(gfx3DMatrix& aMatrix);
|
||||
nsDOMCSSValueList* GetROCSSValueList(bool aCommaDelimited);
|
||||
void SetToRGBAColor(nsROCSSPrimitiveValue* aValue, nscolor aColor);
|
||||
void SetValueToStyleImage(const nsStyleImage& aStyleImage,
|
||||
|
Loading…
x
Reference in New Issue
Block a user