Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (170239 => 170240)
--- trunk/Source/WebInspectorUI/ChangeLog 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/ChangeLog 2014-06-21 14:55:48 UTC (rev 170240)
@@ -1,3 +1,42 @@
+2014-06-21 Jono Wells <jonowe...@apple.com>
+
+ Web Inspector: UI fonts should pull from system fonts automatically to whatever degree possible
+ https://bugs.webkit.org/show_bug.cgi?id=133966
+
+ Reviewed by Timothy Hatcher.
+
+ Updated font families to use -webkit-system-font, and set this on the body to be
+ inherited. Also made sure that popovers use Menlo as the default. Updated
+ autocompletions with system font names.
+
+ * UserInterface/Models/CSSKeywordCompletions.js: Updated completions with available system fonts.
+
+ * UserInterface/Controllers/CodeMirrorGradientEditingController.css:
+ * UserInterface/Views/Breakpoint.css:
+ * UserInterface/Views/ButtonNavigationItem.css:
+ * UserInterface/Views/ButtonToolbarItem.css:
+ * UserInterface/Views/CSSStyleDeclarationSection.css:
+ * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+ * UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
+ * UserInterface/Views/CodeMirrorOverrides.css:
+ * UserInterface/Views/DataGrid.css:
+ * UserInterface/Views/DebuggerDashboardView.css:
+ * UserInterface/Views/DetailsSection.css:
+ * UserInterface/Views/FindBanner.css:
+ * UserInterface/Views/GoToLineDialog.css:
+ * UserInterface/Views/HierarchicalPathComponent.css:
+ * UserInterface/Views/Main.css:
+ * UserInterface/Views/NavigationSidebarPanel.css:
+ * UserInterface/Views/ProbeSetDataGrid.css:
+ * UserInterface/Views/RulesStyleDetailsPanel.css:
+ * UserInterface/Views/ScopeBar.css:
+ * UserInterface/Views/SourceCodeTextEditor.css:
+ * UserInterface/Views/TimelineDataGrid.css:
+ * UserInterface/Views/TimelineRuler.css:
+ * UserInterface/Views/TimelineSidebarPanel.css:
+ Changes to fonts. Set default font stack to -webkit-system-font, sans-serif. Default size is
+ 11px. Only changes to this default size or changes to the font (to Menlo, monospace usually) remain.
+
2014-06-21 Joseph Pecoraro <pecor...@apple.com>
Web Inspector: Esc in quick console no longer toggles console drawer
Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorGradientEditingController.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorGradientEditingController.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorGradientEditingController.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -26,8 +26,6 @@
.gradient-editing-controller {
width: 260px;
height: 109px;
-
- font-family: "Lucida Grande", Helvetica, sans-serif;
}
.gradient-editing-controller.edits-color {
Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js 2014-06-21 14:55:48 UTC (rev 170240)
@@ -332,9 +332,9 @@
"-webkit-control", "status-bar", "italic", "oblique", "small-caps", "normal", "bold", "bolder", "lighter",
"100", "200", "300", "400", "500", "600", "700", "800", "900", "xx-small", "x-small", "small", "medium",
"large", "x-large", "xx-large", "-webkit-xxx-large", "smaller", "larger", "serif", "sans-serif", "cursive",
- "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font", "-apple-system-headline",
- "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1",
- "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
+ "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font", "-apple-system-font",
+ "-apple-system-headline", "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote",
+ "-apple-system-caption1", "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
"-apple-system-short-subheadline", "-apple-system-short-footnote", "-apple-system-short-caption1",
"-apple-system-tall-body"
],
@@ -431,7 +431,11 @@
"absolute", "fixed", "relative", "static", "-webkit-sticky"
],
"font-family": [
- "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font"
+ "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
+ "-webkit-system-font", "-apple-system-font", "-apple-system-headline", "-apple-system-body",
+ "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1", "-apple-system-caption2",
+ "-apple-system-short-headline", "-apple-system-short-body", "-apple-system-short-subheadline",
+ "-apple-system-short-footnote", "-apple-system-short-caption1", "-apple-system-tall-body"
],
"text-overflow-mode": [
"clip", "ellipsis"
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Breakpoint.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/Breakpoint.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Breakpoint.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -26,9 +26,6 @@
.popover .edit-breakpoint-popover-content {
width: 420px;
padding: 5px 15px;
-
- font-family: "Lucida Grande", Helvetica, sans-serif;
- font-size: 11px;
}
.popover .edit-breakpoint-popover-content.wide {
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -32,8 +32,6 @@
padding: 0 10px;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
line-height: 20px;
-webkit-justify-content: center;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ButtonToolbarItem.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ButtonToolbarItem.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ButtonToolbarItem.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -58,8 +58,6 @@
}
.toolbar .item.button > .label {
- font-size: 11px;
- font-family: Lucida Grande, sans-serif;
text-align: center;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
color: rgb(60, 60, 60);
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -136,10 +136,9 @@
.style-declaration-section > .header > .origin {
line-height: 10px;
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
-
+
word-wrap: break-word;
white-space: nowrap;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -37,7 +37,6 @@
}
.css-style-text-editor > .CodeMirror .CodeMirror-placeholder {
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
padding: 0 5px 0 25px;
text-indent: 0;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -42,9 +42,6 @@
}
.sidebar > .panel.details.css-style > .content > .pseudo-classes {
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
padding: 10px;
display: -webkit-flex;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorOverrides.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -78,6 +78,5 @@
font-size: 9px;
line-height: 13px;
- font-family: "Lucida Grande", sans-serif;
text-align: right;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -43,7 +43,6 @@
border-collapse: collapse;
width: 100%;
font-size: 10px;
- font-family: Lucida Grande, sans-serif;
}
.data-grid .data-container {
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -28,8 +28,6 @@
-webkit-justify-content: center;
-webkit-align-items: center;
- font-size: 11px;
- font-family: Lucida Grande, sans-serif;
text-align: center;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
color: rgb(60, 60, 60);
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -27,7 +27,6 @@
margin-top: -1px;
margin-bottom: -1px;
- font-family: "Lucida Grande", sans-serif;
font-size: 10px;
}
@@ -165,7 +164,6 @@
}
.details-section > .content > .group > .row.empty.syntax-highlighted {
- font-family: "Lucida Grande", sans-serif;
font-size: 10px;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -26,9 +26,6 @@
.find-banner {
border-bottom: 1px solid rgb(153, 153, 153);
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
-
position: absolute;
top: -22px;
left: 0;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -52,7 +52,6 @@
right: 36px;
border: none;
background-color: transparent;
- font-family: "Lucida Grande", sans-serif;
font-size: 20px;
color: rgb(12, 12, 12);
padding: 0 0 1px 5px;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -73,8 +73,6 @@
vertical-align: top;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
line-height: 20px;
height: 20px;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Main.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/Main.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Main.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -31,6 +31,9 @@
display: -webkit-flex;
-webkit-flex-direction: column;
+ font-family: -webkit-system-font, sans-serif;
+ font-size: 11px;
+
position: absolute;
top: 0;
left: 0;
@@ -164,14 +167,13 @@
-webkit-justify-content: center;
-webkit-align-items: center;
-
+
line-height: 20px;
white-space: pre-wrap;
text-align: center;
font-size: 18px;
font-weight: bold;
- font-family: Lucida Grande, sans-serif;
color: rgb(75%, 75%, 75%);
background-color: white;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -82,7 +82,6 @@
display: inline-block;
white-space: nowrap;
- font-family: "Lucida Grande", sans-serif;
font-size: 13px;
color: white;
@@ -104,9 +103,6 @@
outline: none;
list-style: none;
-
- font-family: "Lucida Grande", "Helvetica", sans-serif;
- font-size: 11px;
}
.navigation-sidebar-panel-content-tree-outline .children {
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDataGrid.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDataGrid.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ProbeSetDataGrid.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -89,8 +89,6 @@
.details-section.probe-set .data-grid th {
height: 21px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
background-image: linear-gradient(to bottom, rgb(248, 248, 248), rgb(226, 226, 226));
background-size: 100% 100% !important;
background-position: center !important;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RulesStyleDetailsPanel.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/RulesStyleDetailsPanel.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RulesStyleDetailsPanel.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -24,9 +24,6 @@
*/
.sidebar > .panel.details.css-style .rules .label {
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
color: rgb(60%, 60%, 60%);
text-shadow: white 0 1px 0;
@@ -43,7 +40,6 @@
.sidebar > .panel.details.css-style .rules .new-rule {
font-size: 12px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: black;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScopeBar.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ScopeBar.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScopeBar.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -24,7 +24,6 @@
*/
.scope-bar {
- font-family: Lucida Grande, sans-serif;
padding: 0 3px;
overflow: hidden;
}
@@ -35,7 +34,7 @@
padding: 0 8px 3px;
font-size: 11px;
font-weight: bold;
- line-height: 12px;
+ line-height: 11px;
color: rgb(46, 46, 46);
background-color: transparent;
border: 1px solid transparent;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -32,7 +32,8 @@
}
.popover .debugger-popover-content {
- font-family: monospace;
+ font-family: Menlo, monospace;
+ font-size: 11px;
white-space: pre;
}
@@ -72,6 +73,6 @@
width: 16px;
height: 16px;
content: -webkit-image-set(url(../Images/ColorIcon.png) 1x, url(../Images/colori...@2x.png) 2x);
-
+
-webkit-transform: translateY(1px);
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -34,9 +34,6 @@
.data-grid.timeline th {
height: 22px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
background-image: none;
background-color: white;
@@ -176,8 +173,6 @@
margin: 0;
outline: none;
list-style: none;
- font-family: "Lucida Grande", "Helvetica", sans-serif;
- font-size: 11px;
}
.timeline-data-grid-tree-outline .item {
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -60,7 +60,6 @@
top: 5px;
right: 5px;
font-size: 9px;
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
white-space: nowrap;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.css (170239 => 170240)
--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.css 2014-06-21 14:52:31 UTC (rev 170239)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.css 2014-06-21 14:55:48 UTC (rev 170240)
@@ -81,8 +81,6 @@
text-align: center;
line-height: 20px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: rgb(76, 76, 76);
@@ -106,8 +104,6 @@
overflow: hidden;
text-overflow: ellipsis;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
padding: 4px 9px;