08-12-2022, 03:50 PM | #1 |
Guru
Posts: 746
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Unknown Property 'text-decoration-thickness'
In trying to fix a problem with the thickness of the strikethrough line in "text-decoration: line-through" (via css classes, styles, <del> or <s>), I ran across posts saying to set the thickness of the line with text-decoration-thickness:
https://developer.mozilla.org/en-US/...tion-thickness When I try in Calibre's editor (Calibre 6.3 and previous versions), it doesn't seem to do anything and when I run Calibre's Check Book, it gives me the error: Unknown Property 'text-decoration-thickness' for my stylesheet.css Running epubCheck has no problem with it. I assume Calibre should handle that property, so I'm reporting it here. EDIT: Sorry. In 6.3, it looks like the text preview in the editor DOES reflect the thickness setting (it didn't in earlier version). But, Check Book is still giving the error. Last edited by enuddleyarbl; 08-12-2022 at 03:54 PM. |
08-12-2022, 05:35 PM | #2 |
Resident Curmudgeon
Posts: 76,008
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It doesn't matter. KePub won't respect this CSS setting. So there's no point to use it.
|
Advert | |
|
08-12-2022, 10:52 PM | #3 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
text-decoration-thickness is from CSS 4 its not supported in anything other than browser based viewers, and relatively up to date ones at that, like the calibre viewer.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"text-decoration: line-through;" Barely Visible on Kobo Forma | enuddleyarbl | ePub | 45 | 08-15-2022 01:54 PM |
text-decoration-style: dashed; | JLius | ePub | 7 | 12-03-2015 03:43 AM |
Share your favourite Holiday ornament or decoration | 5thWiggle | Lounge | 2 | 12-22-2013 12:40 PM |
Battery thickness | silverraven | Astak EZReader | 0 | 05-06-2011 11:21 AM |
Reference Burbank, Emily: Woman as Decoration | jamh | BBeB/LRF Books | 0 | 04-18-2008 05:24 PM |