position: sticky;

Direct Link →

For real. Eric Bidelman explains. It's non-standard (yet) but shipping in WebKit nightly and Canary.