Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
drupal.css
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2006 at 22:37 UTC
Updated:
7 Dec 2006 at 11:15 UTC
When using url() in CSS files, you don't need to add the optional ' or ". More info.
Most of core doesn't use them, some does, this patch removes them all since they aren't needed. it is also best practice not to use them, most top CSS people don't. This was a habit that was carried over as including them lead to some browser bugs. Those no longer exist, but the practice still holds.
Simple patch, should be good.
| Comment | File | Size | Author |
|---|---|---|---|
| css_22.patch | 7.3 KB | m3avrck |
Comments
Comment #1
jjeff commented+1
I know that I've seen some browser inconsistencies with this. We should try to be uniform throughout Drupal.
Here's the W3C ref: http://www.w3.org/TR/REC-CSS1#url
Comment #2
jjeff commentedComment #3
quicksketchNice. +1
Comment #4
dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
(not verified) commented