ladybird/Tests/LibWeb/Layout/input/content-image-simple.html
Andreas Kling 81d4079c12 LibWeb: Support CSS content property images (and lists, too!)
This patch expands our generated content support beyond single strings
to lists of strings and/or images.

Pseudo-elements like ::before and ::after can now use content:url(...)
to insert anonymous image boxes into the layout tree.

This is heavily used in Google Docs for UI elements.
2025-07-28 22:46:27 +02:00

5 lines
152 B
HTML

<!DOCTYPE html><style>
div::before {
content: "foo" url("400.png") "bar" url("400.png") "baz";
}
</style><body><div><img src="400.png">