mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
We assume elsewhere that any abspos element's containing block must be some kind of Layout::Box, so let's enforce that when deciding if a box can be such a container. This fixes a bad downcast on https://serpapi.com/
13 lines
176 B
HTML
13 lines
176 B
HTML
<!doctype html><style>
|
|
body {
|
|
display: inline;
|
|
position: relative;
|
|
}
|
|
main {
|
|
display: inline-block;
|
|
}
|
|
div {
|
|
position: absolute;
|
|
}
|
|
</style><body><main><div>hello
|