ladybird/Tests/LibWeb/Text/expected/CSSOMView/getClientRects-in-detached-document.txt
Andreas Kling 1e7b17f150 LibWeb: Don't crash on getClientRects() in document without navigable
I previously believed there was no way a detached document should have
layout information, but it turns out there is a way: getComputedStyle().

So we need to account for cases where we have a layout node, but no
navigable, since that is a state we can get into at this moment.

Fixes #354
2024-08-05 14:56:04 +02:00

3 lines
70 B
Text

[object CSSStyleDeclaration]
[object DOMRectList]
PASS (didn't crash)