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

Side by Side Diff: LayoutTests/fast/sub-pixel/vertical-align-middle-overflow.html

Issue 10796066: Merge 122883 - vertical-align: middle causes overflow with subpixel layout (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .block { 5 .block {
6 overflow-x: hidden; 6 overflow-x: hidden;
7 width: 100px; 7 width: 100px;
8 } 8 }
9 .icon { 9 .icon {
10 display: inline-block; 10 display: inline-block;
(...skipping 18 matching lines...) Expand all
29 <script> 29 <script>
30 var element = document.getElementById('test-block'); 30 var element = document.getElementById('test-block');
31 31
32 if (element.offsetHeight == element.scrollHeight) 32 if (element.offsetHeight == element.scrollHeight)
33 testPassed('Does not overflow.'); 33 testPassed('Does not overflow.');
34 else 34 else
35 testFailed('Overflows, offsetHeight ' + element.offsetHeight + ' px, scrollHeight ' + element.scrollHeight + 'px'); 35 testFailed('Overflows, offsetHeight ' + element.offsetHeight + ' px, scrollHeight ' + element.scrollHeight + 'px');
36 </script> 36 </script>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/sub-pixel/vertical-align-middle-overflow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698