Title: [186698] trunk/Source/WebInspectorUI
Revision
186698
Author
[email protected]
Date
2015-07-10 17:16:19 -0700 (Fri, 10 Jul 2015)

Log Message

Web Inspector: Use -apple-system instead of -webkit-system-font
https://bugs.webkit.org/show_bug.cgi?id=146860

Remove explicit uses of font-family where inhertance from the body is enough.
Change -webkit-system-font to -apple-system and use -apple-system-monospaced-numbers
for DataGrid and the toolbar dashboard.

Reviewed by Sam Weinig.

* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
(.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):
* UserInterface/Views/DataGrid.css:
(.data-grid td):
* UserInterface/Views/DefaultDashboardView.css:
(.toolbar .dashboard.default > .item):
(.toolbar .dashboard.default > :matches(.time, .resourcesSize)):
(.toolbar .dashboard.default > .resourcesSize):
* UserInterface/Views/HierarchicalPathComponent.css:
(.hierarchical-path-component):
* UserInterface/Views/LogContentView.css:
(.console-messages):
* UserInterface/Views/Main.css:
(body):
* UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:
(.object-tree-array-index .index-name):
* UserInterface/Views/ObjectTreePropertyTreeElement.css:
(.object-tree-property .prototype-name):
* UserInterface/Views/ObjectTreeView.css:
(.object-tree-outline li .empty-message):
* UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:
(.timeline-overview-graph.rendering-frame > .divider > .label):
* UserInterface/Views/SourceCodeTextEditor.css:
(.source-code.text-editor > .CodeMirror .issue-widget > .text):
* UserInterface/Views/TypeTreeView.css:
(.type-tree):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (186697 => 186698)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-07-11 00:16:19 UTC (rev 186698)
@@ -1,3 +1,41 @@
+2015-07-10  Timothy Hatcher  <[email protected]>
+
+        Web Inspector: Use -apple-system instead of -webkit-system-font
+        https://bugs.webkit.org/show_bug.cgi?id=146860
+
+        Remove explicit uses of font-family where inhertance from the body is enough.
+        Change -webkit-system-font to -apple-system and use -apple-system-monospaced-numbers
+        for DataGrid and the toolbar dashboard.
+
+        Reviewed by Sam Weinig.
+
+        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+        (.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):
+        * UserInterface/Views/DataGrid.css:
+        (.data-grid td):
+        * UserInterface/Views/DefaultDashboardView.css:
+        (.toolbar .dashboard.default > .item):
+        (.toolbar .dashboard.default > :matches(.time, .resourcesSize)):
+        (.toolbar .dashboard.default > .resourcesSize):
+        * UserInterface/Views/HierarchicalPathComponent.css:
+        (.hierarchical-path-component):
+        * UserInterface/Views/LogContentView.css:
+        (.console-messages):
+        * UserInterface/Views/Main.css:
+        (body):
+        * UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:
+        (.object-tree-array-index .index-name):
+        * UserInterface/Views/ObjectTreePropertyTreeElement.css:
+        (.object-tree-property .prototype-name):
+        * UserInterface/Views/ObjectTreeView.css:
+        (.object-tree-outline li .empty-message):
+        * UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:
+        (.timeline-overview-graph.rendering-frame > .divider > .label):
+        * UserInterface/Views/SourceCodeTextEditor.css:
+        (.source-code.text-editor > .CodeMirror .issue-widget > .text):
+        * UserInterface/Views/TypeTreeView.css:
+        (.type-tree):
+
 2015-07-10  Devin Rousso  <[email protected]>
 
         Web Inspector: Add source links to functions logged in the console

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -37,7 +37,7 @@
 }
 
 .css-style-text-editor > .CodeMirror .CodeMirror-placeholder {
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     color: hsl(0, 0%, 65%);
     padding: 0 5px 0 25px;
     text-indent: 0;

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -138,7 +138,7 @@
     height: 13px;
     content: "•";
 
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 11px;
     color: hsla(0, 0%, 0%, 0.33);
 
@@ -230,7 +230,7 @@
 
 .console-message .console-message-location {
     float: right;
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 12px;
     font-weight: normal;
     -webkit-user-select: text;

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -148,6 +148,7 @@
     padding: 2px 6px;
     white-space: nowrap;
     overflow: hidden;
+    font-family: -apple-system-monospaced-numbers, sans-serif;
 }
 
 .data-grid:matches(:focus, .force-focus) tr.selected td:not(:last-child) {

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -51,10 +51,11 @@
 
     border-radius: 4px;
     border: 1px solid transparent;
+
+    font-family: -apple-system-monospaced-numbers, sans-serif;
 }
 
-.toolbar .dashboard.default > .time,
-.toolbar .dashboard.default > .resourcesSize {
+.toolbar .dashboard.default > :matches(.time, .resourcesSize) {
     min-width: 70px;
 }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -29,7 +29,6 @@
     height: 20px;
     min-width: 32px;
 
-    font-family: -webkit-system-font, sans-serif;
     font-size: 11px;
 }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -68,7 +68,7 @@
 
     word-wrap: break-word;
 
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 12px;
 
     min-height: 100%;

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Main.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/Main.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Main.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -31,7 +31,7 @@
     display: flex;
     flex-direction: column;
 
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 11px;
 
     background-color: white;

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -36,7 +36,7 @@
 }
 
 .object-tree-array-index .index-name {
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system-monospaced-numbers, sans-serif;
     font-size: 11px;
     vertical-align: top;
     color: hsla(0, 0%, 0%, 0.33);

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -122,7 +122,7 @@
 .object-tree-property .property-name,
 .object-tree-property .function-parameters,
 .object-tree-property .prototype-name {
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 12px;
 }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -118,7 +118,7 @@
 .object-tree-outline li .empty-message {
     color: rgb(60%, 60%, 60%);
     margin-left: 15px;
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 12px;
 }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineOverviewGraph.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineOverviewGraph.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineOverviewGraph.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -42,7 +42,6 @@
 
 .timeline-overview-graph.rendering-frame > .divider > .label {
     padding: 2px;
-    font-family: -webkit-system-font, sans-serif;
     font-size: 8px;
 
     color: rgb(155, 155, 155);

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -112,7 +112,7 @@
 }
 
 .source-code.text-editor > .CodeMirror .issue-widget > .text {
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
 }
 
 .source-code.text-editor > .CodeMirror .issue-widget.inline > .text {

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeView.css (186697 => 186698)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeView.css	2015-07-11 00:12:19 UTC (rev 186697)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeView.css	2015-07-11 00:16:19 UTC (rev 186698)
@@ -28,7 +28,7 @@
     display: block;
 
     color: black;
-    font-family: -webkit-system-font, sans-serif;
+    font-family: -apple-system, sans-serif;
     font-size: 12px;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to