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

Side by Side Diff: LayoutTests/fast/images/zoomed-offset-size.html

Issue 11953117: Merge 139659 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/images/zoomed-offset-size-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #test_wrap { 5 #test_wrap {
6 width: 250px; 6 width: 250px;
7 height: 166px; 7 height: 166px;
8 overflow: hidden; 8 overflow: hidden;
9 } 9 }
10 10
(...skipping 29 matching lines...) Expand all
40 for (var i = 1; i <= 300; i++) { 40 for (var i = 1; i <= 300; i++) {
41 shouldBe('getSize(' + (i / 100) + ').imageWidth', '250'); 41 shouldBe('getSize(' + (i / 100) + ').imageWidth', '250');
42 shouldBe('getSize(' + (i / 100) + ').imageHeight', '166'); 42 shouldBe('getSize(' + (i / 100) + ').imageHeight', '166');
43 shouldBe('getSize(' + (i / 100) + ').wrapWidth', '250'); 43 shouldBe('getSize(' + (i / 100) + ').wrapWidth', '250');
44 shouldBe('getSize(' + (i / 100) + ').wrapHeight', '166'); 44 shouldBe('getSize(' + (i / 100) + ').wrapHeight', '166');
45 } 45 }
46 document.body.zoom = 1.0; 46 document.body.zoom = 1.0;
47 </script> 47 </script>
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/zoomed-offset-size-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698