PROBLEM:
When something like the following appears in an entity a warning is issued.
<span style=";font-size=83%;"/>
The warning says "Token ';' not allowed here, expecting a property name"
METHOD:
1. Add <span style=";font-size=83%;"/> in a book entity
2. Run epubcheck 3.0
RESULT:
The warning "Token ';' not allowed here, expecting a property name" is issued.
EXPECTED:
No warning.
PLATFORM:
Version 3.0 on Mac OS X 10.8.2 using Java 1.6.0_37.
ADDITIONAL INFO:
The CSS grammar (appendix D.1 of CSS2) contains the following two productions:
ruleset
: selector [ ’,’ S* selector ]*
’{’ S* declaration [ ’;’ S* declaration ]* ’}’ S*
;
declaration
: property ’:’ S* expr prio?
| /* empty */
;
Since the "declaration" production matches "empty", the list of property
declarations can start with ";".
Original issue reported on code.google.com by werner.d...@gmail.com on 3 Jan 2013 at 4:00
Original issue reported on code.google.com by
werner.d...@gmail.com
on 3 Jan 2013 at 4:00