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

Re: [css-device-adaptation] Progress?

From: Yoav Weiss <yoav@yoav.ws>
Date: Wed, 18 Feb 2015 22:45:35 +0100
Message-ID: <CACj=BEiF8JnSDAiKYUBTJBKt1PXu_oLZqWUf5PVAFfEuU5t=0A@mail.gmail.com>
To: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>
Cc: Florian Rivoal <florian@rivoal.net>, Matt Rakow <marakow@microsoft.com>, David Bokan <bokan@chromium.org>, "www-style@w3.org" <www-style@w3.org>, Rune Lillesveen <rune@opera.com>
My main problem with the device-adaptation spec and the `@viewport` rule is
that it enables external style sheets to impact the viewport dimensions.
That can introduce issues around viewport dimensions based resource loading
(so both <link media> based CSS and `srcset`/`<picture>` based responsive
images).

One way to solve this would be to limit `@viewport` inline styles in the
document's head, and add smarts to the UAs parsing mechanisms so that they
can apply those rules when kicking off loading of viewport-dimensions based
resources.

I also believe that these rules can cause circularity issues. Was that
discussed in the past? Am I correct that they can be declared only on
certain media queries? (either through `@media` or through the `media`
attribute)
Received on Wednesday, 18 February 2015 21:46:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC