[RapidPHP 8.1.0.78] Support for CSS 2 siblings

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
aotte
Posts: 1
Joined: Tue Sep 25, 2007 8:58 pm

[RapidPHP 8.1.0.78] Support for CSS 2 siblings

Post by aotte »

Hi,

The CSS formatter/compressor does not like the CSS 2 sibling syntax:

Code: Select all

h2.problem+p {
  color: red;
}
It responds with a dialog stating: "GetFormatedCssText ANTLRException. unexpected character 'p'. error at row -1" The character is always the first character found after the first + sign. The row number is always -1. I don't know if the row number is supposed to reflect the line number or not. The W3C validator says it is valid syntax; Firefox and IE7 display the formatting as well.

Thanks for your help in this,

Arnoud.
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Post by Gatis »

Indeed, seems there is a problem with this language construct.
Will try to do something about it.
The problem with incorrectly reported line numbers on some occasions, is fixed, but the fix is not released yet. If we manage, both fixes will be released together.
Post Reply