| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/js-test.js"></script> | |
| 3 | |
| 4 <svg id="svg1"/> | |
| 5 <svg id="svg2" style="overflow-x: auto"/> | |
| 6 <svg id="svg3" style="overflow-x: visible; overflow-y: hidden"/> | |
| 7 | |
| 8 <script> | |
| 9 description("This test checks the overflow equality in case of SVG.") | |
| 10 | |
| 11 svg = document.getElementById("svg1"); | |
| 12 computedStyle1 = getComputedStyle(svg); | |
| 13 shouldBe("computedStyle1.getPropertyValue('overflow-x')", "computedStyle1.getP
ropertyValue('overflow-y')"); | |
| 14 | |
| 15 svg = document.getElementById("svg2"); | |
| 16 computedStyle2 = getComputedStyle(svg); | |
| 17 shouldBe("computedStyle2.getPropertyValue('overflow-x')", "computedStyle2.getP
ropertyValue('overflow-y')"); | |
| 18 | |
| 19 svg = document.getElementById("svg3"); | |
| 20 computedStyle3 = getComputedStyle(svg); | |
| 21 shouldBe("computedStyle3.getPropertyValue('overflow-x')", "computedStyle3.getP
ropertyValue('overflow-y')"); | |
| 22 </script> | |
| OLD | NEW |