Re: [css3-fonts] font-size-adjust and em/ex values

On 05/17/2013 06:42 AM, fantasai wrote:
> We need a sentence in CSS3 Fonts that says whether font-relative lengths
> are calculated against the [computed? used? something else?] font-size.
> I'm pretty sure 'em' should always calculate against the specified
> font-size. however I'm less sure of the other values; it seems like
> taking font-size-adjust into account would be better for measurements
> against the ex-height or font pitch.

I just noticed this bit:
   # Further computations, e.g., by ‘em’ values in other properties,
   # are based on the ‘font-size’ value that is used, not the one
   # that is specified.

which contradicts with
   > My gut feeling is that it should be  based purely on computed
   > value, so 1em == computed value of 'font-size' regardless of
   > 'font-size-adjust'.

So if even you are confused as to what we should do here, definitely
there's a spec issue. :)


Received on Wednesday, 22 May 2013 04:56:36 UTC