Deductions & credits

If what I think the OP is describing is a situation in which I marry a spouse. Her child (my stepchild) is my dependent child. But then that stepchild marries someone with a child.  That stepchild is not my decedent.