mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +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>
|
||||
<title>Backgrounds on the root element of an iframe should extend to cover the entire canvas of the iframe in the presence of margin</title>
|
||||
<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#root-background">
|
||||
<link rel="match" href="../../../../expected/wpt-import/css/css-backgrounds/background-margin-iframe-root-ref.html">
|
||||
<meta name=fuzzy content="0-1;0-750">
|
||||
<iframe srcdoc="
|
||||
<!doctype HTML>
|
||||
<style>
|
||||
html {
|
||||
background: linear-gradient(lightblue, yellow);
|
||||
height: 300px;
|
||||
margin: 50px;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>"></iframe>
|
||||
Reference in New Issue
Block a user