Re: [mediaqueries] additional types of media features


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