Index: LayoutTests/fast/css/hover-affects-child.html |
diff --git a/LayoutTests/fast/css/hover-affects-child.html b/LayoutTests/fast/css/hover-affects-child.html |
index b8cb8aadb14a0a7566fc5cc6b4437d5aaaeb8dfa..c6735d3a392de8f9fd68cd4ee96c26b7e8ca78d1 100644 |
--- a/LayoutTests/fast/css/hover-affects-child.html |
+++ b/LayoutTests/fast/css/hover-affects-child.html |
@@ -31,11 +31,12 @@ |
testedHoverState = true; |
var innerElem = document.getElementById('innerElem'); |
var calculatedStyle = window.getComputedStyle(innerElem); |
- |
- if (calculatedStyle.getPropertyValue('left') == "auto") |
+ |
+ var propertyValue = calculatedStyle.getPropertyValue('left'); |
+ if (propertyValue == "8px") |
log("PASSED: Calculated style of inner element is correct"); |
else |
- log("FAILED: Calculated style of inner element is wrong, should be 'left: auto'"); |
+ log("FAILED: Calculated style of inner element is wrong, should be '800px' was '" + propertyValue + "'"); |
} |
function runTest() { |