So, let us go back to webbed feet again. As you had said that webbed feet, as one traits for dog, is good for ocean and for swimming, am I right? So the common ancestor of that dog, say doggy 1, must had no trait (webbed feet). Since you had specifically said that webbed feet for dog is good in ocean for ocean current and for swimming, then, doggy 1 must had swum in the ocean current many times (its ecological challenges) got its traits there (responses), and passed it to the new dog (evolution), right?
OMG, absolutely not! Is that really how you think evolution is proposed to work!? Really!?