OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <script src="../../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../../fast/js/resources/js-test-pre.js"></script> |
3 <style> | 3 <style> |
4 div { display: inline-block; } | 4 div { display: inline-block; } |
5 p { width: 200px; height: 120px; margin: 0px; } | 5 p { width: 200px; height: 120px; margin: 0px; } |
6 #simple-all { margin: calc(13px + 12px); } | 6 #simple-all { margin: calc(13px + 12px); } |
7 #simple-left { margin-left: calc(13px + 12px); } | 7 #simple-left { margin-left: calc(13px + 12px); } |
8 #simple-right { margin-right: calc(13px + 12px); } | 8 #simple-right { margin-right: calc(13px + 12px); } |
9 #simple-top { margin-top: calc(13px + 12px); } | 9 #simple-top { margin-top: calc(13px + 12px); } |
10 #simple-bottom { margin-bottom: calc(13px + 12px); } | 10 #simple-bottom { margin-bottom: calc(13px + 12px); } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 shouldBeEqualToString('computedMarginRight("' + innerElement.id + '")',
expectedRight); | 86 shouldBeEqualToString('computedMarginRight("' + innerElement.id + '")',
expectedRight); |
87 shouldBeEqualToString('computedMarginBottom("' + innerElement.id + '")',
expectedBottom); | 87 shouldBeEqualToString('computedMarginBottom("' + innerElement.id + '")',
expectedBottom); |
88 } | 88 } |
89 | 89 |
90 if (window.testRunner) { | 90 if (window.testRunner) { |
91 var testContainer = document.getElementById("test-container"); | 91 var testContainer = document.getElementById("test-container"); |
92 if (testContainer) | 92 if (testContainer) |
93 document.body.removeChild(testContainer); | 93 document.body.removeChild(testContainer); |
94 } | 94 } |
95 </script> | 95 </script> |
96 <script src="../../fast/js/resources/js-test-post.js"></script> | |
OLD | NEW |