Page 1 of 1

CSS property link is broken in Oxygen 15?

Posted: Fri Aug 02, 2013 6:56 pm
by stdu
In a custom documenttype association we use the oxygen css property "link". In Oxygen Author 14.2 it functions but in 15 not: the cursor doesn't change by hover over the linked element and a click doesn't start anything. Is that a bug or have I overlooked something?

CSS:

Code: Select all


ref:after {
padding-left: 0.3em;
link: attr(ziel);
content: url('gfx/link.png');
}

Re: CSS property link is broken in Oxygen 15?

Posted: Mon Aug 05, 2013 10:23 am
by alex_jitianu
Hello,

The CSS rule looks correct so it must be something else. The first thing you should check is if the ref element on which the link is not functioning has indeed a ziel attribute. One situation in which the behavior you described can happen is when the link can't be computed. In your case there is no ziel attribute.

If the previous situation is not the case please let me know so I can think of other causes.

Best regards,
Alex

Re: CSS property link is broken in Oxygen 15?

Posted: Mon Aug 05, 2013 2:26 pm
by stdu
Hi Alex,

the attribute @ziel is definitly present in the elements. The XML and CSS functions perfect in Oxygen XML Author 14.2 but not in version 15. I don't have any idea, whats going wrong.

Greets,
Stefan

Re: CSS property link is broken in Oxygen 15?

Posted: Mon Aug 05, 2013 3:02 pm
by alex_jitianu
Hello,

I understand that the @ziel attribute is usually present on the elements, but is it present on this particular element for which the link doesn't work? Another possible cause would be if there is another rule more important that also matches the ref element. Do you have such a rule? It might help if you can send us a small xml sample and the CSS files on support@oxygenxml.com.

Best regards,
Alex

Re: CSS property link is broken in Oxygen 15?

Posted: Mon Aug 05, 2013 4:26 pm
by alex_jitianu
Hello,

Thank you for sending the samples. I managed to reproduce the issue. It would appear to be an issue related with the fact that the link is added on the AFTER element. If you put it on the BEFORE then it functions correctly. I've added a bug on our internal issue tracker and we will update this thread when it gets resolved.

Best regards,
Alex

Re: CSS property link is broken in Oxygen 15?

Posted: Wed Oct 23, 2013 8:50 am
by Radu
Hi,

Just to update the thread, this issue is fixed in Oxygen 15.1

Regards,
Radu