Bug 1454883: Let inspector know that font-stretch supports percentages. r=xidorn
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sun, 22 Apr 2018 20:56:31 +0200
changeset 468644 cb740fda090640ff39e7844273fca3f15a9df0c9
parent 468643 46996fb339f8990b708598813e66394330baa385
child 468645 728f77ddf74e8c3e4bed6e1794fe73229f209d0d
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxidorn
bugs1454883
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1454883: Let inspector know that font-stretch supports percentages. r=xidorn MozReview-Commit-ID: 3gGZ4AX5eVO
layout/style/nsCSSPropList.h
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -1261,17 +1261,17 @@ CSS_PROP_(
     nullptr)
 #endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
 CSS_PROP_(
     font-stretch,
     font_stretch,
     FontStretch,
     0,
     "",
-    VARIANT_HK | VARIANT_SYSFONT,
+    VARIANT_HK | VARIANT_SYSFONT | VARIANT_PERCENT,
     kFontStretchKTable)
 CSS_PROP_(
     font-style,
     font_style,
     FontStyle,
     0,
     "",
     VARIANT_HK | VARIANT_SYSFONT,