Bug 149771

Summary: font-variant-* properties in @font-face declarations should be honored
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, dino, jonlee, koivisto, rniwa, ryanhaddad, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 151185    
Bug Blocks: 149779    
Attachments:
Description Flags
Patch
none
Patch
simon.fraser: review+
Patch for committing
buildbot: commit-queue-
Archive of layout-test-results from ews100 for mac-mavericks
none
Archive of layout-test-results from ews104 for mac-mavericks-wk2
none
Archive of layout-test-results from ews114 for mac-yosemite
none
Patch for committing none

Description Myles C. Maxfield 2015-10-02 16:53:11 PDT
Currently, they are ignored.
Comment 1 Radar WebKit Bug Importer 2015-10-02 17:17:08 PDT
<rdar://problem/22959887>
Comment 2 Myles C. Maxfield 2015-11-01 21:56:03 PST
Created attachment 264552 [details]
Patch
Comment 3 Myles C. Maxfield 2015-11-01 21:57:53 PST
Comment on attachment 264552 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264552&action=review

> Source/WebCore/ChangeLog:21
> +        Tests: css3/font-feature-settings-font-face-rendering.html

I need a test to make sure these new values can be correctly overriden.

> Source/WebCore/platform/graphics/FontCascade.cpp:598
> +    // FIXME: @font-face features should also cause this to be complex.

Link to https://bugs.webkit.org/show_bug.cgi?id=150791
Comment 4 Myles C. Maxfield 2015-11-01 21:58:37 PST
Comment on attachment 264552 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264552&action=review

> LayoutTests/css3/font-feature-settings-font-face-rendering.html:1
> +<!DOCTYPE html>

This test might be flakey.
Comment 5 Myles C. Maxfield 2015-11-02 01:51:06 PST
Created attachment 264568 [details]
Patch
Comment 6 Myles C. Maxfield 2015-11-03 00:33:31 PST
Comment on attachment 264568 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264568&action=review

> Source/WebCore/css/CSSFontFace.h:130
> +    FontVariantSettings m_variantSettings;

Uninitialized.
Comment 7 Myles C. Maxfield 2015-11-03 01:00:41 PST
Created attachment 264671 [details]
Patch for committing
Comment 8 Build Bot 2015-11-03 01:44:08 PST
Comment on attachment 264671 [details]
Patch for committing

Attachment 264671 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/376063

Number of test failures exceeded the failure limit.
Comment 9 Build Bot 2015-11-03 01:44:11 PST
Created attachment 264673 [details]
Archive of layout-test-results from ews100 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews100  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 10 Build Bot 2015-11-03 01:46:49 PST
Comment on attachment 264671 [details]
Patch for committing

Attachment 264671 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/376069

Number of test failures exceeded the failure limit.
Comment 11 Build Bot 2015-11-03 01:46:52 PST
Created attachment 264675 [details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 12 Build Bot 2015-11-03 03:34:02 PST
Comment on attachment 264671 [details]
Patch for committing

Attachment 264671 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/376444

Number of test failures exceeded the failure limit.
Comment 13 Build Bot 2015-11-03 03:34:06 PST
Created attachment 264684 [details]
Archive of layout-test-results from ews114 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews114  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 14 Myles C. Maxfield 2015-11-03 10:41:08 PST
Comment on attachment 264671 [details]
Patch for committing

View in context: https://bugs.webkit.org/attachment.cgi?id=264671&action=review

> Source/WebCore/platform/graphics/FontCascade.cpp:-94
> -FontCascade::CodePath FontCascade::s_codePath = Auto;

Whoops.
Comment 15 Myles C. Maxfield 2015-11-03 11:01:38 PST
Created attachment 264697 [details]
Patch for committing
Comment 16 WebKit Commit Bot 2015-11-03 12:32:27 PST
Comment on attachment 264697 [details]
Patch for committing

Clearing flags on attachment: 264697

Committed r191968: <http://trac.webkit.org/changeset/191968>
Comment 17 Ryan Haddad 2015-11-03 15:38:37 PST
Skipped these tests on win with r191986.