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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 <!doctype HTML> 1 <!doctype HTML>
2 <style> 2 <style>
3 #outer { 3 #outer {
4 height: 50px; 4 height: 50px;
5 outline: 1px solid; 5 outline: 1px solid;
6 position:relative; 6 position:relative;
7 } 7 }
8 #inner { top:0; bottom:0; position:absolute; } 8 #inner { top:0; bottom:0; position:absolute; }
9 img { max-height: 100%; } 9 img { max-height: 100%; }
10 </style> 10 </style>
11 <script src="../../resources/check-layout.js"></script> 11 <script src="../../resources/check-layout.js"></script>
12 <body onload="checkLayout('#img')">
12 <div id="outer"> 13 <div id="outer">
13 <div id="inner"> 14 <div id="inner">
14 <img src="resources/square-blue-100x100.png" id="img" data-expected-clie nt-height="50px"> 15 <img src="resources/square-blue-100x100.png" id="img" data-expected-clie nt-height="50">
15 </div> 16 </div>
16 </div> 17 </div>
17 <script> 18 </body>
18 window.checkLayout("#img");
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698