bump crengine: support ::first-line, COLRv0 fonts, CHM and CSS fixes (#15155)
Includes: - CHM: improve Chinese encoding handling - renderFinalBlock(): fix background color propagation among inlines - first-letter: resets some CSS, ignore invisible, stop on <br/> - CSS: support for pseudo element ::first-line - CSS: add support for float/clear: inline-start/inline-end - lvfntman, lvdrawbuf: add COLR v0 color font rendering support Also add style tweaks to disable first-letter and first-line.
This commit is contained in:
1 parent
298ebf2b5f
commit
c3c24bf59c
2 files changed
+22
-6
No files matched your search
+1
-1
Submodule base updated: 1fc8aa2f40...1965c6ef4e.
@@ -808,13 +808,29 @@ This is just an example, that will need to be adapted into a user style tweak.]]
|
||||
},
|
||||
},
|
||||
{
|
||||
id = "no_pseudo_element_before_after",
|
||||
title = _("Disable before/after pseudo elements"),
|
||||
description = _([[Disable generated text from ::before and ::after pseudo elements, usually used to add cosmetic text around some content.]]),
|
||||
css = [[
|
||||
title = _("Pseudo-elements"),
|
||||
{
|
||||
id = "no_pseudo_element_before_after",
|
||||
title = _("Disable before/after pseudo elements"),
|
||||
description = _([[Disable generated text from ::before and ::after pseudo elements, usually used to add cosmetic text around some content.]]),
|
||||
css = [[
|
||||
*::before { display: none !important; }
|
||||
*::after { display: none !important; }
|
||||
]],
|
||||
]],
|
||||
},
|
||||
{
|
||||
id = "no_pseudo_element_first_letter",
|
||||
title = _("Disable first-letter pseudo elements"),
|
||||
description = _([[Disable first letter styling from ::first-letter pseudo elements.]]),
|
||||
css = [[*::first-letter { display: none !important; }]],
|
||||
},
|
||||
{
|
||||
id = "no_pseudo_element_first_line",
|
||||
title = _("Disable first-ilne pseudo elements"),
|
||||
description = _([[Disable first line styling from ::first-line pseudo elements.]]),
|
||||
css = [[*::first-line { display: none !important; }]],
|
||||
separator = true,
|
||||
},
|
||||
separator = true,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user