Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5-INCUBATING
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.