Bug 1317445 - Enable support for the 'font-display' descriptor in @font-face rules. r=dbaron
authorJonathan Kew <jkew@mozilla.com>
Thu, 05 Oct 2017 10:00:59 +0200
changeset 384667 b47b7fed9767a85e721f86ca28ff64c27feed9b3
parent 384666 f02f92a497027d957a9cc23bbe681bcc34a13549
child 384668 10ca1d0023d72a15fff4dfd968c44697800da521
push id32634
push userkwierso@gmail.com
push dateFri, 06 Oct 2017 19:55:44 +0000
treeherdermozilla-central@2d7b8b5dd174 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1317445
milestone58.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 1317445 - Enable support for the 'font-display' descriptor in @font-face rules. r=dbaron
layout/reftests/font-face/reftest.list
modules/libpref/init/all.js
--- a/layout/reftests/font-face/reftest.list
+++ b/layout/reftests/font-face/reftest.list
@@ -176,19 +176,19 @@ HTTP(..) == reflow-sanity-1.html reflow-
 HTTP(..) == reflow-sanity-1-data.html reflow-sanity-1-ref.html
 HTTP(..) == reflow-sanity-1.html reflow-sanity-1-data.html
 HTTP(..) == reflow-sanity-delay-1a.html reflow-sanity-1-ref.html
 HTTP(..) == reflow-sanity-delay-1b.html reflow-sanity-1-ref.html
 HTTP(..) == reflow-sanity-delay-1c.html reflow-sanity-1-ref.html
 HTTP(..) == reflow-sanity-delay-1-metrics.html reflow-sanity-1-ref.html
 
 # font-display
-skip-if(/^Linux\x20i686/.test(http.oscpu)) pref(layout.css.font-display.enabled,true) HTTP(..) == font-display-1.html font-display-1-ref.html # normal font load (~500ms)
+skip-if(/^Linux\x20i686/.test(http.oscpu)) HTTP(..) == font-display-1.html font-display-1-ref.html # normal font load (~500ms)
 # ^ disabled due to intermittents due to timing issues -- Bug 1238222
-pref(layout.css.font-display.enabled,true) fuzzy-if(OSX==1010,3,5) HTTP(..) == font-display-2.html font-display-2-ref.html # font load takes 4500ms
+fuzzy-if(OSX==1010,3,5) HTTP(..) == font-display-2.html font-display-2-ref.html # font load takes 4500ms
 
 # Testing hack for Meiryo
 == meiryo-en.html meiryo-ja.html
 == meiryo-en-bold.html meiryo-ja-bold.html
 == meiryo-en-italic.html meiryo-ja-italic.html
 == meiryo-en-oblique.html meiryo-ja-oblique.html
 == meiryo-en-bolditalic.html meiryo-ja-bolditalic.html
 != meiryo-en-bold.html meiryo-en.html
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2970,17 +2970,17 @@ pref("layout.css.text-justify.enabled", 
 // Is support for CSS "float: inline-{start,end}" and
 // "clear: inline-{start,end}" enabled?
 pref("layout.css.float-logical-values.enabled", true);
 
 // Is support for the CSS4 image-orientation property enabled?
 pref("layout.css.image-orientation.enabled", true);
 
 // Is support for the font-display @font-face descriptor enabled?
-pref("layout.css.font-display.enabled", false);
+pref("layout.css.font-display.enabled", true);
 
 // Is support for variation fonts enabled?
 pref("layout.css.font-variations.enabled", false);
 
 // Is support for the frames() timing function enabled?
 #ifdef RELEASE_OR_BETA
 pref("layout.css.frames-timing.enabled", false);
 #else