baskerville / plato

Document reader
Other
1.3k stars 109 forks source link

Unable to view document (includes test) #193

Closed skinkie closed 2 years ago

skinkie commented 3 years ago

The attached epub results in an empty page.

test.zip

baskerville commented 3 years ago

Thanks for the report.

It has to do with some of the selectors (e.g. nav[epub|type~="landmarks"]) present in the included style sheets.

skinkie commented 3 years ago

Thanks for the report.

It has to do with some of the selectors (e.g. nav[epub|type~="landmarks"]) present in the included style sheets.

Is this 'invalid' css? I remember that I saw before that the blitz.css was reporting issues, but did not realise that could have been the cause of this issue. Yesterday I have seen the most mysterious issues on the stock viewer for the lack of inheritance of properties, so I am not very surprised it is actually a css issue again.

baskerville commented 3 years ago

Is this 'invalid' css?

I also wasn't aware of this syntax but it actually exists in CSS3.

skinkie commented 3 years ago

Is there an option on reporting the CSS handling failed, gracefully ignore such events, or log them for the expert user?