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

Side by Side Diff: LayoutTests/css3/calc/line-height.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
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 span { font-size: 16px; } 4 span { font-size: 16px; }
5 #control { line-height: 200%; } 5 #control { line-height: 200%; }
6 #calc-percent { line-height: calc(100% * 2); } 6 #calc-percent { line-height: calc(100% * 2); }
7 #calc-percent-pixels { line-height: calc(100% + 16px); } 7 #calc-percent-pixels { line-height: calc(100% + 16px); }
8 #calc-percent-ems { line-height: calc(100% + 1em); } 8 #calc-percent-ems { line-height: calc(100% + 1em); }
9 </style> 9 </style>
10 <div id="test-container"> 10 <div id="test-container">
11 <span id="control">The line height of these lines should be identical</span> <hr/> 11 <span id="control">The line height of these lines should be identical</span> <hr/>
12 <span id="calc-percent">The line height of these lines should be identical</ span><hr/> 12 <span id="calc-percent">The line height of these lines should be identical</ span><hr/>
(...skipping 12 matching lines...) Expand all
25 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent"), null).lineHeight', 'getComputedStyle(document.getElementById("control"), null).l ineHeight'); 25 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent"), null).lineHeight', 'getComputedStyle(document.getElementById("control"), null).l ineHeight');
26 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent-pix els"), null).lineHeight', 'getComputedStyle(document.getElementById("control"), null).lineHeight'); 26 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent-pix els"), null).lineHeight', 'getComputedStyle(document.getElementById("control"), null).lineHeight');
27 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent-ems "), null).lineHeight', 'getComputedStyle(document.getElementById("control"), nul l).lineHeight'); 27 shouldEvaluateTo('getComputedStyle(document.getElementById("calc-percent-ems "), null).lineHeight', 'getComputedStyle(document.getElementById("control"), nul l).lineHeight');
28 28
29 if (window.testRunner) { 29 if (window.testRunner) {
30 var testContainer = document.getElementById("test-container"); 30 var testContainer = document.getElementById("test-container");
31 if (testContainer) 31 if (testContainer)
32 document.body.removeChild(testContainer); 32 document.body.removeChild(testContainer);
33 } 33 }
34 </script> 34 </script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/calc/getComputedStyle-margin-percentage.html ('k') | LayoutTests/css3/calc/margin.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698