Test passes if there is a filled green square and no red.
-
-
-
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-button-ref.html b/css/css-position/position-absolute-semi-replaced-stretch-button-ref.html
new file mode 100644
index 00000000000000..25176a62b1ae87
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-button-ref.html
@@ -0,0 +1,26 @@
+
+
+
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-button.html b/css/css-position/position-absolute-semi-replaced-stretch-button.html
new file mode 100644
index 00000000000000..4e04e9ffc0065a
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-button.html
@@ -0,0 +1,34 @@
+
+
+
+Semi-replaced elements should stretch with an auto main size, and explicit insets in that direction.
+
+
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-input-ref.html b/css/css-position/position-absolute-semi-replaced-stretch-input-ref.html
new file mode 100644
index 00000000000000..554173c6323bd1
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-input-ref.html
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-input.html b/css/css-position/position-absolute-semi-replaced-stretch-input.html
new file mode 100644
index 00000000000000..6080f63c101994
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-input.html
@@ -0,0 +1,42 @@
+
+
+
+Semi-replaced elements should stretch with an auto main size, and explicit insets in that direction.
+
+
+
+
+
+
+
+
+
+
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-other-ref.html b/css/css-position/position-absolute-semi-replaced-stretch-other-ref.html
new file mode 100644
index 00000000000000..e334bc0f63d9a5
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-other-ref.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
diff --git a/css/css-position/position-absolute-semi-replaced-stretch-other.html b/css/css-position/position-absolute-semi-replaced-stretch-other.html
new file mode 100644
index 00000000000000..21fc2c84e3d658
--- /dev/null
+++ b/css/css-position/position-absolute-semi-replaced-stretch-other.html
@@ -0,0 +1,40 @@
+
+
+
+Semi-replaced elements should stretch with an auto main size, and explicit insets in that direction.
+
+
+
+
+
+
+
+