Web Inspector: REGRESSION(r217258): Misspelled variable names
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Jun 2017 04:35:11 +0000 (04:35 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Jun 2017 04:35:11 +0000 (04:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173189

Reviewed by Joseph Pecoraro.

* UserInterface/Base/Main.js:
(WebInspector.tabContentViewClassForRepresentedObject):
* UserInterface/Views/ResourceIcons.css:
(.large :matches(.resource-icon.resource-type-stylesheet, .stylesheet-icon) .icon):
(.large .resource-icon.resource-type-stylesheet .icon): Deleted.

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

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/Main.js
Source/WebInspectorUI/UserInterface/Views/ResourceIcons.css

index 98aca25..5dff0fb 100644 (file)
@@ -1,3 +1,16 @@
+2017-06-09  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: REGRESSION(r217258): Misspelled variable names
+        https://bugs.webkit.org/show_bug.cgi?id=173189
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Base/Main.js:
+        (WebInspector.tabContentViewClassForRepresentedObject):
+        * UserInterface/Views/ResourceIcons.css:
+        (.large :matches(.resource-icon.resource-type-stylesheet, .stylesheet-icon) .icon):
+        (.large .resource-icon.resource-type-stylesheet .icon): Deleted.
+
 2017-06-09  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Web inspector does not show non-shadow children of an element with a shadow root (e.g. <video>)
index 7ec5756..e42a491 100644 (file)
@@ -1128,7 +1128,7 @@ WebInspector.tabContentViewClassForRepresentedObject = function(representedObjec
     if (representedObject instanceof WebInspector.Frame
         || representedObject instanceof WebInspector.Resource
         || representedObject instanceof WebInspector.Script
-        || representedObject instanceof WebInspector.StyleSheet)
+        || representedObject instanceof WebInspector.CSSStyleSheet)
         return WebInspector.ResourcesTabContentView;
 
     // FIXME: Move Content Flows to the Elements tab?
index 97f5cb6..f0da356 100644 (file)
@@ -87,7 +87,7 @@
     content: image-set(url(../Images/DocumentFontLarge.png) 1x, url(../Images/DocumentFontLarge@2x.png) 2x);
 }
 
-.large .resource-icon.resource-type-stylesheet .icon {
+.large :matches(.resource-icon.resource-type-stylesheet, .stylesheet-icon) .icon {
     content: image-set(url(../Images/DocumentCSSLarge.png) 1x, url(../Images/DocumentCSSLarge@2x.png) 2x);
 }