[wp-trac] [WordPress Trac] #22476: Remove optional single and double quotes in CSS url()s
WordPress Trac
noreply at wordpress.org
Fri Nov 16 17:26:05 UTC 2012
#22476: Remove optional single and double quotes in CSS url()s
-----------------------------+-------------------------
Reporter: TobiasBg | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: | Severity: normal
Keywords: has-patch |
-----------------------------+-------------------------
As per http://www.w3.org/TR/CSS2/syndata.html#value-def-uri (and other
locations), single quotes {{{'}}} and double quotes {{{"}}} in {{{url()}}}
values in CSS like
{{{
body { background: url("../img/image,gif");
}}}
are optional. Most of core's CSS is already written without such quotes.
The patch 22476-remove-quotes-in-url.diff removes the remaining ones, for
consistency and to save us some bytes again, even in the minified CSS.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22476>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list