W3C home > Mailing lists > Public > public-digipub-ig@w3.org > November 2015

Re: Is there a CSS media query for EPUB (or, later, PWP)?

From: Zheng Xu <zxu@kobo.com>
Date: Tue, 3 Nov 2015 01:22:31 +0000
To: Dave Cramer <dauwhe@gmail.com>, Ivan Herman <ivan@w3.org>
CC: Florian Rivoal <florian@rivoal.net>, Elika Etemad <fantasai@inkedblade.net>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Message-ID: <SN1PR0501MB1726B021B255393E384B518ECB2B0@SN1PR0501MB1726.namprd05.prod.outlook.com>
I tried following content in latest FF (41.0.2) and Opera(33.0) but FF trying to add sidebar.html to bookmark, and Opera just opened sidebar.html as normal hyperlink. Should I enable some configure for that? or the test content is not proper? or maybe just feature changed between different version.

<html lang="en">
    <meta charset="UTF-8">
  <a rel="sidebar" href="./sidebar.html">sidebar sample</a>

From: Dave Cramer <dauwhe@gmail.com>
Sent: November 2, 2015 2:47 PM
To: Ivan Herman
Cc: Florian Rivoal; Dave Cramer; Elika Etemad; W3C Digital Publishing IG
Subject: Re: Is there a CSS media query for EPUB (or, later, PWP)?

On Sat, Oct 31, 2015 at 8:15 PM, Ivan Herman <ivan@w3.org<mailto:ivan@w3.org>> wrote:

> On 31 Oct 2015, at 11:43, Florian Rivoal <florian@rivoal.net<mailto:florian@rivoal.net>> wrote:

> Based on your original mail, I suppose you'd like to see a media feature that would let you react to the UA/environment providing a table of contents. This might be worth looking into. We should probably start by gathering various use cases to see how the different media with TOCs behave, to figure out if this is an on/off switch, or if there are more variants (or if this is the correct axis at all). For example, we should look at different epub readers, pdf renderers, assistive technologies...

That was indeed my initial issue that triggered my question but, obviously, there may be other use cases.

One possibly-useful and possibly-related media feature might be for the presence or absence of a "secondary browsing context" as defined in HTML5. In Firefox and Opera, a rel=sidebar link will open in a browser sidebar, which is very similar conceptually to an ebook reading system's built-in navigation.

Received on Tuesday, 3 November 2015 01:23:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:35 UTC