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

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

From: ChangSeok Oh <changseok@gnome.org>
Date: Wed, 18 Mar 2015 17:22:22 +0900
To: www-style@w3.org
Message-Id: <771A59CF-AAF3-4BE7-9D12-A93D7ED104A3@gnome.org>
Hi Everyone.
I have a simple question on font-size-adjust. [1]
According to the spec. font-size-adjust can have ‘none’ or <number> for its value. 
BTW what is expected to look like where font-size-adjust is ‘0’? I checked Gecko(which is the only vendor supporting for the property now) treated it as ‘none’.
Does it make sense? As my reading, font-size-adjust represents an aspect value (x-height / font-size) of a font.
So ‘0’ might mean x-height is 0 or equivalent very small value here. Thus It should be same effect with 'font-size = 0px’
I’d like to clarify this before landing a relevant patch for blink [2]

Best regards.

[1] http://dev.w3.org/csswg/css-fonts/#propdef-font-size-adjust <http://dev.w3.org/csswg/css-fonts/#propdef-font-size-adjust>
[2] https://codereview.chromium.org/983073002/#msg23 <https://codereview.chromium.org/983073002/#msg23>
ChangSeok
Received on Wednesday, 18 March 2015 09:08:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC