I'm actually hesitating to ask this, because I'm afraid I will be referred to other questions or Wikipedia on Gibbs sampling, but I don't have the feeling that they describe what's at hand.
Given a conditional probability $p(x|y)$: $$ \begin{array}{c|c|c} p(x|y) & y = y_0 & y = y_1 \\ \hline x = x_0 & \tfrac{1}{4} & \tfrac{2}{6} \\ \hline x = x_1 & \tfrac{3}{4} & \tfrac{4}{6} \\ \end{array} $$
And a conditional probability $p(y|x)$: $$ \begin{array}{c|c|c} p(y|x) & y = y_0 & y = y_1 \\ \hline x = x_0 & \tfrac{1}{3} & \tfrac{2}{3} \\ \hline x = x_1 & \tfrac{3}{7} & \tfrac{4}{7} \\ \end{array} $$
We can uniquely come up with the joint probability $f_{unique}=p(x,y)$:
$$ \begin{array}{c|c|c|c} p(x,y) & y = y_0 & y = y_1 & p(x) \\ \hline x = x_0 & a_0 & a_1 & c_0 \\ \hline x = x_1 & a_2 & a_3 & c_1 \\ \hline p(y) & b_0 & b_1 & \\ \end{array} $$
Because, although we have $8$ unknowns, we have more ($4*2+3$) linear equations:
$ a_0+a_1+a_2+a_3=1 \\ b_0+b_1 = 1 \\ c_0+c_1 = 1 $
As well as:
$ \tfrac{1}{4} b_0 = a_0 \\ \tfrac{3}{4} b_0 = a_2 \\ \tfrac{2}{6} (1-b_0) = a_1 \\ \tfrac{4}{6} (1-b_0) = a_3 \\ \tfrac{1}{3} c_0 = a_0 \\ \tfrac{2}{3} c_0 = a_1 \\ \tfrac{3}{7} (1-c_0) = a_2 \\ \tfrac{4}{7} (1-c_0) = a_3 $
It's quickly solved by $c_0=\tfrac{3}{4}b_0$, $\tfrac{2}{3}c_0=a_1$. Namely by equating $\tfrac{2}{4}b_0=a_1$ with $\tfrac{2}{6}(1-b_0)=a_1$. This gives $b_0=\tfrac{2}{5}$ and the rest follows.
$$ \begin{array}{c|c|c|c} p(x,y) & y = y_0 & y = y_1 & p(x) \\ \hline x = x_0 & \tfrac{1}{10} & \tfrac{2}{10} & \tfrac{3}{10} \\ \hline x = x_1 & \tfrac{3}{10} & \tfrac{4}{10} & \tfrac{7}{10} \\ \hline p(y) & \tfrac{4}{10} & \tfrac{6}{10} & \\ \end{array} $$
So, now we go to the continuous case. It is imaginable to go to intervals and keep the above structure in-tact (with more equations than unknowns). However, what happens when we go to (point) instances of random variables? How does sampling
$$ x_a \sim p(x|y=y_b) \\ y_b \sim p(y|x=x_a) $$
iteratively, lead to $p(x,y)$? Equivalent to the constraint $a_0 + a_1 + a_2 + a_3=1$, how does it ensure $\int_X \int_Y p(x,y) dy dx = 1$ for example? Likewise with $\int_Y p(y|x)dy=1$. Can we write down the constraints and derive Gibbs sampling from first principles?
So, I'm not interested in how to perform Gibbs sampling, which is simple, but I'm interested in how to derive it, and preferably how to prove that it works (probably under certain conditions).