Quote:
Originally Posted by dgatwood
@font-face is in CSS 2.0 and CSS 3.0, was removed from CSS 2.1 because no browsers supported it, and is AFAIK the only part of the EPUB 2 spec that explicitly references CSS 2.0 instead of 2.1.
With that said, even if it weren't, the CSS specification (CSS 2.1 section 4.2) explicitly defines the rules for parsing declarations, and how to handle declarations that you can't interpret. Those rules are there precisely to ensure forward compatibility in situations like this.
More to the point, any reader that ignores an entire file because it "has errors" is egregiously violating the CSS specification, and should be considered defective by design.
That means you, Adobe.
|
Actually, I do like that ADE dumps the CSS if it finds an error. It means that it is very easy to know that the CSS has an error. It could be a simple very easy to overlook error and do you really want to sell an eBook with an error in the CSS?