Resize-to-window web apps

One of the things Flash designers have had which web developers have not is the ability to retarget an application to any viewport size desired. I’ve been saddled with implementing a by such a Flash designer for deployment in HTML/CSS/JS on QTwebkit.

What’s amazing is that I’ve had some degree of success with it. I can’t show a demo yet, but imagine that a fully animated, complicated application smoothly scales, centres, and otherwise behaves more or less like you’d expect Flash to.

To be sure, there are some sketchy areas. Webkit’s positioning math can be very sloppy if you need precision (my design does). Any container that’s affected by font size is going to change a little (not always bad).

Watch here for a demonstration of this soon, along with a bit of how-to.