diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/div-orthogonal-left-and-non-auto-margin-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-sizing/div-orthogonal-left-and-non-auto-margin-ref.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/div-orthogonal-left-and-non-auto-margin-ref.html b/testing/web-platform/tests/css/css-sizing/div-orthogonal-left-and-non-auto-margin-ref.html new file mode 100644 index 0000000000..77f5e22148 --- /dev/null +++ b/testing/web-platform/tests/css/css-sizing/div-orthogonal-left-and-non-auto-margin-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML> +<title> Ensure left doesn't take effect if margin isn't auto </title> +<style> + div { + inset: 0; + writing-mode: vertical-rl; + background-color: black; + margin: auto; + left: 10px; + margin-right: 10px; + position: absolute; + block-size: 200px; + inline-size: 100px; + border: 5px solid red; + } +</style> +<div></div> |