getComputedStyle-insets-fixed.html (863B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSSOM: resolved values of the inset properties for fixed positioning</title> 4 <link rel="help" href="https://drafts.csswg.org/cssom/#resolved-value"> 5 <link rel="help" href="https://drafts.csswg.org/css-position/#pos-sch"> 6 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> 7 <script src=/resources/testharness.js></script> 8 <script src=/resources/testharnessreport.js></script> 9 <script type="module"> 10 import {runTests, containerForFixed} from "./support/getComputedStyle-insets.js"; 11 runTests({ 12 style: "position: fixed", 13 containingBlockElement: containerForFixed, 14 containingBlockArea: "padding", 15 preservesPercentages: false, 16 preservesAuto: false, 17 canStretchAutoSize: true, 18 staticPositionY: 1 + 2 + 4 + 8 + 16 + 32 + 64, 19 staticPositionX: 2 + 4 + 8 + 16 + 32 + 64 + 128, 20 }); 21 </script>