Bug 52593 - @font-face used in SVG-as-image seems not to work
Summary: @font-face used in SVG-as-image seems not to work
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://annevankesteren.nl/
Keywords: InRadar
Depends on:
Blocks: 15443
  Show dependency treegraph
 
Reported: 2011-01-17 12:31 PST by Adam Roben (:aroben)
Modified: 2022-09-12 14:13 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!