Changes to CSS styling of figcaption elements (WebHelp)
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 12
- Joined: Wed Jun 05, 2019 10:39 am
- Location: Germany
Changes to CSS styling of figcaption elements (WebHelp)
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
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
You do not have the required permissions to view the files attached to this post.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Changes to CSS styling of figcaption elements (WebHelp)
Post by radu_pisoi »
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.
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Changes to CSS styling of figcaption elements (WebHelp)
Post by julien_lacour »
Hello,
The colon sign issue is now fixed in Oxygen 22.1.
Regards,
Julien
The colon sign issue is now fixed in Oxygen 22.1.
Regards,
Julien
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service