Title: [198750] trunk/Source/WebInspectorUI
Revision
198750
Author
nvasil...@apple.com
Date
2016-03-28 10:49:17 -0700 (Mon, 28 Mar 2016)

Log Message

Web Inspector: Add font-variant-numeric to CSS autocompletions
https://bugs.webkit.org/show_bug.cgi?id=155941
<rdar://problem/25381735>

Reviewed by Timothy Hatcher.

Also, remove -apple-system-monospaced-numbers.
`font-variant-numeric: tabular-nuns` should be used instead.

* UserInterface/Models/CSSKeywordCompletions.js:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (198749 => 198750)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-03-28 17:48:55 UTC (rev 198749)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-03-28 17:49:17 UTC (rev 198750)
@@ -1,3 +1,16 @@
+2016-03-28  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Add font-variant-numeric to CSS autocompletions
+        https://bugs.webkit.org/show_bug.cgi?id=155941
+        <rdar://problem/25381735>
+
+        Reviewed by Timothy Hatcher.
+
+        Also, remove -apple-system-monospaced-numbers.
+        `font-variant-numeric: tabular-nuns` should be used instead.
+
+        * UserInterface/Models/CSSKeywordCompletions.js:
+
 2016-03-28  Matt Baker  <mattba...@apple.com>
 
         REGRESSION (r195303): Web Inspector: Wrong indentation in the type coverage profiler popovers

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (198749 => 198750)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2016-03-28 17:48:55 UTC (rev 198749)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2016-03-28 17:49:17 UTC (rev 198750)
@@ -92,7 +92,7 @@
 WebInspector.CSSKeywordCompletions.InheritedProperties = [
     "azimuth", "border-collapse", "border-spacing", "caption-side", "clip-rule", "color", "color-interpolation",
     "color-interpolation-filters", "color-rendering", "cursor", "direction", "elevation", "empty-cells", "fill",
-    "fill-opacity", "fill-rule", "font", "font-family", "font-size", "font-style", "font-variant", "font-weight",
+    "fill-opacity", "fill-rule", "font", "font-family", "font-size", "font-style", "font-variant", "font-variant-numeric", "font-weight",
     "glyph-orientation-horizontal", "glyph-orientation-vertical", "hanging-punctuation", "image-rendering", "kerning", "letter-spacing",
     "line-height", "list-style", "list-style-image", "list-style-position", "list-style-type", "marker", "marker-end",
     "marker-mid", "marker-start", "orphans", "pitch", "pitch-range", "pointer-events", "quotes", "resize", "richness",
@@ -378,7 +378,7 @@
         "-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", "-apple-system", "-apple-system-monospaced-numbers",
+        "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",
@@ -487,7 +487,7 @@
     ],
     "font-family": [
         "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
-        "-apple-system", "-apple-system-monospaced-numbers", "-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",
@@ -580,6 +580,10 @@
     "font-variant": [
         "small-caps", "normal"
     ],
+    "font-variant-numeric": [
+        "normal", "ordinal", "slashed-zero", "lining-nums", "oldstyle-nums", "proportional-nums", "tabular-nums",
+        "diagonal-fractions", "stacked-fractions"
+    ],
     "vertical-align": [
         "baseline", "middle", "sub", "super", "text-top", "text-bottom", "top", "bottom", "-webkit-baseline-middle"
     ],
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to