View Single Post
Old 10-12-2026, 12:06 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 55,164
Karma: 182532774
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Zillion_ View Post
Hello, I have an issue trying to use :has() pseudo-class selectors in e-books.
....
Calibre supports them correctly for the display in the editor (text displays correctly, tested with some color tags) but the conversion doesn't.
Is this an issue in Calibre or in KFX Output ? (unclear to me)
For KFX supported attributes and tags, have you looked at the Attributes and Tags Supported by Enhanced Typesetting page in the appendices to the Amazon's Kindle Publishing Guidelines?

You can also check the HTML and CSS Tags Supported in Kindle Format 8 in the same document.

As far as I am aware, ePub3 added support for :has in version 3.3 when CSS support was updated to Selectors Level 4. IRL, that translates to most support other than Apple's Books and Kobo's apps and proprietary renderer is poor to non-existent.

calibre's ebook viewer is Chromium browser based and a very poor choice for testing what output will look like on an ereader. For the most part, I find using a couple of apps and physical devices is the best way to test before publishing.

Last edited by DNSB; 10-12-2026 at 12:27 AM.
DNSB is offline   Reply With Quote