getComputedStyle-insets-absolute.html (840B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSSOM: resolved values of the inset properties for absolute 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, containerForAbspos} from "./support/getComputedStyle-insets.js"; 11 runTests({ 12 style: "position: absolute", 13 containingBlockElement: containerForAbspos, 14 containingBlockArea: "padding", 15 preservesPercentages: false, 16 preservesAuto: false, 17 canStretchAutoSize: true, 18 staticPositionY: 1 + 2 + 4 + 8, 19 staticPositionX: 2 + 4 + 8 + 16, 20 }); 21 </script>