getComputedStyle-insets-sticky.html (833B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSSOM: resolved values of the inset properties for sticky 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 <style> 8 #container-for-inflow { overflow: hidden; } 9 </style> 10 <script src=/resources/testharness.js></script> 11 <script src=/resources/testharnessreport.js></script> 12 <script type="module"> 13 import {runTests, containerForInflow} from "./support/getComputedStyle-insets.js"; 14 runTests({ 15 style: "position: sticky;", 16 containingBlockElement: containerForInflow, 17 containingBlockArea: "content", 18 preservesPercentages: false, 19 preservesAuto: true, 20 canStretchAutoSize: false, 21 }); 22 </script>