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

Try this again from a real keyboard :)

EPUB isn’t media – it doesn't belong in an MQ.  If you look at the differences between MQ3 and MQ4 you’ll see how they’ve (rightly) simplified it to only includes a core set of things relevant for media and not UA/RS’s.

That said – this group has previously discussed the need for something akin to MQ but focused on the functionality/capabilities of the RS.  This is similar to what we have in PDF called “Reader Requirements” or “Document Requirements” (they are two different things but can be used either separately or together to address a similar situation).

Leonard

From: Leonard Rosenthol <lrosenth@adobe.com<mailto:lrosenth@adobe.com>>
Date: Friday, October 30, 2015 at 5:15 PM
To: Ivan Herman <ivan@w3.org<mailto:ivan@w3.org>>, Dave Cramer <Dave.Cramer@hbgusa.com<mailto:Dave.Cramer@hbgusa.com>>
Cc: Elika Etemad <fantasai@inkedblade.net<mailto:fantasai@inkedblade.net>>, W3C Digital Publishing IG <public-digipub-ig@w3.org<mailto:public-digipub-ig@w3.org>>
Subject: RE: Is there a CSS media query for EPUB (or, later, PWP)?
Resent-From: <public-digipub-ig@w3.org<mailto:public-digipub-ig@w3.org>>
Resent-Date: Friday, October 30, 2015 at 5:15 PM

Epub isn’t media – itmdpesnt belong in an MQ.  If you look at the differences between MQ3 and MQ4 you’ll see how they’ve (rightly) simplified it to only includes a core set of thongs

From: Ivan Herman [mailto:ivan@w3.org]
Sent: Friday, October 30, 2015 3:58 PM
To: Dave Cramer <Dave.Cramer@hbgusa.com<mailto:Dave.Cramer@hbgusa.com>>
Cc: Elika Etemad <fantasai@inkedblade.net<mailto:fantasai@inkedblade.net>>; W3C Digital Publishing IG <public-digipub-ig@w3.org<mailto:public-digipub-ig@w3.org>>
Subject: Is there a CSS media query for EPUB (or, later, PWP)?

Dave,

the subject line may just show my ignorance. But is there such a beast? Should there be?

I was looking at the proposal for a new style sheet for W3C documents. A sample document is at:

http://fantasai.inkedblade.net/style/design/w3c-restyle/2016/sample


There is  really neat trick, which is based on media queries, on pushing the TOC on the left of the screen (if it is large enough), or to have a small sign on the lower left hand corner of the screen for a narrow screen. It is neat, but if the document is converted into an EPUB, it becomes unnecessary. After all, the EPUB structure requires a TOC; in many respect, that TOC on the left reproduces what Reading Systems do (and they do no matter what). The cleanest would be to control that via a media query…

Just an idea very early in the morning:-)

Ivan

----
Ivan Herman, W3C
Digital Publishing Lead
Home: http://www.w3.org/People/Ivan/

mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704

Received on Friday, 30 October 2015 21:46:37 UTC