mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
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.
5 lines
152 B
HTML
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">
|