LibWeb: Size root element backgrounds relative to its border box

This commit is contained in:
Tim Ledbetter
2026-01-16 10:07:41 +00:00
committed by Andreas Kling
parent 07b10d7ebf
commit 81973cafa4
Notes: github-actions[bot] 2026-02-06 11:30:04 +00:00
15 changed files with 161 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<!doctype HTML>
<iframe srcdoc="
<!doctype HTML>
<style>
div {
background: linear-gradient(lightblue, yellow);
background-size: 300px 300px;
background-position: 50px 50px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
<div></div>"></iframe>