Index: LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html |
diff --git a/LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html b/LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html |
index cfe8a6335a670f753553a4e6ef373b8d53344259..4eb270e777c853e22800c1dee982984e45404aeb 100644 |
--- a/LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html |
+++ b/LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html |
@@ -9,11 +9,10 @@ |
img { max-height: 100%; } |
</style> |
<script src="../../resources/check-layout.js"></script> |
+<body onload="checkLayout('#img')"> |
<div id="outer"> |
<div id="inner"> |
- <img src="resources/square-blue-100x100.png" id="img" data-expected-client-height="50px"> |
+ <img src="resources/square-blue-100x100.png" id="img" data-expected-client-height="50"> |
</div> |
</div> |
-<script> |
- window.checkLayout("#img"); |
-</script> |
+</body> |