serverguide patch
Rocco Stanzione
grasshopper at linuxkungfu.org
Sun Mar 26 16:36:36 UTC 2006
On Sunday 26 March 2006 02:29, Dean Sas wrote:
> Just curious, how come you've removed the measurement units from the
> CSS? I know that they're optional but is there actually a practical
> reason for doing so?
D'oh. That was something I started doing, had to walk away from, and forgot
about. It wasn't intended to be in this patch - I just diffed the tree after
I made the serverguide changes. But to answer your question:
I've read a lot of stuff from CSS gurus, as I hope to be one myself some day,
and one of them said something that made a lot of sense to me. When the
value is 0 the units are optional. There's no good reason to include the
units, but there is a minor good reason not to - to save both the server and
the client from having to transmit those few extra bytes. It's not a big
deal, but I agree with whoever said it should be added to my list of habits.
I also brought it up either on the list or on IRC, I forget which, and got a
positive response to the idea, so I started implementing it.
Thanks for asking and for pointing out that I'd inadvertently included those
changes. Here's the patch as I intended it to look.
Rocco Stanzione
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serverguide.diff
Type: text/x-diff
Size: 22794 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20060326/f24097e2/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20060326/f24097e2/attachment.pgp>
More information about the ubuntu-doc
mailing list