3 ms·
I wonder if the default values for offset and thickness will respect those declared in the font. And also whether sub-pixel values are allowed? I don’t know how
by sings 7y ago
I wonder if the default values for offset and thickness will respect those declared in the font. And also whether sub-pixel values are allowed? I don’t know how many fonts declare these values, but it would be a shame not to use information that provides values tailored to the font in use.
- jfk13 7y agoFirefox has always* respected the underline position/thickness in the font. This is why in an example like data:text/html,<u style="font:99px times">Times</u> <u style="font:99px Arial">Arial the Times and Arial elements get different underlines. (Safari and Chrome don't do this, they ignore the font's properties and use an arbitrary underline of their own -- which differs between the two, Chrome's being somewhat thicker.) * "Always" may not be strictly true, but it's certainly been a long time.
- sings 7y agoThat’s great to hear. I had assumed otherwise because of the other browsers lack of support.