dvschultz / 99problems

99 Problems and e-reader rendering are all of them
60 stars 3 forks source link

invalid css turns text white rather than ignoring. #34

Open dvschultz opened 10 years ago

dvschultz commented 10 years ago

I mistakenly applied an invalid style to text in an EPUB

p.graph3 {
    opacity: #999999;
}

p.graph4 {
    opacity: #cccccc;
}

this caused the text to render as opacity: 0 rather than just ignoring the CSS style as it should do.

screenshot 2014-07-22 21 32 17

This is fixed in the ADE4 Beta.

makeBetterEBooks commented 9 years ago

At least it didn't crash the whole app. Progress!

On Tue, Jul 22, 2014 at 9:36 PM, dvschultz notifications@github.com wrote:

I mistakenly applied an invalid style to text in an EPUB

p.graph3 { opacity: #999999; }

p.graph4 { opacity: #cccccc; }

this caused the text to render as opacity: 0 rather than just ignoring the CSS style as it should do.

[image: screenshot 2014-07-22 21 32 17] https://cloud.githubusercontent.com/assets/161773/3667664/be0db442-1209-11e4-809e-a45a6cbdbfd1.png

This is fixed in the ADE4 Beta.

— Reply to this email directly or view it on GitHub https://github.com/dvschultz/99problems/issues/34.