focus-within CSS pseudo-class

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Johann
Posts: 236
Joined: Wed Jun 17, 2015 12:46 pm

focus-within CSS pseudo-class

Post by Johann »

Hello,

in Author Web 25.0, we try to use the focus-within CSS pseudo-class but it does not seem to work.

Does it have to be used in a particular way to work?

Thank you,

Johann
cristi_talau
Posts: 513
Joined: Thu Sep 04, 2014 4:22 pm

Re: focus-within CSS pseudo-class

Post by cristi_talau »

Hello,

The focus-within pseudo-class is not supported in Web Author.
It would help us understand your use-case for this pseudoclass. This way we can either suggest an alternative solution or prioritize adding support for it.

Best,
Cristian
Johann
Posts: 236
Joined: Wed Jun 17, 2015 12:46 pm

Re: focus-within CSS pseudo-class

Post by Johann »

Hello,

Sorry for the delay,

The need for this functionality would be motivated by a need for performance in the display of the Author view.
Indeed, with our stylesheets, we sometimes have a lot of oxy_editor to display in the author view and we then notice a degradation of the global performances (display and edition).

We wanted to test to display these oxy_editors only when focusing on the tags we are interested in. The oxy_editor would then only be displayed on demand and would improve global performance.

Do you think it could work?

Regards,

Johann
mihaela
Posts: 504
Joined: Wed May 20, 2009 2:40 pm

Re: focus-within CSS pseudo-class

Post by mihaela »

Hello,

A possible solution would be to present an "Edit" button on each element that can be edited with an oxy_editor, and present the editor only after the user press "Edit".
If you want, you can send us a sample file and your current CSS configuration to analyze them (you can use our support email address support@oxygenxml.com), to determine if there is something to improve on the performance.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Post Reply