Re: [css-fonts] What does font-size-adjust for '0' look like?

On Wed, Mar 18, 2015 at 2:29 PM, Zack Weinberg <zackw@panix.com> wrote:
> On Wed, Mar 18, 2015 at 4:39 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> Firefox's behavior seems unnecessary.  As you note, a font-size-adjust
>> value of zero just means that the x-height of all fonts should be
>> zero, which means the "adjusted font size" should be zero.  There's
>> not even a singularity there, at least using the equation in the spec.
>> There shouldn't be a special behavior at 0 at all here.  (Maybe it's
>> an accident, caused by doing a falsey check?)
>
> It looks like internally 'none' is being represented as 0.0f.  I agree
> this is a bug in Firefox and have filed
> https://bugzilla.mozilla.org/show_bug.cgi?id=1144885 .

Thanks, Zack!

~TJ

Received on Wednesday, 18 March 2015 21:31:59 UTC