Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-335

Render W3C Widgets using their Height and Width attributes

    XMLWordPrintableJSON

Details

    Description

      W3C Widgets define a "height" and "width" attribute in their metadata rather than calling an RPC method to reset the iFrame size.

      When Rave renders a W3C Widget, it should use this metadata to set the iFrame size when rendered.

      The metadata is available within the Widget start file itself by calling widget.height and widget.width. However this would only be directly accessible where Wookie is deployed at the same origin as Rave; an alternative would be to send a HTML5 PostMessage to the parent, or to add the RPC resize methods to W3C Widgets somehow.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scottbw Scott Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: