Changeset 205792 in webkit


Ignore:
Timestamp:
Sep 11, 2016 5:03:02 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (r205754): Web Inspector: Cannot click on links to stylesheets in Rules sidebar
https://bugs.webkit.org/show_bug.cgi?id=161838

Patch by Devin Rousso <Devin Rousso> on 2016-09-11
Reviewed by Brian Burg.

  • UserInterface/Views/CSSStyleDeclarationSection.css:

(.style-declaration-section > .header > textarea):
(.style-declaration-section > .header > .origin):
Added z-index to the non-selector elements of the header. Also limited the size of the
selector textarea to just the size of the displayed selector text.

  • UserInterface/Views/CSSStyleDeclarationTextEditor.js:

(WebInspector.CSSStyleDeclarationTextEditor):
Fixed invalid enum value for propertyVisibilityMode.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r205754 r205792  
     12016-09-11  Devin Rousso  <dcrousso+webkit@gmail.com>
     2
     3        REGRESSION (r205754): Web Inspector: Cannot click on links to stylesheets in Rules sidebar
     4        https://bugs.webkit.org/show_bug.cgi?id=161838
     5
     6        Reviewed by Brian Burg.
     7
     8        * UserInterface/Views/CSSStyleDeclarationSection.css:
     9        (.style-declaration-section > .header > textarea):
     10        (.style-declaration-section > .header > .origin):
     11        Added z-index to the non-selector elements of the header.  Also limited the size of the
     12        selector textarea to just the size of the displayed selector text.
     13
     14        * UserInterface/Views/CSSStyleDeclarationTextEditor.js:
     15        (WebInspector.CSSStyleDeclarationTextEditor):
     16        Fixed invalid enum value for propertyVisibilityMode.
     17
    1182016-09-09  Devin Rousso  <dcrousso+webkit@gmail.com>
    219
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css

    r205754 r205792  
    102102    bottom: 0;
    103103    left: 0;
    104     width: 100%;
    105     height: 100%;
    106     margin: 0;
    107     padding: var(--style-declaration-section-header-padding);
     104    margin: var(--style-declaration-section-header-padding);
     105    padding: 0;
    108106    font-family: Menlo, monospace;
    109107    color: black;
     
    135133
    136134.style-declaration-section > .header > .origin {
     135    position: relative;
     136    z-index: 1;
     137
    137138    line-height: 10px;
    138139
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js

    r205555 r205792  
    3838        this._mouseDownCursorPosition = null;
    3939
    40         this._propertyVisibilityMode = WebInspector.CSSStyleDeclarationTextEditor.PropertyVisibilityMode.Shown;
     40        this._propertyVisibilityMode = WebInspector.CSSStyleDeclarationTextEditor.PropertyVisibilityMode.ShowAll;
    4141        this._showsImplicitProperties = true;
    4242        this._alwaysShowPropertyNames = {};
Note: See TracChangeset for help on using the changeset viewer.