As I read this it is AND not OR, but I could be wrong.
I read your link, and it seems that you definitely are right about this 5 year requirement. Maybe I am missing something, but to me it seems that this makes the Roth pretty cumbersome as one approaches retirement. It could be a real trip to segregate what earnings applied to what contributions.
I think it could be best to use this account only till you are about 55, then stop contributing. What an unnecessary complication!
Thanks for the heads -up.