99problems
99problems copied to clipboard
CSS3 @media orientation:landscape rule doesn't on iBooks
orientation:portrait works. But it doesn't.
@teytag could you provide a file to test with? I think I know what the issue is, but want to be sure.
Hi dvschultz... You can download TEYTAG test EPUB files on this platforms: For CSS test: Device Position Detect with CSS3 Media Rule http://www.teyid.org/testet/#10032014 And JS Solutions: Device Position JS Detect (Primaryl iPad) http://www.teyid.org/testet/#11032014
oh, yeah, so I know the cause for this after doing some work on #18. Because the iPad in orientation view is two pages up, these are actually two separate viewports. This means that each viewport on their own is actually portrait orientation, so orientation: landscape
is actually false. A better workaround is listed in #18 for iPad landscape viewports.