There are two basic type of foam rubber that might be used as a seal, what is called "open cell" and what is called "closed cell". An open cell seal would absorb liquid, oil, water, etc, and would also allow gasses (read fumes) to pass thru (surface like a sponge). A closed cell seal would not (surface smooth, like a radiator hose). So far, all the seals I've seen used on cars were the closed cell type. The picture of the seal from Mac's Auto Parts looks to be open cell, the picture that Jeff posted looks like closed cell. Both types, when new, would be flexible. Just some addition thoughts.
Jim