Index: LayoutTests/fast/images/color-profile-border-image.html |
diff --git a/LayoutTests/fast/images/color-profile-border-image.html b/LayoutTests/fast/images/color-profile-border-image.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..88be53e04db7827de9a59225dcb20c05469a687a |
--- /dev/null |
+++ b/LayoutTests/fast/images/color-profile-border-image.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+ div { |
+ -webkit-border-image: url("resources/red-at-12-oclock-with-color-profile.jpg") 8 2 round; |
+ height: 320px; |
+ width: 90%; |
+ } |
+</style> |
+ |
+<!-- The blue sector of the <div> background image should be at 12 o'clock. --> |
+<div></div> |
+ |
+<script> |
+window.onload = function() { |
+ if (window.testRunner) |
+ testRunner.setColorProfile('test', done); |
+}; |
+ |
+function done() { |
+ setTimeout(function() { testRunner.notifyDone() }, 0); |
+} |
+ |
+if (window.testRunner) { |
+ testRunner.dumpAsTextWithPixelResults(); |
+ testRunner.waitUntilDone(); |
+} |
+</script> |
+</html> |