As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 586977 - Investigate how the inspector style panel works with shorthand properties
: Investigate how the inspector style panel works with shorthand properties
Product: Firefox
Classification: Client Software
Component: Developer Tools (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Michael Ratcliffe [:miker] [:mratcliffe]
: J. Ryan Stinnett [:jryans] (use ni?)
Depends on:
Blocks: 586984
  Show dependency treegraph
Reported: 2010-08-13 06:42 PDT by Joe Walker [:jwalker] (needinfo me or ping on irc)
Modified: 2011-05-10 08:45 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Joe Walker [:jwalker] (needinfo me or ping on irc) 2010-08-13 06:42:56 PDT
We have not done any testing to see what happens if we specify rules using both sorts or that we even support both sorts properly.

In addition, there should be an option to show shorthand properties for margin-*, padding-*, and for other properties, when possible. It makes glancing over the styles much quicker.
Comment 1 User image Kevin Dangoor 2010-08-16 06:57:58 PDT
We do need to make sure this is sane, but we don't necessarily need to go after the shorthand properties part of this description above.
Comment 2 User image Michael Ratcliffe [:miker] [:mratcliffe] 2011-04-25 07:54:48 PDT
I don't know about the Style Doctor or Style Editor but the Style Inspector works using calculated styles. Shorthand properties are not valid for calculated styles ... they are always longhand properties.

Something else to bear in mind is that not all longhand combinations can be displayed purely in shorthand.
border-top: 10px solid #f00;
border-right: 20px solid #0f0;
border-bottom: 30px dashed #00f;
border-left: 40px groove #ff0;

At the same time it certainly would be a very cool feature.
Comment 3 User image Joe Walker [:jwalker] (needinfo me or ping on irc) 2011-04-25 09:21:42 PDT
I wanted to make sure if we had: "border: 1px", and then looked at the border-width-top property, that we would see the border setting.
Comment 4 User image Michael Ratcliffe [:miker] [:mratcliffe] 2011-05-10 08:45:33 PDT
Tests fine

Note You need to log in before you can comment on or make changes to this bug.