+2015-04-15 Simon Fraser <simon.fraser@apple.com>
+
+ We should dump GraphicsLayer's anchorPoint z component
+ https://bugs.webkit.org/show_bug.cgi?id=143815
+
+ Reviewed by Tim Horton.
+
+ We didn't include the z component of a layer's anchor point when dumping.
+ Dump if it's non-zero (to avoid having to change lots of test output).
+ No test with non-zero z appears to dump layers.
+
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties):
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::requireTransformOrigin): Remove a FIXME which, on further consideration,
+ is wrong.
+
2015-04-15 Brent Fulgham <bfulgham@apple.com>
[Mac] Disable "Save to Downloads" option for local files
if (m_anchorPoint != FloatPoint3D(0.5f, 0.5f, 0)) {
writeIndent(ts, indent + 1);
- ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y() << ")\n";
+ ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y();
+ if (m_anchorPoint.z())
+ ts << " " << m_anchorPoint.z();
+ ts << ")\n";
}
if (m_size != IntSize()) {
if (type != TransformOperation::TRANSLATE_X
&& type != TransformOperation::TRANSLATE_Y
&& type != TransformOperation::TRANSLATE
- && type != TransformOperation::TRANSLATE_Z // FIXME: doesn't this depend on transform origin?
+ && type != TransformOperation::TRANSLATE_Z
&& type != TransformOperation::TRANSLATE_3D)
return true;
}