Index: LayoutTests/fast/css/getComputedStyle-relativeURL.html |
diff --git a/LayoutTests/fast/css/getComputedStyle-relativeURL.html b/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..389b265ae81a1396df1d813815be124cebd3537f |
--- /dev/null |
+++ b/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
@@ -0,0 +1,35 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+ |
+<style> |
+div { |
+ background-size: 0px; |
+} |
alancutter (OOO until 2018)
2015/09/18 02:55:09
Left over debugging code should be removed.
nainar
2015/09/18 03:47:25
Done.
|
+ |
+#target { |
+ background-image: url(images.jpg); |
+ animation: test 2e8s; |
+ animation-delay: -1e8s; |
+} |
+ |
+@keyframes test{ |
+ from { |
+ background-image: url(images1.jpg) |
+ } |
+ to { |
+ background-image: url(images2.jpg) |
+ } |
+} |
+</style> |
+ |
+<div id="target"></div> |
alancutter (OOO until 2018)
2015/09/18 02:55:09
target is never used.
nainar
2015/09/18 03:47:25
Done.
|
+<div id = "target1"></div> |
+ |
+<script> |
+ target1.style.backgroundImage = "-webkit-cross-fade(url(images1.jpg), url(images2.jpg), 0.5)"; |
+ test(function() { |
+ assert_not_equals(target1.style.backgroundImage, getComputedStyle(target).backgroundImage); |
+ assert_equals(target1.style.backgroundImage, "-webkit-cross-fade(url(images1.jpg), url(images2.jpg), 0.5)"); |
+ }); |
+</script> |