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, 22 Feb 2012 11:21:02 +0100
To: www-style@w3.org
Message-ID: <op.v92sdcup4p7avi@localhost.localdomain>
On Wed, 22 Feb 2012 00:20:52 +0100, fantasai  
<fantasai.lists@inkedblade.net> wrote:

> On 02/21/2012 06:46 PM, Boris Zbarsky wrote:
>> On 2/21/12 8:00 AM, Florian Rivoal wrote:
>>>> Furthermore, I think it would be good to add an example that shows  
>>>> that
>>>> "rem" is also based on the initial value of 'font-size' in media  
>>>> queries.
>>>
>>> rem is not defined in CSS2.1, only in Values and Units level 3, and MQ
>>> does not have a reference to that, so I am not sure I want to mention
>>> rem in MQ.
>>
>> I don't think it's a problem for an informative note, frankly....
>
> It does imply that an MQ implementation would support 'rem', though,
> despite only having a normative reference on the CSS2.1 units, so
> that would have to be called out as an example specifically applying
> to implementations that support both css3-values and MQ.

Right. It can be done, but it would need disclaimers. Since it doesn't
bring much new information, as the same principle applies to em and rem,
I'd rather leave it out. But that's not a very strong preference, so if
a large number of people want it in, I can certainly add it.

  - Florian
Received on Wednesday, 22 February 2012 10:21:41 GMT

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