diff --git a/tests/playgrounds/screenshot.js b/tests/playgrounds/screenshot.js
index c0a9663a2..4282cdec2 100644
--- a/tests/playgrounds/screenshot.js
+++ b/tests/playgrounds/screenshot.js
@@ -65,10 +65,10 @@ function workspaceToSvg_(workspace, callback, customCss) {
}
var bBox = workspace.getBlocksBoundingBox();
- var x = bBox.left;
- var y = bBox.top;
- var width = bBox.right - x;
- var height = bBox.bottom - y;
+ var x = bBox.x || bBox.left;
+ var y = bBox.y || bBox.top;
+ var width = bBox.width || bBox.right - x;
+ var height = bBox.height || bBox.bottom - y;
var blockCanvas = workspace.getCanvas();
var clone = blockCanvas.cloneNode(true);
diff --git a/tests/rendering/zelos/pxtblockly/index.html b/tests/rendering/zelos/pxtblockly/index.html
new file mode 100644
index 000000000..6a53da072
--- /dev/null
+++ b/tests/rendering/zelos/pxtblockly/index.html
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+
+
+ Scratch-Blocks
+
+
+
+
+
Zelos Rendering
+
+
+
PXT-Blockly Rendering
+
+
+
+
+
+
+
Zelos Rendering
+
![]()
+
+
+
PXT-Blockly Rendering
+
![]()
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/rendering/zelos/pxtblockly/pxtblockly.html b/tests/rendering/zelos/pxtblockly/pxtblockly.html
new file mode 100644
index 000000000..8ee2e9560
--- /dev/null
+++ b/tests/rendering/zelos/pxtblockly/pxtblockly.html
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/rendering/zelos/pxtblockly/zelos.html b/tests/rendering/zelos/pxtblockly/zelos.html
new file mode 100644
index 000000000..6d00f750e
--- /dev/null
+++ b/tests/rendering/zelos/pxtblockly/zelos.html
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/rendering/zelos/scratchblocks/index.html b/tests/rendering/zelos/scratchblocks/index.html
new file mode 100644
index 000000000..9814d5eaf
--- /dev/null
+++ b/tests/rendering/zelos/scratchblocks/index.html
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+
+ PXT-Blockly
+
+
+
+
+
Zelos Rendering
+
+
+
Scratch-Blocks Rendering
+
+
+
+
+
+
+
Zelos Rendering
+
![]()
+
+
+
Scratch-Blocks Rendering
+
![]()
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/rendering/zelos/scratchblocks/scratchblocks.html b/tests/rendering/zelos/scratchblocks/scratchblocks.html
new file mode 100644
index 000000000..801123097
--- /dev/null
+++ b/tests/rendering/zelos/scratchblocks/scratchblocks.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/rendering/zelos/scratchblocks/zelos.html b/tests/rendering/zelos/scratchblocks/zelos.html
new file mode 100644
index 000000000..3cc6810a9
--- /dev/null
+++ b/tests/rendering/zelos/scratchblocks/zelos.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file