focus-without-user-activation: Add missing HTML closing quote in exam… · w3c/webappsec-permissions-policy@b5dde2c
silverwind
·
2025-05-07
·
via Recent Commits to webappsec-permissions-policy:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -45,7 +45,7 @@ has been triggered by user activation.
|
45 | 45 | |
46 | 46 | To disable the feature for a specific `<iframe>`, the `allow` attribute can be used: |
47 | 47 | ```HTTP |
48 | | -<iframe src="..." allow="focus-without-user-activation 'self'></iframe> |
| 48 | +<iframe src="..." allow="focus-without-user-activation 'self'"></iframe> |
49 | 49 | ``` |
50 | 50 | which would block use of focus (without activation) for the document inside the `<iframe>` |
51 | 51 | unless it is a same-origin document. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。