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

Side by Side Diff: LayoutTests/css1/units/rounding.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 body, div { 4 body, div {
5 margin: 0; 5 margin: 0;
6 padding: 0; 6 padding: 0;
7 border: 0; 7 border: 0;
8 } 8 }
9 #top, #bottom { 9 #top, #bottom {
10 line-height: 1.5; 10 line-height: 1.5;
(...skipping 23 matching lines...) Expand all
34 34
35 description("This test checks that floating point rounding doesn't cause misalig nment. There should be no gap between the divs."); 35 description("This test checks that floating point rounding doesn't cause misalig nment. There should be no gap between the divs.");
36 36
37 var divtop = document.getElementById("top").getBoundingClientRect(); 37 var divtop = document.getElementById("top").getBoundingClientRect();
38 var divbottom = document.getElementById("bottom").getBoundingClientRect(); 38 var divbottom = document.getElementById("bottom").getBoundingClientRect();
39 shouldBe('Math.round(divtop.bottom)', '31'); 39 shouldBe('Math.round(divtop.bottom)', '31');
40 shouldBe('Math.round(divbottom.top)', '31'); 40 shouldBe('Math.round(divbottom.top)', '31');
41 41
42 </script> 42 </script>
43 43
44 <script src="../../fast/js/resources/js-test-post.js"></script>
45 44
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/crypto/worker-random-values-types.html ('k') | LayoutTests/css3/calc/color-hsl.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698