This TEXTAREA should take all available height and width (and not a pixel more or less). With DOCTYPE, it seems that border-box is ignored. Without DOCTYPE, height is calculated right but then width is wrong. Using any other tag (DIV, P, H2) instead of TEXTAREA works fine.