Bug 146894 - REGRESSION (r177876): store.apple.com profile and cart icons are missing
Summary: REGRESSION (r177876): store.apple.com profile and cart icons are missing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 146943
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-12 13:49 PDT by Antti Koivisto
Modified: 2015-07-14 17:24 PDT (History)
4 users (show)

See Also:


Attachments
patch (36.04 KB, patch)
2015-07-12 15:02 PDT, Antti Koivisto
mmaxfield: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2015-07-12 13:49:56 PDT
Two competing @font-face rules with only one having the correct glyphs.
Comment 1 Antti Koivisto 2015-07-12 13:50:17 PDT
rdar://problem/21736723
Comment 2 Antti Koivisto 2015-07-12 15:02:26 PDT
Created attachment 256683 [details]
patch
Comment 3 Alexey Proskuryakov 2015-07-12 15:34:11 PDT
Comment on attachment 256683 [details]
patch

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

> LayoutTests/fast/css/font-face-multiple-missing-glyphs-expected.html:7
> +    font-family:AppleIcons;

Is this available under an appropriate license?
Comment 4 Antti Koivisto 2015-07-12 15:41:16 PDT
> Is this available under an appropriate license?

No idea.
Comment 5 Myles C. Maxfield 2015-07-13 13:48:15 PDT
Comment on attachment 256683 [details]
patch

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

r=me

> Source/WebCore/platform/graphics/FontCascadeFonts.cpp:339
> +        ++fallbackIndex;

I don't understand. It doesn't look like there is a "continue" anywhere in the loop which will cause this to be skipped. Why did you move this to the bottom of the loop?

>> LayoutTests/fast/css/font-face-multiple-missing-glyphs-expected.html:7
>> +    font-family:AppleIcons;
> 
> Is this available under an appropriate license?

You can author your own font in SVG for this test. Should be straightforward.
Comment 6 Myles C. Maxfield 2015-07-14 12:52:00 PDT
Committed r186809: <http://trac.webkit.org/changeset/186809>
Comment 7 WebKit Commit Bot 2015-07-14 14:16:04 PDT
Re-opened since this is blocked by bug 146943
Comment 8 Mark Lam 2015-07-14 14:23:35 PDT
Rolled out in http://trac.webkit.org/changeset/186816.
Comment 9 Antti Koivisto 2015-07-14 16:18:58 PDT
Thanks for updating the test case but you probably didn't want to include the SimpleLineLayout.cpp change.
Comment 10 Myles C. Maxfield 2015-07-14 16:32:08 PDT
(In reply to comment #9)
> Thanks for updating the test case but you probably didn't want to include
> the SimpleLineLayout.cpp change.

hahah .... whoops. :(
Comment 11 Myles C. Maxfield 2015-07-14 17:24:53 PDT
Committed r186827: <http://trac.webkit.org/changeset/186827>