Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html |
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8f5284f0dc5dc15aaf1e10b1ca8b922f1419a3cf |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-per-layer.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<script src="../../resources/js-test.js"></script> |
+<div id="test"> </div> |
+<script> |
+description("Tests that background shorthand property parsing will deal correctly with clip values in multiple layers."); |
+ |
+var e = document.getElementById('test'); |
+ |
+e.style.background = "url('a') content-box padding-box, url('b') border-box"; |
+shouldBeEqualToString("e.style.backgroundOrigin", 'content-box, border-box'); |
+shouldBeEqualToString("e.style.backgroundClip", 'padding-box, border-box'); |
+ |
+</script> |
+</body> |
+</html> |