What the Fact: The Immovable Mattress

It is said that nothing can be spilt on this special mattress. No matter how much you jump, shake or rock this bed. But how exactly can this work?