3 Require or disallow quotes for urls.
6 a { background: url("x.jpg") }
11 This rule ignores `@import` in Less.
15 `string`: `"always"|"never"`
19 Urls *must always* be quoted.
21 The following patterns are considered violations:
28 @document domain(http://www.w3.org/);
32 @font-face { font-family: 'foo'; src: url(foo.ttf); }
36 @-moz-document url-prefix() {}
39 The following patterns are *not* considered violations:
42 a { background: url('x.jpg'); }
46 @import url("foo.css");
50 @document domain('http://www.w3.org/');
54 @font-face { font-family: "foo"; src: url("foo.ttf"); }
58 @-moz-document url-prefix('') {}
63 Urls *must never* be quoted.
65 The following patterns are considered violations:
68 a { background: url('x.jpg'); }
72 @import url("foo.css");
76 @font-face { font-family: "foo"; src: url('foo.ttf'); }
79 The following patterns are *not* considered violations:
82 a { background: url(x.jpg); }
90 @font-face { font-family: 'foo'; src: url(foo.ttf); }
93 ## Optional secondary options
95 ### `except: ["empty"]`
97 Reverse the primary option if the function has no arguments.
99 For example, with `"always"`.
101 The following pattern is *not* considered violations:
104 @-moz-document url-prefix() {}