Title: [185750] trunk/Source/WebInspectorUI
Revision
185750
Author
jon...@apple.com
Date
2015-06-19 09:58:14 -0700 (Fri, 19 Jun 2015)

Log Message

Update font and font-family keyword completions
https://bugs.webkit.org/show_bug.cgi?id=144558
<rdar://problem/20795292>

Reviewed by Timothy Hatcher.

* UserInterface/Models/CSSKeywordCompletions.js: Replace -webkit-system-font and
-apple-system-font with -apple-system, which is the recommended token for getting the
system font. Also add -title{1,2,3} for font, as they were missing, but already exist
in font-family.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (185749 => 185750)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-06-19 16:53:49 UTC (rev 185749)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-06-19 16:58:14 UTC (rev 185750)
@@ -1,3 +1,16 @@
+2015-06-19  Jon Lee  <jon...@apple.com>
+
+        Update font and font-family keyword completions
+        https://bugs.webkit.org/show_bug.cgi?id=144558
+        <rdar://problem/20795292>
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Models/CSSKeywordCompletions.js: Replace -webkit-system-font and
+        -apple-system-font with -apple-system, which is the recommended token for getting the
+        system font. Also add -title{1,2,3} for font, as they were missing, but already exist
+        in font-family.
+
 2015-06-19  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Avoid getOwnPropertyNames/Symbols on very large lists

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (185749 => 185750)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2015-06-19 16:53:49 UTC (rev 185749)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2015-06-19 16:58:14 UTC (rev 185750)
@@ -379,11 +379,11 @@
         "-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-font",
+        "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-apple-system",
         "-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"
+        "-apple-system-tall-body", "-apple-system-title1", "-apple-system-title2", "-apple-system-title3"
     ],
     "dominant-baseline": [
         "middle", "auto", "central", "text-before-edge", "text-after-edge", "ideographic", "alphabetic", "hanging",
@@ -479,7 +479,7 @@
     ],
     "font-family": [
         "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
-        "-webkit-system-font", "-apple-system-font", "-apple-system-headline", "-apple-system-body",
+        "-apple-system", "-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",
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to