LibWeb/CSS: Insert whitespace between tokens in serialized UnresolvedSV

Otherwise, `margin: var(--foo) var(--bar)` would be wrongly serialized
as `margin: var(--foo)var(--bar)`
This commit is contained in:
Sam Atkins 2024-10-15 10:21:40 +01:00 committed by Andreas Kling
commit 6e68e8f3c9
Notes: github-actions[bot] 2024-10-16 12:23:31 +00:00
3 changed files with 3 additions and 4 deletions

View file

@ -18,5 +18,6 @@
serialize('attr(foo string, "fallback")');
// FIXME: This should produce `attr(foo string, "fallback")` but doesn't yet.
serialize('attr( foo string , "fallback" )');
serialize(' attr(foo) attr(bar) attr(baz) ');
});
</script>