We have moved to Github. Please open tickets there.

Opened 13 months ago

Last modified 13 months ago

#4443 new Documentation

Alphabetize CSS properties

Reported by: ewinslow Owned by:
Priority: normal Milestone: Documentation
Component: Documentation Version: 1.8
Severity: minor Keywords:
Cc: brett@… Difficulty: easy

Description

This is the easiest way to remember how they should be ordered. We should add this to the css best practices and then just fix issues as we come across them. This also makes other rules moot, like grouping subproperties, since they are naturally grouped by alphabetization.

Change History (2)

comment:1 Changed 13 months ago by ewinslow

Wondering if it's worthwhile to make this a standard for php arrays too (make sure the keys are alphabetized).

array(
  'href' => '...',
  'name' => '...',
  'text' => '...',
);

I have no interest in making sweeping changes to old code in either of these cases, just something to suggest when we're accepting pull requests.

comment:2 Changed 13 months ago by ewinslow

  • Component changed from Core to Documentation
  • Milestone changed from Needs Review to Documentation
Note: See TracTickets for help on using tickets.