mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00

In some cases a document may lack an associated window - to fix this for now we just return false but perhaps there are some media queries we should still attempt to resolve.
6 lines
156 B
HTML
6 lines
156 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<script>
|
|
const dom = new DOMParser().parseFromString(`<style media="width < 50px">`, "text/html");
|
|
</script>
|
|
</html>
|