Bug 17601 - Individual shorthand properties are not editable
Summary: Individual shorthand properties are not editable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 02:54 PST by Matt Lilek
Modified: 2014-12-14 15:44 PST (History)
2 users (show)

See Also:


Attachments
Demonstrates that background shorthand property is missing background-position-x and background-position-y sub-properties. (700 bytes, text/html)
2009-10-26 17:37 PDT, Dave Land
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2008-02-29 02:54:41 PST
In the inspector, you can easily edit the shorthand for margins, padding, backgrounds, etc, but the individual properties listed when you expand the disclosure triangle are not editable.
Comment 1 Dave Land 2009-10-26 17:37:52 PDT
Created attachment 41920 [details]
Demonstrates that background shorthand property is missing background-position-x and background-position-y sub-properties.

In addition, the shorthand does not show the background-position-x or background-position-y sub-properties, per the attached HTML demo.

Inspect the green div with ID "InspectMe", then double-click the background shorthand property. It will read:

background: url(http://a3.twimg.com/profile_background_images/3703201/d-a-v-e-bg.png) no-repeat scroll green;

Instead of:

background: url(http://a3.twimg.com/profile_background_images/3703201/d-a-v-e-bg.png) no-repeat scroll green top right;
Comment 2 Dave Land 2009-10-27 09:56:35 PDT
Appears to have been resolved in some recent nightly build: Inspecting attachment above under r50006 shows and allows the following:

background: green url(http://a3.twimg.com/profile_background_images/3703201/d-a-v-e-bg.png) no-repeat scroll 100% 0%;

Editing the background-position-x and background-position-y sub-properties in the shorthand format works as expected. Original bug (that individual sub-properties are not editable when the disclosure triangle is expanded) remains.
Comment 3 Dave Land 2009-10-27 12:19:11 PDT
Man, I really screwed this up: I should have filed a separate bug.

The original bug (which seems more of an enhancement request) remains: expanding a shorthand property reveals _un-editable_ sub-properties.
Comment 4 Timothy Hatcher 2009-10-27 12:19:48 PDT
OK