I tried to create a child frame inside a parent frame by mdframed as
\documentclass{article}
\usepackage{mdframed}
\usepackage{lipsum}
\begin{document}
\begin{mdframed}[frametitlerule=true,frametitlerulewidth=1pt,frametitle=Parent]
\begin{mdframed}[frametitlerule=true,frametitlerulewidth=1pt,userdefinedwidth=150pt,align=right,frametitle=Child]
\lipsum[1]
\end{mdframed}
\lipsum
\end{mdframed}
\end{document}

Question1: How to wrap text around the child frame? Filling the empty space on the left with the text of parent frame.
Question2: The child frame title will conquer the parent frame title. Thus, we will not have the parent frame title, but an induced copy of the child frame title. How to keep the frame titles independently?

mdframedwhich I do not want to miss. The content of child frame may be long flowing to the next page. Moreover, we do not know where the parent frame starts, maybe it's the bottom of page; thus, child can continue to the next page, – Googlebot Apr 20 '12 at 11:40