Determine the displayed shape of the visible stack; react to changes in the displayed shape
This stack is resizable - drag the bottom right corner to change its dimensions.
Test purpose
- Create a resizable Stack artefact containing an Element artefact
- Create hook functions for the Element that will be invoked as the Stack dimensions are changed
- Check that appropriate hooks are fired, and the Element updated, in response to changes in the Stack's dimensions - five states ('banner', 'landscape', 'rectangle', 'portrait', 'skyscraper') should be viewable as the Stack corner is dragged horizontally right (and up) and then diagonally down/left
Annotated code