mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
All fragments inside an atomic inline box should stay within that box, otherwise we'll screw up the paint order and paint them behind things that they're supposed to be on top of. This fixes an issue with inline-block content not appearing on sites like Google Docs and Reddit, among others.
12 lines
229 B
HTML
12 lines
229 B
HTML
<!doctype html><style>
|
|
* { outline: 1px solid black; }
|
|
div {
|
|
position: relative;
|
|
display: inline-block;
|
|
background-color: lime;
|
|
}
|
|
body {
|
|
display: inline;
|
|
}
|
|
</style><body><div>$
|