mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
This improves the output of `getComputedStyle()` for the `top`, `bottom`, `left` and `right` properties, where the used value is now returned rather than the computed value, where applicable."
20 lines
782 B
HTML
20 lines
782 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSSOM: resolved values of the inset properties for relative positioning</title>
|
|
<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">
|
|
<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: relative",
|
|
containingBlockElement: containerForInflow,
|
|
containingBlockArea: "content",
|
|
preservesPercentages: false,
|
|
preservesAuto: false,
|
|
canStretchAutoSize: false,
|
|
});
|
|
</script>
|