Changes to CSS styling of figcaption elements (WebHelp)

tonra
Posts: 12
Joined: Wed Jun 05, 2019 10:39 am
Location: Germany

Changes to CSS styling of figcaption elements (WebHelp)

Post by tonra » Wed Mar 11, 2020 2:22 pm

Hello,

I've noticed changes regarding the CSS styling of figcaption elements. When running a build locally with Oxygen 21.1, everything is fine. As defined in commonltr.css, figcap class' font-style is italic. When running a build on the server, there's a CSS property from elements.css overriding the property defined in commonltr.css. As it's annotated with "The CJK fonts do not support italic" even though I'm not using CJK fonts, I assume it's a kind of bug that this CSS property is used for non-CJK content.

Apart from that, the colon after the figtitleprefix ("Figure" etc.) is missing in case of the server builds.
This behavior applies to the Oxygen Webhelp resources, too (see attachment).

I've already set a new CSS property to make the font-style italic again but I'm wondering if it's an intentional change and I'd like to restore the colon, as well. When using ::after, there's always a superfluous blank space between "Figure" and the colon.

Best regards,
Anton
Fig_caption.png
Fig_caption.png (109.78 KiB) Viewed 236 times

radu_pisoi
Posts: 374
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Changes to CSS styling of figcaption elements (WebHelp)

Post by radu_pisoi » Tue Mar 17, 2020 3:57 pm

Hi,

Indeed, it is an issue in version 22. The colon sign(:) is not generated for figure's caption in the WebHelp output.

I have register this issue and it will be fixed in the next version.

If this issue is important for you, please contact us on support@oxygenxml.com. We can give you an XSLT patch and instructions how to install it.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

julien_lacour
Posts: 84
Joined: Wed Oct 16, 2019 3:47 pm

Re: Changes to CSS styling of figcaption elements (WebHelp)

Post by julien_lacour » Thu May 21, 2020 1:12 pm

Hello,

The colon sign issue is now fixed in Oxygen 22.1.

Regards,
Julien

Post Reply