summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/qt/tests/qgraphicswebview/resources/greendiv.html
blob: 2f7fa97cac35d6bf31254ec745d0fde6b0e392f3 (plain)
1
2
3
4
5
6
7
8
<body style="background-color: white">
 <div id="1" style="width: 50%; height: 50%; background-color: green"/>
 <script>
  function resizeDiv() {
      document.getElementById("1").setAttribute("style", "width: 150%; height: 150%; background-color: green");
  }
 </script>
</body>