Blame view

lib/jsdom/living/nodes/HTMLLegendElement-impl.js 310 Bytes
858f2bdf5   Boyan Georgiev   fixes
1
2
3
4
5
6
7
8
9
10
11
12
13
  "use strict";
  const HTMLElementImpl = require("./HTMLElement-impl").implementation;
  const { formOwner } = require("../helpers/form-controls");
  
  class HTMLLegendElementImpl extends HTMLElementImpl {
    get form() {
      return formOwner(this);
    }
  }
  
  module.exports = {
    implementation: HTMLLegendElementImpl
  };