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

Side by Side Diff: LayoutTests/css3/calc/table-border-spacing.html

Issue 58533003: Move fast/js/resources files to resources. (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
« no previous file with comments | « LayoutTests/css3/calc/margin.html ('k') | LayoutTests/css3/calc/table-calcs.html » ('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 <script src="../../fast/js/resources/js-test-pre.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <style> 3 <style>
4 td { 4 td {
5 padding: 0; 5 padding: 0;
6 width: 50px; 6 width: 50px;
7 height: 60px; 7 height: 60px;
8 background-color: blue; 8 background-color: blue;
9 border: 1px solid black 9 border: 1px solid black
10 } 10 }
11 table { 11 table {
12 border-spacing: calc(10px * 2 + 5px); 12 border-spacing: calc(10px * 2 + 5px);
(...skipping 25 matching lines...) Expand all
38 var rows = 2; 38 var rows = 2;
39 var columns = 5; 39 var columns = 5;
40 40
41 var expectedWidth = innerWidth * columns + borderSpacing * (columns + 1) + 2 * outerBorder; 41 var expectedWidth = innerWidth * columns + borderSpacing * (columns + 1) + 2 * outerBorder;
42 var expectedHeight = innerHeight * rows + borderSpacing * (rows + 1) + 2 * o uterBorder; 42 var expectedHeight = innerHeight * rows + borderSpacing * (rows + 1) + 2 * o uterBorder;
43 43
44 shouldEvaluateTo('document.getElementById("stimulus").offsetWidth', expected Width); 44 shouldEvaluateTo('document.getElementById("stimulus").offsetWidth', expected Width);
45 shouldEvaluateTo('document.getElementById("stimulus").offsetHeight', expecte dHeight); 45 shouldEvaluateTo('document.getElementById("stimulus").offsetHeight', expecte dHeight);
46 </script> 46 </script>
47 47
OLDNEW
« no previous file with comments | « LayoutTests/css3/calc/margin.html ('k') | LayoutTests/css3/calc/table-calcs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698