Fix #419 resolves an issue for DialogOnResizeTestCase (and possibly others) where there is an assumption that the HTML element will contain a style attribute.