Depictions of the “ideal child” in nineteenth-century British literature and legislature