W3C home > Mailing lists > Public > www-style@w3.org > March 2015

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 18 Mar 2015 14:31:12 -0700
Message-ID: <CAAWBYDBxV-icdmtGHN2nQwehSDbASa2PSkgAku4EVYuj2TLPAA@mail.gmail.com>
To: Zack Weinberg <zackw@panix.com>
Cc: ChangSeok Oh <changseok@gnome.org>, www-style list <www-style@w3.org>
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!

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:52 UTC