summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/multicol/static-position
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-position/multicol/static-position
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-position/multicol/static-position')
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vlr-in-multicol-ref.html21
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-ltr-in-multicol.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-rtl-in-multicol.tentative.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-ltr-in-multicol.tentative.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-rtl-in-multicol.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vrl-in-multicol-ref.html21
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-ltr-in-multicol.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-rtl-in-multicol.tentative.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-ltr-in-multicol.tentative.html60
-rw-r--r--testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-rtl-in-multicol.html60
10 files changed, 522 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-in-multicol-ref.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-in-multicol-ref.html
new file mode 100644
index 0000000000..908f43a002
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-in-multicol-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ body { writing-mode: vertical-lr; }
+ .container {
+ background: green;
+ inline-size: 80px;
+ block-size: 600px;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container"></div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-ltr-in-multicol.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-ltr-in-multicol.html
new file mode 100644
index 0000000000..45de6ffb42
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-ltr-in-multicol.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vlr-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-lr; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container ltr">
+ X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-rtl-in-multicol.tentative.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-rtl-in-multicol.tentative.html
new file mode 100644
index 0000000000..9cb6c26e9c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-ltr-rtl-in-multicol.tentative.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vlr-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-lr; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container ltr">
+ X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-ltr-in-multicol.tentative.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-ltr-in-multicol.tentative.html
new file mode 100644
index 0000000000..5a094987ba
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-ltr-in-multicol.tentative.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vlr-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-lr; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container rtl">
+ X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-rtl-in-multicol.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-rtl-in-multicol.html
new file mode 100644
index 0000000000..e7c4088aa4
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vlr-rtl-rtl-in-multicol.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vlr-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-lr; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container rtl">
+ X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-in-multicol-ref.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-in-multicol-ref.html
new file mode 100644
index 0000000000..0e22219eab
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-in-multicol-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ body { writing-mode: vertical-rl; }
+ .container {
+ background: green;
+ inline-size: 80px;
+ block-size: 600px;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container"></div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-ltr-in-multicol.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-ltr-in-multicol.html
new file mode 100644
index 0000000000..ae5059ce78
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-ltr-in-multicol.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vrl-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-rl; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container ltr">
+ X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="ltr cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-rtl-in-multicol.tentative.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-rtl-in-multicol.tentative.html
new file mode 100644
index 0000000000..44bf087765
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-ltr-rtl-in-multicol.tentative.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vrl-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-rl; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container ltr">
+ X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ X<span class="rtl cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container ltr">
+ <span class="cb">X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-ltr-in-multicol.tentative.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-ltr-in-multicol.tentative.html
new file mode 100644
index 0000000000..3cf8e6728e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-ltr-in-multicol.tentative.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vrl-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-rl; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container rtl">
+ X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="ltr cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>
diff --git a/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-rtl-in-multicol.html b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-rtl-in-multicol.html
new file mode 100644
index 0000000000..a13f1cf3e9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/multicol/static-position/vrl-rtl-rtl-in-multicol.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-width" />
+<link rel="match" href="vrl-in-multicol-ref.html">
+<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
+<style>
+ body { writing-mode: vertical-rl; }
+ .container {
+ position: relative;
+ background: green;
+ font: 16px/1 Ahem;
+ inline-size: 80px;
+ block-size: 100px;
+ color: green;
+ }
+ .multicol {
+ column-count: 2;
+ column-fill: auto;
+ column-gap: 0;
+ block-size: 100px;
+ inline-size: 160px;
+ }
+ .red { color: red; }
+ .cb {
+ position: relative;
+ inset-block-start: 15px;
+ inset-inline-start: 20px;
+ }
+ .rtl { direction: rtl; }
+ .ltr { direction: ltr; }
+ .inline { display: inline; }
+ .abs { position: absolute; }
+</style>
+
+There should be no red.
+<div class="multicol">
+ <div class="container rtl">
+ X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ X<span class="rtl cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="rtl">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
+ </div>
+
+ <div class="container rtl">
+ <span class="cb">X<span class="rtl">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
+ </div>
+</div>