summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image-element/referenced-from-binding-01.html
blob: 6d8b3971c77823096447f43ae16f5202283dba8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/licenses/publicdomain/
-->
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 -->
<!DOCTYPE html>
<title>Test -moz-element reference with external binding</title>
<style>
.paintClient {
  background: -moz-element(#image-element);
  width: 100px;
  height: 100px;
}
</style>

<body style="margin:0">
  <div style="-moz-binding: url(referenced-from-binding-01.xbl#insertPaintClient);"></div>
  <div style="height: 0; overflow: hidden;">
    <div id="image-element"
         style="width: 20px; height: 20px; background: lime;"></div>
  </div>
</body>