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

Tests/LibWeb: Fix typo in test

"display: max-content" is not a thing. The test was actually not working
correctly, it just looked like it did. Now it has correct metrics for
the body element.
This commit is contained in:
Andreas Kling 2023-06-16 13:45:09 +02:00
parent b69036970b
commit 1578121dcb
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html><style>
body { display: max-content; }
body { width: max-content; }
img { max-width: 100%; }
</style><body><div><img src="120.png">