OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <style> | 2 <style> |
3 .width-test { | 3 .width-test { |
4 height: 100px; | 4 height: 100px; |
5 width: 256px; | 5 width: 256px; |
6 background-color: red; | 6 background-color: red; |
7 } | 7 } |
8 | 8 |
9 .height-test { | 9 .height-test { |
10 width: 100px; | 10 width: 100px; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 error.push("@zoom=" + zoom + " expected height of 100, but was " + h
eight); | 112 error.push("@zoom=" + zoom + " expected height of 100, but was " + h
eight); |
113 } | 113 } |
114 if (error == "") { | 114 if (error == "") { |
115 element.style.backgroundColor = "green"; | 115 element.style.backgroundColor = "green"; |
116 element.innerHTML += " => PASS"; | 116 element.innerHTML += " => PASS"; |
117 } else | 117 } else |
118 element.innerHTML += " => FAIL: " + error.join("; "); | 118 element.innerHTML += " => FAIL: " + error.join("; "); |
119 } | 119 } |
120 document.body.style.zoom = 1; | 120 document.body.style.zoom = 1; |
121 </script> | 121 </script> |
OLD | NEW |