Hi David,

Thank you for reporting these issues.

Regarding the first validation error, there was a bug in the CSS validator that oXygen uses: the "pre-line" value was not properly recognized for CSS 3 profile.
We already fixed this problem and it will available in the next oXygen release.

We did not find any specification regarding the "white-space-collapse" property (and as you could see it is not recognized by the CSS validator) thus we removed it from the CSS content completion properties list (this modification will also be available in oXygen 14).

Best regards,
Mihaela

Mihaela Calotescu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


On 2/14/2012 6:25 PM, David Lee wrote:

I'm editing a css file for use in Author mode.  My default CSS validator is set for "CSS 3 with oxygen extensions"

Content completion is working fine but somehow validating the CSS is finding errors where there should be none. 

 

Any suggestions ? It looks like the validator is using a different engine then the content complete.

 

e.g.

 

function {
    display:block;
    background-color:#EEEEFF;
    color:black;
     white-space:pre-line;                                                               ERROR HERE
     white-space-collapse:preserve-breaks;                            ERROR HERE
     margin-left: 1em;
     border-bottom-style:solid;
     margin-top:0;
    
}

 

Engine name: W3C CSS Validator (CSS3)

Severity: error

Description: Context : function in property : white-space

pre-line is not a white-space value : pre-line

 

Start location: 21:0

Engine name: W3C CSS Validator (CSS3)

Severity: error

Description: Context : function in property : white-space-collapse

Property white-space-collapse doesn't exist : preserve-breaks

 

Start location: 22:0

 

 

----------------------------------------

David A. Lee

dlee@calldei.com

http://www.xmlsh.org

 

_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user