Performance problem with CSS rule

Post here questions and problems related to oXygen frameworks/document types.
rmarchand
Posts: 1
Joined: Mon Sep 07, 2020 12:32 pm

Performance problem with CSS rule

Post by rmarchand »

We occur a performance problem with a CSS rule on our framework that contains an action (template insertion with ID numbering).

When the CSS includes rules with an ID selector
for exemple:

Code: Select all

action[id]:before(99)
--> the action take a long time (25 seconds).

If we delete the ID selector
for exemple

Code: Select all

 action:before(99)
--> the action is practically immediate.

Are you aware of this problem or an idea where the problem comes?

Thank you
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Performance problem with CSS rule

Post by Radu »

Hi,

The CSS attribute selectors should be very fast. So we do not know of such a problem.
If you can put together a small project XML + CSS + steps to reproduce the problem, please send them to "support@oxygenxml.com" and we can look into it further. Please also include information about the version of Oxygen you are using.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply