Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / zoom-property-parsing.html
bloba60f80c118a31345280ccb56c4ffebacef659e11
1 <!doctype html>
2 <p>This tests that a value of 0 for the zoom property is ignored.</p>
3 <p id="result"></p>
4 <div id="target" style="width: 250px; zoom: 0;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var zoom = getComputedStyle(document.getElementById("target")).zoom;
10 document.getElementById("result").innerText = zoom === "1" ? "PASS" : "FAIL, zoom was " + zoom;
11 </script>