[oXygen-user] CSS Validation problems
David Sewell
dsewell at virginia.edu
Wed Feb 15 10:04:11 CST 2012
Recently I noticed a similar CSS content-completion and validation issue.
In content completion, property "word-wrap" offers the values "normal" and
"break-word". But the validator reports "Property word-wrap doesn't exist".
Also, note that in the 1 September 2011 working draft of CSS 3, "word-wrap" was
renamed to "overflow-wrap". See
http://www.w3.org/TR/css3-text/#overflow-wrap
("word-wrap" is still supported but deprecated)
David
On Wed, 15 Feb 2012, oXygen XML Editor Support wrote:
> 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 at calldei.com <mailto:dlee at calldei.com>
>>
>> http://www.xmlsh.org
>>
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400314, Charlottesville, VA 22904-4314 USA
Email: dsewell at virginia.edu Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
More information about the oXygen-user
mailing list