1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibWeb: Don't break for atomic inline elements in white-space: nowrap

This commit is contained in:
Andreas Kling 2023-09-16 11:18:05 +02:00
parent 17087ac4a2
commit 39f16ecd41
3 changed files with 29 additions and 1 deletions

View file

@ -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>