Supporters of the bill cheered, wept and hugged