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

Re: [mediaqueries] additional types of media features

From: <christoph142@gmx.com>
Date: Mon, 23 Feb 2015 16:12:49 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <0M5Z5A-1XbOMA1rjc-00xesQ@mail.gmx.com> (sfid-20150223_161258_016402_74160EE5)

The embedded feature request originates from this discussion: https://code.google.com/p/chromium/issues/detail?id=459959 (see comment #1, too).

Except from that, I e.g. wrote a calendar (showing 1 month at a time) for bookings that gets embedded, too. The standalone version should display logo on top (together with some organizational stuff) whereas embedded view should display the logo in the lower right corner.

Valid use cases?

From: Henrik Andersson
Sent: ‎Monday‎, ‎February‎ ‎23‎, ‎2015 ‎2‎:‎31‎ ‎PM
To: christoph142@gmx.com, www-style@w3.org

christoph142@gmx.com skrev:
> Hi,
> I’d like to propose two *new media features *namely “embedded”
> and “preview”.
> 1.
>     *”embedded”* (boolean)
>     should indicate whether the page is embedded within another one
>     (e.g. iframe)
>     Use case: I might want to adjust paddings/margins of the page,
>     display/hide logos/ads/navigation
> 2.
>     *“preview” *(Boolean)
>     should indicate whether the site gets rendered for previewing
>     (e.g. speed dials, visual bookmarks)
>     Use case: I might want to hide ads / display prominent images for
>     easy identification
> Any feedback is appreciated.
> Christoph
Embedded seems to lack clear use cases if you ask me. Pages are pretty
much never designed to work both when embedded and when not.
Received on Tuesday, 24 February 2015 10:55:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:51 UTC