summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html')
-rw-r--r--testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html b/testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html
new file mode 100644
index 0000000000..96097e4f94
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/stylevalue-serialization/crashtests/cssTransform-Internal-value.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<meta charset="utf-8">
+<link rel="help" href="https://crbug.com/1204782">
+<title>Serialize transform components must not crash when the internal CSS value is null</title>
+
+<script>
+ var v98 = new CSSUnitValue(1, "px");
+ var v100 = v98.div(CSS.px(1));
+ var v106 = v98.mul(v100);
+ var v201 = new CSSTranslate(v106, v98, v98);
+ v201.toString()
+</script> \ No newline at end of file