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

ADE chrashes if empty media queries exists #44

Open
finanzer opened this Issue Jan 12, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@finanzer

finanzer commented Jan 12, 2015

If in css file empty media queries exists, then ADE (tested with 2.0 and 4.0) and readers (e.g. tolino) or software (blue fire reader) with adobe engine chrashes. Here an example file:

@font-face { 
    font-family : "Gentium"; 
    font-weight : normal; 
    font-style: normal; 
    src: url("../Fonts/GentiumPlus-R.ttf"); 
}

@media amzn-kf8
{
}

@media not amzn-mobi
{
}

Repair is naturally easy: remove the empty media queries

@madevelopers

This comment has been minimized.

Show comment
Hide comment
@madevelopers

madevelopers Jun 23, 2015

I tested it with ADE 4.0.3.117585. ADE didn't crash but wouldn't open the epub file.

madevelopers commented Jun 23, 2015

I tested it with ADE 4.0.3.117585. ADE didn't crash but wouldn't open the epub file.

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