test_anonymous_content.xul 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <!DOCTYPE dialog [
  6. ]>
  7. <dialog id="testDialogAnonymousNode"
  8. buttons="accept, cancel"
  9. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10. <bindings id="testBindings" xmlns="http://www.mozilla.org/xbl"
  11. xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12. <binding id="framebox">
  13. <content orient="vertical" mousethrough="never">
  14. <xul:browser anonid="content" id="browser" flex="1"
  15. context="contentAreaContextMenu"
  16. src="test.xul"
  17. type="content"/>
  18. </content>
  19. </binding>
  20. <binding id="iframebox">
  21. <content>
  22. <xul:box>
  23. <xul:iframe anonid="iframe" src="chrome://marionette/content/test.xul"></xul:iframe>
  24. </xul:box>
  25. </content>
  26. </binding>
  27. </bindings>
  28. <hbox id="testAnonymousContentBox"/>
  29. <hbox id="container" style="-moz-binding: url('#testBindings');"/>
  30. <hbox id="container2" style="-moz-binding: url('#iframebox');"/>
  31. </dialog>