W3C home > Mailing lists > Public > www-style@w3.org > July 2009

Re: [css3-images] New WD "CSS Image Values"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 23 Jul 2009 21:26:38 -0500
Message-ID: <dd0fbad0907231926r799de7bcv34769d21c78eabde@mail.gmail.com>
To: Zack Weinberg <zweinberg@mozilla.com>
Cc: www-style@w3.org
On Thu, Jul 23, 2009 at 7:04 PM, Zack Weinberg<zweinberg@mozilla.com> wrote:
> Bert Bos <bert@w3.org> wrote:
>
>> The CSS WG published the first of a new series of working drafts,
>> called "CSS Image Values Module Level 3":
>>
>>     http://www.w3.org/TR/2009/WD-css3-images-20090723/
>>
>> The module defines the <image> type, i.e., the syntax for properties
>> that refer to images. (Examples of such properties are
>> 'list-style-image' and 'background-image'.) In most (all?) cases, an
>> image is identified by a URL.
>
> I object to <url-token>.  Please instead use:
>
>  <image-decl> = <string> [ snap? && <resolution> ]?
>  <image-decl> = [ <string> | <url> ] [ snap? && <resolution> ]?
>
> More generally, I do not think any CSS Level >=3 module should make any
> modifications whatsoever to the tokenization rules in CSS 2.1.

Echoing earlier discussion, I agree with Zack.  Using quotes or url()
syntax is far from a hardship, while remembering the escaping rules
necessary to use an unquoted url *is* actually sort of hard (us web
authors have *enough* different sets of escaping rules already).

~TJ
Received on Friday, 24 July 2009 02:27:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:19 GMT