WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175845
Data URL fonts split in the middle of an alphabet cause random letters to disappear
https://bugs.webkit.org/show_bug.cgi?id=175845
Summary
Data URL fonts split in the middle of an alphabet cause random letters to dis...
Myles C. Maxfield
Reported
2017-08-22 13:21:27 PDT
Data URL fonts split in the middle of an alphabet cause random letters to disappear
Attachments
Patch
(226.26 KB, patch)
2017-08-22 14:22 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Patch
(226.12 KB, patch)
2017-08-22 14:33 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Patch
(226.13 KB, patch)
2017-08-22 14:39 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-elcapitan
(1.41 MB, application/zip)
2017-08-22 16:15 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews112 for mac-elcapitan
(2.17 MB, application/zip)
2017-08-22 16:38 PDT
,
Build Bot
no flags
Details
Patch
(405.50 KB, patch)
2017-12-12 16:58 PST
,
Myles C. Maxfield
bfulgham
: review+
Details
Formatted Diff
Diff
Patch for committing
(405.54 KB, patch)
2018-01-12 16:10 PST
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2017-08-22 14:22:27 PDT
Created
attachment 318798
[details]
Patch
Myles C. Maxfield
Comment 2
2017-08-22 14:33:25 PDT
Created
attachment 318800
[details]
Patch
Myles C. Maxfield
Comment 3
2017-08-22 14:39:48 PDT
Created
attachment 318801
[details]
Patch
Myles C. Maxfield
Comment 4
2017-08-22 14:41:07 PDT
<
rdar://problem/33996578
>
Build Bot
Comment 5
2017-08-22 16:15:07 PDT
Comment on
attachment 318801
[details]
Patch
Attachment 318801
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/4364218
New failing tests: fast/text/font-load-data-partitioned-alphabet.html
Build Bot
Comment 6
2017-08-22 16:15:09 PDT
Created
attachment 318818
[details]
Archive of layout-test-results from ews102 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 7
2017-08-22 16:38:06 PDT
Comment on
attachment 318801
[details]
Patch
Attachment 318801
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/4364295
New failing tests: fast/text/font-load-data-partitioned-alphabet.html
Build Bot
Comment 8
2017-08-22 16:38:08 PDT
Created
attachment 318823
[details]
Archive of layout-test-results from ews112 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Jon Lee
Comment 9
2017-11-16 16:38:40 PST
ping?
Myles C. Maxfield
Comment 10
2017-12-12 16:58:26 PST
Created
attachment 329180
[details]
Patch
Brent Fulgham
Comment 11
2018-01-11 11:10:38 PST
Comment on
attachment 329180
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=329180&action=review
Looks good, and the bots are happy. r=me
> Source/WebCore/css/CSSFontFaceSource.cpp:115 > + if (status() == Status::Pending && m_font && m_font->url().protocolIsData() && m_familyNameOrURI.length() < 1024 * 1024)
Is 1024 * 1024 selected for a specific reason? Should this be encoded as a constant of some kind to explain its meaning?
> Source/WebCore/platform/graphics/FontCascadeFonts.cpp:397 > + const auto& currentFamily = description.effectiveFamilyAt(i);
Could we be WTFMove-ing this currentFamily to the visit?
Myles C. Maxfield
Comment 12
2018-01-12 16:09:14 PST
Comment on
attachment 329180
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=329180&action=review
>> Source/WebCore/css/CSSFontFaceSource.cpp:115 >> + if (status() == Status::Pending && m_font && m_font->url().protocolIsData() && m_familyNameOrURI.length() < 1024 * 1024) > > Is 1024 * 1024 selected for a specific reason? Should this be encoded as a constant of some kind to explain its meaning?
WTF::MB
>> Source/WebCore/platform/graphics/FontCascadeFonts.cpp:397 >> + const auto& currentFamily = description.effectiveFamilyAt(i); > > Could we be WTFMove-ing this currentFamily to the visit?
No reason to move because the visitor uses references.
Myles C. Maxfield
Comment 13
2018-01-12 16:10:14 PST
Created
attachment 331248
[details]
Patch for committing
WebKit Commit Bot
Comment 14
2018-01-12 16:45:32 PST
Comment on
attachment 331248
[details]
Patch for committing Clearing flags on attachment: 331248 Committed
r226930
: <
https://trac.webkit.org/changeset/226930
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug