mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibWeb: Don't break for atomic inline elements in white-space: nowrap
This commit is contained in:
parent
17087ac4a2
commit
39f16ecd41
3 changed files with 29 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html><style>
|
||||
body { width: min-content; }
|
||||
div { white-space: nowrap; }
|
||||
img {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
</style><body><div>foo<img>
|
Loading…
Add table
Add a link
Reference in a new issue