Bug 52593
| Summary: | @font-face used in SVG-as-image seems not to work | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
| Component: | CSS | Assignee: | 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 | ||
Adam Roben (:aroben)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
<rdar://problem/8874554>
Ahmad Saleem
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!