LibWeb: Parse background positions as shorthands

This commit is contained in:
Gingeh 2024-12-29 21:07:59 +11:00 committed by Andreas Kling
parent abc0418710
commit 436417aabe
Notes: github-actions[bot] 2024-12-30 10:08:44 +00:00
3 changed files with 41 additions and 12 deletions

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<script src="include.js"></script>
<style>
:root {
background: 1px 1px;
}
</style>
<script>
test(() => {
println(document.styleSheets[0].cssRules[0].cssText);
println("PASS (didn't crash)");
});
</script>