aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js')
-rw-r--r--vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js b/vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js
deleted file mode 100644
index e4d23dc..0000000
--- a/vanilla/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-const HTMLElementImpl = require("./HTMLElement-impl").implementation;
-const { formOwner } = require("../helpers/form-controls");
-const { HTML_NS } = require("../helpers/namespaces");
-
-class HTMLLegendElementImpl extends HTMLElementImpl {
- get form() {
- const parent = this.parentNode;
- if (parent && parent._localName === "fieldset" && parent.namespaceURI === HTML_NS) {
- return formOwner(parent);
- }
- return null;
- }
-}
-
-module.exports = {
- implementation: HTMLLegendElementImpl
-};