| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 error.push("@zoom=" + zoom + " expected height of 100, but was " + h
eight); | 109 error.push("@zoom=" + zoom + " expected height of 100, but was " + h
eight); |
| 110 } | 110 } |
| 111 if (error == "") { | 111 if (error == "") { |
| 112 element.style.backgroundColor = "green"; | 112 element.style.backgroundColor = "green"; |
| 113 element.innerHTML += " => PASS"; | 113 element.innerHTML += " => PASS"; |
| 114 } else | 114 } else |
| 115 element.innerHTML += " => FAIL: " + error.join("; "); | 115 element.innerHTML += " => FAIL: " + error.join("; "); |
| 116 } | 116 } |
| 117 document.body.style.zoom = 1; | 117 document.body.style.zoom = 1; |
| 118 </script> | 118 </script> |
| OLD | NEW |