Everyone -( my last gasp) why doesn't 22.11 (a) apply to the original question by DavidJ?
22.11 (a) When the ball touches the touch in goal line or the dead ball line, or touches anything or anyone beyond those lines the ball becomes dead.....
Firstly, David J has not specified that the ball touched Gold 13. White 11 had the ball, and his touching Gold 13, who was in touch, does not put White 11, and therefore the ball in touch.
The ball touching "anything or anyone" refers to spectators, advertising holdings, the TJ/AR, and perhaps a player etc, off which the ball might bounce back off without actually being grounded in touch. If you look at the full text of the relevant parts of Law 22.11
22.11 BALL DEAD IN IN-GOAL
(a) When the ball touches the touch-in-goal line or the dead ball line, or touches anything or anyone beyond those lines, the ball becomes dead. If the ball was played into in-goal by the attacking team, a drop-out shall be awarded to the defending team. If the ball was played into in-goal by the defending team, a 5-metre scrum shall be awarded and the attacking
team throws in the ball.
(b) When a player carrying the ball touches the touch-in-goal line, the dead ball line, or touches the ground beyond those lines, the ball becomes dead. If the ball was carried into in-goal by the attacking team, a drop-out shall be awarded to the defending team. If the ball was carried into in-goal by the defending team, a 5-metre scrum shall be awarded and the
attacking team throws in the ball
Clause (a) ONLY refers to the ball; a ball on its own, not being carried by any player. "anyone or anything" includes the ground.
Clause (b) ONLY refers to the player carrying the ball.
Note that the bits in blue and red are the differences in the wording. Try reading just the blue words and then read just the red words.
And just for interests sake, here are a couple of scenarios for you to ponder:
Preamble Red 14 (attacker) and Blue 15 (defender) are in a sprint race down the right touch for the ball which, having been kicked through by Red 13, is heading for Blue's In-goal. Blue 15 is holding his line just inside the touchline, and Red 14 is outside him, running in touch.
1. The ball is bouncing end-over-end in goal. Red 14 gets to it first and dives at the ball. His feet are still in grounded in touch and he gathers the ball a moment before it hit hits the ground, and grounds the ball. Result - no try 22m dropout to Blue.
2. The ball is rolling along on its side in goal. Red 14 gets to it first and dives at the ball. His feet are still in grounded in touch but he grounds the ball. Result - Try scored.