The votes came as a House panel was hearing testimony Friday on the detention of illegal immigrant children in U.S. Border Patrol facilities, as the acting Inspector General of the Department of Homeland Security detailed extreme overcrowding.

"Our recent unannounced inspections revealed a situation far more grievous than those previously encountered by our inspectors," said Jennifer Costello, the acting IG at DHS.

Costello described one facility in Texas - which had a maximum capacity of 125 people in detention - was actually holding 750 immigrants. And by the next morning, that had swelled to 900.

"These issues pose a serious and imminent threat to both DHS personnel and detainees, and require the Department's immediate attention and action," Costello said in testimony before the House Oversight Committee, echoing her report from early July which included photos of detainees crammed together in makeshift holding cells.

WATCH: Full statement from Acting DHS IG Jennifer Costello on the IG report that included photos showing overcrowding at border facilities.



"We have called on the dept. to begin immediate action to remedy the situation ... We remain concerned it is not taking sufficient steps." pic.twitter.com/QeJrvRaMuC — NBC News (@NBCNews) July 12, 2019

Top Democrats have vowed to pass additional legislation this month to hold the Homeland Security Department accountable on the standards of care for detained immigrants, especially children.

"The American people, in their decency, care about the children at the border," said House Speaker Nancy Pelosi.