The height attribute is not the only one that affects it.

the html layout used by daw is quite complex with several inner html divs inside each other to compose the ”object”

also, borders, margins and padding in every inner div affects the final result.