This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11975 - border-radius throws Parse Error [empty string]
Summary: border-radius throws Parse Error [empty string]
Status: REOPENED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC other
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://communitychessclub.com/css/ccc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 20:09 UTC by verlager
Modified: 2014-10-07 14:04 UTC (History)
10 users (show)

See Also:


Attachments
Patch to update the properties file to point to the correct package (1.69 KB, patch)
2011-05-10 17:35 UTC, Mike Kolcun
Details

Description verlager 2011-02-03 20:09:04 UTC
Even simple CSS code like: .rounded {border-radius:50px;} throws an error:
Parse Error [empty string]
Comment 1 verlager 2011-02-03 20:57:49 UTC
There is a W3C "CSS OK" gif at the bottom of the main page (http://communitychessclub.com) Click it and it show ~15 errors from http://communitychessclub.com/css/cccr.css 

The problem is that all of these errors are from CSS classes that contain "border-radius" \


So this definitely a bug, I think.

Regards, Randy MacKenzie
Comment 2 Tobias Weigl 2011-02-06 23:01:19 UTC
Same here, i even noticed this bug on 02-Feb-2011 already.

http://jigsaw.w3.org/css-validator/validator?uri=http://f-gx.de/&profile=css3
Comment 3 Binyamin 2011-02-11 12:11:51 UTC
I noticed the same bug.
It returns `#content Parse Error [empty string]` by direct enter `#content{border-radius:10px;}` in CSS3 validating (http://jigsaw.w3.org/css-validator/#validate_by_input+with_options Profile: CSS lelvel 3).
Comment 4 Graham Sivill 2011-02-19 00:35:21 UTC
Ditto that, all border-radius:4px; type CSS3 is being rejected with:

Parse Error [empty string] 

This is valid CSS3 and should not be reported as an error.

Siv
Comment 5 Leandro Finger 2011-03-07 17:05:07 UTC
I'm with the same error in http://www.activeinfo.com.br. My partner is angry because it.
Comment 6 Michael 2011-04-21 05:58:12 UTC
This problem still persists.

All variants on 'border-radius' seem to fail validation, and always returns a 'Parse Error [empty string]' error instead.
Comment 7 scott kimler 2011-05-02 22:09:59 UTC
W3C Validator (Profile CSS3) chokes on "border-radius" property, which is valid CSS3 syntax. This still has not been assigned, nor fixed.

Another in a growing list of URL's that do not pass W3C CSS3 validation because of this bug.  

http://nicolpawn.ca/index.php?blog=6

Note that while it might be considered a "minor bug" by those on the W3C validator project team ... many authors, designers and webmasters are spending untold hours researching WHY their code is yielding a very obtuse error - i.e., "Parse Error [Empty String]"

Can't imagine a fix would consume nearly the aggregate of time already lost! ;-)
Comment 8 Mike Kolcun 2011-05-10 17:33:51 UTC
Checking out the code, the CssBorderRadius and CssBorder*Radius Classes are in the org.w3c.css.properties.css3 package.  

The CSS3Properties.properties file has the them listed as being in the ..css.. package.

border-radius:                          org.w3c.css.properties.css.CssBorderRadius


Changing the package to the correct one in the properties file fixed the issue for me.

I've attached a patch.
Comment 9 Mike Kolcun 2011-05-10 17:35:05 UTC
Created attachment 987 [details]
Patch to update the properties file to point to the correct package
Comment 10 Jens O. Meiert 2011-07-13 14:57:02 UTC
As far as I know this has been fixed a few weeks ago. Took some samples to confirm, including from this thread [1]. Feeling free to mark this “fixed” unless someone on the W3C ends prefers to do that :)

[1] http://jigsaw.w3.org/css-validator/validator?uri=http://f-gx.de/&profile=css3
Comment 11 jc 2014-10-07 14:04:43 UTC
This is not resolved. Test the following

.roundcorner{
border-radius:3px;
}

at
http://www.css-validator.org/#validate_by_input+with_options