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

Side by Side Diff: LayoutTests/fast/borders/border-width-percent.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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>This tests the border width property with percent values for HTML elements.</ p> 7 <p>This tests the border width property with percent values for HTML elements.</ p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 function elementBorderWidth(element, borderValue, style) 10 function elementBorderWidth(element, borderValue, style)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 shouldBe("elementBorderWidth('object', 0, 'border-width: 10%')", "0"); 48 shouldBe("elementBorderWidth('object', 0, 'border-width: 10%')", "0");
49 shouldBe("elementBorderWidth('object', 0, 'border-width: -10%')", "0"); 49 shouldBe("elementBorderWidth('object', 0, 'border-width: -10%')", "0");
50 50
51 shouldBe("inputElementBorderWidth('image', '10%')", "10"); 51 shouldBe("inputElementBorderWidth('image', '10%')", "10");
52 shouldBe("inputElementBorderWidth('image', '-10%')", "0"); 52 shouldBe("inputElementBorderWidth('image', '-10%')", "0");
53 shouldBe("inputElementBorderWidth('image', ' +10%')", "10"); 53 shouldBe("inputElementBorderWidth('image', ' +10%')", "10");
54 54
55 shouldBe("inputElementBorderWidth('image', 0, 'border-width: 10%')", "0"); 55 shouldBe("inputElementBorderWidth('image', 0, 'border-width: 10%')", "0");
56 shouldBe("inputElementBorderWidth('image', 0, 'border-width: -10%')", "0"); 56 shouldBe("inputElementBorderWidth('image', 0, 'border-width: -10%')", "0");
57 </script> 57 </script>
58 <script src="../js/resources/js-test-post.js"></script>
59 </body> 58 </body>
60 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698