Bug 146385 - REGRESSION (r186001): fast/text/han-generic-font-families.html always fails on Yosemite
Summary: REGRESSION (r186001): fast/text/han-generic-font-families.html always fails o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on: 146333
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-27 08:48 PDT by David Kilzer (:ddkilzer)
Modified: 2015-06-27 15:17 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.97 KB, patch)
2015-06-27 14:37 PDT, Myles C. Maxfield
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2015-06-27 08:48:03 PDT
fast/text/han-generic-font-families.html, which was added in r186001, always fails on Yosemite bots.

It appears that an unexpected font is being used in DumpRenderTree and WebKitTestRunner as loading the two test cases in Safari on bot192 works as expected (the images match):

open LayoutTests/fast/text/han-generic-font-families.html
open LayoutTests/platform/mac-yosemite/fast/text/han-generic-font-families-expected.html
Comment 1 David Kilzer (:ddkilzer) 2015-06-27 08:52:08 PDT
In other words, 'Heiti SC' and 'Heiti TC' are not being used to render the last two lines of the test.

The 'Songti SC' and 'Songti TC' fonts are being used as expected.
Comment 2 David Kilzer (:ddkilzer) 2015-06-27 08:55:25 PDT
Marked test as failing in r186027:  <http://trac.webkit.org/r186027>
Comment 3 Myles C. Maxfield 2015-06-27 13:08:54 PDT
Looking into this today.

(In reply to comment #2)
> Marked test as failing in r186027:  <http://trac.webkit.org/r186027>
Comment 4 Myles C. Maxfield 2015-06-27 14:37:12 PDT
Created attachment 255706 [details]
Patch
Comment 5 Myles C. Maxfield 2015-06-27 14:38:39 PDT
Committed r186034: <http://trac.webkit.org/changeset/186034>