Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iBooks media queries differ for scrolling vs pagination #18

Open
dvschultz opened this issue May 12, 2014 · 4 comments
Open

iBooks media queries differ for scrolling vs pagination #18

dvschultz opened this issue May 12, 2014 · 4 comments

Comments

@dvschultz
Copy link
Owner

in iBooks iPad, this media query returns true with pagination turned on:

@media screen and (min-width: 560px) and (orientation: portrait) {}

but return false in scrolling mode.

@dvschultz
Copy link
Owner Author

iBooks for iPhone has the following widths:
260px in scrolling mode (portrait)
270px in page mode (portrait)
508px in scrolling mode (landscape, iPhone5)
542px in page mode (landscape, iPhone5)

iBooks for iPad:
548px in scrolling mode (portrait)
567px in page mode (portrait)
804px in scrolling mode (landscape)
422px in page mode (landscape) (this may or may not actually work with a media query)

@jeankaplansky
Copy link

have to wonder if that's an intentional... Because scrolling mode works so
differently than pagination mode. Just a hunch.

Jean Kaplansky
jeankap@earthlink.net

On Sun, May 11, 2014 at 11:45 PM, dvschultz notifications@github.comwrote:

in iBooks iPad, this media query returns true with pagination turned on:

@media screen and (min-width: 560px) and (orientation: portrait) {}

but return false in scrolling mode.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18
.

@dvschultz
Copy link
Owner Author

yes, I assume so as well.

@dvschultz dvschultz changed the title iBooks iPad media query issue with min-width iBooks media queries differ for scrolling vs pagination May 13, 2014
@teytag
Copy link

teytag commented Jun 13, 2014

Hi,

Device Position JS Detect (Primaryl iPad): http://codepen.io/ePub3Lib/pen/hwobB
In reflowable desing EPUB, media orientation:landscape rule is not working on iBooks on iPad. But it is works on iPhone. This javascript solution is show to all page mode in iBooks. Download test EPUB: http://www.teyid.org/testet/#11032014

IMPORTANT NOTICE: You can learn to device body size with LabBook epub test book. Download: http://www.teyid.org/testet/#08032014

teytag
teytag@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants