diff --git a/layout/style/test/file_shape_outside_CORS.html b/layout/style/test/file_shape_outside_CORS.html
new file mode 100644
index 000000000000..de558c47f8a0
--- /dev/null
+++ b/layout/style/test/file_shape_outside_CORS.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
allow (image is blank, so text is flush left)
+
+
+
refuse (image unread, so text is moved to box edge)
+
+
+
diff --git a/layout/style/test/mochitest.ini b/layout/style/test/mochitest.ini
index ae5f690c0355..39c6da198e20 100644
--- a/layout/style/test/mochitest.ini
+++ b/layout/style/test/mochitest.ini
@@ -295,6 +295,10 @@ skip-if = toolkit == 'android' # bug 1328522
skip-if = toolkit == 'android' #bug 775227
[test_selectors_on_anonymous_content.html]
[test_setPropertyWithNull.html]
+[test_shape_outside_CORS.html]
+support-files =
+ file_shape_outside_CORS.html
+ support/1x1-transparent.png
[test_shorthand_property_getters.html]
[test_specified_value_serialization.html]
support-files = file_specified_value_serialization_individual_transforms.html
diff --git a/layout/style/test/support/1x1-transparent.png b/layout/style/test/support/1x1-transparent.png
new file mode 100644
index 000000000000..56cd9eb93092
Binary files /dev/null and b/layout/style/test/support/1x1-transparent.png differ
diff --git a/layout/style/test/test_shape_outside_CORS.html b/layout/style/test/test_shape_outside_CORS.html
new file mode 100644
index 000000000000..930e8945f7f7
--- /dev/null
+++ b/layout/style/test/test_shape_outside_CORS.html
@@ -0,0 +1,48 @@
+
+
+
+
+CSS Test: shape-outside with a CORS violation
+
+
+
+
+
+
+
+
+
+
+