Truly independent web browser
LibWeb: Give the body a fixed size in getComputedStyle-print-all
Andreas Klingfc16deb3a7b1
diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txtindex f67a75af42e..69e21ef9fa8 100644--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt@@ -112,7 +112,7 @@ background-position-x: 0%background-position-y: 0%background-repeat: repeatbackground-size: auto-block-size: 1482px+block-size: 100pxborder-block-end-color: rgb(0, 0, 0)border-block-end-style: noneborder-block-end-width: 0px@@ -215,8 +215,8 @@ grid-row-start: autogrid-template-areas: nonegrid-template-columns: nonegrid-template-rows: none-height: 2821px-inline-size: 784px+height: 100px+inline-size: 600pxinset-block-end: autoinset-block-start: autoinset-inline-end: auto@@ -291,7 +291,7 @@ padding-left: 0pxpadding-right: 0pxpadding-top: 0pxperspective: none-perspective-origin: 392px 1898px+perspective-origin: 300px 50pxposition: staticposition-anchor: normalposition-area: none@@ -346,7 +346,7 @@ top: autotouch-action: autotransform: nonetransform-box: view-box-transform-origin: 392px 2262px+transform-origin: 300px 50pxtransform-style: flattransition-behavior: normaltransition-delay: 0s@@ -363,7 +363,7 @@ view-timeline-inset: autoview-timeline-name: noneview-transition-name: nonewhite-space-trim: none-width: 784px+width: 600pxwill-change: autox: 0pxy: 0pxdiff --git a/Tests/LibWeb/Text/input/css/getComputedStyle-print-all.html b/Tests/LibWeb/Text/input/css/getComputedStyle-print-all.htmlindex fd070dcde2e..0e5cad01771 100644--- a/Tests/LibWeb/Text/input/css/getComputedStyle-print-all.html+++ b/Tests/LibWeb/Text/input/css/getComputedStyle-print-all.html@@ -1,4 +1,13 @@<!DOCTYPE html>+<style>+ html {+ width: 616px;+ }+ body {+ width: 600px;+ height: 100px;+ }+</style><script src="../include.js"></script><script>test(() => {