2010-05-11 Joseph Pecoraro <joepeck@webkit.org>
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 May 2010 05:50:38 +0000 (05:50 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 May 2010 05:50:38 +0000 (05:50 +0000)
        Reviewed by Timothy Hatcher.

        Web Inspector: Shorthand Properties Getting Deleted When Editing
        https://bugs.webkit.org/show_bug.cgi?id=38958

        * inspector/front-end/DOMAgent.js:
        (WebInspector.CSSStyleDeclaration.prototype.styleTextWithShorthands): was getting regular values instead of shorthand values

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@59210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/inspector/front-end/DOMAgent.js

index 013bdd0..c1fbe7f 100644 (file)
@@ -1,3 +1,13 @@
+2010-05-11  Joseph Pecoraro  <joepeck@webkit.org>
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: Shorthand Properties Getting Deleted When Editing
+        https://bugs.webkit.org/show_bug.cgi?id=38958
+
+        * inspector/front-end/DOMAgent.js:
+        (WebInspector.CSSStyleDeclaration.prototype.styleTextWithShorthands): was getting regular values instead of shorthand values
+
 2010-05-11  Tony Chang  <tony@chromium.org>
 
         Reviewed by Darin Fisher.
index 46ff0bf..3373c04 100644 (file)
@@ -586,7 +586,7 @@ WebInspector.CSSStyleDeclaration.prototype = {
                 continue;
 
             if (shorthandProperty) {
-                var value = this.getPropertyValue(shorthandProperty);
+                var value = this.getShorthandValue(shorthandProperty);
                 var priority = this.getShorthandPriority(shorthandProperty);
             } else {
                 var value = this.getPropertyValue(individualProperty);