jacshore / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

No error or warning when files (fonts, bitmaps) are called in CSS but are not embedded in EPUB file and not used in XHTML files. #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

No error or warning when files (fonts, bitmaps) are called in CSS but are not 
embedded in EPUB file and not used in XHTML files.

METHOD:

What steps will reproduce the problem?

For example, in CSS :

@font-face {font-family: "extrafont"; src: url(Linotext.otf) 
format("opentype"); }
.extrafont {font-family: extrafont;}

Linotext.otf is not declared in OPF file, and is not used in XHTML files.

RESULT:

There is no error or warning with epubcheck.

EXPECTED:

epubcheck3.0b4, much like b3, should give a warning.

PLATFORM:

Windows 7, epubcheck3.0b4.

ADDITIONAL INFO:

epubcheck3.0b3 gave a warning.

Original issue reported on code.google.com by vgros00@gmail.com on 20 Apr 2012 at 2:59

GoogleCodeExporter commented 8 years ago
Fixed in r306.

Original comment by markus.g...@gmail.com on 23 Apr 2012 at 2:16