Quote:
Originally Posted by jackie_w
Should/shouldn't isn't really the issue. The fact is some publishers *do* produce this nonsense CSS.
I'd quite like calibre Check Book to flag this as a Warning if it was easy to do.
|
Exactly. I'm talking about books I bought. I would never do such a thing.
Quote:
Originally Posted by kovidgoyal
class names in css selectors are case insensitive.
|
Well, there is something odd: the Editor treats CSS selectors as case-sensitive (as Sigil and ADE), but the Viewer treats them as case-insensitive (as Azardi and Readium).
Also, digging a little bit, I found this:
1) CSS selectors are indeed
case-insensitive, but...
2) HTML class names are
case-sensitive, according to the specs* (except in quirks mode, for HTML5).
*
https://www.w3.org/TR/REC-html40/str...l.html#h-7.5.2
https://www.w3.org/TR/html50/disable...se-sensitivity
Does the viewer and the preview panel (editor) use both the exact same version of Chrome?