W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-mediaqueries] Media query "em" example contradicts normative prose

From: Florian Rivoal <florianr@opera.com>
Date: Wed, 15 Feb 2012 17:27:51 +0100
To: www-style@w3.org
Message-ID: <op.v9qaopuo4p7avi@localhost.localdomain>
On Fri, 10 Feb 2012 10:58:26 +0100, Rune Lillesveen <rune@opera.com> wrote:

> On Fri, 10 Feb 2012 03:22:18 +0100, Boris Zbarsky <bzbarsky@mit.edu>  
> wrote:
>
>> Section 6 says:
>>
>>    Relative units in media queries are based on the initial value. For
>>    example, in HTML, the ‘em’ unit is relative to the initial value of
>>    ‘font-size’.
>>
>> while example 25 in section 4.1 says:
>>
>>    The ‘em’ value is relative to the font size of the root element.
>>
>> I believe the normative prose is correct and the example is wrong.
>
> Yes.

Fixed in the latest editor draft.
Received on Wednesday, 15 February 2012 16:28:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT