diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/htmliframeelement/featurepolicy | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/htmliframeelement/featurepolicy')
-rw-r--r-- | files/fr/web/api/htmliframeelement/featurepolicy/index.md | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/files/fr/web/api/htmliframeelement/featurepolicy/index.md b/files/fr/web/api/htmliframeelement/featurepolicy/index.md index 54bcd1037e..f025e3546a 100644 --- a/files/fr/web/api/htmliframeelement/featurepolicy/index.md +++ b/files/fr/web/api/htmliframeelement/featurepolicy/index.md @@ -10,37 +10,24 @@ tags: - Property translation_of: Web/API/HTMLIFrameElement/featurePolicy --- -<div>{{APIRef("Feature Policy API")}}{{SeeCompatTable}}</div> +{{APIRef("Feature Policy API")}}{{SeeCompatTable}} -<p>La propriété en lecture seule <strong><code>featurePolicy</code></strong> de l'interface {{DOMxRef("HTMLIFrameElement")}} retourne l'interface {{DOMxRef("FeaturePolicy")}}, qui fournit une API simple pour consulter facilement les règles de fonctionnalités appliquées à un élément <code><iframe></code> spécifique.</p> +La propriété en lecture seule **`featurePolicy`** de l'interface {{DOMxRef("HTMLIFrameElement")}} retourne l'interface {{DOMxRef("FeaturePolicy")}}, qui fournit une API simple pour consulter facilement les règles de fonctionnalités appliquées à un élément `<iframe>` spécifique. -<h2 id="Syntaxe">Syntaxe</h2> +## Syntaxe -<pre class="syntaxbox">var policy = <em>HTMLIFrameElement</em>.featurePolicy</pre> + var policy = HTMLIFrameElement.featurePolicy -<h3 id="Valeur">Valeur</h3> +### Valeur -<p>Un objet <a href="/en-US/docs/Web/API/FeaturePolicy"><code>FeaturePolicy</code></a> pouvant être utilisé pour consulter les paramètres Feature Policy appliqués au cadre.</p> +Un objet [`FeaturePolicy`](/en-US/docs/Web/API/FeaturePolicy) pouvant être utilisé pour consulter les paramètres Feature Policy appliqués au cadre. -<h2 id="Spécification">Spécification</h2> +## Spécification -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName("Feature Policy")}}</td> - <td>{{Spec2("Feature Policy")}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> +| Spécification | État | Commentaire | +| ---------------------------------------- | ------------------------------------ | -------------------- | +| {{SpecName("Feature Policy")}} | {{Spec2("Feature Policy")}} | Définition initiale. | -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs - - -<p>{{Compat("api.HTMLIFrameElement.featurePolicy")}}</p> +{{Compat("api.HTMLIFrameElement.featurePolicy")}} |