mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Size root element backgrounds relative to its border box
This commit is contained in:
committed by
Andreas Kling
parent
07b10d7ebf
commit
81973cafa4
Notes:
github-actions[bot]
2026-02-06 11:30:04 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/81973cafa45 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7485
@@ -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>
|
||||
Reference in New Issue
Block a user