Changeset 147088 in webkit


Ignore:
Timestamp:
Mar 28, 2013 2:33:57 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Fixed property text indentation in Styles sidebar.
https://bugs.webkit.org/show_bug.cgi?id=113409

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-03-28
Reviewed by Alexander Pavlov.

When the sidebar is too narrow and the property text wraps around it breaks the indentation.
This was introduced in r143207 which spuriously modified DOM elements order.

  • inspector/front-end/StylesSidebarPane.js:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147087 r147088  
     12013-03-28  Vladislav Kaznacheev  <kaznacheev@chromium.org>
     2
     3        Web Inspector: Fixed property text indentation in Styles sidebar.
     4        https://bugs.webkit.org/show_bug.cgi?id=113409
     5
     6        Reviewed by Alexander Pavlov.
     7
     8        When the sidebar is too narrow and the property text wraps around it breaks the indentation.
     9        This was introduced in r143207 which spuriously modified DOM elements order.
     10
     11        * inspector/front-end/StylesSidebarPane.js:
     12
    1132013-03-28  Arpita Bahuguna  <a.bah@samsung.com>
    214
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r144753 r147088  
    21462146            enabledCheckboxElement.checked = !this.disabled;
    21472147            enabledCheckboxElement.addEventListener("click", this.toggleEnabled.bind(this), false);
    2148             this.listItemElement.appendChild(enabledCheckboxElement);
     2148            this.listItemElement.insertBefore(enabledCheckboxElement, this.listItemElement.firstChild);
    21492149        }
    21502150    },
Note: See TracChangeset for help on using the changeset viewer.