There are two causes of a sinking pedal that goes all the way to the floor (without fluid lost). First is the master cylinder, the second is the Rear Anti-Lock Brake valve.
You can also get a "sinking" sensation because of the vacuum pump as the boost increases with time stopped. However, this will stabalize and not take the pedal to the floor.