Historically, font's SIZE attribute is assigned to TFont.Height internally. As a result you should use negative values like SIZE="-11px" to be consistent with other Delphi controls.
But, anyway, you cannot specify TFont.Size via HTML, you instead can only specify TFont.Height, which are two different font properties. Despite the fact that the font Height is qual to -11 in default VCL form, positive values can be also specified for font's Height property.
So, this is how our HTML controls works historically, I can't change this because of backward compatibility.
Comments