Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#664@patch: Adds the property window.HTMLSelectElement, so that it wi… #676

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/happy-dom/src/window/IWindow.ts
Expand Up @@ -13,6 +13,7 @@ import HTMLFormElement from '../nodes/html-form-element/HTMLFormElement';
import HTMLElement from '../nodes/html-element/HTMLElement';
import HTMLUnknownElement from '../nodes/html-unknown-element/HTMLUnknownElement';
import HTMLInputElement from '../nodes/html-input-element/HTMLInputElement';
import HTMLSelectElement from '../nodes/html-input-element/HTMLSelectElement';
import HTMLTextAreaElement from '../nodes/html-text-area-element/HTMLTextAreaElement';
import HTMLLinkElement from '../nodes/html-link-element/HTMLLinkElement';
import HTMLStyleElement from '../nodes/html-style-element/HTMLStyleElement';
Expand Down Expand Up @@ -128,6 +129,7 @@ export default interface IWindow extends IEventTarget, NodeJS.Global {
readonly HTMLTemplateElement: typeof HTMLTemplateElement;
readonly HTMLFormElement: typeof HTMLFormElement;
readonly HTMLInputElement: typeof HTMLInputElement;
readonly HTMLSelectElement: typeof HTMLSelectElement;
readonly HTMLTextAreaElement: typeof HTMLTextAreaElement;
readonly HTMLImageElement: typeof HTMLImageElement;
readonly HTMLScriptElement: typeof HTMLScriptElement;
Expand Down
2 changes: 2 additions & 0 deletions packages/happy-dom/src/window/Window.ts
Expand Up @@ -14,6 +14,7 @@ import HTMLFormElement from '../nodes/html-form-element/HTMLFormElement';
import HTMLElement from '../nodes/html-element/HTMLElement';
import HTMLUnknownElement from '../nodes/html-unknown-element/HTMLUnknownElement';
import HTMLInputElement from '../nodes/html-input-element/HTMLInputElement';
import HTMLSelectElement from '../nodes/html-input-element/HTMLSelectElement';
import HTMLTextAreaElement from '../nodes/html-text-area-element/HTMLTextAreaElement';
import HTMLLinkElement from '../nodes/html-link-element/HTMLLinkElement';
import HTMLStyleElement from '../nodes/html-style-element/HTMLStyleElement';
Expand Down Expand Up @@ -168,6 +169,7 @@ export default class Window extends EventTarget implements IWindow {
public readonly HTMLTemplateElement = HTMLTemplateElement;
public readonly HTMLFormElement = HTMLFormElement;
public readonly HTMLInputElement = HTMLInputElement;
public readonly HTMLSelectElement = HTMLSelectElement;
public readonly HTMLTextAreaElement = HTMLTextAreaElement;
public readonly HTMLImageElement = HTMLImageElement;
public readonly HTMLScriptElement = HTMLScriptElement;
Expand Down