View Single Post
Old 04-07-2026, 11:50 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,672
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by KevinH View Post
Hi All,

Just a warning. Sigil's CSS Parser which is used throughout the Sigil Reports codebase and a few other places does not understand the new (2025) allowed nested css structure.

https://developer.mozilla.org/en-US/.../Nesting/Using

I would guess that is true for most epub ereaders not based on very very recent webkit/webengine browsers. So using it will limit your base for your epub.

Personally, I think the ability to nest css selectors inside each other is for the birds when it adds nothing and the first thing the downstream software generally does is flatten it back to a simple list an no one wants to process a second tree inside the html DOM tree.

So if you do attempt to write and use nested css in Sigil be prepared for it to get mangled.

Most of the younger devs never seem to have learned about the KISS principle of engineering. So sad. Or is this just my age showing ...
Or just because you can do it, that you SHOULD
I wonder if this is just another case of planned obsolescence so you MUST by a new one?
theducks is offline   Reply With Quote