Re: calc() in Media Queries (Was: [CSSWG] Minutes Telecon 2013-05-15)

On Sat, May 18, 2013, at 12:14, L. David Baron wrote:
> On Friday 2013-05-17 21:46 +0200, Florian Rivoal wrote:
> > Right, this resolution is compatible with the specs as they are. At the
> > same time, while nothing is necessary strictly speaking, I do think a
> > note would be welcome. The fact that the WG had to debate it shows that
> > it is not entirely obvious, and both authors and implementors might
> > miss the implication. V&U seems the best host for this note.
> 
> Perhaps even better would be tests in an appropriate test suite.
> (Probably that's css3-values, since it's the later of the relevant
> specs in the process.)

I made a quick test case. We probably want more, but that's a start,
as it will fail on any implementations that doesn't have calc support
in media queries.

http://files.florian.rivoal.net/csswg/mq-calc-001.html
http://files.florian.rivoal.net/csswg/ref.html

Assuming you find the test reasonable, can someone upload it
where it belongs? I am on a public computer from which I don't
have the necessary access.

 - Florian

Received on Saturday, 18 May 2013 14:32:09 UTC