Quote:
Originally Posted by KevinH
Exactly what errors are shown when an epub with your desired code is loaded
|
The CSS code that the OP linked to contains many pseudo selectors (:hover, :active, :target) that QtWebkit apparently simply ignores.
QTWebkit does support some pseudo selectors, though, as you can see in this simple pseudo selector
test file.
Spoiler:
At least the following selectors should work:
Code:
:after
:before
:first-letter
:first-line
:first-of-type
:last-of-type
:lang(xx)
:nth-child(n)
:nth-child(even)
:nth-child(odd)
:nth-of-type(n)
:only-of-type
:not
I.e., there are no error messages. Also, if I'm not mistaken,
:hover wouldn't work with most eInk readers anyway.
@JackTrade: If you just want to display a modal message box, you could simply use the
alert() JavaScript command.