[theme-reviewers] Minified CSS

Rahul Bansal rahul.bansal at rtcamp.com
Fri Feb 18 14:57:12 UTC 2011


Off-topic may be:

http://core.trac.wordpress.org/browser/trunk/wp-admin/css/wp-admin.css

There are tools & online services to clean codes like wp-admin.css has to a
readble format recommended by codex.
<http://core.trac.wordpress.org/browser/trunk/wp-admin/css/wp-admin.css>
--
Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
Skype: rahul286 | Twitter: @rahul286 | Web: http://rtcamp.com/



On Fri, Feb 18, 2011 at 8:22 PM, Chip Bennett <chip at chipbennett.net> wrote:

> Yes, because "that form" of CSS is plain-text CSS - the only editable form
> of CSS.
>
> The GPL does not compel the developer to write easily-readable or
> easily-understood code - nor does the GPL compel the developer to cater to
> the whims of end users regarding their coding practices; rather, it merely
> compels the developer to provide code in the FILE FORMAT that is preferred
> for editing.
>
> The preferred FILE FORMAT for CSS is text, and that is all that is required
> by the GPL.
>
> Chip
>
>
> On Fri, Feb 18, 2011 at 8:48 AM, Austin Matzko <austin at pressedcode.com>wrote:
>
>> On Fri, Feb 18, 2011 at 8:38 AM, Chip Bennett <chip at chipbennett.net>
>> wrote:
>> > We're talking about removing whitespace, not obfuscating (e.g.
>> > base64-encoding) code. Removing whitespace is NOT "obfuscation". That
>> > suggestion is ludicrous.
>> > Let us be quite clear on what we're discussing here.
>>
>> [snip]
>>
>> > And this is the "minified" version of that same CSS:
>> >
>> > #selector-1, #selector-2, #selector-3 { background: #fff; color: #000; }
>> >
>> > Both are equally valid under the GPL. There is no GPL-compliance issue
>> here,
>> > period.
>>
>> If Syahir's CSS includes only one rule like that, then you could have
>> a point because it really could be the "preferred form of the work for
>> making modifications to it." However, what we're really talking about
>> is something that looks like this:
>>
>> <http://core.trac.wordpress.org/browser/trunk/wp-admin/css/wp-admin.css>
>>
>> Chip, are you honestly claiming you prefer to edit CSS in that form?
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110218/a07673c4/attachment.htm>


More information about the theme-reviewers mailing list