Skip to content

Commit

Permalink
polyfill css media rule - this is a copy from QwikDev#614
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreAzevedoCoder committed Nov 3, 2024
1 parent b292a14 commit 8289faa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/web-worker/worker-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ export const createWindow = (
patchDocumentElementChild(win.HTMLBodyElement, env);
patchHTMLHtmlElement(win.HTMLHtmlElement, env);
createCSSStyleSheetConstructor(win, 'CSSStyleSheet');
createCSSStyleSheetConstructor(win, 'CSSMediaRule');

definePrototypeNodeType(win.Comment, 8);
definePrototypeNodeType(win.DocumentType, 10);
Expand Down

0 comments on commit 8289faa

Please sign in to comment.