Title: [205792] trunk/Source/WebInspectorUI
Revision
205792
Author
[email protected]
Date
2016-09-11 17:03:02 -0700 (Sun, 11 Sep 2016)

Log 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 <[email protected]> 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.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (205791 => 205792)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-09-11 22:30:05 UTC (rev 205791)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-09-12 00:03:02 UTC (rev 205792)
@@ -1,3 +1,20 @@
+2016-09-11  Devin Rousso  <[email protected]>
+
+        REGRESSION (r205754): Web Inspector: Cannot click on links to stylesheets in Rules sidebar
+        https://bugs.webkit.org/show_bug.cgi?id=161838
+
+        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.
+
 2016-09-09  Devin Rousso  <[email protected]>
 
         Web Inspector: Command-Z doesn't work when editing CSS selectors in Styles sidebar

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css (205791 => 205792)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css	2016-09-11 22:30:05 UTC (rev 205791)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css	2016-09-12 00:03:02 UTC (rev 205792)
@@ -101,10 +101,8 @@
     right: 0;
     bottom: 0;
     left: 0;
-    width: 100%;
-    height: 100%;
-    margin: 0;
-    padding: var(--style-declaration-section-header-padding);
+    margin: var(--style-declaration-section-header-padding);
+    padding: 0;
     font-family: Menlo, monospace;
     color: black;
     background: transparent;
@@ -134,6 +132,9 @@
 }
 
 .style-declaration-section > .header > .origin {
+    position: relative;
+    z-index: 1;
+
     line-height: 10px;
 
     color: hsl(0, 0%, 50%);

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js (205791 => 205792)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2016-09-11 22:30:05 UTC (rev 205791)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2016-09-12 00:03:02 UTC (rev 205792)
@@ -37,7 +37,7 @@
 
         this._mouseDownCursorPosition = null;
 
-        this._propertyVisibilityMode = WebInspector.CSSStyleDeclarationTextEditor.PropertyVisibilityMode.Shown;
+        this._propertyVisibilityMode = WebInspector.CSSStyleDeclarationTextEditor.PropertyVisibilityMode.ShowAll;
         this._showsImplicitProperties = true;
         this._alwaysShowPropertyNames = {};
         this._filterResultPropertyNames = null;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to