Skip to content

Commit 77abf8f

Browse files
committed
remove iframe limitation
1 parent f50720f commit 77abf8f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="http://zumerlab.github.io/snapdom">
3-
<img src="https://raw.githubusercontent.com/zumerlab/snapdom/main/docs/assets/newhero.png" width="70%">
3+
<img src="https://raw.githubusercontent.com/zumerlab/snapdom/main/docs/assets/newhero.png" width="80%">
44
</a>
55
</p>
66

@@ -310,7 +310,7 @@ You can control how they are cleared between captures using the `cache` option:
310310
311311
| Mode | Description |
312312
| ----------- | --------------------------------------------------------------------------- |
313-
| `"disabled"`| No cache: clears absolutely everything on every capture |
313+
| `"disabled"`| No cache |
314314
| `"soft"` | Clears session caches (`styleMap`, `nodeMap`, `styleCache`) _(default)_ |
315315
| `"auto"` | Minimal cleanup: only clears transient maps |
316316
| `"full"` | Keeps all caches (nothing is cleared, maximum performance) |
@@ -331,7 +331,6 @@ await snapdom.toPng(el, { cache: 'disabled' });
331331
## Limitations
332332
333333
* External images should be CORS-accessible (use `useProxy` option for handling CORS denied)
334-
* Iframes are not supported
335334
* When WebP format is used on Safari, it will fallback to PNG rendering.
336335
* `@font-face` CSS rule is well supported, but if need to use JS `FontFace()`, see this workaround [`#43`](https://github.com/zumerlab/snapdom/issues/43)
337336

0 commit comments

Comments
 (0)