referenced-from-binding-01.html 651 B

1234567891011121314151617181920212223
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/licenses/publicdomain/
  4. -->
  5. <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 -->
  6. <!DOCTYPE html>
  7. <title>Test -moz-element reference with external binding</title>
  8. <style>
  9. .paintClient {
  10. background: -moz-element(#image-element);
  11. width: 100px;
  12. height: 100px;
  13. }
  14. </style>
  15. <body style="margin:0">
  16. <div style="-moz-binding: url(referenced-from-binding-01.xbl#insertPaintClient);"></div>
  17. <div style="height: 0; overflow: hidden;">
  18. <div id="image-element"
  19. style="width: 20px; height: 20px; background: lime;"></div>
  20. </div>
  21. </body>