summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/filter-on-continuation-box-01.html
blob: cc614f1e48a2a6364bd33b02e4ad34e8937071dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class="reftest-wait">
<style type="text/css">
  div {
    border: 1px solid grey;
    width: 100px;
    color: black;
  }
</style>

<div>
  <span id="myspan">Wrapped sentence</span>
</div>

<script>
  window.addEventListener("MozReftestInvalidate",
    function() {
      document.getElementById("myspan").style.filter = "opacity(50%)";
      document.documentElement.classList.remove("reftest-wait");
    });
</script>

</html>