aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web')
-rw-r--r--files/fr/web/api/document/elementfrompoint/index.html (renamed from files/fr/web/api/documentorshadowroot/elementfrompoint/index.html)4
-rw-r--r--files/fr/web/api/document/elementsfrompoint/index.html (renamed from files/fr/web/api/documentorshadowroot/elementsfrompoint/index.html)3
-rw-r--r--files/fr/web/api/documentorshadowroot/index.html78
3 files changed, 4 insertions, 81 deletions
diff --git a/files/fr/web/api/documentorshadowroot/elementfrompoint/index.html b/files/fr/web/api/document/elementfrompoint/index.html
index 142ab83b27..8da838500d 100644
--- a/files/fr/web/api/documentorshadowroot/elementfrompoint/index.html
+++ b/files/fr/web/api/document/elementfrompoint/index.html
@@ -1,11 +1,11 @@
---
title: document.elementFromPoint
-slug: Web/API/DocumentOrShadowRoot/elementFromPoint
+slug: Web/API/Document/elementFromPoint
tags:
- Référence_du_DOM_Gecko
translation_of: Web/API/DocumentOrShadowRoot/elementFromPoint
translation_of_original: Web/API/Document/elementFromPoint
-original_slug: Web/API/Document/elementFromPoint
+original_slug: Web/API/DocumentOrShadowRoot/elementFromPoint
---
<p>{{ ApiRef() }}</p>
<h3 id="R.C3.A9sum.C3.A9" name="R.C3.A9sum.C3.A9">Résumé</h3>
diff --git a/files/fr/web/api/documentorshadowroot/elementsfrompoint/index.html b/files/fr/web/api/document/elementsfrompoint/index.html
index c3f8c30d22..c0fb412fc8 100644
--- a/files/fr/web/api/documentorshadowroot/elementsfrompoint/index.html
+++ b/files/fr/web/api/document/elementsfrompoint/index.html
@@ -1,6 +1,6 @@
---
title: DocumentOrShadowRoot.elementsFromPoint()
-slug: Web/API/DocumentOrShadowRoot/elementsFromPoint
+slug: Web/API/Document/elementsFromPoint
tags:
- API
- Document
@@ -12,6 +12,7 @@ tags:
- elementsFromPoint()
- shadow dom
translation_of: Web/API/DocumentOrShadowRoot/elementsFromPoint
+original_slug: Web/API/DocumentOrShadowRoot/elementsFromPoint
---
<div>{{APIRef("DOM")}}{{SeeCompatTable}}</div>
diff --git a/files/fr/web/api/documentorshadowroot/index.html b/files/fr/web/api/documentorshadowroot/index.html
deleted file mode 100644
index d8dd814377..0000000000
--- a/files/fr/web/api/documentorshadowroot/index.html
+++ /dev/null
@@ -1,78 +0,0 @@
----
-title: DocumentOrShadowRoot
-slug: Web/API/DocumentOrShadowRoot
-tags:
- - API
- - Document
- - DocumentOrShadowRoot
- - Interface
- - Reference
- - ShadowRoot
- - shadow dom
-translation_of: Web/API/DocumentOrShadowRoot
----
-<div>{{APIRef("Web Components")}}</div>
-
-<p><span class="seoSummary">Le <strong><code>DocumentOrShadowRoot</code></strong> mélange de l'<a href="/fr/docs/Web/Web_Components/Using_shadow_DOM">API Shadow DOM</a> qui fournit des API qui sont partagées entre les documents et les racines fantômes. Les fonctionnalités suivantes sont incluses dans {{DOMxRef("Document")}} et {{DOMxRef("ShadowRoot")}}.</span></p>
-
-<h2 id="Propriétés">Propriétés</h2>
-
-<dl>
- <dt>{{DOMxRef("DocumentOrShadowRoot.activeElement")}}{{ReadOnlyInline}}</dt>
- <dd>Renvoie l'{{DOMxRef('Element')}} dans l'arbre <code>shadow</code> qui a le focus.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.fullscreenElement")}}{{ReadOnlyInline}}</dt>
- <dd>Renvoie l'{{DOMxRef('Element')}} qui est actuellement en mode plein écran pour ce document.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.pointerLockElement")}} {{Experimental_Inline}}{{ReadOnlyInline}}</dt>
- <dd>Renvoie l'élément défini comme cible pour les événements de la souris lorsque le pointeur est verrouillé. Il renvoie <code>null</code> si le verrouillage est en cours, si le pointeur est déverrouillé ou si la cible se trouve dans un autre document.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.styleSheets")}}{{ReadOnlyInline}}</dt>
- <dd>Renvoie une {{DOMxRef('StyleSheetList')}} d'objets {{DOMxRef('CSSStyleSheet')}} pour les feuilles de style explicitement liées ou intégrées dans un document.</dd>
-</dl>
-
-<h2 id="Méthodes">Méthodes</h2>
-
-<dl>
- <dt>{{DOMxRef("DocumentOrShadowRoot.caretPositionFromPoint()")}}</dt>
- <dd>Renvoie un objet {{DOMxRef('CaretPosition')}} contenant le noeud DOM contenant le signe d'insertion, et le décalage du caractère d'insertion dans ce noeud.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.elementFromPoint()")}}</dt>
- <dd>Renvoie l'élément le plus élevé aux coordonnées spécifiées.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.elementsFromPoint()")}}</dt>
- <dd>Renvoie un tableau de tous les éléments aux coordonnées spécifiées.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.getSelection()")}}</dt>
- <dd>Renvoie un objet {{DOMxRef('Selection')}} représentant la plage de texte sélectionnée par l'utilisateur, ou la position actuelle du curseur.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.nodeFromPoint()")}} {{non-standard_inline}}</dt>
- <dd>Renvoie le nœud supérieur aux coordonnées spécifiées.</dd>
- <dt>{{DOMxRef("DocumentOrShadowRoot.nodesFromPoint()")}} {{non-standard_inline}}</dt>
- <dd>Renvoie un tableau de tous les nœuds aux coordonnées spécifiées.</dd>
-</dl>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('Shadow DOM','#extensions-to-the-documentorshadowroot-mixin','DocumentOrShadowRoot')}}</td>
- <td>{{Spec2('Shadow DOM')}}</td>
- <td>Implémentation de Shadow DOM.</td>
- </tr>
- <tr>
- <td>{{SpecName('DOM WHATWG','#mixin-documentorshadowroot','DocumentOrShadowRoot')}}</td>
- <td>{{Spec2('DOM WHATWG')}}</td>
- <td>Définition initiale.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-<div class="hidden">Le tableau de compatibilité de cette page est généré à partir de données structurées. Si vous souhaitez contribuer aux données, veuillez consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et envoyez-nous une <em>pull request</em>.</div>
-
-<p>{{Compat("api.DocumentOrShadowRoot")}}</p>
-
-<p>[1] Les fonctionnalités de cette interface sont toujours implémentées sur l'objet {{DOMxRef("Document")}}.</p>