View Single Post
Old 06-05-2013, 03:10 AM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
text-transform, as DaleDe points out, is not included in the ePub spec, so you should not expect it to work, and in particular you should not depend on it.

visibility is another such property that would be useful in some cases.

font-variant:smallcaps, however should be supported, but it mostly isn't, so you should not rely on it either (but you can blame the readers, and Adobe in particular, for that). Same with pseudo-elements (:first-letter, :first-line).

auto margins will often not work as expected, because the spec allows them to be ignored, and they often are.

Complex selectors (h2 + p, div.poetry div.stanza p, etc) in my experience work fine, but they may fail in some reader. Just don't try to be too smart.
Jellby is offline   Reply With Quote