RESOLVED FIXED Bug 163374
[macOS] [iOS] Disable variation fonts on macOS El Capitan and iOS 9
https://bugs.webkit.org/show_bug.cgi?id=163374
Summary [macOS] [iOS] Disable variation fonts on macOS El Capitan and iOS 9
Myles C. Maxfield
Reported 2016-10-12 19:08:50 PDT
[macOS] [iOS] Disable variation fonts on macOS El Capitan and iOS 9
Attachments
Patch (44.14 KB, patch)
2016-10-12 19:19 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews102 for mac-yosemite (1.05 MB, application/zip)
2016-10-12 20:36 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-yosemite-wk2 (1.24 MB, application/zip)
2016-10-12 20:41 PDT, Build Bot
no flags
Archive of layout-test-results from ews116 for mac-yosemite (1.77 MB, application/zip)
2016-10-12 20:47 PDT, Build Bot
no flags
Archive of layout-test-results from ews122 for ios-simulator-wk2 (7.49 MB, application/zip)
2016-10-12 21:06 PDT, Build Bot
no flags
Patch (44.16 KB, patch)
2016-10-12 21:20 PDT, Myles C. Maxfield
darin: review+
Patch for committing (50.77 KB, patch)
2016-10-17 16:46 PDT, Myles C. Maxfield
no flags
Patch for committing (49.36 KB, patch)
2016-10-17 16:51 PDT, Myles C. Maxfield
buildbot: commit-queue-
Archive of layout-test-results from ews122 for ios-simulator-wk2 (6.78 MB, application/zip)
2016-10-17 18:39 PDT, Build Bot
no flags
Patch for committing (53.24 KB, patch)
2016-10-18 14:39 PDT, Myles C. Maxfield
no flags
Patch for committing (50.36 KB, patch)
2016-10-18 14:44 PDT, Myles C. Maxfield
buildbot: commit-queue-
Archive of layout-test-results from ews122 for ios-simulator-wk2 (deleted)
2016-10-18 16:34 PDT, Build Bot
no flags
Patch for committing (50.38 KB, patch)
2016-10-18 17:01 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2016-10-12 19:19:58 PDT
Simon Fraser (smfr)
Comment 2 2016-10-12 19:29:24 PDT
Comment on attachment 291441 [details] Patch Do we actually want the CSS properties to disappear on earlier OSes, or do we just want them to be no-ops?
Myles C. Maxfield
Comment 3 2016-10-12 19:33:49 PDT
(In reply to comment #2) > Comment on attachment 291441 [details] > Patch > > Do we actually want the CSS properties to disappear on earlier OSes, or do > we just want them to be no-ops? We don't want @supports to lie.
Myles C. Maxfield
Comment 4 2016-10-12 19:51:45 PDT
(In reply to comment #3) > (In reply to comment #2) > > Comment on attachment 291441 [details] > > Patch > > > > Do we actually want the CSS properties to disappear on earlier OSes, or do > > we just want them to be no-ops? > > We don't want @supports to lie. For that same reason, @supports also shouldn't lie when the runtime switch is disabled, right? Now that we have a compile time switch and the runtime switch is on by default, do we even need the runtime switch anymore?
Build Bot
Comment 5 2016-10-12 20:36:17 PDT
Comment on attachment 291441 [details] Patch Attachment 291441 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2274270 New failing tests: fast/text/variations/advances.html animations/font-variations/font-variation-settings-unlike.html animations/font-variations/font-variation-settings.html fast/text/variations/getComputedStyle.html
Build Bot
Comment 6 2016-10-12 20:36:21 PDT
Created attachment 291447 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 7 2016-10-12 20:41:00 PDT
Comment on attachment 291441 [details] Patch Attachment 291441 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2274279 New failing tests: fast/text/variations/advances.html animations/font-variations/font-variation-settings-unlike.html animations/font-variations/font-variation-settings.html fast/text/variations/getComputedStyle.html
Build Bot
Comment 8 2016-10-12 20:41:04 PDT
Created attachment 291449 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 9 2016-10-12 20:47:01 PDT
Comment on attachment 291441 [details] Patch Attachment 291441 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2274293 New failing tests: fast/text/variations/advances.html animations/font-variations/font-variation-settings-unlike.html animations/font-variations/font-variation-settings.html fast/text/variations/getComputedStyle.html
Build Bot
Comment 10 2016-10-12 20:47:04 PDT
Created attachment 291450 [details] Archive of layout-test-results from ews116 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 11 2016-10-12 21:06:38 PDT
Comment on attachment 291441 [details] Patch Attachment 291441 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2274299 New failing tests: media/controls/ipad/close-page-with-picture-in-picture-video-assertion-failure.html
Build Bot
Comment 12 2016-10-12 21:06:42 PDT
Created attachment 291451 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 13 2016-10-12 21:20:59 PDT
Alex Christensen
Comment 14 2016-10-13 08:38:14 PDT
Comment on attachment 291453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291453&action=review > Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:211 > +ENABLE_VARIATION_FONTS_macosx_101300 = ENABLE_VARIATION_FONTS; It would be nice if this could default to enabled except for old OSes so we won't accidentally forget to change this when we start to build for 10.14
Alex Christensen
Comment 15 2016-10-13 08:38:19 PDT
View in context: https://bugs.webkit.org/attachment.cgi?id=291453&action=review > Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:211 > +ENABLE_VARIATION_FONTS_macosx_101300 = ENABLE_VARIATION_FONTS; It would be nice if this could default to enabled except for old OSes so we won't accidentally forget to change this when we start to build for 10.14
Darin Adler
Comment 16 2016-10-13 12:35:02 PDT
Comment on attachment 291453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291453&action=review >> Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:211 >> +ENABLE_VARIATION_FONTS_macosx_101300 = ENABLE_VARIATION_FONTS; > > It would be nice if this could default to enabled except for old OSes so we won't accidentally forget to change this when we start to build for 10.14 Seems critical, in fact, that old versions are listed, not new versions. Is there some reason we can’t easily do that? > LayoutTests/platform/ios-simulator/TestExpectations:2710 > +# Font variations are not implemented on iOS 9. > +fast/text/variations [ Pass Failure ImageOnlyFailure ] > +animations/font-variations [ Pass Failure ImageOnlyFailure ] The expectations in this file aren’t specific to iOS 9, so that comment is confusing.
Darin Adler
Comment 17 2016-10-17 10:51:56 PDT
Comment on attachment 291453 [details] Patch Myles, can you find a way to do this that enumerates the old versions of macOS instead of the new versions?
Myles C. Maxfield
Comment 18 2016-10-17 16:26:43 PDT
(In reply to comment #16) > Comment on attachment 291453 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=291453&action=review > > >> Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:211 > >> +ENABLE_VARIATION_FONTS_macosx_101300 = ENABLE_VARIATION_FONTS; > > > > It would be nice if this could default to enabled except for old OSes so we won't accidentally forget to change this when we start to build for 10.14 > > Seems critical, in fact, that old versions are listed, not new versions. Is > there some reason we can’t easily do that? > > > LayoutTests/platform/ios-simulator/TestExpectations:2710 > > +# Font variations are not implemented on iOS 9. > > +fast/text/variations [ Pass Failure ImageOnlyFailure ] > > +animations/font-variations [ Pass Failure ImageOnlyFailure ] > > The expectations in this file aren’t specific to iOS 9, so that comment is > confusing. I don't believe there is currently a mechanism for discriminating between iOS 9 and iOS 10 in TestExpectations.
Myles C. Maxfield
Comment 19 2016-10-17 16:46:51 PDT
Created attachment 291897 [details] Patch for committing
Myles C. Maxfield
Comment 20 2016-10-17 16:51:49 PDT
Created attachment 291898 [details] Patch for committing
Build Bot
Comment 21 2016-10-17 18:39:25 PDT
Comment on attachment 291898 [details] Patch for committing Attachment 291898 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2307909 New failing tests: animations/font-variations/font-variation-settings-unlike.html animations/font-variations/font-variation-settings.html animations/font-variations/font-variation-settings-order.html fast/text/variations/getComputedStyle.html
Build Bot
Comment 22 2016-10-17 18:39:29 PDT
Created attachment 291909 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 23 2016-10-18 14:39:01 PDT
Created attachment 291985 [details] Patch for committing
Myles C. Maxfield
Comment 24 2016-10-18 14:44:13 PDT
Created attachment 291987 [details] Patch for committing
Build Bot
Comment 25 2016-10-18 16:34:12 PDT
Comment on attachment 291987 [details] Patch for committing Attachment 291987 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2318192 New failing tests: animations/font-variations/font-variation-settings.html fast/text/variations/getComputedStyle.html
Build Bot
Comment 26 2016-10-18 16:34:19 PDT
Created attachment 292001 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 27 2016-10-18 17:01:16 PDT
Created attachment 292005 [details] Patch for committing
WebKit Commit Bot
Comment 28 2016-10-19 12:43:33 PDT
Comment on attachment 292005 [details] Patch for committing Clearing flags on attachment: 292005 Committed r207557: <http://trac.webkit.org/changeset/207557>
Ryan Haddad
Comment 29 2016-10-19 14:16:50 PDT
Reverted r207557 for reason: This change caused animations/font-variations tests to time out on pre-Sierra Macs. Committed r207568: <http://trac.webkit.org/changeset/207568>
Myles C. Maxfield
Comment 30 2016-10-20 16:08:46 PDT
Note You need to log in before you can comment on or make changes to this bug.