Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html |
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d3c3f7860b7e637100cb9055138392a7aeb7a50 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<script src='../../../resources/testharness.js'></script> |
+<script src='../../../resources/testharnessreport.js'></script> |
+<script src='property-suite.js'></script> |
+<script src='config-templates.js'></script> |
+ |
+<script> |
+runInlineStylePropertyMapTests( { |
+ property: 'background-image', |
+ validKeywords: [ |
+ 'none', |
+ ], |
+ validObjects: [ |
+ new CSSURLImageValue(window.location.href + 'resources/1x1-green.jpg'), |
+ // new CSSURLImageValue('') - This will be introduced in a later patch and crashes for now. |
+ ], |
+ supportsMultiple: false, |
+ invalidObjects: [new CSSSimpleLength(4, 'px')] |
+}); |
+</script> |