Bug 24144

Summary: Disabling and enabling a background rule in the inspector forgets the background-position.
Product: WebKit Reporter: Thomas Sutton <thsutton>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: bfulgham, imgroxx, inspector-bugzilla-changes
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.5   
Attachments:
Description Flags
Zip archive: an HTML and GIF which demonstrate the problem. none

Description Thomas Sutton 2009-02-24 17:37:21 PST
Disabling a CSS background: attribute on an element using the checkbox in the web inspector styles section disables the background. Re-checking the checkbox displays the background image again, but ignores any background position, whether specified in the background: attribute or a seperate background-position: attribute in the same rule.

Encountered on WebKit Nightly r41176 on 10.4.11 (with Safari 4 Beta) and 10.5.6 (with stock Safari).
Comment 1 Alexey Proskuryakov 2009-02-25 08:17:24 PST
Do you have a test case for this issue?
Comment 2 Thomas Sutton 2009-02-25 19:47:21 PST
Created attachment 28002 [details]
Zip archive: an HTML and GIF which demonstrate the problem.

This ZIP contains an HTML file and a GIF which demonstrate the problem.
Comment 3 Steven Littiebrant 2009-08-19 19:31:06 PDT
Just encountered the same situation, and the test case uploaded demonstrates perfectly.

Duplicate (though not as generic, and without test case) of: https://bugs.webkit.org/show_bug.cgi?id=20264
so this has been around for OVER a year now.  Can I request changing the status to "new", especially as the working test case has existed for 6 months?
(disable and re-enable the background property on the containing div to see it working)