Bug in url() parsing when url() contains a data URL (data:) without quotes

The validator seems to try and check the syntax of URLs inside url() to 
some extent. However, it doesn't do that correctly/consistently:

1) It seems the validator doesn't know about data URLs and gives errors 
for URLs such as this one:

a:before { 
content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQAAAAA3bvkkAAAACklEQVQImWNoAAAAggCByxOyYQAAAABJRU5ErkJggg==) 
}

2) It doesn't give the same error when the URLs is quoted. The following 
has the same data URL, but is considered valid:

a:before { 
content:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQAAAAA3bvkkAAAACklEQVQImWNoAAAAggCByxOyYQAAAABJRU5ErkJggg==") 
}



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Wednesday, 30 May 2012 11:54:21 UTC