Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: LayoutTests/fast/replaced/percentage-height-when-height-specified-by-top-bottom.html

Issue 888743002: Force unitless data-expected attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Redo percentage-height-when-height-specified-by-top-bottom.html onload change Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698