Index: LayoutTests/transitions/multiple-text-shadow-transition.html |
diff --git a/LayoutTests/transitions/multiple-text-shadow-transition.html b/LayoutTests/transitions/multiple-text-shadow-transition.html |
index f040c634f8213bd697454a739a252f628bb9afa1..6cb2263cad4133a6ddbc96716d3a94d5f37b5557 100644 |
--- a/LayoutTests/transitions/multiple-text-shadow-transition.html |
+++ b/LayoutTests/transitions/multiple-text-shadow-transition.html |
@@ -44,8 +44,9 @@ |
function checkShadow() |
{ |
var container = document.getElementById('container'); |
- var shadow = window.getComputedStyle(container).getPropertyCSSValue('text-shadow'); |
- |
+ var shadow = window.getComputedStyle(container).textShadow; |
+ shadow = shadow.replace(/rgb([^)]*)/g, "color").split(","); |
+ |
var result = document.getElementById('result'); |
if (shadow.length == 5) |
result.innerHTML = 'PASS: saw 5 shadows during the transition'; |