Resolve the percentage values of inset properties against proper box.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / cssom / getComputedStyle-insets-sticky.html
index 6149acc..6b23fab 100755 (executable)
@@ -4,12 +4,15 @@
 <link rel="help" href="https://drafts.csswg.org/cssom/#resolved-value">
 <link rel="help" href="https://drafts.csswg.org/css-position/#pos-sch">
 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
+<style>
+    #container-for-inflow { overflow: hidden; }
+</style>
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script type="module">
 import {runTests, containerForInflow} from "./support/getComputedStyle-insets.js";
 runTests({
-  style: "position: sticky; position: -webkit-sticky",
+  style: "position: sticky;",
   containingBlockElement: containerForInflow,
   containingBlockArea: "content",
   preservesPercentages: false,