Bug 52593

Summary: @font-face used in SVG-as-image seems not to work
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, hyatt, mitz
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://annevankesteren.nl/
Bug Depends on:    
Bug Blocks: 15443    

Description Adam Roben (:aroben) 2011-01-17 12:31:35 PST
To reproduce:

1. Open http://annevankesteren.nl/img/daddy
2. In another tab, open data:text/html,<img src=http://annevankesteren.nl/img/daddy>

Notice that the text used in the image is not the same in both tabs. The former tab gets the correct font (loaded via @font-face), while the latter does not.
Comment 1 Adam Roben (:aroben) 2011-01-17 12:32:09 PST
<rdar://problem/8874554>
Comment 2 Ahmad Saleem 2022-09-12 14:13:32 PDT
I am not able to reproduce this bug in Safari 16 on macOS 12.5.1 and both are showing same text and only 3 px border / margin might be present with "data:text/html,<img%20src=http://annevankesteren.nl/img/daddy>" due to quirk mode, I believe but else it is working and matching other browsers (Chrome Canary 107 and Firefox Nightly 106).

I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Please reopen if it is reproduce with another test case or example. Thanks!