Inline data in CSS marked as invalid?

View: New views
4 Messages — Rating Filter:   Alert me  

Inline data in CSS marked as invalid?

by Michael Heuberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello guy

Sorry but something seems to be wrong with the CSS 2.1 Validator.

The inline data is marked as invalid. But it's done properly regarding the CSS specification. For background images I am using url(data:image/png;base64,iVBORw0KGgoA... to reduce the number of requests.

But the validator says following:
- Value Error : background attempt to find a semi-colon before the property name. add it
- Value Error : background Parse Error null
-
Property data doesn't exist : image/png

Can you confirm me if this is a bug or not?

Cheers

Michael
-- 

Binary Kitchen
Michael Heuberger
10N Sylvan Avenue East
Mount Eden
Auckland 1024
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  michael.heuberger@...
Website ..............  http://www.binarykitchen.com

Re: Inline data in CSS marked as invalid?

by Yves Lafon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 8 Oct 2009, Michael Heuberger wrote:

> Hello guy
>
> Sorry but something seems to be wrong with the CSS 2.1 Validator.
>
> The inline data is marked as invalid. But it's done properly regarding the
> CSS specification. For background images I am using
> url(data:image/png;base64,iVBORw0KGgoA... to reduce the number of requests.

Try using url("data:image/png;base64,iVBORw0KGgoA...");

>
> But the validator says following:
> - Value Error : background
> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background> attempt to
> find a semi-colon before the property name. add it
> - Value Error : background
> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background> Parse Error
> null
> - Property data doesn't exist : image/png
>
> Can you confirm me if this is a bug or not?
>
> Cheers
>
> Michael
>
>

--
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves



Re: Inline data in CSS marked as invalid?

by Yves Lafon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 8 Oct 2009, Yves Lafon wrote:

Argh sent instead of postponed... more inline.

> On Thu, 8 Oct 2009, Michael Heuberger wrote:
>
>> Hello guy
>>
>> Sorry but something seems to be wrong with the CSS 2.1 Validator.
>>
>> The inline data is marked as invalid. But it's done properly regarding the
>> CSS specification. For background images I am using
>> url(data:image/png;base64,iVBORw0KGgoA... to reduce the number of requests.
>
> Try using url("data:image/png;base64,iVBORw0KGgoA...");
using separators triggers the "function(ident)" instead of URI. SOmething
we indeed need to look at.
Cheers,

>> But the validator says following:
>> - Value Error : background
>> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background> attempt to
>> find a semi-colon before the property name. add it
>> - Value Error : background
>> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background> Parse Error
>> null
>> - Property data doesn't exist : image/png
>>
>> Can you confirm me if this is a bug or not?
>>
>> Cheers
>>
>> Michael
>>
>>
>
>

--
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves



Re: Inline data in CSS marked as invalid?

by Michael Heuberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yves

Thanks! That's true, with the semicolons (") it works like a charm!

Cheers

Michael

--

Yves Lafon wrote:

> On Thu, 8 Oct 2009, Yves Lafon wrote:
>
> Argh sent instead of postponed... more inline.
>
>> On Thu, 8 Oct 2009, Michael Heuberger wrote:
>>
>>> Hello guy
>>>
>>> Sorry but something seems to be wrong with the CSS 2.1 Validator.
>>>
>>> The inline data is marked as invalid. But it's done properly
>>> regarding the CSS specification. For background images I am using
>>> url(data:image/png;base64,iVBORw0KGgoA... to reduce the number of
>>> requests.
>>
>> Try using url("data:image/png;base64,iVBORw0KGgoA...");
> using separators triggers the "function(ident)" instead of URI.
> SOmething we indeed need to look at.
> Cheers,
>
>>> But the validator says following:
>>> - Value Error : background
>>> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background>
>>> attempt to find a semi-colon before the property name. add it
>>> - Value Error : background
>>> <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background> Parse
>>> Error null
>>> - Property data doesn't exist : image/png
>>>
>>> Can you confirm me if this is a bug or not?
>>>
>>> Cheers
>>>
>>> Michael
>>>
>>>
>>
>>
>

--

Binary Kitchen
Michael Heuberger
10N Sylvan Avenue East
Mount Eden
Auckland 1024
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  michael.heuberger@...
Website ..............  http://www.binarykitchen.com