Fix the test <ruby> element not being removed in webkit.