mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05:00
89ba7246dd
While it's possible to getComputedStyle() on an unconnected element, the resulting object is not supposed to have any values, since we can't resolve style without a document root anyway. This fixes a crash on https://bandcamp.com
7 lines
483 B
Text
7 lines
483 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x37.835937 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x21.835937 children: inline
|
|
line 0 width: 362.617187, height: 21.835937, bottom: 21.835937, baseline: 16.914062
|
|
frag 0 from TextNode start: 0, length: 35, rect: [8,8 362.617187x21.835937]
|
|
"This test passes if we don't crash."
|
|
TextNode <#text>
|