Skip to content

Truly independent web browser

Tests: Import CSS anchor positioning WPT tests

Andreas Kling9d39191e0f70
diff --git a/Tests/LibWeb/TestConfig.ini b/Tests/LibWeb/TestConfig.ini
index 09b2b66bf6c..2f1726c1303 100644
--- a/Tests/LibWeb/TestConfig.ini
+++ b/Tests/LibWeb/TestConfig.ini
@@ -312,6 +312,7 @@ Text/input/wpt-import/url/url-setters.any.html
; Unable to fetch the test resources IDL with CORS error.
; Fails in other browsers too when loaded from file://.
+Text/input/wpt-import/css/css-anchor-position/idlharness.html
Text/input/wpt-import/css/css-animations/idlharness.html
Text/input/wpt-import/css/css-conditional/idlharness.html
Text/input/wpt-import/css/css-counter-styles/idlharness.html
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-001.txt
new file mode 100644
index 00000000000..0418b3faa30
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-001.txt
@@ -0,0 +1,9 @@
+Harness status: OK
+
+Found 4 tests
+
+4 Fail
+Fail e.style['align-self'] = "anchor-center" should set the property value
+Fail e.style['justify-self'] = "anchor-center" should set the property value
+Fail Property align-self value 'anchor-center'
+Fail Property justify-self value 'anchor-center'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-003.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-003.txt
new file mode 100644
index 00000000000..f6d36d8c196
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-003.txt
@@ -0,0 +1,6 @@
+Harness status: OK
+
+Found 1 tests
+
+1 Fail
+Fail .target 1
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-004.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-004.txt
new file mode 100644
index 00000000000..97d2549b9e7
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-004.txt
@@ -0,0 +1,7 @@
+Harness status: OK
+
+Found 2 tests
+
+2 Fail
+Fail .target 1
+Fail .target 2
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-htb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-htb.txt
new file mode 100644
index 00000000000..dff61fa0d3b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-htb.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 10 tests
+
+8 Pass
+2 Fail
+Pass .target 1
+Fail .target 2
+Pass .target 3
+Pass .target 4
+Pass .target 5
+Fail .target 6
+Pass .target 7
+Pass .target 8
+Pass .target 9
+Pass .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.txt
new file mode 100644
index 00000000000..ed6716497ee
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 10 tests
+
+3 Pass
+7 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Pass .target 8
+Pass .target 9
+Pass .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.txt
new file mode 100644
index 00000000000..dff61fa0d3b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 10 tests
+
+8 Pass
+2 Fail
+Pass .target 1
+Fail .target 2
+Pass .target 3
+Pass .target 4
+Pass .target 5
+Fail .target 6
+Pass .target 7
+Pass .target 8
+Pass .target 9
+Pass .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.txt
new file mode 100644
index 00000000000..ed6716497ee
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 10 tests
+
+3 Pass
+7 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Pass .target 8
+Pass .target 9
+Pass .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-invalid-fallback.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-invalid-fallback.txt
new file mode 100644
index 00000000000..c4c4fa8121d
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-invalid-fallback.txt
@@ -0,0 +1,45 @@
+Harness status: OK
+
+Found 39 tests
+
+25 Pass
+14 Fail
+Fail Element can be anchor positioned
+Fail Element can use <length> fallback if present
+Fail Element can use <length> fallback with percentage
+Fail Element can use <length> fallback for max size with percentage
+Fail Element can use <length> fallback for margin with percentage
+Pass Invalid anchor function, left
+Pass Invalid anchor function, right
+Pass Invalid anchor function, bottom
+Pass Invalid anchor function, top
+Fail Invalid anchor function, width
+Fail Invalid anchor function, height
+Fail Invalid anchor function, min-width
+Fail Invalid anchor function, min-height
+Fail Invalid anchor function, max-width
+Fail Invalid anchor function, max-height
+Pass Invalid anchor function, --unknown left
+Fail Invalid anchor function, --unknown width
+Pass Invalid anchor function, cross-axis query (vertical)
+Pass Invalid anchor function, cross-axis query (horizontal)
+Pass Invalid anchor function, anchor() in sizing property
+Pass Invalid anchor function, nested left
+Pass Invalid anchor function, nested right
+Pass Invalid anchor function, nested bottom
+Pass Invalid anchor function, nested top
+Pass Invalid anchor function, nested min-width
+Pass Invalid anchor function, nested min-height
+Pass Invalid anchor function, nested max-width
+Pass Invalid anchor function, nested max-height
+Pass Invalid anchor function, invalid anchor() in fallback
+Fail Invalid anchor function, invalid anchor-size() in fallback
+Pass Invalid anchor function, min()
+Pass Invalid anchor function, max()
+Pass Invalid anchor function, abs()
+Pass Invalid anchor function, sign()
+Pass Invalid anchor function, anchor(var())
+Pass Invalid anchor function, anchor(unknown var()) (fallback)
+Pass Invalid anchor function, anchor(unknown var()) (no fallback)
+Pass Revert to invalid anchor()
+Fail Flip to invalid anchor()
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-003.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-003.txt
new file mode 100644
index 00000000000..821466d2f99
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-003.txt
@@ -0,0 +1,45 @@
+Harness status: OK
+
+Found 39 tests
+
+4 Pass
+35 Fail
+Fail .target 1
+Fail .target 2
+Pass .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Fail .target 8
+Fail .target 9
+Pass .target 10
+Fail .target 11
+Fail .target 12
+Fail .target 13
+Fail .target 14
+Fail .target 15
+Fail .target 16
+Pass .target 17
+Fail .target 18
+Fail .target 19
+Fail .target 20
+Fail .target 21
+Fail .target 22
+Fail .target 23
+Fail .target 24
+Fail .target 25
+Fail .target 26
+Fail .target 27
+Fail .target 28
+Fail .target 29
+Fail .target 30
+Fail .target 31
+Pass .target 32
+Fail .target 33
+Fail .target 34
+Fail .target 35
+Fail .target 36
+Fail .target 37
+Fail .target 38
+Fail .target 39
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-inline-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-inline-001.txt
new file mode 100644
index 00000000000..4ef43a76c6e
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-name-inline-001.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 7 tests
+
+7 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.txt
new file mode 100644
index 00000000000..7b69ed92d3e
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.txt
@@ -0,0 +1,15 @@
+Harness status: OK
+
+Found 10 tests
+
+10 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .after .target 6
+Fail .after .target 7
+Fail .after .target 8
+Fail .after .target 9
+Fail .after .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.txt
new file mode 100644
index 00000000000..a06edc816dc
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.txt
@@ -0,0 +1,1302 @@
+Harness status: OK
+
+Found 1296 tests
+
+432 Pass
+864 Fail
+Pass 0: htb-ltr/htb-ltr/htb-ltr/htb-ltr
+Pass 1: htb-ltr/htb-ltr/htb-ltr/htb-rtl
+Pass 2: htb-ltr/htb-ltr/htb-ltr/vlr-ltr
+Pass 3: htb-ltr/htb-ltr/htb-ltr/vlr-rtl
+Pass 4: htb-ltr/htb-ltr/htb-ltr/vrl-ltr
+Pass 5: htb-ltr/htb-ltr/htb-ltr/vrl-rtl
+Pass 6: htb-ltr/htb-ltr/htb-rtl/htb-ltr
+Pass 7: htb-ltr/htb-ltr/htb-rtl/htb-rtl
+Pass 8: htb-ltr/htb-ltr/htb-rtl/vlr-ltr
+Pass 9: htb-ltr/htb-ltr/htb-rtl/vlr-rtl
+Pass 10: htb-ltr/htb-ltr/htb-rtl/vrl-ltr
+Pass 11: htb-ltr/htb-ltr/htb-rtl/vrl-rtl
+Pass 12: htb-ltr/htb-ltr/vlr-ltr/htb-ltr
+Pass 13: htb-ltr/htb-ltr/vlr-ltr/htb-rtl
+Pass 14: htb-ltr/htb-ltr/vlr-ltr/vlr-ltr
+Pass 15: htb-ltr/htb-ltr/vlr-ltr/vlr-rtl
+Pass 16: htb-ltr/htb-ltr/vlr-ltr/vrl-ltr
+Pass 17: htb-ltr/htb-ltr/vlr-ltr/vrl-rtl
+Pass 18: htb-ltr/htb-ltr/vlr-rtl/htb-ltr
+Pass 19: htb-ltr/htb-ltr/vlr-rtl/htb-rtl
+Pass 20: htb-ltr/htb-ltr/vlr-rtl/vlr-ltr
+Pass 21: htb-ltr/htb-ltr/vlr-rtl/vlr-rtl
+Pass 22: htb-ltr/htb-ltr/vlr-rtl/vrl-ltr
+Pass 23: htb-ltr/htb-ltr/vlr-rtl/vrl-rtl
+Pass 24: htb-ltr/htb-ltr/vrl-ltr/htb-ltr
+Pass 25: htb-ltr/htb-ltr/vrl-ltr/htb-rtl
+Pass 26: htb-ltr/htb-ltr/vrl-ltr/vlr-ltr
+Pass 27: htb-ltr/htb-ltr/vrl-ltr/vlr-rtl
+Pass 28: htb-ltr/htb-ltr/vrl-ltr/vrl-ltr
+Pass 29: htb-ltr/htb-ltr/vrl-ltr/vrl-rtl
+Pass 30: htb-ltr/htb-ltr/vrl-rtl/htb-ltr
+Pass 31: htb-ltr/htb-ltr/vrl-rtl/htb-rtl
+Pass 32: htb-ltr/htb-ltr/vrl-rtl/vlr-ltr
+Pass 33: htb-ltr/htb-ltr/vrl-rtl/vlr-rtl
+Pass 34: htb-ltr/htb-ltr/vrl-rtl/vrl-ltr
+Pass 35: htb-ltr/htb-ltr/vrl-rtl/vrl-rtl
+Pass 36: htb-ltr/htb-rtl/htb-ltr/htb-ltr
+Pass 37: htb-ltr/htb-rtl/htb-ltr/htb-rtl
+Pass 38: htb-ltr/htb-rtl/htb-ltr/vlr-ltr
+Pass 39: htb-ltr/htb-rtl/htb-ltr/vlr-rtl
+Pass 40: htb-ltr/htb-rtl/htb-ltr/vrl-ltr
+Pass 41: htb-ltr/htb-rtl/htb-ltr/vrl-rtl
+Pass 42: htb-ltr/htb-rtl/htb-rtl/htb-ltr
+Pass 43: htb-ltr/htb-rtl/htb-rtl/htb-rtl
+Pass 44: htb-ltr/htb-rtl/htb-rtl/vlr-ltr
+Pass 45: htb-ltr/htb-rtl/htb-rtl/vlr-rtl
+Pass 46: htb-ltr/htb-rtl/htb-rtl/vrl-ltr
+Pass 47: htb-ltr/htb-rtl/htb-rtl/vrl-rtl
+Pass 48: htb-ltr/htb-rtl/vlr-ltr/htb-ltr
+Pass 49: htb-ltr/htb-rtl/vlr-ltr/htb-rtl
+Pass 50: htb-ltr/htb-rtl/vlr-ltr/vlr-ltr
+Pass 51: htb-ltr/htb-rtl/vlr-ltr/vlr-rtl
+Pass 52: htb-ltr/htb-rtl/vlr-ltr/vrl-ltr
+Pass 53: htb-ltr/htb-rtl/vlr-ltr/vrl-rtl
+Pass 54: htb-ltr/htb-rtl/vlr-rtl/htb-ltr
+Pass 55: htb-ltr/htb-rtl/vlr-rtl/htb-rtl
+Pass 56: htb-ltr/htb-rtl/vlr-rtl/vlr-ltr
+Pass 57: htb-ltr/htb-rtl/vlr-rtl/vlr-rtl
+Pass 58: htb-ltr/htb-rtl/vlr-rtl/vrl-ltr
+Pass 59: htb-ltr/htb-rtl/vlr-rtl/vrl-rtl
+Pass 60: htb-ltr/htb-rtl/vrl-ltr/htb-ltr
+Pass 61: htb-ltr/htb-rtl/vrl-ltr/htb-rtl
+Pass 62: htb-ltr/htb-rtl/vrl-ltr/vlr-ltr
+Pass 63: htb-ltr/htb-rtl/vrl-ltr/vlr-rtl
+Pass 64: htb-ltr/htb-rtl/vrl-ltr/vrl-ltr
+Pass 65: htb-ltr/htb-rtl/vrl-ltr/vrl-rtl
+Pass 66: htb-ltr/htb-rtl/vrl-rtl/htb-ltr
+Pass 67: htb-ltr/htb-rtl/vrl-rtl/htb-rtl
+Pass 68: htb-ltr/htb-rtl/vrl-rtl/vlr-ltr
+Pass 69: htb-ltr/htb-rtl/vrl-rtl/vlr-rtl
+Pass 70: htb-ltr/htb-rtl/vrl-rtl/vrl-ltr
+Pass 71: htb-ltr/htb-rtl/vrl-rtl/vrl-rtl
+Pass 72: htb-ltr/vlr-ltr/htb-ltr/htb-ltr
+Pass 73: htb-ltr/vlr-ltr/htb-ltr/htb-rtl
+Pass 74: htb-ltr/vlr-ltr/htb-ltr/vlr-ltr
+Pass 75: htb-ltr/vlr-ltr/htb-ltr/vlr-rtl
+Pass 76: htb-ltr/vlr-ltr/htb-ltr/vrl-ltr
+Pass 77: htb-ltr/vlr-ltr/htb-ltr/vrl-rtl
+Pass 78: htb-ltr/vlr-ltr/htb-rtl/htb-ltr
+Pass 79: htb-ltr/vlr-ltr/htb-rtl/htb-rtl
+Pass 80: htb-ltr/vlr-ltr/htb-rtl/vlr-ltr
+Pass 81: htb-ltr/vlr-ltr/htb-rtl/vlr-rtl
+Pass 82: htb-ltr/vlr-ltr/htb-rtl/vrl-ltr
+Pass 83: htb-ltr/vlr-ltr/htb-rtl/vrl-rtl
+Pass 84: htb-ltr/vlr-ltr/vlr-ltr/htb-ltr
+Pass 85: htb-ltr/vlr-ltr/vlr-ltr/htb-rtl
+Pass 86: htb-ltr/vlr-ltr/vlr-ltr/vlr-ltr
+Pass 87: htb-ltr/vlr-ltr/vlr-ltr/vlr-rtl
+Pass 88: htb-ltr/vlr-ltr/vlr-ltr/vrl-ltr
+Pass 89: htb-ltr/vlr-ltr/vlr-ltr/vrl-rtl
+Pass 90: htb-ltr/vlr-ltr/vlr-rtl/htb-ltr
+Pass 91: htb-ltr/vlr-ltr/vlr-rtl/htb-rtl
+Pass 92: htb-ltr/vlr-ltr/vlr-rtl/vlr-ltr
+Pass 93: htb-ltr/vlr-ltr/vlr-rtl/vlr-rtl
+Pass 94: htb-ltr/vlr-ltr/vlr-rtl/vrl-ltr
+Pass 95: htb-ltr/vlr-ltr/vlr-rtl/vrl-rtl
+Pass 96: htb-ltr/vlr-ltr/vrl-ltr/htb-ltr
+Pass 97: htb-ltr/vlr-ltr/vrl-ltr/htb-rtl
+Pass 98: htb-ltr/vlr-ltr/vrl-ltr/vlr-ltr
+Pass 99: htb-ltr/vlr-ltr/vrl-ltr/vlr-rtl
+Pass 100: htb-ltr/vlr-ltr/vrl-ltr/vrl-ltr
+Pass 101: htb-ltr/vlr-ltr/vrl-ltr/vrl-rtl
+Pass 102: htb-ltr/vlr-ltr/vrl-rtl/htb-ltr
+Pass 103: htb-ltr/vlr-ltr/vrl-rtl/htb-rtl
+Pass 104: htb-ltr/vlr-ltr/vrl-rtl/vlr-ltr
+Pass 105: htb-ltr/vlr-ltr/vrl-rtl/vlr-rtl
+Pass 106: htb-ltr/vlr-ltr/vrl-rtl/vrl-ltr
+Pass 107: htb-ltr/vlr-ltr/vrl-rtl/vrl-rtl
+Pass 108: htb-ltr/vlr-rtl/htb-ltr/htb-ltr
+Pass 109: htb-ltr/vlr-rtl/htb-ltr/htb-rtl
+Pass 110: htb-ltr/vlr-rtl/htb-ltr/vlr-ltr
+Pass 111: htb-ltr/vlr-rtl/htb-ltr/vlr-rtl
+Pass 112: htb-ltr/vlr-rtl/htb-ltr/vrl-ltr
+Pass 113: htb-ltr/vlr-rtl/htb-ltr/vrl-rtl
+Pass 114: htb-ltr/vlr-rtl/htb-rtl/htb-ltr
+Pass 115: htb-ltr/vlr-rtl/htb-rtl/htb-rtl
+Pass 116: htb-ltr/vlr-rtl/htb-rtl/vlr-ltr
+Pass 117: htb-ltr/vlr-rtl/htb-rtl/vlr-rtl
+Pass 118: htb-ltr/vlr-rtl/htb-rtl/vrl-ltr
+Pass 119: htb-ltr/vlr-rtl/htb-rtl/vrl-rtl
+Pass 120: htb-ltr/vlr-rtl/vlr-ltr/htb-ltr
+Pass 121: htb-ltr/vlr-rtl/vlr-ltr/htb-rtl
+Pass 122: htb-ltr/vlr-rtl/vlr-ltr/vlr-ltr
+Pass 123: htb-ltr/vlr-rtl/vlr-ltr/vlr-rtl
+Pass 124: htb-ltr/vlr-rtl/vlr-ltr/vrl-ltr
+Pass 125: htb-ltr/vlr-rtl/vlr-ltr/vrl-rtl
+Pass 126: htb-ltr/vlr-rtl/vlr-rtl/htb-ltr
+Pass 127: htb-ltr/vlr-rtl/vlr-rtl/htb-rtl
+Pass 128: htb-ltr/vlr-rtl/vlr-rtl/vlr-ltr
+Pass 129: htb-ltr/vlr-rtl/vlr-rtl/vlr-rtl
+Pass 130: htb-ltr/vlr-rtl/vlr-rtl/vrl-ltr
+Pass 131: htb-ltr/vlr-rtl/vlr-rtl/vrl-rtl
+Pass 132: htb-ltr/vlr-rtl/vrl-ltr/htb-ltr
+Pass 133: htb-ltr/vlr-rtl/vrl-ltr/htb-rtl
+Pass 134: htb-ltr/vlr-rtl/vrl-ltr/vlr-ltr
+Pass 135: htb-ltr/vlr-rtl/vrl-ltr/vlr-rtl
+Pass 136: htb-ltr/vlr-rtl/vrl-ltr/vrl-ltr
+Pass 137: htb-ltr/vlr-rtl/vrl-ltr/vrl-rtl
+Pass 138: htb-ltr/vlr-rtl/vrl-rtl/htb-ltr
+Pass 139: htb-ltr/vlr-rtl/vrl-rtl/htb-rtl
+Pass 140: htb-ltr/vlr-rtl/vrl-rtl/vlr-ltr
+Pass 141: htb-ltr/vlr-rtl/vrl-rtl/vlr-rtl
+Pass 142: htb-ltr/vlr-rtl/vrl-rtl/vrl-ltr
+Pass 143: htb-ltr/vlr-rtl/vrl-rtl/vrl-rtl
+Pass 144: htb-ltr/vrl-ltr/htb-ltr/htb-ltr
+Pass 145: htb-ltr/vrl-ltr/htb-ltr/htb-rtl
+Pass 146: htb-ltr/vrl-ltr/htb-ltr/vlr-ltr
+Pass 147: htb-ltr/vrl-ltr/htb-ltr/vlr-rtl
+Pass 148: htb-ltr/vrl-ltr/htb-ltr/vrl-ltr
+Pass 149: htb-ltr/vrl-ltr/htb-ltr/vrl-rtl
+Pass 150: htb-ltr/vrl-ltr/htb-rtl/htb-ltr
+Pass 151: htb-ltr/vrl-ltr/htb-rtl/htb-rtl
+Pass 152: htb-ltr/vrl-ltr/htb-rtl/vlr-ltr
+Pass 153: htb-ltr/vrl-ltr/htb-rtl/vlr-rtl
+Pass 154: htb-ltr/vrl-ltr/htb-rtl/vrl-ltr
+Pass 155: htb-ltr/vrl-ltr/htb-rtl/vrl-rtl
+Pass 156: htb-ltr/vrl-ltr/vlr-ltr/htb-ltr
+Pass 157: htb-ltr/vrl-ltr/vlr-ltr/htb-rtl
+Pass 158: htb-ltr/vrl-ltr/vlr-ltr/vlr-ltr
+Pass 159: htb-ltr/vrl-ltr/vlr-ltr/vlr-rtl
+Pass 160: htb-ltr/vrl-ltr/vlr-ltr/vrl-ltr
+Pass 161: htb-ltr/vrl-ltr/vlr-ltr/vrl-rtl
+Pass 162: htb-ltr/vrl-ltr/vlr-rtl/htb-ltr
+Pass 163: htb-ltr/vrl-ltr/vlr-rtl/htb-rtl
+Pass 164: htb-ltr/vrl-ltr/vlr-rtl/vlr-ltr
+Pass 165: htb-ltr/vrl-ltr/vlr-rtl/vlr-rtl
+Pass 166: htb-ltr/vrl-ltr/vlr-rtl/vrl-ltr
+Pass 167: htb-ltr/vrl-ltr/vlr-rtl/vrl-rtl
+Pass 168: htb-ltr/vrl-ltr/vrl-ltr/htb-ltr
+Pass 169: htb-ltr/vrl-ltr/vrl-ltr/htb-rtl
+Pass 170: htb-ltr/vrl-ltr/vrl-ltr/vlr-ltr
+Pass 171: htb-ltr/vrl-ltr/vrl-ltr/vlr-rtl
+Pass 172: htb-ltr/vrl-ltr/vrl-ltr/vrl-ltr
+Pass 173: htb-ltr/vrl-ltr/vrl-ltr/vrl-rtl
+Pass 174: htb-ltr/vrl-ltr/vrl-rtl/htb-ltr
+Pass 175: htb-ltr/vrl-ltr/vrl-rtl/htb-rtl
+Pass 176: htb-ltr/vrl-ltr/vrl-rtl/vlr-ltr
+Pass 177: htb-ltr/vrl-ltr/vrl-rtl/vlr-rtl
+Pass 178: htb-ltr/vrl-ltr/vrl-rtl/vrl-ltr
+Pass 179: htb-ltr/vrl-ltr/vrl-rtl/vrl-rtl
+Pass 180: htb-ltr/vrl-rtl/htb-ltr/htb-ltr
+Pass 181: htb-ltr/vrl-rtl/htb-ltr/htb-rtl
+Pass 182: htb-ltr/vrl-rtl/htb-ltr/vlr-ltr
+Pass 183: htb-ltr/vrl-rtl/htb-ltr/vlr-rtl
+Pass 184: htb-ltr/vrl-rtl/htb-ltr/vrl-ltr
+Pass 185: htb-ltr/vrl-rtl/htb-ltr/vrl-rtl
+Pass 186: htb-ltr/vrl-rtl/htb-rtl/htb-ltr
+Pass 187: htb-ltr/vrl-rtl/htb-rtl/htb-rtl
+Pass 188: htb-ltr/vrl-rtl/htb-rtl/vlr-ltr
+Pass 189: htb-ltr/vrl-rtl/htb-rtl/vlr-rtl
+Pass 190: htb-ltr/vrl-rtl/htb-rtl/vrl-ltr
+Pass 191: htb-ltr/vrl-rtl/htb-rtl/vrl-rtl
+Pass 192: htb-ltr/vrl-rtl/vlr-ltr/htb-ltr
+Pass 193: htb-ltr/vrl-rtl/vlr-ltr/htb-rtl
+Pass 194: htb-ltr/vrl-rtl/vlr-ltr/vlr-ltr
+Pass 195: htb-ltr/vrl-rtl/vlr-ltr/vlr-rtl
+Pass 196: htb-ltr/vrl-rtl/vlr-ltr/vrl-ltr
+Pass 197: htb-ltr/vrl-rtl/vlr-ltr/vrl-rtl
+Pass 198: htb-ltr/vrl-rtl/vlr-rtl/htb-ltr
+Pass 199: htb-ltr/vrl-rtl/vlr-rtl/htb-rtl
+Pass 200: htb-ltr/vrl-rtl/vlr-rtl/vlr-ltr
+Pass 201: htb-ltr/vrl-rtl/vlr-rtl/vlr-rtl
+Pass 202: htb-ltr/vrl-rtl/vlr-rtl/vrl-ltr
+Pass 203: htb-ltr/vrl-rtl/vlr-rtl/vrl-rtl
+Pass 204: htb-ltr/vrl-rtl/vrl-ltr/htb-ltr
+Pass 205: htb-ltr/vrl-rtl/vrl-ltr/htb-rtl
+Pass 206: htb-ltr/vrl-rtl/vrl-ltr/vlr-ltr
+Pass 207: htb-ltr/vrl-rtl/vrl-ltr/vlr-rtl
+Pass 208: htb-ltr/vrl-rtl/vrl-ltr/vrl-ltr
+Pass 209: htb-ltr/vrl-rtl/vrl-ltr/vrl-rtl
+Pass 210: htb-ltr/vrl-rtl/vrl-rtl/htb-ltr
+Pass 211: htb-ltr/vrl-rtl/vrl-rtl/htb-rtl
+Pass 212: htb-ltr/vrl-rtl/vrl-rtl/vlr-ltr
+Pass 213: htb-ltr/vrl-rtl/vrl-rtl/vlr-rtl
+Pass 214: htb-ltr/vrl-rtl/vrl-rtl/vrl-ltr
+Pass 215: htb-ltr/vrl-rtl/vrl-rtl/vrl-rtl
+Pass 216: htb-rtl/htb-ltr/htb-ltr/htb-ltr
+Pass 217: htb-rtl/htb-ltr/htb-ltr/htb-rtl
+Pass 218: htb-rtl/htb-ltr/htb-ltr/vlr-ltr
+Pass 219: htb-rtl/htb-ltr/htb-ltr/vlr-rtl
+Pass 220: htb-rtl/htb-ltr/htb-ltr/vrl-ltr
+Pass 221: htb-rtl/htb-ltr/htb-ltr/vrl-rtl
+Pass 222: htb-rtl/htb-ltr/htb-rtl/htb-ltr
+Pass 223: htb-rtl/htb-ltr/htb-rtl/htb-rtl
+Pass 224: htb-rtl/htb-ltr/htb-rtl/vlr-ltr
+Pass 225: htb-rtl/htb-ltr/htb-rtl/vlr-rtl
+Pass 226: htb-rtl/htb-ltr/htb-rtl/vrl-ltr
+Pass 227: htb-rtl/htb-ltr/htb-rtl/vrl-rtl
+Pass 228: htb-rtl/htb-ltr/vlr-ltr/htb-ltr
+Pass 229: htb-rtl/htb-ltr/vlr-ltr/htb-rtl
+Pass 230: htb-rtl/htb-ltr/vlr-ltr/vlr-ltr
+Pass 231: htb-rtl/htb-ltr/vlr-ltr/vlr-rtl
+Pass 232: htb-rtl/htb-ltr/vlr-ltr/vrl-ltr
+Pass 233: htb-rtl/htb-ltr/vlr-ltr/vrl-rtl
+Pass 234: htb-rtl/htb-ltr/vlr-rtl/htb-ltr
+Pass 235: htb-rtl/htb-ltr/vlr-rtl/htb-rtl
+Pass 236: htb-rtl/htb-ltr/vlr-rtl/vlr-ltr
+Pass 237: htb-rtl/htb-ltr/vlr-rtl/vlr-rtl
+Pass 238: htb-rtl/htb-ltr/vlr-rtl/vrl-ltr
+Pass 239: htb-rtl/htb-ltr/vlr-rtl/vrl-rtl
+Pass 240: htb-rtl/htb-ltr/vrl-ltr/htb-ltr
+Pass 241: htb-rtl/htb-ltr/vrl-ltr/htb-rtl
+Pass 242: htb-rtl/htb-ltr/vrl-ltr/vlr-ltr
+Pass 243: htb-rtl/htb-ltr/vrl-ltr/vlr-rtl
+Pass 244: htb-rtl/htb-ltr/vrl-ltr/vrl-ltr
+Pass 245: htb-rtl/htb-ltr/vrl-ltr/vrl-rtl
+Pass 246: htb-rtl/htb-ltr/vrl-rtl/htb-ltr
+Pass 247: htb-rtl/htb-ltr/vrl-rtl/htb-rtl
+Pass 248: htb-rtl/htb-ltr/vrl-rtl/vlr-ltr
+Pass 249: htb-rtl/htb-ltr/vrl-rtl/vlr-rtl
+Pass 250: htb-rtl/htb-ltr/vrl-rtl/vrl-ltr
+Pass 251: htb-rtl/htb-ltr/vrl-rtl/vrl-rtl
+Pass 252: htb-rtl/htb-rtl/htb-ltr/htb-ltr
+Pass 253: htb-rtl/htb-rtl/htb-ltr/htb-rtl
+Pass 254: htb-rtl/htb-rtl/htb-ltr/vlr-ltr
+Pass 255: htb-rtl/htb-rtl/htb-ltr/vlr-rtl
+Pass 256: htb-rtl/htb-rtl/htb-ltr/vrl-ltr
+Pass 257: htb-rtl/htb-rtl/htb-ltr/vrl-rtl
+Pass 258: htb-rtl/htb-rtl/htb-rtl/htb-ltr
+Pass 259: htb-rtl/htb-rtl/htb-rtl/htb-rtl
+Pass 260: htb-rtl/htb-rtl/htb-rtl/vlr-ltr
+Pass 261: htb-rtl/htb-rtl/htb-rtl/vlr-rtl
+Pass 262: htb-rtl/htb-rtl/htb-rtl/vrl-ltr
+Pass 263: htb-rtl/htb-rtl/htb-rtl/vrl-rtl
+Pass 264: htb-rtl/htb-rtl/vlr-ltr/htb-ltr
+Pass 265: htb-rtl/htb-rtl/vlr-ltr/htb-rtl
+Pass 266: htb-rtl/htb-rtl/vlr-ltr/vlr-ltr
+Pass 267: htb-rtl/htb-rtl/vlr-ltr/vlr-rtl
+Pass 268: htb-rtl/htb-rtl/vlr-ltr/vrl-ltr
+Pass 269: htb-rtl/htb-rtl/vlr-ltr/vrl-rtl
+Pass 270: htb-rtl/htb-rtl/vlr-rtl/htb-ltr
+Pass 271: htb-rtl/htb-rtl/vlr-rtl/htb-rtl
+Pass 272: htb-rtl/htb-rtl/vlr-rtl/vlr-ltr
+Pass 273: htb-rtl/htb-rtl/vlr-rtl/vlr-rtl
+Pass 274: htb-rtl/htb-rtl/vlr-rtl/vrl-ltr
+Pass 275: htb-rtl/htb-rtl/vlr-rtl/vrl-rtl
+Pass 276: htb-rtl/htb-rtl/vrl-ltr/htb-ltr
+Pass 277: htb-rtl/htb-rtl/vrl-ltr/htb-rtl
+Pass 278: htb-rtl/htb-rtl/vrl-ltr/vlr-ltr
+Pass 279: htb-rtl/htb-rtl/vrl-ltr/vlr-rtl
+Pass 280: htb-rtl/htb-rtl/vrl-ltr/vrl-ltr
+Pass 281: htb-rtl/htb-rtl/vrl-ltr/vrl-rtl
+Pass 282: htb-rtl/htb-rtl/vrl-rtl/htb-ltr
+Pass 283: htb-rtl/htb-rtl/vrl-rtl/htb-rtl
+Pass 284: htb-rtl/htb-rtl/vrl-rtl/vlr-ltr
+Pass 285: htb-rtl/htb-rtl/vrl-rtl/vlr-rtl
+Pass 286: htb-rtl/htb-rtl/vrl-rtl/vrl-ltr
+Pass 287: htb-rtl/htb-rtl/vrl-rtl/vrl-rtl
+Pass 288: htb-rtl/vlr-ltr/htb-ltr/htb-ltr
+Pass 289: htb-rtl/vlr-ltr/htb-ltr/htb-rtl
+Pass 290: htb-rtl/vlr-ltr/htb-ltr/vlr-ltr
+Pass 291: htb-rtl/vlr-ltr/htb-ltr/vlr-rtl
+Pass 292: htb-rtl/vlr-ltr/htb-ltr/vrl-ltr
+Pass 293: htb-rtl/vlr-ltr/htb-ltr/vrl-rtl
+Pass 294: htb-rtl/vlr-ltr/htb-rtl/htb-ltr
+Pass 295: htb-rtl/vlr-ltr/htb-rtl/htb-rtl
+Pass 296: htb-rtl/vlr-ltr/htb-rtl/vlr-ltr
+Pass 297: htb-rtl/vlr-ltr/htb-rtl/vlr-rtl
+Pass 298: htb-rtl/vlr-ltr/htb-rtl/vrl-ltr
+Pass 299: htb-rtl/vlr-ltr/htb-rtl/vrl-rtl
+Pass 300: htb-rtl/vlr-ltr/vlr-ltr/htb-ltr
+Pass 301: htb-rtl/vlr-ltr/vlr-ltr/htb-rtl
+Pass 302: htb-rtl/vlr-ltr/vlr-ltr/vlr-ltr
+Pass 303: htb-rtl/vlr-ltr/vlr-ltr/vlr-rtl
+Pass 304: htb-rtl/vlr-ltr/vlr-ltr/vrl-ltr
+Pass 305: htb-rtl/vlr-ltr/vlr-ltr/vrl-rtl
+Pass 306: htb-rtl/vlr-ltr/vlr-rtl/htb-ltr
+Pass 307: htb-rtl/vlr-ltr/vlr-rtl/htb-rtl
+Pass 308: htb-rtl/vlr-ltr/vlr-rtl/vlr-ltr
+Pass 309: htb-rtl/vlr-ltr/vlr-rtl/vlr-rtl
+Pass 310: htb-rtl/vlr-ltr/vlr-rtl/vrl-ltr
+Pass 311: htb-rtl/vlr-ltr/vlr-rtl/vrl-rtl
+Pass 312: htb-rtl/vlr-ltr/vrl-ltr/htb-ltr
+Pass 313: htb-rtl/vlr-ltr/vrl-ltr/htb-rtl
+Pass 314: htb-rtl/vlr-ltr/vrl-ltr/vlr-ltr
+Pass 315: htb-rtl/vlr-ltr/vrl-ltr/vlr-rtl
+Pass 316: htb-rtl/vlr-ltr/vrl-ltr/vrl-ltr
+Pass 317: htb-rtl/vlr-ltr/vrl-ltr/vrl-rtl
+Pass 318: htb-rtl/vlr-ltr/vrl-rtl/htb-ltr
+Pass 319: htb-rtl/vlr-ltr/vrl-rtl/htb-rtl
+Pass 320: htb-rtl/vlr-ltr/vrl-rtl/vlr-ltr
+Pass 321: htb-rtl/vlr-ltr/vrl-rtl/vlr-rtl
+Pass 322: htb-rtl/vlr-ltr/vrl-rtl/vrl-ltr
+Pass 323: htb-rtl/vlr-ltr/vrl-rtl/vrl-rtl
+Pass 324: htb-rtl/vlr-rtl/htb-ltr/htb-ltr
+Pass 325: htb-rtl/vlr-rtl/htb-ltr/htb-rtl
+Pass 326: htb-rtl/vlr-rtl/htb-ltr/vlr-ltr
+Pass 327: htb-rtl/vlr-rtl/htb-ltr/vlr-rtl
+Pass 328: htb-rtl/vlr-rtl/htb-ltr/vrl-ltr
+Pass 329: htb-rtl/vlr-rtl/htb-ltr/vrl-rtl
+Pass 330: htb-rtl/vlr-rtl/htb-rtl/htb-ltr
+Pass 331: htb-rtl/vlr-rtl/htb-rtl/htb-rtl
+Pass 332: htb-rtl/vlr-rtl/htb-rtl/vlr-ltr
+Pass 333: htb-rtl/vlr-rtl/htb-rtl/vlr-rtl
+Pass 334: htb-rtl/vlr-rtl/htb-rtl/vrl-ltr
+Pass 335: htb-rtl/vlr-rtl/htb-rtl/vrl-rtl
+Pass 336: htb-rtl/vlr-rtl/vlr-ltr/htb-ltr
+Pass 337: htb-rtl/vlr-rtl/vlr-ltr/htb-rtl
+Pass 338: htb-rtl/vlr-rtl/vlr-ltr/vlr-ltr
+Pass 339: htb-rtl/vlr-rtl/vlr-ltr/vlr-rtl
+Pass 340: htb-rtl/vlr-rtl/vlr-ltr/vrl-ltr
+Pass 341: htb-rtl/vlr-rtl/vlr-ltr/vrl-rtl
+Pass 342: htb-rtl/vlr-rtl/vlr-rtl/htb-ltr
+Pass 343: htb-rtl/vlr-rtl/vlr-rtl/htb-rtl
+Pass 344: htb-rtl/vlr-rtl/vlr-rtl/vlr-ltr
+Pass 345: htb-rtl/vlr-rtl/vlr-rtl/vlr-rtl
+Pass 346: htb-rtl/vlr-rtl/vlr-rtl/vrl-ltr
+Pass 347: htb-rtl/vlr-rtl/vlr-rtl/vrl-rtl
+Pass 348: htb-rtl/vlr-rtl/vrl-ltr/htb-ltr
+Pass 349: htb-rtl/vlr-rtl/vrl-ltr/htb-rtl
+Pass 350: htb-rtl/vlr-rtl/vrl-ltr/vlr-ltr
+Pass 351: htb-rtl/vlr-rtl/vrl-ltr/vlr-rtl
+Pass 352: htb-rtl/vlr-rtl/vrl-ltr/vrl-ltr
+Pass 353: htb-rtl/vlr-rtl/vrl-ltr/vrl-rtl
+Pass 354: htb-rtl/vlr-rtl/vrl-rtl/htb-ltr
+Pass 355: htb-rtl/vlr-rtl/vrl-rtl/htb-rtl
+Pass 356: htb-rtl/vlr-rtl/vrl-rtl/vlr-ltr
+Pass 357: htb-rtl/vlr-rtl/vrl-rtl/vlr-rtl
+Pass 358: htb-rtl/vlr-rtl/vrl-rtl/vrl-ltr
+Pass 359: htb-rtl/vlr-rtl/vrl-rtl/vrl-rtl
+Pass 360: htb-rtl/vrl-ltr/htb-ltr/htb-ltr
+Pass 361: htb-rtl/vrl-ltr/htb-ltr/htb-rtl
+Pass 362: htb-rtl/vrl-ltr/htb-ltr/vlr-ltr
+Pass 363: htb-rtl/vrl-ltr/htb-ltr/vlr-rtl
+Pass 364: htb-rtl/vrl-ltr/htb-ltr/vrl-ltr
+Pass 365: htb-rtl/vrl-ltr/htb-ltr/vrl-rtl
+Pass 366: htb-rtl/vrl-ltr/htb-rtl/htb-ltr
+Pass 367: htb-rtl/vrl-ltr/htb-rtl/htb-rtl
+Pass 368: htb-rtl/vrl-ltr/htb-rtl/vlr-ltr
+Pass 369: htb-rtl/vrl-ltr/htb-rtl/vlr-rtl
+Pass 370: htb-rtl/vrl-ltr/htb-rtl/vrl-ltr
+Pass 371: htb-rtl/vrl-ltr/htb-rtl/vrl-rtl
+Pass 372: htb-rtl/vrl-ltr/vlr-ltr/htb-ltr
+Pass 373: htb-rtl/vrl-ltr/vlr-ltr/htb-rtl
+Pass 374: htb-rtl/vrl-ltr/vlr-ltr/vlr-ltr
+Pass 375: htb-rtl/vrl-ltr/vlr-ltr/vlr-rtl
+Pass 376: htb-rtl/vrl-ltr/vlr-ltr/vrl-ltr
+Pass 377: htb-rtl/vrl-ltr/vlr-ltr/vrl-rtl
+Pass 378: htb-rtl/vrl-ltr/vlr-rtl/htb-ltr
+Pass 379: htb-rtl/vrl-ltr/vlr-rtl/htb-rtl
+Pass 380: htb-rtl/vrl-ltr/vlr-rtl/vlr-ltr
+Pass 381: htb-rtl/vrl-ltr/vlr-rtl/vlr-rtl
+Pass 382: htb-rtl/vrl-ltr/vlr-rtl/vrl-ltr
+Pass 383: htb-rtl/vrl-ltr/vlr-rtl/vrl-rtl
+Pass 384: htb-rtl/vrl-ltr/vrl-ltr/htb-ltr
+Pass 385: htb-rtl/vrl-ltr/vrl-ltr/htb-rtl
+Pass 386: htb-rtl/vrl-ltr/vrl-ltr/vlr-ltr
+Pass 387: htb-rtl/vrl-ltr/vrl-ltr/vlr-rtl
+Pass 388: htb-rtl/vrl-ltr/vrl-ltr/vrl-ltr
+Pass 389: htb-rtl/vrl-ltr/vrl-ltr/vrl-rtl
+Pass 390: htb-rtl/vrl-ltr/vrl-rtl/htb-ltr
+Pass 391: htb-rtl/vrl-ltr/vrl-rtl/htb-rtl
+Pass 392: htb-rtl/vrl-ltr/vrl-rtl/vlr-ltr
+Pass 393: htb-rtl/vrl-ltr/vrl-rtl/vlr-rtl
+Pass 394: htb-rtl/vrl-ltr/vrl-rtl/vrl-ltr
+Pass 395: htb-rtl/vrl-ltr/vrl-rtl/vrl-rtl
+Pass 396: htb-rtl/vrl-rtl/htb-ltr/htb-ltr
+Pass 397: htb-rtl/vrl-rtl/htb-ltr/htb-rtl
+Pass 398: htb-rtl/vrl-rtl/htb-ltr/vlr-ltr
+Pass 399: htb-rtl/vrl-rtl/htb-ltr/vlr-rtl
+Pass 400: htb-rtl/vrl-rtl/htb-ltr/vrl-ltr
+Pass 401: htb-rtl/vrl-rtl/htb-ltr/vrl-rtl
+Pass 402: htb-rtl/vrl-rtl/htb-rtl/htb-ltr
+Pass 403: htb-rtl/vrl-rtl/htb-rtl/htb-rtl
+Pass 404: htb-rtl/vrl-rtl/htb-rtl/vlr-ltr
+Pass 405: htb-rtl/vrl-rtl/htb-rtl/vlr-rtl
+Pass 406: htb-rtl/vrl-rtl/htb-rtl/vrl-ltr
+Pass 407: htb-rtl/vrl-rtl/htb-rtl/vrl-rtl
+Pass 408: htb-rtl/vrl-rtl/vlr-ltr/htb-ltr
+Pass 409: htb-rtl/vrl-rtl/vlr-ltr/htb-rtl
+Pass 410: htb-rtl/vrl-rtl/vlr-ltr/vlr-ltr
+Pass 411: htb-rtl/vrl-rtl/vlr-ltr/vlr-rtl
+Pass 412: htb-rtl/vrl-rtl/vlr-ltr/vrl-ltr
+Pass 413: htb-rtl/vrl-rtl/vlr-ltr/vrl-rtl
+Pass 414: htb-rtl/vrl-rtl/vlr-rtl/htb-ltr
+Pass 415: htb-rtl/vrl-rtl/vlr-rtl/htb-rtl
+Pass 416: htb-rtl/vrl-rtl/vlr-rtl/vlr-ltr
+Pass 417: htb-rtl/vrl-rtl/vlr-rtl/vlr-rtl
+Pass 418: htb-rtl/vrl-rtl/vlr-rtl/vrl-ltr
+Pass 419: htb-rtl/vrl-rtl/vlr-rtl/vrl-rtl
+Pass 420: htb-rtl/vrl-rtl/vrl-ltr/htb-ltr
+Pass 421: htb-rtl/vrl-rtl/vrl-ltr/htb-rtl
+Pass 422: htb-rtl/vrl-rtl/vrl-ltr/vlr-ltr
+Pass 423: htb-rtl/vrl-rtl/vrl-ltr/vlr-rtl
+Pass 424: htb-rtl/vrl-rtl/vrl-ltr/vrl-ltr
+Pass 425: htb-rtl/vrl-rtl/vrl-ltr/vrl-rtl
+Pass 426: htb-rtl/vrl-rtl/vrl-rtl/htb-ltr
+Pass 427: htb-rtl/vrl-rtl/vrl-rtl/htb-rtl
+Pass 428: htb-rtl/vrl-rtl/vrl-rtl/vlr-ltr
+Pass 429: htb-rtl/vrl-rtl/vrl-rtl/vlr-rtl
+Pass 430: htb-rtl/vrl-rtl/vrl-rtl/vrl-ltr
+Pass 431: htb-rtl/vrl-rtl/vrl-rtl/vrl-rtl
+Fail 432: vlr-ltr/htb-ltr/htb-ltr/htb-ltr
+Fail 433: vlr-ltr/htb-ltr/htb-ltr/htb-rtl
+Fail 434: vlr-ltr/htb-ltr/htb-ltr/vlr-ltr
+Fail 435: vlr-ltr/htb-ltr/htb-ltr/vlr-rtl
+Fail 436: vlr-ltr/htb-ltr/htb-ltr/vrl-ltr
+Fail 437: vlr-ltr/htb-ltr/htb-ltr/vrl-rtl
+Fail 438: vlr-ltr/htb-ltr/htb-rtl/htb-ltr
+Fail 439: vlr-ltr/htb-ltr/htb-rtl/htb-rtl
+Fail 440: vlr-ltr/htb-ltr/htb-rtl/vlr-ltr
+Fail 441: vlr-ltr/htb-ltr/htb-rtl/vlr-rtl
+Fail 442: vlr-ltr/htb-ltr/htb-rtl/vrl-ltr
+Fail 443: vlr-ltr/htb-ltr/htb-rtl/vrl-rtl
+Fail 444: vlr-ltr/htb-ltr/vlr-ltr/htb-ltr
+Fail 445: vlr-ltr/htb-ltr/vlr-ltr/htb-rtl
+Fail 446: vlr-ltr/htb-ltr/vlr-ltr/vlr-ltr
+Fail 447: vlr-ltr/htb-ltr/vlr-ltr/vlr-rtl
+Fail 448: vlr-ltr/htb-ltr/vlr-ltr/vrl-ltr
+Fail 449: vlr-ltr/htb-ltr/vlr-ltr/vrl-rtl
+Fail 450: vlr-ltr/htb-ltr/vlr-rtl/htb-ltr
+Fail 451: vlr-ltr/htb-ltr/vlr-rtl/htb-rtl
+Fail 452: vlr-ltr/htb-ltr/vlr-rtl/vlr-ltr
+Fail 453: vlr-ltr/htb-ltr/vlr-rtl/vlr-rtl
+Fail 454: vlr-ltr/htb-ltr/vlr-rtl/vrl-ltr
+Fail 455: vlr-ltr/htb-ltr/vlr-rtl/vrl-rtl
+Fail 456: vlr-ltr/htb-ltr/vrl-ltr/htb-ltr
+Fail 457: vlr-ltr/htb-ltr/vrl-ltr/htb-rtl
+Fail 458: vlr-ltr/htb-ltr/vrl-ltr/vlr-ltr
+Fail 459: vlr-ltr/htb-ltr/vrl-ltr/vlr-rtl
+Fail 460: vlr-ltr/htb-ltr/vrl-ltr/vrl-ltr
+Fail 461: vlr-ltr/htb-ltr/vrl-ltr/vrl-rtl
+Fail 462: vlr-ltr/htb-ltr/vrl-rtl/htb-ltr
+Fail 463: vlr-ltr/htb-ltr/vrl-rtl/htb-rtl
+Fail 464: vlr-ltr/htb-ltr/vrl-rtl/vlr-ltr
+Fail 465: vlr-ltr/htb-ltr/vrl-rtl/vlr-rtl
+Fail 466: vlr-ltr/htb-ltr/vrl-rtl/vrl-ltr
+Fail 467: vlr-ltr/htb-ltr/vrl-rtl/vrl-rtl
+Fail 468: vlr-ltr/htb-rtl/htb-ltr/htb-ltr
+Fail 469: vlr-ltr/htb-rtl/htb-ltr/htb-rtl
+Fail 470: vlr-ltr/htb-rtl/htb-ltr/vlr-ltr
+Fail 471: vlr-ltr/htb-rtl/htb-ltr/vlr-rtl
+Fail 472: vlr-ltr/htb-rtl/htb-ltr/vrl-ltr
+Fail 473: vlr-ltr/htb-rtl/htb-ltr/vrl-rtl
+Fail 474: vlr-ltr/htb-rtl/htb-rtl/htb-ltr
+Fail 475: vlr-ltr/htb-rtl/htb-rtl/htb-rtl
+Fail 476: vlr-ltr/htb-rtl/htb-rtl/vlr-ltr
+Fail 477: vlr-ltr/htb-rtl/htb-rtl/vlr-rtl
+Fail 478: vlr-ltr/htb-rtl/htb-rtl/vrl-ltr
+Fail 479: vlr-ltr/htb-rtl/htb-rtl/vrl-rtl
+Fail 480: vlr-ltr/htb-rtl/vlr-ltr/htb-ltr
+Fail 481: vlr-ltr/htb-rtl/vlr-ltr/htb-rtl
+Fail 482: vlr-ltr/htb-rtl/vlr-ltr/vlr-ltr
+Fail 483: vlr-ltr/htb-rtl/vlr-ltr/vlr-rtl
+Fail 484: vlr-ltr/htb-rtl/vlr-ltr/vrl-ltr
+Fail 485: vlr-ltr/htb-rtl/vlr-ltr/vrl-rtl
+Fail 486: vlr-ltr/htb-rtl/vlr-rtl/htb-ltr
+Fail 487: vlr-ltr/htb-rtl/vlr-rtl/htb-rtl
+Fail 488: vlr-ltr/htb-rtl/vlr-rtl/vlr-ltr
+Fail 489: vlr-ltr/htb-rtl/vlr-rtl/vlr-rtl
+Fail 490: vlr-ltr/htb-rtl/vlr-rtl/vrl-ltr
+Fail 491: vlr-ltr/htb-rtl/vlr-rtl/vrl-rtl
+Fail 492: vlr-ltr/htb-rtl/vrl-ltr/htb-ltr
+Fail 493: vlr-ltr/htb-rtl/vrl-ltr/htb-rtl
+Fail 494: vlr-ltr/htb-rtl/vrl-ltr/vlr-ltr
+Fail 495: vlr-ltr/htb-rtl/vrl-ltr/vlr-rtl
+Fail 496: vlr-ltr/htb-rtl/vrl-ltr/vrl-ltr
+Fail 497: vlr-ltr/htb-rtl/vrl-ltr/vrl-rtl
+Fail 498: vlr-ltr/htb-rtl/vrl-rtl/htb-ltr
+Fail 499: vlr-ltr/htb-rtl/vrl-rtl/htb-rtl
+Fail 500: vlr-ltr/htb-rtl/vrl-rtl/vlr-ltr
+Fail 501: vlr-ltr/htb-rtl/vrl-rtl/vlr-rtl
+Fail 502: vlr-ltr/htb-rtl/vrl-rtl/vrl-ltr
+Fail 503: vlr-ltr/htb-rtl/vrl-rtl/vrl-rtl
+Fail 504: vlr-ltr/vlr-ltr/htb-ltr/htb-ltr
+Fail 505: vlr-ltr/vlr-ltr/htb-ltr/htb-rtl
+Fail 506: vlr-ltr/vlr-ltr/htb-ltr/vlr-ltr
+Fail 507: vlr-ltr/vlr-ltr/htb-ltr/vlr-rtl
+Fail 508: vlr-ltr/vlr-ltr/htb-ltr/vrl-ltr
+Fail 509: vlr-ltr/vlr-ltr/htb-ltr/vrl-rtl
+Fail 510: vlr-ltr/vlr-ltr/htb-rtl/htb-ltr
+Fail 511: vlr-ltr/vlr-ltr/htb-rtl/htb-rtl
+Fail 512: vlr-ltr/vlr-ltr/htb-rtl/vlr-ltr
+Fail 513: vlr-ltr/vlr-ltr/htb-rtl/vlr-rtl
+Fail 514: vlr-ltr/vlr-ltr/htb-rtl/vrl-ltr
+Fail 515: vlr-ltr/vlr-ltr/htb-rtl/vrl-rtl
+Fail 516: vlr-ltr/vlr-ltr/vlr-ltr/htb-ltr
+Fail 517: vlr-ltr/vlr-ltr/vlr-ltr/htb-rtl
+Fail 518: vlr-ltr/vlr-ltr/vlr-ltr/vlr-ltr
+Fail 519: vlr-ltr/vlr-ltr/vlr-ltr/vlr-rtl
+Fail 520: vlr-ltr/vlr-ltr/vlr-ltr/vrl-ltr
+Fail 521: vlr-ltr/vlr-ltr/vlr-ltr/vrl-rtl
+Fail 522: vlr-ltr/vlr-ltr/vlr-rtl/htb-ltr
+Fail 523: vlr-ltr/vlr-ltr/vlr-rtl/htb-rtl
+Fail 524: vlr-ltr/vlr-ltr/vlr-rtl/vlr-ltr
+Fail 525: vlr-ltr/vlr-ltr/vlr-rtl/vlr-rtl
+Fail 526: vlr-ltr/vlr-ltr/vlr-rtl/vrl-ltr
+Fail 527: vlr-ltr/vlr-ltr/vlr-rtl/vrl-rtl
+Fail 528: vlr-ltr/vlr-ltr/vrl-ltr/htb-ltr
+Fail 529: vlr-ltr/vlr-ltr/vrl-ltr/htb-rtl
+Fail 530: vlr-ltr/vlr-ltr/vrl-ltr/vlr-ltr
+Fail 531: vlr-ltr/vlr-ltr/vrl-ltr/vlr-rtl
+Fail 532: vlr-ltr/vlr-ltr/vrl-ltr/vrl-ltr
+Fail 533: vlr-ltr/vlr-ltr/vrl-ltr/vrl-rtl
+Fail 534: vlr-ltr/vlr-ltr/vrl-rtl/htb-ltr
+Fail 535: vlr-ltr/vlr-ltr/vrl-rtl/htb-rtl
+Fail 536: vlr-ltr/vlr-ltr/vrl-rtl/vlr-ltr
+Fail 537: vlr-ltr/vlr-ltr/vrl-rtl/vlr-rtl
+Fail 538: vlr-ltr/vlr-ltr/vrl-rtl/vrl-ltr
+Fail 539: vlr-ltr/vlr-ltr/vrl-rtl/vrl-rtl
+Fail 540: vlr-ltr/vlr-rtl/htb-ltr/htb-ltr
+Fail 541: vlr-ltr/vlr-rtl/htb-ltr/htb-rtl
+Fail 542: vlr-ltr/vlr-rtl/htb-ltr/vlr-ltr
+Fail 543: vlr-ltr/vlr-rtl/htb-ltr/vlr-rtl
+Fail 544: vlr-ltr/vlr-rtl/htb-ltr/vrl-ltr
+Fail 545: vlr-ltr/vlr-rtl/htb-ltr/vrl-rtl
+Fail 546: vlr-ltr/vlr-rtl/htb-rtl/htb-ltr
+Fail 547: vlr-ltr/vlr-rtl/htb-rtl/htb-rtl
+Fail 548: vlr-ltr/vlr-rtl/htb-rtl/vlr-ltr
+Fail 549: vlr-ltr/vlr-rtl/htb-rtl/vlr-rtl
+Fail 550: vlr-ltr/vlr-rtl/htb-rtl/vrl-ltr
+Fail 551: vlr-ltr/vlr-rtl/htb-rtl/vrl-rtl
+Fail 552: vlr-ltr/vlr-rtl/vlr-ltr/htb-ltr
+Fail 553: vlr-ltr/vlr-rtl/vlr-ltr/htb-rtl
+Fail 554: vlr-ltr/vlr-rtl/vlr-ltr/vlr-ltr
+Fail 555: vlr-ltr/vlr-rtl/vlr-ltr/vlr-rtl
+Fail 556: vlr-ltr/vlr-rtl/vlr-ltr/vrl-ltr
+Fail 557: vlr-ltr/vlr-rtl/vlr-ltr/vrl-rtl
+Fail 558: vlr-ltr/vlr-rtl/vlr-rtl/htb-ltr
+Fail 559: vlr-ltr/vlr-rtl/vlr-rtl/htb-rtl
+Fail 560: vlr-ltr/vlr-rtl/vlr-rtl/vlr-ltr
+Fail 561: vlr-ltr/vlr-rtl/vlr-rtl/vlr-rtl
+Fail 562: vlr-ltr/vlr-rtl/vlr-rtl/vrl-ltr
+Fail 563: vlr-ltr/vlr-rtl/vlr-rtl/vrl-rtl
+Fail 564: vlr-ltr/vlr-rtl/vrl-ltr/htb-ltr
+Fail 565: vlr-ltr/vlr-rtl/vrl-ltr/htb-rtl
+Fail 566: vlr-ltr/vlr-rtl/vrl-ltr/vlr-ltr
+Fail 567: vlr-ltr/vlr-rtl/vrl-ltr/vlr-rtl
+Fail 568: vlr-ltr/vlr-rtl/vrl-ltr/vrl-ltr
+Fail 569: vlr-ltr/vlr-rtl/vrl-ltr/vrl-rtl
+Fail 570: vlr-ltr/vlr-rtl/vrl-rtl/htb-ltr
+Fail 571: vlr-ltr/vlr-rtl/vrl-rtl/htb-rtl
+Fail 572: vlr-ltr/vlr-rtl/vrl-rtl/vlr-ltr
+Fail 573: vlr-ltr/vlr-rtl/vrl-rtl/vlr-rtl
+Fail 574: vlr-ltr/vlr-rtl/vrl-rtl/vrl-ltr
+Fail 575: vlr-ltr/vlr-rtl/vrl-rtl/vrl-rtl
+Fail 576: vlr-ltr/vrl-ltr/htb-ltr/htb-ltr
+Fail 577: vlr-ltr/vrl-ltr/htb-ltr/htb-rtl
+Fail 578: vlr-ltr/vrl-ltr/htb-ltr/vlr-ltr
+Fail 579: vlr-ltr/vrl-ltr/htb-ltr/vlr-rtl
+Fail 580: vlr-ltr/vrl-ltr/htb-ltr/vrl-ltr
+Fail 581: vlr-ltr/vrl-ltr/htb-ltr/vrl-rtl
+Fail 582: vlr-ltr/vrl-ltr/htb-rtl/htb-ltr
+Fail 583: vlr-ltr/vrl-ltr/htb-rtl/htb-rtl
+Fail 584: vlr-ltr/vrl-ltr/htb-rtl/vlr-ltr
+Fail 585: vlr-ltr/vrl-ltr/htb-rtl/vlr-rtl
+Fail 586: vlr-ltr/vrl-ltr/htb-rtl/vrl-ltr
+Fail 587: vlr-ltr/vrl-ltr/htb-rtl/vrl-rtl
+Fail 588: vlr-ltr/vrl-ltr/vlr-ltr/htb-ltr
+Fail 589: vlr-ltr/vrl-ltr/vlr-ltr/htb-rtl
+Fail 590: vlr-ltr/vrl-ltr/vlr-ltr/vlr-ltr
+Fail 591: vlr-ltr/vrl-ltr/vlr-ltr/vlr-rtl
+Fail 592: vlr-ltr/vrl-ltr/vlr-ltr/vrl-ltr
+Fail 593: vlr-ltr/vrl-ltr/vlr-ltr/vrl-rtl
+Fail 594: vlr-ltr/vrl-ltr/vlr-rtl/htb-ltr
+Fail 595: vlr-ltr/vrl-ltr/vlr-rtl/htb-rtl
+Fail 596: vlr-ltr/vrl-ltr/vlr-rtl/vlr-ltr
+Fail 597: vlr-ltr/vrl-ltr/vlr-rtl/vlr-rtl
+Fail 598: vlr-ltr/vrl-ltr/vlr-rtl/vrl-ltr
+Fail 599: vlr-ltr/vrl-ltr/vlr-rtl/vrl-rtl
+Fail 600: vlr-ltr/vrl-ltr/vrl-ltr/htb-ltr
+Fail 601: vlr-ltr/vrl-ltr/vrl-ltr/htb-rtl
+Fail 602: vlr-ltr/vrl-ltr/vrl-ltr/vlr-ltr
+Fail 603: vlr-ltr/vrl-ltr/vrl-ltr/vlr-rtl
+Fail 604: vlr-ltr/vrl-ltr/vrl-ltr/vrl-ltr
+Fail 605: vlr-ltr/vrl-ltr/vrl-ltr/vrl-rtl
+Fail 606: vlr-ltr/vrl-ltr/vrl-rtl/htb-ltr
+Fail 607: vlr-ltr/vrl-ltr/vrl-rtl/htb-rtl
+Fail 608: vlr-ltr/vrl-ltr/vrl-rtl/vlr-ltr
+Fail 609: vlr-ltr/vrl-ltr/vrl-rtl/vlr-rtl
+Fail 610: vlr-ltr/vrl-ltr/vrl-rtl/vrl-ltr
+Fail 611: vlr-ltr/vrl-ltr/vrl-rtl/vrl-rtl
+Fail 612: vlr-ltr/vrl-rtl/htb-ltr/htb-ltr
+Fail 613: vlr-ltr/vrl-rtl/htb-ltr/htb-rtl
+Fail 614: vlr-ltr/vrl-rtl/htb-ltr/vlr-ltr
+Fail 615: vlr-ltr/vrl-rtl/htb-ltr/vlr-rtl
+Fail 616: vlr-ltr/vrl-rtl/htb-ltr/vrl-ltr
+Fail 617: vlr-ltr/vrl-rtl/htb-ltr/vrl-rtl
+Fail 618: vlr-ltr/vrl-rtl/htb-rtl/htb-ltr
+Fail 619: vlr-ltr/vrl-rtl/htb-rtl/htb-rtl
+Fail 620: vlr-ltr/vrl-rtl/htb-rtl/vlr-ltr
+Fail 621: vlr-ltr/vrl-rtl/htb-rtl/vlr-rtl
+Fail 622: vlr-ltr/vrl-rtl/htb-rtl/vrl-ltr
+Fail 623: vlr-ltr/vrl-rtl/htb-rtl/vrl-rtl
+Fail 624: vlr-ltr/vrl-rtl/vlr-ltr/htb-ltr
+Fail 625: vlr-ltr/vrl-rtl/vlr-ltr/htb-rtl
+Fail 626: vlr-ltr/vrl-rtl/vlr-ltr/vlr-ltr
+Fail 627: vlr-ltr/vrl-rtl/vlr-ltr/vlr-rtl
+Fail 628: vlr-ltr/vrl-rtl/vlr-ltr/vrl-ltr
+Fail 629: vlr-ltr/vrl-rtl/vlr-ltr/vrl-rtl
+Fail 630: vlr-ltr/vrl-rtl/vlr-rtl/htb-ltr
+Fail 631: vlr-ltr/vrl-rtl/vlr-rtl/htb-rtl
+Fail 632: vlr-ltr/vrl-rtl/vlr-rtl/vlr-ltr
+Fail 633: vlr-ltr/vrl-rtl/vlr-rtl/vlr-rtl
+Fail 634: vlr-ltr/vrl-rtl/vlr-rtl/vrl-ltr
+Fail 635: vlr-ltr/vrl-rtl/vlr-rtl/vrl-rtl
+Fail 636: vlr-ltr/vrl-rtl/vrl-ltr/htb-ltr
+Fail 637: vlr-ltr/vrl-rtl/vrl-ltr/htb-rtl
+Fail 638: vlr-ltr/vrl-rtl/vrl-ltr/vlr-ltr
+Fail 639: vlr-ltr/vrl-rtl/vrl-ltr/vlr-rtl
+Fail 640: vlr-ltr/vrl-rtl/vrl-ltr/vrl-ltr
+Fail 641: vlr-ltr/vrl-rtl/vrl-ltr/vrl-rtl
+Fail 642: vlr-ltr/vrl-rtl/vrl-rtl/htb-ltr
+Fail 643: vlr-ltr/vrl-rtl/vrl-rtl/htb-rtl
+Fail 644: vlr-ltr/vrl-rtl/vrl-rtl/vlr-ltr
+Fail 645: vlr-ltr/vrl-rtl/vrl-rtl/vlr-rtl
+Fail 646: vlr-ltr/vrl-rtl/vrl-rtl/vrl-ltr
+Fail 647: vlr-ltr/vrl-rtl/vrl-rtl/vrl-rtl
+Fail 648: vlr-rtl/htb-ltr/htb-ltr/htb-ltr
+Fail 649: vlr-rtl/htb-ltr/htb-ltr/htb-rtl
+Fail 650: vlr-rtl/htb-ltr/htb-ltr/vlr-ltr
+Fail 651: vlr-rtl/htb-ltr/htb-ltr/vlr-rtl
+Fail 652: vlr-rtl/htb-ltr/htb-ltr/vrl-ltr
+Fail 653: vlr-rtl/htb-ltr/htb-ltr/vrl-rtl
+Fail 654: vlr-rtl/htb-ltr/htb-rtl/htb-ltr
+Fail 655: vlr-rtl/htb-ltr/htb-rtl/htb-rtl
+Fail 656: vlr-rtl/htb-ltr/htb-rtl/vlr-ltr
+Fail 657: vlr-rtl/htb-ltr/htb-rtl/vlr-rtl
+Fail 658: vlr-rtl/htb-ltr/htb-rtl/vrl-ltr
+Fail 659: vlr-rtl/htb-ltr/htb-rtl/vrl-rtl
+Fail 660: vlr-rtl/htb-ltr/vlr-ltr/htb-ltr
+Fail 661: vlr-rtl/htb-ltr/vlr-ltr/htb-rtl
+Fail 662: vlr-rtl/htb-ltr/vlr-ltr/vlr-ltr
+Fail 663: vlr-rtl/htb-ltr/vlr-ltr/vlr-rtl
+Fail 664: vlr-rtl/htb-ltr/vlr-ltr/vrl-ltr
+Fail 665: vlr-rtl/htb-ltr/vlr-ltr/vrl-rtl
+Fail 666: vlr-rtl/htb-ltr/vlr-rtl/htb-ltr
+Fail 667: vlr-rtl/htb-ltr/vlr-rtl/htb-rtl
+Fail 668: vlr-rtl/htb-ltr/vlr-rtl/vlr-ltr
+Fail 669: vlr-rtl/htb-ltr/vlr-rtl/vlr-rtl
+Fail 670: vlr-rtl/htb-ltr/vlr-rtl/vrl-ltr
+Fail 671: vlr-rtl/htb-ltr/vlr-rtl/vrl-rtl
+Fail 672: vlr-rtl/htb-ltr/vrl-ltr/htb-ltr
+Fail 673: vlr-rtl/htb-ltr/vrl-ltr/htb-rtl
+Fail 674: vlr-rtl/htb-ltr/vrl-ltr/vlr-ltr
+Fail 675: vlr-rtl/htb-ltr/vrl-ltr/vlr-rtl
+Fail 676: vlr-rtl/htb-ltr/vrl-ltr/vrl-ltr
+Fail 677: vlr-rtl/htb-ltr/vrl-ltr/vrl-rtl
+Fail 678: vlr-rtl/htb-ltr/vrl-rtl/htb-ltr
+Fail 679: vlr-rtl/htb-ltr/vrl-rtl/htb-rtl
+Fail 680: vlr-rtl/htb-ltr/vrl-rtl/vlr-ltr
+Fail 681: vlr-rtl/htb-ltr/vrl-rtl/vlr-rtl
+Fail 682: vlr-rtl/htb-ltr/vrl-rtl/vrl-ltr
+Fail 683: vlr-rtl/htb-ltr/vrl-rtl/vrl-rtl
+Fail 684: vlr-rtl/htb-rtl/htb-ltr/htb-ltr
+Fail 685: vlr-rtl/htb-rtl/htb-ltr/htb-rtl
+Fail 686: vlr-rtl/htb-rtl/htb-ltr/vlr-ltr
+Fail 687: vlr-rtl/htb-rtl/htb-ltr/vlr-rtl
+Fail 688: vlr-rtl/htb-rtl/htb-ltr/vrl-ltr
+Fail 689: vlr-rtl/htb-rtl/htb-ltr/vrl-rtl
+Fail 690: vlr-rtl/htb-rtl/htb-rtl/htb-ltr
+Fail 691: vlr-rtl/htb-rtl/htb-rtl/htb-rtl
+Fail 692: vlr-rtl/htb-rtl/htb-rtl/vlr-ltr
+Fail 693: vlr-rtl/htb-rtl/htb-rtl/vlr-rtl
+Fail 694: vlr-rtl/htb-rtl/htb-rtl/vrl-ltr
+Fail 695: vlr-rtl/htb-rtl/htb-rtl/vrl-rtl
+Fail 696: vlr-rtl/htb-rtl/vlr-ltr/htb-ltr
+Fail 697: vlr-rtl/htb-rtl/vlr-ltr/htb-rtl
+Fail 698: vlr-rtl/htb-rtl/vlr-ltr/vlr-ltr
+Fail 699: vlr-rtl/htb-rtl/vlr-ltr/vlr-rtl
+Fail 700: vlr-rtl/htb-rtl/vlr-ltr/vrl-ltr
+Fail 701: vlr-rtl/htb-rtl/vlr-ltr/vrl-rtl
+Fail 702: vlr-rtl/htb-rtl/vlr-rtl/htb-ltr
+Fail 703: vlr-rtl/htb-rtl/vlr-rtl/htb-rtl
+Fail 704: vlr-rtl/htb-rtl/vlr-rtl/vlr-ltr
+Fail 705: vlr-rtl/htb-rtl/vlr-rtl/vlr-rtl
+Fail 706: vlr-rtl/htb-rtl/vlr-rtl/vrl-ltr
+Fail 707: vlr-rtl/htb-rtl/vlr-rtl/vrl-rtl
+Fail 708: vlr-rtl/htb-rtl/vrl-ltr/htb-ltr
+Fail 709: vlr-rtl/htb-rtl/vrl-ltr/htb-rtl
+Fail 710: vlr-rtl/htb-rtl/vrl-ltr/vlr-ltr
+Fail 711: vlr-rtl/htb-rtl/vrl-ltr/vlr-rtl
+Fail 712: vlr-rtl/htb-rtl/vrl-ltr/vrl-ltr
+Fail 713: vlr-rtl/htb-rtl/vrl-ltr/vrl-rtl
+Fail 714: vlr-rtl/htb-rtl/vrl-rtl/htb-ltr
+Fail 715: vlr-rtl/htb-rtl/vrl-rtl/htb-rtl
+Fail 716: vlr-rtl/htb-rtl/vrl-rtl/vlr-ltr
+Fail 717: vlr-rtl/htb-rtl/vrl-rtl/vlr-rtl
+Fail 718: vlr-rtl/htb-rtl/vrl-rtl/vrl-ltr
+Fail 719: vlr-rtl/htb-rtl/vrl-rtl/vrl-rtl
+Fail 720: vlr-rtl/vlr-ltr/htb-ltr/htb-ltr
+Fail 721: vlr-rtl/vlr-ltr/htb-ltr/htb-rtl
+Fail 722: vlr-rtl/vlr-ltr/htb-ltr/vlr-ltr
+Fail 723: vlr-rtl/vlr-ltr/htb-ltr/vlr-rtl
+Fail 724: vlr-rtl/vlr-ltr/htb-ltr/vrl-ltr
+Fail 725: vlr-rtl/vlr-ltr/htb-ltr/vrl-rtl
+Fail 726: vlr-rtl/vlr-ltr/htb-rtl/htb-ltr
+Fail 727: vlr-rtl/vlr-ltr/htb-rtl/htb-rtl
+Fail 728: vlr-rtl/vlr-ltr/htb-rtl/vlr-ltr
+Fail 729: vlr-rtl/vlr-ltr/htb-rtl/vlr-rtl
+Fail 730: vlr-rtl/vlr-ltr/htb-rtl/vrl-ltr
+Fail 731: vlr-rtl/vlr-ltr/htb-rtl/vrl-rtl
+Fail 732: vlr-rtl/vlr-ltr/vlr-ltr/htb-ltr
+Fail 733: vlr-rtl/vlr-ltr/vlr-ltr/htb-rtl
+Fail 734: vlr-rtl/vlr-ltr/vlr-ltr/vlr-ltr
+Fail 735: vlr-rtl/vlr-ltr/vlr-ltr/vlr-rtl
+Fail 736: vlr-rtl/vlr-ltr/vlr-ltr/vrl-ltr
+Fail 737: vlr-rtl/vlr-ltr/vlr-ltr/vrl-rtl
+Fail 738: vlr-rtl/vlr-ltr/vlr-rtl/htb-ltr
+Fail 739: vlr-rtl/vlr-ltr/vlr-rtl/htb-rtl
+Fail 740: vlr-rtl/vlr-ltr/vlr-rtl/vlr-ltr
+Fail 741: vlr-rtl/vlr-ltr/vlr-rtl/vlr-rtl
+Fail 742: vlr-rtl/vlr-ltr/vlr-rtl/vrl-ltr
+Fail 743: vlr-rtl/vlr-ltr/vlr-rtl/vrl-rtl
+Fail 744: vlr-rtl/vlr-ltr/vrl-ltr/htb-ltr
+Fail 745: vlr-rtl/vlr-ltr/vrl-ltr/htb-rtl
+Fail 746: vlr-rtl/vlr-ltr/vrl-ltr/vlr-ltr
+Fail 747: vlr-rtl/vlr-ltr/vrl-ltr/vlr-rtl
+Fail 748: vlr-rtl/vlr-ltr/vrl-ltr/vrl-ltr
+Fail 749: vlr-rtl/vlr-ltr/vrl-ltr/vrl-rtl
+Fail 750: vlr-rtl/vlr-ltr/vrl-rtl/htb-ltr
+Fail 751: vlr-rtl/vlr-ltr/vrl-rtl/htb-rtl
+Fail 752: vlr-rtl/vlr-ltr/vrl-rtl/vlr-ltr
+Fail 753: vlr-rtl/vlr-ltr/vrl-rtl/vlr-rtl
+Fail 754: vlr-rtl/vlr-ltr/vrl-rtl/vrl-ltr
+Fail 755: vlr-rtl/vlr-ltr/vrl-rtl/vrl-rtl
+Fail 756: vlr-rtl/vlr-rtl/htb-ltr/htb-ltr
+Fail 757: vlr-rtl/vlr-rtl/htb-ltr/htb-rtl
+Fail 758: vlr-rtl/vlr-rtl/htb-ltr/vlr-ltr
+Fail 759: vlr-rtl/vlr-rtl/htb-ltr/vlr-rtl
+Fail 760: vlr-rtl/vlr-rtl/htb-ltr/vrl-ltr
+Fail 761: vlr-rtl/vlr-rtl/htb-ltr/vrl-rtl
+Fail 762: vlr-rtl/vlr-rtl/htb-rtl/htb-ltr
+Fail 763: vlr-rtl/vlr-rtl/htb-rtl/htb-rtl
+Fail 764: vlr-rtl/vlr-rtl/htb-rtl/vlr-ltr
+Fail 765: vlr-rtl/vlr-rtl/htb-rtl/vlr-rtl
+Fail 766: vlr-rtl/vlr-rtl/htb-rtl/vrl-ltr
+Fail 767: vlr-rtl/vlr-rtl/htb-rtl/vrl-rtl
+Fail 768: vlr-rtl/vlr-rtl/vlr-ltr/htb-ltr
+Fail 769: vlr-rtl/vlr-rtl/vlr-ltr/htb-rtl
+Fail 770: vlr-rtl/vlr-rtl/vlr-ltr/vlr-ltr
+Fail 771: vlr-rtl/vlr-rtl/vlr-ltr/vlr-rtl
+Fail 772: vlr-rtl/vlr-rtl/vlr-ltr/vrl-ltr
+Fail 773: vlr-rtl/vlr-rtl/vlr-ltr/vrl-rtl
+Fail 774: vlr-rtl/vlr-rtl/vlr-rtl/htb-ltr
+Fail 775: vlr-rtl/vlr-rtl/vlr-rtl/htb-rtl
+Fail 776: vlr-rtl/vlr-rtl/vlr-rtl/vlr-ltr
+Fail 777: vlr-rtl/vlr-rtl/vlr-rtl/vlr-rtl
+Fail 778: vlr-rtl/vlr-rtl/vlr-rtl/vrl-ltr
+Fail 779: vlr-rtl/vlr-rtl/vlr-rtl/vrl-rtl
+Fail 780: vlr-rtl/vlr-rtl/vrl-ltr/htb-ltr
+Fail 781: vlr-rtl/vlr-rtl/vrl-ltr/htb-rtl
+Fail 782: vlr-rtl/vlr-rtl/vrl-ltr/vlr-ltr
+Fail 783: vlr-rtl/vlr-rtl/vrl-ltr/vlr-rtl
+Fail 784: vlr-rtl/vlr-rtl/vrl-ltr/vrl-ltr
+Fail 785: vlr-rtl/vlr-rtl/vrl-ltr/vrl-rtl
+Fail 786: vlr-rtl/vlr-rtl/vrl-rtl/htb-ltr
+Fail 787: vlr-rtl/vlr-rtl/vrl-rtl/htb-rtl
+Fail 788: vlr-rtl/vlr-rtl/vrl-rtl/vlr-ltr
+Fail 789: vlr-rtl/vlr-rtl/vrl-rtl/vlr-rtl
+Fail 790: vlr-rtl/vlr-rtl/vrl-rtl/vrl-ltr
+Fail 791: vlr-rtl/vlr-rtl/vrl-rtl/vrl-rtl
+Fail 792: vlr-rtl/vrl-ltr/htb-ltr/htb-ltr
+Fail 793: vlr-rtl/vrl-ltr/htb-ltr/htb-rtl
+Fail 794: vlr-rtl/vrl-ltr/htb-ltr/vlr-ltr
+Fail 795: vlr-rtl/vrl-ltr/htb-ltr/vlr-rtl
+Fail 796: vlr-rtl/vrl-ltr/htb-ltr/vrl-ltr
+Fail 797: vlr-rtl/vrl-ltr/htb-ltr/vrl-rtl
+Fail 798: vlr-rtl/vrl-ltr/htb-rtl/htb-ltr
+Fail 799: vlr-rtl/vrl-ltr/htb-rtl/htb-rtl
+Fail 800: vlr-rtl/vrl-ltr/htb-rtl/vlr-ltr
+Fail 801: vlr-rtl/vrl-ltr/htb-rtl/vlr-rtl
+Fail 802: vlr-rtl/vrl-ltr/htb-rtl/vrl-ltr
+Fail 803: vlr-rtl/vrl-ltr/htb-rtl/vrl-rtl
+Fail 804: vlr-rtl/vrl-ltr/vlr-ltr/htb-ltr
+Fail 805: vlr-rtl/vrl-ltr/vlr-ltr/htb-rtl
+Fail 806: vlr-rtl/vrl-ltr/vlr-ltr/vlr-ltr
+Fail 807: vlr-rtl/vrl-ltr/vlr-ltr/vlr-rtl
+Fail 808: vlr-rtl/vrl-ltr/vlr-ltr/vrl-ltr
+Fail 809: vlr-rtl/vrl-ltr/vlr-ltr/vrl-rtl
+Fail 810: vlr-rtl/vrl-ltr/vlr-rtl/htb-ltr
+Fail 811: vlr-rtl/vrl-ltr/vlr-rtl/htb-rtl
+Fail 812: vlr-rtl/vrl-ltr/vlr-rtl/vlr-ltr
+Fail 813: vlr-rtl/vrl-ltr/vlr-rtl/vlr-rtl
+Fail 814: vlr-rtl/vrl-ltr/vlr-rtl/vrl-ltr
+Fail 815: vlr-rtl/vrl-ltr/vlr-rtl/vrl-rtl
+Fail 816: vlr-rtl/vrl-ltr/vrl-ltr/htb-ltr
+Fail 817: vlr-rtl/vrl-ltr/vrl-ltr/htb-rtl
+Fail 818: vlr-rtl/vrl-ltr/vrl-ltr/vlr-ltr
+Fail 819: vlr-rtl/vrl-ltr/vrl-ltr/vlr-rtl
+Fail 820: vlr-rtl/vrl-ltr/vrl-ltr/vrl-ltr
+Fail 821: vlr-rtl/vrl-ltr/vrl-ltr/vrl-rtl
+Fail 822: vlr-rtl/vrl-ltr/vrl-rtl/htb-ltr
+Fail 823: vlr-rtl/vrl-ltr/vrl-rtl/htb-rtl
+Fail 824: vlr-rtl/vrl-ltr/vrl-rtl/vlr-ltr
+Fail 825: vlr-rtl/vrl-ltr/vrl-rtl/vlr-rtl
+Fail 826: vlr-rtl/vrl-ltr/vrl-rtl/vrl-ltr
+Fail 827: vlr-rtl/vrl-ltr/vrl-rtl/vrl-rtl
+Fail 828: vlr-rtl/vrl-rtl/htb-ltr/htb-ltr
+Fail 829: vlr-rtl/vrl-rtl/htb-ltr/htb-rtl
+Fail 830: vlr-rtl/vrl-rtl/htb-ltr/vlr-ltr
+Fail 831: vlr-rtl/vrl-rtl/htb-ltr/vlr-rtl
+Fail 832: vlr-rtl/vrl-rtl/htb-ltr/vrl-ltr
+Fail 833: vlr-rtl/vrl-rtl/htb-ltr/vrl-rtl
+Fail 834: vlr-rtl/vrl-rtl/htb-rtl/htb-ltr
+Fail 835: vlr-rtl/vrl-rtl/htb-rtl/htb-rtl
+Fail 836: vlr-rtl/vrl-rtl/htb-rtl/vlr-ltr
+Fail 837: vlr-rtl/vrl-rtl/htb-rtl/vlr-rtl
+Fail 838: vlr-rtl/vrl-rtl/htb-rtl/vrl-ltr
+Fail 839: vlr-rtl/vrl-rtl/htb-rtl/vrl-rtl
+Fail 840: vlr-rtl/vrl-rtl/vlr-ltr/htb-ltr
+Fail 841: vlr-rtl/vrl-rtl/vlr-ltr/htb-rtl
+Fail 842: vlr-rtl/vrl-rtl/vlr-ltr/vlr-ltr
+Fail 843: vlr-rtl/vrl-rtl/vlr-ltr/vlr-rtl
+Fail 844: vlr-rtl/vrl-rtl/vlr-ltr/vrl-ltr
+Fail 845: vlr-rtl/vrl-rtl/vlr-ltr/vrl-rtl
+Fail 846: vlr-rtl/vrl-rtl/vlr-rtl/htb-ltr
+Fail 847: vlr-rtl/vrl-rtl/vlr-rtl/htb-rtl
+Fail 848: vlr-rtl/vrl-rtl/vlr-rtl/vlr-ltr
+Fail 849: vlr-rtl/vrl-rtl/vlr-rtl/vlr-rtl
+Fail 850: vlr-rtl/vrl-rtl/vlr-rtl/vrl-ltr
+Fail 851: vlr-rtl/vrl-rtl/vlr-rtl/vrl-rtl
+Fail 852: vlr-rtl/vrl-rtl/vrl-ltr/htb-ltr
+Fail 853: vlr-rtl/vrl-rtl/vrl-ltr/htb-rtl
+Fail 854: vlr-rtl/vrl-rtl/vrl-ltr/vlr-ltr
+Fail 855: vlr-rtl/vrl-rtl/vrl-ltr/vlr-rtl
+Fail 856: vlr-rtl/vrl-rtl/vrl-ltr/vrl-ltr
+Fail 857: vlr-rtl/vrl-rtl/vrl-ltr/vrl-rtl
+Fail 858: vlr-rtl/vrl-rtl/vrl-rtl/htb-ltr
+Fail 859: vlr-rtl/vrl-rtl/vrl-rtl/htb-rtl
+Fail 860: vlr-rtl/vrl-rtl/vrl-rtl/vlr-ltr
+Fail 861: vlr-rtl/vrl-rtl/vrl-rtl/vlr-rtl
+Fail 862: vlr-rtl/vrl-rtl/vrl-rtl/vrl-ltr
+Fail 863: vlr-rtl/vrl-rtl/vrl-rtl/vrl-rtl
+Fail 864: vrl-ltr/htb-ltr/htb-ltr/htb-ltr
+Fail 865: vrl-ltr/htb-ltr/htb-ltr/htb-rtl
+Fail 866: vrl-ltr/htb-ltr/htb-ltr/vlr-ltr
+Fail 867: vrl-ltr/htb-ltr/htb-ltr/vlr-rtl
+Fail 868: vrl-ltr/htb-ltr/htb-ltr/vrl-ltr
+Fail 869: vrl-ltr/htb-ltr/htb-ltr/vrl-rtl
+Fail 870: vrl-ltr/htb-ltr/htb-rtl/htb-ltr
+Fail 871: vrl-ltr/htb-ltr/htb-rtl/htb-rtl
+Fail 872: vrl-ltr/htb-ltr/htb-rtl/vlr-ltr
+Fail 873: vrl-ltr/htb-ltr/htb-rtl/vlr-rtl
+Fail 874: vrl-ltr/htb-ltr/htb-rtl/vrl-ltr
+Fail 875: vrl-ltr/htb-ltr/htb-rtl/vrl-rtl
+Fail 876: vrl-ltr/htb-ltr/vlr-ltr/htb-ltr
+Fail 877: vrl-ltr/htb-ltr/vlr-ltr/htb-rtl
+Fail 878: vrl-ltr/htb-ltr/vlr-ltr/vlr-ltr
+Fail 879: vrl-ltr/htb-ltr/vlr-ltr/vlr-rtl
+Fail 880: vrl-ltr/htb-ltr/vlr-ltr/vrl-ltr
+Fail 881: vrl-ltr/htb-ltr/vlr-ltr/vrl-rtl
+Fail 882: vrl-ltr/htb-ltr/vlr-rtl/htb-ltr
+Fail 883: vrl-ltr/htb-ltr/vlr-rtl/htb-rtl
+Fail 884: vrl-ltr/htb-ltr/vlr-rtl/vlr-ltr
+Fail 885: vrl-ltr/htb-ltr/vlr-rtl/vlr-rtl
+Fail 886: vrl-ltr/htb-ltr/vlr-rtl/vrl-ltr
+Fail 887: vrl-ltr/htb-ltr/vlr-rtl/vrl-rtl
+Fail 888: vrl-ltr/htb-ltr/vrl-ltr/htb-ltr
+Fail 889: vrl-ltr/htb-ltr/vrl-ltr/htb-rtl
+Fail 890: vrl-ltr/htb-ltr/vrl-ltr/vlr-ltr
+Fail 891: vrl-ltr/htb-ltr/vrl-ltr/vlr-rtl
+Fail 892: vrl-ltr/htb-ltr/vrl-ltr/vrl-ltr
+Fail 893: vrl-ltr/htb-ltr/vrl-ltr/vrl-rtl
+Fail 894: vrl-ltr/htb-ltr/vrl-rtl/htb-ltr
+Fail 895: vrl-ltr/htb-ltr/vrl-rtl/htb-rtl
+Fail 896: vrl-ltr/htb-ltr/vrl-rtl/vlr-ltr
+Fail 897: vrl-ltr/htb-ltr/vrl-rtl/vlr-rtl
+Fail 898: vrl-ltr/htb-ltr/vrl-rtl/vrl-ltr
+Fail 899: vrl-ltr/htb-ltr/vrl-rtl/vrl-rtl
+Fail 900: vrl-ltr/htb-rtl/htb-ltr/htb-ltr
+Fail 901: vrl-ltr/htb-rtl/htb-ltr/htb-rtl
+Fail 902: vrl-ltr/htb-rtl/htb-ltr/vlr-ltr
+Fail 903: vrl-ltr/htb-rtl/htb-ltr/vlr-rtl
+Fail 904: vrl-ltr/htb-rtl/htb-ltr/vrl-ltr
+Fail 905: vrl-ltr/htb-rtl/htb-ltr/vrl-rtl
+Fail 906: vrl-ltr/htb-rtl/htb-rtl/htb-ltr
+Fail 907: vrl-ltr/htb-rtl/htb-rtl/htb-rtl
+Fail 908: vrl-ltr/htb-rtl/htb-rtl/vlr-ltr
+Fail 909: vrl-ltr/htb-rtl/htb-rtl/vlr-rtl
+Fail 910: vrl-ltr/htb-rtl/htb-rtl/vrl-ltr
+Fail 911: vrl-ltr/htb-rtl/htb-rtl/vrl-rtl
+Fail 912: vrl-ltr/htb-rtl/vlr-ltr/htb-ltr
+Fail 913: vrl-ltr/htb-rtl/vlr-ltr/htb-rtl
+Fail 914: vrl-ltr/htb-rtl/vlr-ltr/vlr-ltr
+Fail 915: vrl-ltr/htb-rtl/vlr-ltr/vlr-rtl
+Fail 916: vrl-ltr/htb-rtl/vlr-ltr/vrl-ltr
+Fail 917: vrl-ltr/htb-rtl/vlr-ltr/vrl-rtl
+Fail 918: vrl-ltr/htb-rtl/vlr-rtl/htb-ltr
+Fail 919: vrl-ltr/htb-rtl/vlr-rtl/htb-rtl
+Fail 920: vrl-ltr/htb-rtl/vlr-rtl/vlr-ltr
+Fail 921: vrl-ltr/htb-rtl/vlr-rtl/vlr-rtl
+Fail 922: vrl-ltr/htb-rtl/vlr-rtl/vrl-ltr
+Fail 923: vrl-ltr/htb-rtl/vlr-rtl/vrl-rtl
+Fail 924: vrl-ltr/htb-rtl/vrl-ltr/htb-ltr
+Fail 925: vrl-ltr/htb-rtl/vrl-ltr/htb-rtl
+Fail 926: vrl-ltr/htb-rtl/vrl-ltr/vlr-ltr
+Fail 927: vrl-ltr/htb-rtl/vrl-ltr/vlr-rtl
+Fail 928: vrl-ltr/htb-rtl/vrl-ltr/vrl-ltr
+Fail 929: vrl-ltr/htb-rtl/vrl-ltr/vrl-rtl
+Fail 930: vrl-ltr/htb-rtl/vrl-rtl/htb-ltr
+Fail 931: vrl-ltr/htb-rtl/vrl-rtl/htb-rtl
+Fail 932: vrl-ltr/htb-rtl/vrl-rtl/vlr-ltr
+Fail 933: vrl-ltr/htb-rtl/vrl-rtl/vlr-rtl
+Fail 934: vrl-ltr/htb-rtl/vrl-rtl/vrl-ltr
+Fail 935: vrl-ltr/htb-rtl/vrl-rtl/vrl-rtl
+Fail 936: vrl-ltr/vlr-ltr/htb-ltr/htb-ltr
+Fail 937: vrl-ltr/vlr-ltr/htb-ltr/htb-rtl
+Fail 938: vrl-ltr/vlr-ltr/htb-ltr/vlr-ltr
+Fail 939: vrl-ltr/vlr-ltr/htb-ltr/vlr-rtl
+Fail 940: vrl-ltr/vlr-ltr/htb-ltr/vrl-ltr
+Fail 941: vrl-ltr/vlr-ltr/htb-ltr/vrl-rtl
+Fail 942: vrl-ltr/vlr-ltr/htb-rtl/htb-ltr
+Fail 943: vrl-ltr/vlr-ltr/htb-rtl/htb-rtl
+Fail 944: vrl-ltr/vlr-ltr/htb-rtl/vlr-ltr
+Fail 945: vrl-ltr/vlr-ltr/htb-rtl/vlr-rtl
+Fail 946: vrl-ltr/vlr-ltr/htb-rtl/vrl-ltr
+Fail 947: vrl-ltr/vlr-ltr/htb-rtl/vrl-rtl
+Fail 948: vrl-ltr/vlr-ltr/vlr-ltr/htb-ltr
+Fail 949: vrl-ltr/vlr-ltr/vlr-ltr/htb-rtl
+Fail 950: vrl-ltr/vlr-ltr/vlr-ltr/vlr-ltr
+Fail 951: vrl-ltr/vlr-ltr/vlr-ltr/vlr-rtl
+Fail 952: vrl-ltr/vlr-ltr/vlr-ltr/vrl-ltr
+Fail 953: vrl-ltr/vlr-ltr/vlr-ltr/vrl-rtl
+Fail 954: vrl-ltr/vlr-ltr/vlr-rtl/htb-ltr
+Fail 955: vrl-ltr/vlr-ltr/vlr-rtl/htb-rtl
+Fail 956: vrl-ltr/vlr-ltr/vlr-rtl/vlr-ltr
+Fail 957: vrl-ltr/vlr-ltr/vlr-rtl/vlr-rtl
+Fail 958: vrl-ltr/vlr-ltr/vlr-rtl/vrl-ltr
+Fail 959: vrl-ltr/vlr-ltr/vlr-rtl/vrl-rtl
+Fail 960: vrl-ltr/vlr-ltr/vrl-ltr/htb-ltr
+Fail 961: vrl-ltr/vlr-ltr/vrl-ltr/htb-rtl
+Fail 962: vrl-ltr/vlr-ltr/vrl-ltr/vlr-ltr
+Fail 963: vrl-ltr/vlr-ltr/vrl-ltr/vlr-rtl
+Fail 964: vrl-ltr/vlr-ltr/vrl-ltr/vrl-ltr
+Fail 965: vrl-ltr/vlr-ltr/vrl-ltr/vrl-rtl
+Fail 966: vrl-ltr/vlr-ltr/vrl-rtl/htb-ltr
+Fail 967: vrl-ltr/vlr-ltr/vrl-rtl/htb-rtl
+Fail 968: vrl-ltr/vlr-ltr/vrl-rtl/vlr-ltr
+Fail 969: vrl-ltr/vlr-ltr/vrl-rtl/vlr-rtl
+Fail 970: vrl-ltr/vlr-ltr/vrl-rtl/vrl-ltr
+Fail 971: vrl-ltr/vlr-ltr/vrl-rtl/vrl-rtl
+Fail 972: vrl-ltr/vlr-rtl/htb-ltr/htb-ltr
+Fail 973: vrl-ltr/vlr-rtl/htb-ltr/htb-rtl
+Fail 974: vrl-ltr/vlr-rtl/htb-ltr/vlr-ltr
+Fail 975: vrl-ltr/vlr-rtl/htb-ltr/vlr-rtl
+Fail 976: vrl-ltr/vlr-rtl/htb-ltr/vrl-ltr
+Fail 977: vrl-ltr/vlr-rtl/htb-ltr/vrl-rtl
+Fail 978: vrl-ltr/vlr-rtl/htb-rtl/htb-ltr
+Fail 979: vrl-ltr/vlr-rtl/htb-rtl/htb-rtl
+Fail 980: vrl-ltr/vlr-rtl/htb-rtl/vlr-ltr
+Fail 981: vrl-ltr/vlr-rtl/htb-rtl/vlr-rtl
+Fail 982: vrl-ltr/vlr-rtl/htb-rtl/vrl-ltr
+Fail 983: vrl-ltr/vlr-rtl/htb-rtl/vrl-rtl
+Fail 984: vrl-ltr/vlr-rtl/vlr-ltr/htb-ltr
+Fail 985: vrl-ltr/vlr-rtl/vlr-ltr/htb-rtl
+Fail 986: vrl-ltr/vlr-rtl/vlr-ltr/vlr-ltr
+Fail 987: vrl-ltr/vlr-rtl/vlr-ltr/vlr-rtl
+Fail 988: vrl-ltr/vlr-rtl/vlr-ltr/vrl-ltr
+Fail 989: vrl-ltr/vlr-rtl/vlr-ltr/vrl-rtl
+Fail 990: vrl-ltr/vlr-rtl/vlr-rtl/htb-ltr
+Fail 991: vrl-ltr/vlr-rtl/vlr-rtl/htb-rtl
+Fail 992: vrl-ltr/vlr-rtl/vlr-rtl/vlr-ltr
+Fail 993: vrl-ltr/vlr-rtl/vlr-rtl/vlr-rtl
+Fail 994: vrl-ltr/vlr-rtl/vlr-rtl/vrl-ltr
+Fail 995: vrl-ltr/vlr-rtl/vlr-rtl/vrl-rtl
+Fail 996: vrl-ltr/vlr-rtl/vrl-ltr/htb-ltr
+Fail 997: vrl-ltr/vlr-rtl/vrl-ltr/htb-rtl
+Fail 998: vrl-ltr/vlr-rtl/vrl-ltr/vlr-ltr
+Fail 999: vrl-ltr/vlr-rtl/vrl-ltr/vlr-rtl
+Fail 1000: vrl-ltr/vlr-rtl/vrl-ltr/vrl-ltr
+Fail 1001: vrl-ltr/vlr-rtl/vrl-ltr/vrl-rtl
+Fail 1002: vrl-ltr/vlr-rtl/vrl-rtl/htb-ltr
+Fail 1003: vrl-ltr/vlr-rtl/vrl-rtl/htb-rtl
+Fail 1004: vrl-ltr/vlr-rtl/vrl-rtl/vlr-ltr
+Fail 1005: vrl-ltr/vlr-rtl/vrl-rtl/vlr-rtl
+Fail 1006: vrl-ltr/vlr-rtl/vrl-rtl/vrl-ltr
+Fail 1007: vrl-ltr/vlr-rtl/vrl-rtl/vrl-rtl
+Fail 1008: vrl-ltr/vrl-ltr/htb-ltr/htb-ltr
+Fail 1009: vrl-ltr/vrl-ltr/htb-ltr/htb-rtl
+Fail 1010: vrl-ltr/vrl-ltr/htb-ltr/vlr-ltr
+Fail 1011: vrl-ltr/vrl-ltr/htb-ltr/vlr-rtl
+Fail 1012: vrl-ltr/vrl-ltr/htb-ltr/vrl-ltr
+Fail 1013: vrl-ltr/vrl-ltr/htb-ltr/vrl-rtl
+Fail 1014: vrl-ltr/vrl-ltr/htb-rtl/htb-ltr
+Fail 1015: vrl-ltr/vrl-ltr/htb-rtl/htb-rtl
+Fail 1016: vrl-ltr/vrl-ltr/htb-rtl/vlr-ltr
+Fail 1017: vrl-ltr/vrl-ltr/htb-rtl/vlr-rtl
+Fail 1018: vrl-ltr/vrl-ltr/htb-rtl/vrl-ltr
+Fail 1019: vrl-ltr/vrl-ltr/htb-rtl/vrl-rtl
+Fail 1020: vrl-ltr/vrl-ltr/vlr-ltr/htb-ltr
+Fail 1021: vrl-ltr/vrl-ltr/vlr-ltr/htb-rtl
+Fail 1022: vrl-ltr/vrl-ltr/vlr-ltr/vlr-ltr
+Fail 1023: vrl-ltr/vrl-ltr/vlr-ltr/vlr-rtl
+Fail 1024: vrl-ltr/vrl-ltr/vlr-ltr/vrl-ltr
+Fail 1025: vrl-ltr/vrl-ltr/vlr-ltr/vrl-rtl
+Fail 1026: vrl-ltr/vrl-ltr/vlr-rtl/htb-ltr
+Fail 1027: vrl-ltr/vrl-ltr/vlr-rtl/htb-rtl
+Fail 1028: vrl-ltr/vrl-ltr/vlr-rtl/vlr-ltr
+Fail 1029: vrl-ltr/vrl-ltr/vlr-rtl/vlr-rtl
+Fail 1030: vrl-ltr/vrl-ltr/vlr-rtl/vrl-ltr
+Fail 1031: vrl-ltr/vrl-ltr/vlr-rtl/vrl-rtl
+Fail 1032: vrl-ltr/vrl-ltr/vrl-ltr/htb-ltr
+Fail 1033: vrl-ltr/vrl-ltr/vrl-ltr/htb-rtl
+Fail 1034: vrl-ltr/vrl-ltr/vrl-ltr/vlr-ltr
+Fail 1035: vrl-ltr/vrl-ltr/vrl-ltr/vlr-rtl
+Fail 1036: vrl-ltr/vrl-ltr/vrl-ltr/vrl-ltr
+Fail 1037: vrl-ltr/vrl-ltr/vrl-ltr/vrl-rtl
+Fail 1038: vrl-ltr/vrl-ltr/vrl-rtl/htb-ltr
+Fail 1039: vrl-ltr/vrl-ltr/vrl-rtl/htb-rtl
+Fail 1040: vrl-ltr/vrl-ltr/vrl-rtl/vlr-ltr
+Fail 1041: vrl-ltr/vrl-ltr/vrl-rtl/vlr-rtl
+Fail 1042: vrl-ltr/vrl-ltr/vrl-rtl/vrl-ltr
+Fail 1043: vrl-ltr/vrl-ltr/vrl-rtl/vrl-rtl
+Fail 1044: vrl-ltr/vrl-rtl/htb-ltr/htb-ltr
+Fail 1045: vrl-ltr/vrl-rtl/htb-ltr/htb-rtl
+Fail 1046: vrl-ltr/vrl-rtl/htb-ltr/vlr-ltr
+Fail 1047: vrl-ltr/vrl-rtl/htb-ltr/vlr-rtl
+Fail 1048: vrl-ltr/vrl-rtl/htb-ltr/vrl-ltr
+Fail 1049: vrl-ltr/vrl-rtl/htb-ltr/vrl-rtl
+Fail 1050: vrl-ltr/vrl-rtl/htb-rtl/htb-ltr
+Fail 1051: vrl-ltr/vrl-rtl/htb-rtl/htb-rtl
+Fail 1052: vrl-ltr/vrl-rtl/htb-rtl/vlr-ltr
+Fail 1053: vrl-ltr/vrl-rtl/htb-rtl/vlr-rtl
+Fail 1054: vrl-ltr/vrl-rtl/htb-rtl/vrl-ltr
+Fail 1055: vrl-ltr/vrl-rtl/htb-rtl/vrl-rtl
+Fail 1056: vrl-ltr/vrl-rtl/vlr-ltr/htb-ltr
+Fail 1057: vrl-ltr/vrl-rtl/vlr-ltr/htb-rtl
+Fail 1058: vrl-ltr/vrl-rtl/vlr-ltr/vlr-ltr
+Fail 1059: vrl-ltr/vrl-rtl/vlr-ltr/vlr-rtl
+Fail 1060: vrl-ltr/vrl-rtl/vlr-ltr/vrl-ltr
+Fail 1061: vrl-ltr/vrl-rtl/vlr-ltr/vrl-rtl
+Fail 1062: vrl-ltr/vrl-rtl/vlr-rtl/htb-ltr
+Fail 1063: vrl-ltr/vrl-rtl/vlr-rtl/htb-rtl
+Fail 1064: vrl-ltr/vrl-rtl/vlr-rtl/vlr-ltr
+Fail 1065: vrl-ltr/vrl-rtl/vlr-rtl/vlr-rtl
+Fail 1066: vrl-ltr/vrl-rtl/vlr-rtl/vrl-ltr
+Fail 1067: vrl-ltr/vrl-rtl/vlr-rtl/vrl-rtl
+Fail 1068: vrl-ltr/vrl-rtl/vrl-ltr/htb-ltr
+Fail 1069: vrl-ltr/vrl-rtl/vrl-ltr/htb-rtl
+Fail 1070: vrl-ltr/vrl-rtl/vrl-ltr/vlr-ltr
+Fail 1071: vrl-ltr/vrl-rtl/vrl-ltr/vlr-rtl
+Fail 1072: vrl-ltr/vrl-rtl/vrl-ltr/vrl-ltr
+Fail 1073: vrl-ltr/vrl-rtl/vrl-ltr/vrl-rtl
+Fail 1074: vrl-ltr/vrl-rtl/vrl-rtl/htb-ltr
+Fail 1075: vrl-ltr/vrl-rtl/vrl-rtl/htb-rtl
+Fail 1076: vrl-ltr/vrl-rtl/vrl-rtl/vlr-ltr
+Fail 1077: vrl-ltr/vrl-rtl/vrl-rtl/vlr-rtl
+Fail 1078: vrl-ltr/vrl-rtl/vrl-rtl/vrl-ltr
+Fail 1079: vrl-ltr/vrl-rtl/vrl-rtl/vrl-rtl
+Fail 1080: vrl-rtl/htb-ltr/htb-ltr/htb-ltr
+Fail 1081: vrl-rtl/htb-ltr/htb-ltr/htb-rtl
+Fail 1082: vrl-rtl/htb-ltr/htb-ltr/vlr-ltr
+Fail 1083: vrl-rtl/htb-ltr/htb-ltr/vlr-rtl
+Fail 1084: vrl-rtl/htb-ltr/htb-ltr/vrl-ltr
+Fail 1085: vrl-rtl/htb-ltr/htb-ltr/vrl-rtl
+Fail 1086: vrl-rtl/htb-ltr/htb-rtl/htb-ltr
+Fail 1087: vrl-rtl/htb-ltr/htb-rtl/htb-rtl
+Fail 1088: vrl-rtl/htb-ltr/htb-rtl/vlr-ltr
+Fail 1089: vrl-rtl/htb-ltr/htb-rtl/vlr-rtl
+Fail 1090: vrl-rtl/htb-ltr/htb-rtl/vrl-ltr
+Fail 1091: vrl-rtl/htb-ltr/htb-rtl/vrl-rtl
+Fail 1092: vrl-rtl/htb-ltr/vlr-ltr/htb-ltr
+Fail 1093: vrl-rtl/htb-ltr/vlr-ltr/htb-rtl
+Fail 1094: vrl-rtl/htb-ltr/vlr-ltr/vlr-ltr
+Fail 1095: vrl-rtl/htb-ltr/vlr-ltr/vlr-rtl
+Fail 1096: vrl-rtl/htb-ltr/vlr-ltr/vrl-ltr
+Fail 1097: vrl-rtl/htb-ltr/vlr-ltr/vrl-rtl
+Fail 1098: vrl-rtl/htb-ltr/vlr-rtl/htb-ltr
+Fail 1099: vrl-rtl/htb-ltr/vlr-rtl/htb-rtl
+Fail 1100: vrl-rtl/htb-ltr/vlr-rtl/vlr-ltr
+Fail 1101: vrl-rtl/htb-ltr/vlr-rtl/vlr-rtl
+Fail 1102: vrl-rtl/htb-ltr/vlr-rtl/vrl-ltr
+Fail 1103: vrl-rtl/htb-ltr/vlr-rtl/vrl-rtl
+Fail 1104: vrl-rtl/htb-ltr/vrl-ltr/htb-ltr
+Fail 1105: vrl-rtl/htb-ltr/vrl-ltr/htb-rtl
+Fail 1106: vrl-rtl/htb-ltr/vrl-ltr/vlr-ltr
+Fail 1107: vrl-rtl/htb-ltr/vrl-ltr/vlr-rtl
+Fail 1108: vrl-rtl/htb-ltr/vrl-ltr/vrl-ltr
+Fail 1109: vrl-rtl/htb-ltr/vrl-ltr/vrl-rtl
+Fail 1110: vrl-rtl/htb-ltr/vrl-rtl/htb-ltr
+Fail 1111: vrl-rtl/htb-ltr/vrl-rtl/htb-rtl
+Fail 1112: vrl-rtl/htb-ltr/vrl-rtl/vlr-ltr
+Fail 1113: vrl-rtl/htb-ltr/vrl-rtl/vlr-rtl
+Fail 1114: vrl-rtl/htb-ltr/vrl-rtl/vrl-ltr
+Fail 1115: vrl-rtl/htb-ltr/vrl-rtl/vrl-rtl
+Fail 1116: vrl-rtl/htb-rtl/htb-ltr/htb-ltr
+Fail 1117: vrl-rtl/htb-rtl/htb-ltr/htb-rtl
+Fail 1118: vrl-rtl/htb-rtl/htb-ltr/vlr-ltr
+Fail 1119: vrl-rtl/htb-rtl/htb-ltr/vlr-rtl
+Fail 1120: vrl-rtl/htb-rtl/htb-ltr/vrl-ltr
+Fail 1121: vrl-rtl/htb-rtl/htb-ltr/vrl-rtl
+Fail 1122: vrl-rtl/htb-rtl/htb-rtl/htb-ltr
+Fail 1123: vrl-rtl/htb-rtl/htb-rtl/htb-rtl
+Fail 1124: vrl-rtl/htb-rtl/htb-rtl/vlr-ltr
+Fail 1125: vrl-rtl/htb-rtl/htb-rtl/vlr-rtl
+Fail 1126: vrl-rtl/htb-rtl/htb-rtl/vrl-ltr
+Fail 1127: vrl-rtl/htb-rtl/htb-rtl/vrl-rtl
+Fail 1128: vrl-rtl/htb-rtl/vlr-ltr/htb-ltr
+Fail 1129: vrl-rtl/htb-rtl/vlr-ltr/htb-rtl
+Fail 1130: vrl-rtl/htb-rtl/vlr-ltr/vlr-ltr
+Fail 1131: vrl-rtl/htb-rtl/vlr-ltr/vlr-rtl
+Fail 1132: vrl-rtl/htb-rtl/vlr-ltr/vrl-ltr
+Fail 1133: vrl-rtl/htb-rtl/vlr-ltr/vrl-rtl
+Fail 1134: vrl-rtl/htb-rtl/vlr-rtl/htb-ltr
+Fail 1135: vrl-rtl/htb-rtl/vlr-rtl/htb-rtl
+Fail 1136: vrl-rtl/htb-rtl/vlr-rtl/vlr-ltr
+Fail 1137: vrl-rtl/htb-rtl/vlr-rtl/vlr-rtl
+Fail 1138: vrl-rtl/htb-rtl/vlr-rtl/vrl-ltr
+Fail 1139: vrl-rtl/htb-rtl/vlr-rtl/vrl-rtl
+Fail 1140: vrl-rtl/htb-rtl/vrl-ltr/htb-ltr
+Fail 1141: vrl-rtl/htb-rtl/vrl-ltr/htb-rtl
+Fail 1142: vrl-rtl/htb-rtl/vrl-ltr/vlr-ltr
+Fail 1143: vrl-rtl/htb-rtl/vrl-ltr/vlr-rtl
+Fail 1144: vrl-rtl/htb-rtl/vrl-ltr/vrl-ltr
+Fail 1145: vrl-rtl/htb-rtl/vrl-ltr/vrl-rtl
+Fail 1146: vrl-rtl/htb-rtl/vrl-rtl/htb-ltr
+Fail 1147: vrl-rtl/htb-rtl/vrl-rtl/htb-rtl
+Fail 1148: vrl-rtl/htb-rtl/vrl-rtl/vlr-ltr
+Fail 1149: vrl-rtl/htb-rtl/vrl-rtl/vlr-rtl
+Fail 1150: vrl-rtl/htb-rtl/vrl-rtl/vrl-ltr
+Fail 1151: vrl-rtl/htb-rtl/vrl-rtl/vrl-rtl
+Fail 1152: vrl-rtl/vlr-ltr/htb-ltr/htb-ltr
+Fail 1153: vrl-rtl/vlr-ltr/htb-ltr/htb-rtl
+Fail 1154: vrl-rtl/vlr-ltr/htb-ltr/vlr-ltr
+Fail 1155: vrl-rtl/vlr-ltr/htb-ltr/vlr-rtl
+Fail 1156: vrl-rtl/vlr-ltr/htb-ltr/vrl-ltr
+Fail 1157: vrl-rtl/vlr-ltr/htb-ltr/vrl-rtl
+Fail 1158: vrl-rtl/vlr-ltr/htb-rtl/htb-ltr
+Fail 1159: vrl-rtl/vlr-ltr/htb-rtl/htb-rtl
+Fail 1160: vrl-rtl/vlr-ltr/htb-rtl/vlr-ltr
+Fail 1161: vrl-rtl/vlr-ltr/htb-rtl/vlr-rtl
+Fail 1162: vrl-rtl/vlr-ltr/htb-rtl/vrl-ltr
+Fail 1163: vrl-rtl/vlr-ltr/htb-rtl/vrl-rtl
+Fail 1164: vrl-rtl/vlr-ltr/vlr-ltr/htb-ltr
+Fail 1165: vrl-rtl/vlr-ltr/vlr-ltr/htb-rtl
+Fail 1166: vrl-rtl/vlr-ltr/vlr-ltr/vlr-ltr
+Fail 1167: vrl-rtl/vlr-ltr/vlr-ltr/vlr-rtl
+Fail 1168: vrl-rtl/vlr-ltr/vlr-ltr/vrl-ltr
+Fail 1169: vrl-rtl/vlr-ltr/vlr-ltr/vrl-rtl
+Fail 1170: vrl-rtl/vlr-ltr/vlr-rtl/htb-ltr
+Fail 1171: vrl-rtl/vlr-ltr/vlr-rtl/htb-rtl
+Fail 1172: vrl-rtl/vlr-ltr/vlr-rtl/vlr-ltr
+Fail 1173: vrl-rtl/vlr-ltr/vlr-rtl/vlr-rtl
+Fail 1174: vrl-rtl/vlr-ltr/vlr-rtl/vrl-ltr
+Fail 1175: vrl-rtl/vlr-ltr/vlr-rtl/vrl-rtl
+Fail 1176: vrl-rtl/vlr-ltr/vrl-ltr/htb-ltr
+Fail 1177: vrl-rtl/vlr-ltr/vrl-ltr/htb-rtl
+Fail 1178: vrl-rtl/vlr-ltr/vrl-ltr/vlr-ltr
+Fail 1179: vrl-rtl/vlr-ltr/vrl-ltr/vlr-rtl
+Fail 1180: vrl-rtl/vlr-ltr/vrl-ltr/vrl-ltr
+Fail 1181: vrl-rtl/vlr-ltr/vrl-ltr/vrl-rtl
+Fail 1182: vrl-rtl/vlr-ltr/vrl-rtl/htb-ltr
+Fail 1183: vrl-rtl/vlr-ltr/vrl-rtl/htb-rtl
+Fail 1184: vrl-rtl/vlr-ltr/vrl-rtl/vlr-ltr
+Fail 1185: vrl-rtl/vlr-ltr/vrl-rtl/vlr-rtl
+Fail 1186: vrl-rtl/vlr-ltr/vrl-rtl/vrl-ltr
+Fail 1187: vrl-rtl/vlr-ltr/vrl-rtl/vrl-rtl
+Fail 1188: vrl-rtl/vlr-rtl/htb-ltr/htb-ltr
+Fail 1189: vrl-rtl/vlr-rtl/htb-ltr/htb-rtl
+Fail 1190: vrl-rtl/vlr-rtl/htb-ltr/vlr-ltr
+Fail 1191: vrl-rtl/vlr-rtl/htb-ltr/vlr-rtl
+Fail 1192: vrl-rtl/vlr-rtl/htb-ltr/vrl-ltr
+Fail 1193: vrl-rtl/vlr-rtl/htb-ltr/vrl-rtl
+Fail 1194: vrl-rtl/vlr-rtl/htb-rtl/htb-ltr
+Fail 1195: vrl-rtl/vlr-rtl/htb-rtl/htb-rtl
+Fail 1196: vrl-rtl/vlr-rtl/htb-rtl/vlr-ltr
+Fail 1197: vrl-rtl/vlr-rtl/htb-rtl/vlr-rtl
+Fail 1198: vrl-rtl/vlr-rtl/htb-rtl/vrl-ltr
+Fail 1199: vrl-rtl/vlr-rtl/htb-rtl/vrl-rtl
+Fail 1200: vrl-rtl/vlr-rtl/vlr-ltr/htb-ltr
+Fail 1201: vrl-rtl/vlr-rtl/vlr-ltr/htb-rtl
+Fail 1202: vrl-rtl/vlr-rtl/vlr-ltr/vlr-ltr
+Fail 1203: vrl-rtl/vlr-rtl/vlr-ltr/vlr-rtl
+Fail 1204: vrl-rtl/vlr-rtl/vlr-ltr/vrl-ltr
+Fail 1205: vrl-rtl/vlr-rtl/vlr-ltr/vrl-rtl
+Fail 1206: vrl-rtl/vlr-rtl/vlr-rtl/htb-ltr
+Fail 1207: vrl-rtl/vlr-rtl/vlr-rtl/htb-rtl
+Fail 1208: vrl-rtl/vlr-rtl/vlr-rtl/vlr-ltr
+Fail 1209: vrl-rtl/vlr-rtl/vlr-rtl/vlr-rtl
+Fail 1210: vrl-rtl/vlr-rtl/vlr-rtl/vrl-ltr
+Fail 1211: vrl-rtl/vlr-rtl/vlr-rtl/vrl-rtl
+Fail 1212: vrl-rtl/vlr-rtl/vrl-ltr/htb-ltr
+Fail 1213: vrl-rtl/vlr-rtl/vrl-ltr/htb-rtl
+Fail 1214: vrl-rtl/vlr-rtl/vrl-ltr/vlr-ltr
+Fail 1215: vrl-rtl/vlr-rtl/vrl-ltr/vlr-rtl
+Fail 1216: vrl-rtl/vlr-rtl/vrl-ltr/vrl-ltr
+Fail 1217: vrl-rtl/vlr-rtl/vrl-ltr/vrl-rtl
+Fail 1218: vrl-rtl/vlr-rtl/vrl-rtl/htb-ltr
+Fail 1219: vrl-rtl/vlr-rtl/vrl-rtl/htb-rtl
+Fail 1220: vrl-rtl/vlr-rtl/vrl-rtl/vlr-ltr
+Fail 1221: vrl-rtl/vlr-rtl/vrl-rtl/vlr-rtl
+Fail 1222: vrl-rtl/vlr-rtl/vrl-rtl/vrl-ltr
+Fail 1223: vrl-rtl/vlr-rtl/vrl-rtl/vrl-rtl
+Fail 1224: vrl-rtl/vrl-ltr/htb-ltr/htb-ltr
+Fail 1225: vrl-rtl/vrl-ltr/htb-ltr/htb-rtl
+Fail 1226: vrl-rtl/vrl-ltr/htb-ltr/vlr-ltr
+Fail 1227: vrl-rtl/vrl-ltr/htb-ltr/vlr-rtl
+Fail 1228: vrl-rtl/vrl-ltr/htb-ltr/vrl-ltr
+Fail 1229: vrl-rtl/vrl-ltr/htb-ltr/vrl-rtl
+Fail 1230: vrl-rtl/vrl-ltr/htb-rtl/htb-ltr
+Fail 1231: vrl-rtl/vrl-ltr/htb-rtl/htb-rtl
+Fail 1232: vrl-rtl/vrl-ltr/htb-rtl/vlr-ltr
+Fail 1233: vrl-rtl/vrl-ltr/htb-rtl/vlr-rtl
+Fail 1234: vrl-rtl/vrl-ltr/htb-rtl/vrl-ltr
+Fail 1235: vrl-rtl/vrl-ltr/htb-rtl/vrl-rtl
+Fail 1236: vrl-rtl/vrl-ltr/vlr-ltr/htb-ltr
+Fail 1237: vrl-rtl/vrl-ltr/vlr-ltr/htb-rtl
+Fail 1238: vrl-rtl/vrl-ltr/vlr-ltr/vlr-ltr
+Fail 1239: vrl-rtl/vrl-ltr/vlr-ltr/vlr-rtl
+Fail 1240: vrl-rtl/vrl-ltr/vlr-ltr/vrl-ltr
+Fail 1241: vrl-rtl/vrl-ltr/vlr-ltr/vrl-rtl
+Fail 1242: vrl-rtl/vrl-ltr/vlr-rtl/htb-ltr
+Fail 1243: vrl-rtl/vrl-ltr/vlr-rtl/htb-rtl
+Fail 1244: vrl-rtl/vrl-ltr/vlr-rtl/vlr-ltr
+Fail 1245: vrl-rtl/vrl-ltr/vlr-rtl/vlr-rtl
+Fail 1246: vrl-rtl/vrl-ltr/vlr-rtl/vrl-ltr
+Fail 1247: vrl-rtl/vrl-ltr/vlr-rtl/vrl-rtl
+Fail 1248: vrl-rtl/vrl-ltr/vrl-ltr/htb-ltr
+Fail 1249: vrl-rtl/vrl-ltr/vrl-ltr/htb-rtl
+Fail 1250: vrl-rtl/vrl-ltr/vrl-ltr/vlr-ltr
+Fail 1251: vrl-rtl/vrl-ltr/vrl-ltr/vlr-rtl
+Fail 1252: vrl-rtl/vrl-ltr/vrl-ltr/vrl-ltr
+Fail 1253: vrl-rtl/vrl-ltr/vrl-ltr/vrl-rtl
+Fail 1254: vrl-rtl/vrl-ltr/vrl-rtl/htb-ltr
+Fail 1255: vrl-rtl/vrl-ltr/vrl-rtl/htb-rtl
+Fail 1256: vrl-rtl/vrl-ltr/vrl-rtl/vlr-ltr
+Fail 1257: vrl-rtl/vrl-ltr/vrl-rtl/vlr-rtl
+Fail 1258: vrl-rtl/vrl-ltr/vrl-rtl/vrl-ltr
+Fail 1259: vrl-rtl/vrl-ltr/vrl-rtl/vrl-rtl
+Fail 1260: vrl-rtl/vrl-rtl/htb-ltr/htb-ltr
+Fail 1261: vrl-rtl/vrl-rtl/htb-ltr/htb-rtl
+Fail 1262: vrl-rtl/vrl-rtl/htb-ltr/vlr-ltr
+Fail 1263: vrl-rtl/vrl-rtl/htb-ltr/vlr-rtl
+Fail 1264: vrl-rtl/vrl-rtl/htb-ltr/vrl-ltr
+Fail 1265: vrl-rtl/vrl-rtl/htb-ltr/vrl-rtl
+Fail 1266: vrl-rtl/vrl-rtl/htb-rtl/htb-ltr
+Fail 1267: vrl-rtl/vrl-rtl/htb-rtl/htb-rtl
+Fail 1268: vrl-rtl/vrl-rtl/htb-rtl/vlr-ltr
+Fail 1269: vrl-rtl/vrl-rtl/htb-rtl/vlr-rtl
+Fail 1270: vrl-rtl/vrl-rtl/htb-rtl/vrl-ltr
+Fail 1271: vrl-rtl/vrl-rtl/htb-rtl/vrl-rtl
+Fail 1272: vrl-rtl/vrl-rtl/vlr-ltr/htb-ltr
+Fail 1273: vrl-rtl/vrl-rtl/vlr-ltr/htb-rtl
+Fail 1274: vrl-rtl/vrl-rtl/vlr-ltr/vlr-ltr
+Fail 1275: vrl-rtl/vrl-rtl/vlr-ltr/vlr-rtl
+Fail 1276: vrl-rtl/vrl-rtl/vlr-ltr/vrl-ltr
+Fail 1277: vrl-rtl/vrl-rtl/vlr-ltr/vrl-rtl
+Fail 1278: vrl-rtl/vrl-rtl/vlr-rtl/htb-ltr
+Fail 1279: vrl-rtl/vrl-rtl/vlr-rtl/htb-rtl
+Fail 1280: vrl-rtl/vrl-rtl/vlr-rtl/vlr-ltr
+Fail 1281: vrl-rtl/vrl-rtl/vlr-rtl/vlr-rtl
+Fail 1282: vrl-rtl/vrl-rtl/vlr-rtl/vrl-ltr
+Fail 1283: vrl-rtl/vrl-rtl/vlr-rtl/vrl-rtl
+Fail 1284: vrl-rtl/vrl-rtl/vrl-ltr/htb-ltr
+Fail 1285: vrl-rtl/vrl-rtl/vrl-ltr/htb-rtl
+Fail 1286: vrl-rtl/vrl-rtl/vrl-ltr/vlr-ltr
+Fail 1287: vrl-rtl/vrl-rtl/vrl-ltr/vlr-rtl
+Fail 1288: vrl-rtl/vrl-rtl/vrl-ltr/vrl-ltr
+Fail 1289: vrl-rtl/vrl-rtl/vrl-ltr/vrl-rtl
+Fail 1290: vrl-rtl/vrl-rtl/vrl-rtl/htb-ltr
+Fail 1291: vrl-rtl/vrl-rtl/vrl-rtl/htb-rtl
+Fail 1292: vrl-rtl/vrl-rtl/vrl-rtl/vlr-ltr
+Fail 1293: vrl-rtl/vrl-rtl/vrl-rtl/vlr-rtl
+Fail 1294: vrl-rtl/vrl-rtl/vrl-rtl/vrl-ltr
+Fail 1295: vrl-rtl/vrl-rtl/vrl-rtl/vrl-rtl
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-scope-basic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-scope-basic.txt
new file mode 100644
index 00000000000..46655eadfb5
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-scope-basic.txt
@@ -0,0 +1,18 @@
+Harness status: OK
+
+Found 12 tests
+
+3 Pass
+9 Fail
+Pass Can anchor to a name both defined and scoped by the same element
+Fail Sibling can not anchor into anchor-scope, even when anchor-name present
+Pass anchor-scope:all on common ancestor
+Pass anchor-scope:--a on common ancestor
+Fail anchor-scope:all on sibling
+Fail anchor-scope:all scopes multiple names
+Fail anchor-scope:--a,--b scopes --a and --b
+Fail anchor-scope:--a scopes only --a
+Fail anchor-scope:--b scopes only --b
+Fail anchor-scope:--a scopes only --a (out-of-flow anchors)
+Fail anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors)
+Fail anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors, reverse)
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-001.txt
new file mode 100644
index 00000000000..e3039d0d853
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-001.txt
@@ -0,0 +1,34 @@
+Harness status: OK
+
+Found 28 tests
+
+2 Pass
+26 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Fail .target 8
+Fail .target 9
+Fail .target 10
+Fail .target 11
+Fail .target 12
+Fail .target 13
+Pass .target 14
+Fail .target 15
+Fail .target 16
+Fail .target 17
+Fail .target 18
+Fail .target 19
+Fail .target 20
+Fail .target 21
+Fail .target 22
+Fail .target 23
+Pass .target 24
+Fail .target 25
+Fail .target 26
+Fail .target 27
+Fail .target 28
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-parse-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-parse-valid.txt
new file mode 100644
index 00000000000..ab78a31e7db
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-parse-valid.txt
@@ -0,0 +1,4311 @@
+Harness status: OK
+
+Found 4305 tests
+
+4289 Pass
+16 Fail
+Pass e.style['width'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(--foo self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline --foo, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(width)" should set the property value
+Pass e.style['width'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(height)" should set the property value
+Pass e.style['width'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(block)" should set the property value
+Pass e.style['width'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(inline)" should set the property value
+Pass e.style['width'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['width'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-width'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-width'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(width)" should set the property value
+Pass e.style['height'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(height)" should set the property value
+Pass e.style['height'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(block)" should set the property value
+Pass e.style['height'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(inline)" should set the property value
+Pass e.style['height'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['height'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-height'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-height'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['block-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-block-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-block-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inline-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['min-inline-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['max-inline-size'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(width)" should set the property value
+Pass e.style['left'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(height)" should set the property value
+Pass e.style['left'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(block)" should set the property value
+Pass e.style['left'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(inline)" should set the property value
+Pass e.style['left'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['left'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(width)" should set the property value
+Pass e.style['right'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(height)" should set the property value
+Pass e.style['right'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(block)" should set the property value
+Pass e.style['right'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(inline)" should set the property value
+Pass e.style['right'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['right'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(width)" should set the property value
+Pass e.style['top'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(height)" should set the property value
+Pass e.style['top'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(block)" should set the property value
+Pass e.style['top'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(inline)" should set the property value
+Pass e.style['top'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['top'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['bottom'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(width)" should set the property value
+Pass e.style['inset'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(height)" should set the property value
+Pass e.style['inset'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(block)" should set the property value
+Pass e.style['inset'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-start'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-block-end'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-start'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['inset-inline-end'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(width)" should set the property value
+Pass e.style['margin'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(height)" should set the property value
+Pass e.style['margin'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(block)" should set the property value
+Pass e.style['margin'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-left'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-right'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-top'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-bottom'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-start'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-block-end'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-start'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(width, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(height, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-block, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, 1px)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, 50%)" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, calc(50% + 1px))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, anchor-size(block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, anchor-size(--bar block))" should set the property value
+Pass e.style['margin-inline-end'] = "anchor-size(self-inline, anchor-size(--bar block, anchor-size(--baz inline)))" should set the property value
+Pass e.style['width'] = "anchor-size()" should set the property value
+Pass e.style['width'] = "anchor-size(--foo)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo, 10px)" should set the property value
+Pass e.style['width'] = "anchor-size(10px)" should set the property value
+Fail e.style['width'] = "calc((anchor-size(--foo width) + anchor-size(--bar height)) / 2)" should set the property value
+Fail e.style['width'] = "calc(0.5 * (anchor-size(--foo width) + anchor-size(--bar height)))" should set the property value
+Fail e.style['width'] = "anchor-size(--foo width, calc(0.5 * anchor-size(--bar height)))" should set the property value
+Fail e.style['width'] = "min(100px, 10%, anchor-size(--foo width), anchor-size(--bar height))" should set the property value
+Fail e.style['width'] = "calc(anchor-size(--foo width, 1px) + 10%)" should set the property value
+Fail e.style['max-width'] = "calc((anchor-size(--foo width) + anchor-size(--bar height)) / 2)" should set the property value
+Fail e.style['max-width'] = "calc(0.5 * (anchor-size(--foo width) + anchor-size(--bar height)))" should set the property value
+Fail e.style['max-width'] = "anchor-size(--foo width, calc(0.5 * anchor-size(--bar height)))" should set the property value
+Fail e.style['max-width'] = "min(100px, 10%, anchor-size(--foo width), anchor-size(--bar height))" should set the property value
+Fail e.style['max-width'] = "calc(anchor-size(--foo width, 1px) + 10%)" should set the property value
+Fail e.style['margin-left'] = "calc((anchor-size(--foo width) + anchor-size(--bar height)) / 2)" should set the property value
+Fail e.style['margin-left'] = "calc(0.5 * (anchor-size(--foo width) + anchor-size(--bar height)))" should set the property value
+Fail e.style['margin-left'] = "anchor-size(--foo width, calc(0.5 * anchor-size(--bar height)))" should set the property value
+Fail e.style['margin-left'] = "min(100px, 10%, anchor-size(--foo width), anchor-size(--bar height))" should set the property value
+Fail e.style['margin-left'] = "calc(anchor-size(--foo width, 1px) + 10%)" should set the property value
+Pass e.style['width'] = "anchor-size(--foo width, 0)" should set the property value
+Fail e.style['width'] = "calc(anchor-size(--foo width, 0))" should set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.txt
new file mode 100644
index 00000000000..c506f6c7f10
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.txt
@@ -0,0 +1,29 @@
+Harness status: OK
+
+Found 24 tests
+
+24 Fail
+Fail .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Fail .target 8
+Fail .target 9
+Fail .target 10
+Fail .target 11
+Fail .target 12
+Fail .target 13
+Fail .target 14
+Fail .target 15
+Fail .target 16
+Fail .target 17
+Fail .target 18
+Fail .target 19
+Fail .target 20
+Fail .target 21
+Fail .target 22
+Fail .target 23
+Fail .target 24
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.txt
new file mode 100644
index 00000000000..e748d2eda31
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.txt
@@ -0,0 +1,61 @@
+Harness status: OK
+
+Found 56 tests
+
+56 Fail
+Fail top: 1px is allowed in @position-try
+Fail bottom: 1px is allowed in @position-try
+Fail left: 1px is allowed in @position-try
+Fail right: 1px is allowed in @position-try
+Fail inset-block-start: 1px is allowed in @position-try
+Fail inset-block-end: 1px is allowed in @position-try
+Fail inset-inline-start: 1px is allowed in @position-try
+Fail inset-inline-end: 1px is allowed in @position-try
+Fail inset-block: 1px is allowed in @position-try
+Fail inset-inline: 1px is allowed in @position-try
+Fail inset: 1px is allowed in @position-try
+Fail position-area: span-all is allowed in @position-try
+Fail margin-top: 1px is allowed in @position-try
+Fail margin-bottom: 1px is allowed in @position-try
+Fail margin-left: 1px is allowed in @position-try
+Fail margin-right: 1px is allowed in @position-try
+Fail margin-block-start: 1px is allowed in @position-try
+Fail margin-block-end: 1px is allowed in @position-try
+Fail margin-inline-start: 1px is allowed in @position-try
+Fail margin-inline-end: 1px is allowed in @position-try
+Fail margin-block: 1px is allowed in @position-try
+Fail margin-inline: 1px is allowed in @position-try
+Fail margin: 1px is allowed in @position-try
+Fail width: 1px is allowed in @position-try
+Fail height: 1px is allowed in @position-try
+Fail block-size: 1px is allowed in @position-try
+Fail inline-size: 1px is allowed in @position-try
+Fail min-width: 1px is allowed in @position-try
+Fail min-height: 1px is allowed in @position-try
+Fail min-block-size: 1px is allowed in @position-try
+Fail min-inline-size: 1px is allowed in @position-try
+Fail max-width: 1px is allowed in @position-try
+Fail max-height: 1px is allowed in @position-try
+Fail max-block-size: 1px is allowed in @position-try
+Fail max-inline-size: 1px is allowed in @position-try
+Fail justify-self: normal is allowed in @position-try
+Fail align-self: normal is allowed in @position-try
+Fail place-self: normal is allowed in @position-try
+Fail position-anchor: --anchor is allowed in @position-try
+Fail --custom: 1px is disallowed in @position-try
+Fail font-size: 1px is disallowed in @position-try
+Fail border-width: 1px is disallowed in @position-try
+Fail padding: 1px is disallowed in @position-try
+Fail display: 1px is disallowed in @position-try
+Fail position: 1px is disallowed in @position-try
+Fail float: 1px is disallowed in @position-try
+Fail justify-content: normal is disallowed in @position-try
+Fail align-content: normal is disallowed in @position-try
+Fail justify-items: normal is disallowed in @position-try
+Fail align-items: normal is disallowed in @position-try
+Fail top: revert is allowed in @position-try
+Fail top: revert-layer is allowed in @position-try
+Fail inset: revert is allowed in @position-try
+Fail inset: revert-layer is allowed in @position-try
+Fail top: 1px !important is disallowed in @position-try
+Fail inset: 1px !important is disallowed in @position-try
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-cssom.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-cssom.txt
new file mode 100644
index 00000000000..682494927c5
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-cssom.txt
@@ -0,0 +1,270 @@
+Harness status: OK
+
+Found 265 tests
+
+265 Fail
+Fail CSSPositionTryRule attribute values
+Fail CSSPositionTryRule escaped ident name
+Fail CSSPositionTryRule.style.setProperty setting allowed and disallowed properties
+Fail CSSPositionTryDescriptors.item
+Fail CSSPositionTryDescriptors.cssText
+Fail CSSPositionTryDescriptors.getPropertyValue(margin)
+Fail CSSPositionTryDescriptors.setProperty(margin)
+Fail CSSPositionTryDescriptors[margin] (set)
+Fail CSSPositionTryDescriptors[margin] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-top)
+Fail CSSPositionTryDescriptors.setProperty(margin-top)
+Fail CSSPositionTryDescriptors[margin-top] (set)
+Fail CSSPositionTryDescriptors[margin-top] (get)
+Fail CSSPositionTryDescriptors[marginTop] (get)
+Fail CSSPositionTryDescriptors[marginTop] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-right)
+Fail CSSPositionTryDescriptors.setProperty(margin-right)
+Fail CSSPositionTryDescriptors[margin-right] (set)
+Fail CSSPositionTryDescriptors[margin-right] (get)
+Fail CSSPositionTryDescriptors[marginRight] (get)
+Fail CSSPositionTryDescriptors[marginRight] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-bottom)
+Fail CSSPositionTryDescriptors.setProperty(margin-bottom)
+Fail CSSPositionTryDescriptors[margin-bottom] (set)
+Fail CSSPositionTryDescriptors[margin-bottom] (get)
+Fail CSSPositionTryDescriptors[marginBottom] (get)
+Fail CSSPositionTryDescriptors[marginBottom] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-left)
+Fail CSSPositionTryDescriptors.setProperty(margin-left)
+Fail CSSPositionTryDescriptors[margin-left] (set)
+Fail CSSPositionTryDescriptors[margin-left] (get)
+Fail CSSPositionTryDescriptors[marginLeft] (get)
+Fail CSSPositionTryDescriptors[marginLeft] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-block)
+Fail CSSPositionTryDescriptors.setProperty(margin-block)
+Fail CSSPositionTryDescriptors[margin-block] (set)
+Fail CSSPositionTryDescriptors[margin-block] (get)
+Fail CSSPositionTryDescriptors[marginBlock] (get)
+Fail CSSPositionTryDescriptors[marginBlock] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-block-start)
+Fail CSSPositionTryDescriptors.setProperty(margin-block-start)
+Fail CSSPositionTryDescriptors[margin-block-start] (set)
+Fail CSSPositionTryDescriptors[margin-block-start] (get)
+Fail CSSPositionTryDescriptors[marginBlockStart] (get)
+Fail CSSPositionTryDescriptors[marginBlockStart] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-block-end)
+Fail CSSPositionTryDescriptors.setProperty(margin-block-end)
+Fail CSSPositionTryDescriptors[margin-block-end] (set)
+Fail CSSPositionTryDescriptors[margin-block-end] (get)
+Fail CSSPositionTryDescriptors[marginBlockEnd] (get)
+Fail CSSPositionTryDescriptors[marginBlockEnd] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-inline)
+Fail CSSPositionTryDescriptors.setProperty(margin-inline)
+Fail CSSPositionTryDescriptors[margin-inline] (set)
+Fail CSSPositionTryDescriptors[margin-inline] (get)
+Fail CSSPositionTryDescriptors[marginInline] (get)
+Fail CSSPositionTryDescriptors[marginInline] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-inline-start)
+Fail CSSPositionTryDescriptors.setProperty(margin-inline-start)
+Fail CSSPositionTryDescriptors[margin-inline-start] (set)
+Fail CSSPositionTryDescriptors[margin-inline-start] (get)
+Fail CSSPositionTryDescriptors[marginInlineStart] (get)
+Fail CSSPositionTryDescriptors[marginInlineStart] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(margin-inline-end)
+Fail CSSPositionTryDescriptors.setProperty(margin-inline-end)
+Fail CSSPositionTryDescriptors[margin-inline-end] (set)
+Fail CSSPositionTryDescriptors[margin-inline-end] (get)
+Fail CSSPositionTryDescriptors[marginInlineEnd] (get)
+Fail CSSPositionTryDescriptors[marginInlineEnd] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset)
+Fail CSSPositionTryDescriptors.setProperty(inset)
+Fail CSSPositionTryDescriptors[inset] (set)
+Fail CSSPositionTryDescriptors[inset] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(top)
+Fail CSSPositionTryDescriptors.setProperty(top)
+Fail CSSPositionTryDescriptors[top] (set)
+Fail CSSPositionTryDescriptors[top] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(left)
+Fail CSSPositionTryDescriptors.setProperty(left)
+Fail CSSPositionTryDescriptors[left] (set)
+Fail CSSPositionTryDescriptors[left] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(right)
+Fail CSSPositionTryDescriptors.setProperty(right)
+Fail CSSPositionTryDescriptors[right] (set)
+Fail CSSPositionTryDescriptors[right] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(bottom)
+Fail CSSPositionTryDescriptors.setProperty(bottom)
+Fail CSSPositionTryDescriptors[bottom] (set)
+Fail CSSPositionTryDescriptors[bottom] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-block)
+Fail CSSPositionTryDescriptors.setProperty(inset-block)
+Fail CSSPositionTryDescriptors[inset-block] (set)
+Fail CSSPositionTryDescriptors[inset-block] (get)
+Fail CSSPositionTryDescriptors[insetBlock] (get)
+Fail CSSPositionTryDescriptors[insetBlock] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-block-start)
+Fail CSSPositionTryDescriptors.setProperty(inset-block-start)
+Fail CSSPositionTryDescriptors[inset-block-start] (set)
+Fail CSSPositionTryDescriptors[inset-block-start] (get)
+Fail CSSPositionTryDescriptors[insetBlockStart] (get)
+Fail CSSPositionTryDescriptors[insetBlockStart] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-block-end)
+Fail CSSPositionTryDescriptors.setProperty(inset-block-end)
+Fail CSSPositionTryDescriptors[inset-block-end] (set)
+Fail CSSPositionTryDescriptors[inset-block-end] (get)
+Fail CSSPositionTryDescriptors[insetBlockEnd] (get)
+Fail CSSPositionTryDescriptors[insetBlockEnd] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-inline)
+Fail CSSPositionTryDescriptors.setProperty(inset-inline)
+Fail CSSPositionTryDescriptors[inset-inline] (set)
+Fail CSSPositionTryDescriptors[inset-inline] (get)
+Fail CSSPositionTryDescriptors[insetInline] (get)
+Fail CSSPositionTryDescriptors[insetInline] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-inline-start)
+Fail CSSPositionTryDescriptors.setProperty(inset-inline-start)
+Fail CSSPositionTryDescriptors[inset-inline-start] (set)
+Fail CSSPositionTryDescriptors[inset-inline-start] (get)
+Fail CSSPositionTryDescriptors[insetInlineStart] (get)
+Fail CSSPositionTryDescriptors[insetInlineStart] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inset-inline-end)
+Fail CSSPositionTryDescriptors.setProperty(inset-inline-end)
+Fail CSSPositionTryDescriptors[inset-inline-end] (set)
+Fail CSSPositionTryDescriptors[inset-inline-end] (get)
+Fail CSSPositionTryDescriptors[insetInlineEnd] (get)
+Fail CSSPositionTryDescriptors[insetInlineEnd] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(width)
+Fail CSSPositionTryDescriptors.setProperty(width)
+Fail CSSPositionTryDescriptors[width] (set)
+Fail CSSPositionTryDescriptors[width] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(height)
+Fail CSSPositionTryDescriptors.setProperty(height)
+Fail CSSPositionTryDescriptors[height] (set)
+Fail CSSPositionTryDescriptors[height] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(min-width)
+Fail CSSPositionTryDescriptors.setProperty(min-width)
+Fail CSSPositionTryDescriptors[min-width] (set)
+Fail CSSPositionTryDescriptors[min-width] (get)
+Fail CSSPositionTryDescriptors[minWidth] (get)
+Fail CSSPositionTryDescriptors[minWidth] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(max-width)
+Fail CSSPositionTryDescriptors.setProperty(max-width)
+Fail CSSPositionTryDescriptors[max-width] (set)
+Fail CSSPositionTryDescriptors[max-width] (get)
+Fail CSSPositionTryDescriptors[maxWidth] (get)
+Fail CSSPositionTryDescriptors[maxWidth] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(min-height)
+Fail CSSPositionTryDescriptors.setProperty(min-height)
+Fail CSSPositionTryDescriptors[min-height] (set)
+Fail CSSPositionTryDescriptors[min-height] (get)
+Fail CSSPositionTryDescriptors[minHeight] (get)
+Fail CSSPositionTryDescriptors[minHeight] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(max-height)
+Fail CSSPositionTryDescriptors.setProperty(max-height)
+Fail CSSPositionTryDescriptors[max-height] (set)
+Fail CSSPositionTryDescriptors[max-height] (get)
+Fail CSSPositionTryDescriptors[maxHeight] (get)
+Fail CSSPositionTryDescriptors[maxHeight] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(block-size)
+Fail CSSPositionTryDescriptors.setProperty(block-size)
+Fail CSSPositionTryDescriptors[block-size] (set)
+Fail CSSPositionTryDescriptors[block-size] (get)
+Fail CSSPositionTryDescriptors[blockSize] (get)
+Fail CSSPositionTryDescriptors[blockSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(min-block-size)
+Fail CSSPositionTryDescriptors.setProperty(min-block-size)
+Fail CSSPositionTryDescriptors[min-block-size] (set)
+Fail CSSPositionTryDescriptors[min-block-size] (get)
+Fail CSSPositionTryDescriptors[minBlockSize] (get)
+Fail CSSPositionTryDescriptors[minBlockSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(max-block-size)
+Fail CSSPositionTryDescriptors.setProperty(max-block-size)
+Fail CSSPositionTryDescriptors[max-block-size] (set)
+Fail CSSPositionTryDescriptors[max-block-size] (get)
+Fail CSSPositionTryDescriptors[maxBlockSize] (get)
+Fail CSSPositionTryDescriptors[maxBlockSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(inline-size)
+Fail CSSPositionTryDescriptors.setProperty(inline-size)
+Fail CSSPositionTryDescriptors[inline-size] (set)
+Fail CSSPositionTryDescriptors[inline-size] (get)
+Fail CSSPositionTryDescriptors[inlineSize] (get)
+Fail CSSPositionTryDescriptors[inlineSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(min-inline-size)
+Fail CSSPositionTryDescriptors.setProperty(min-inline-size)
+Fail CSSPositionTryDescriptors[min-inline-size] (set)
+Fail CSSPositionTryDescriptors[min-inline-size] (get)
+Fail CSSPositionTryDescriptors[minInlineSize] (get)
+Fail CSSPositionTryDescriptors[minInlineSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(max-inline-size)
+Fail CSSPositionTryDescriptors.setProperty(max-inline-size)
+Fail CSSPositionTryDescriptors[max-inline-size] (set)
+Fail CSSPositionTryDescriptors[max-inline-size] (get)
+Fail CSSPositionTryDescriptors[maxInlineSize] (get)
+Fail CSSPositionTryDescriptors[maxInlineSize] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(place-self)
+Fail CSSPositionTryDescriptors.setProperty(place-self)
+Fail CSSPositionTryDescriptors[place-self] (set)
+Fail CSSPositionTryDescriptors[place-self] (get)
+Fail CSSPositionTryDescriptors[placeSelf] (get)
+Fail CSSPositionTryDescriptors[placeSelf] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(align-self)
+Fail CSSPositionTryDescriptors.setProperty(align-self)
+Fail CSSPositionTryDescriptors[align-self] (set)
+Fail CSSPositionTryDescriptors[align-self] (get)
+Fail CSSPositionTryDescriptors[alignSelf] (get)
+Fail CSSPositionTryDescriptors[alignSelf] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(justify-self)
+Fail CSSPositionTryDescriptors.setProperty(justify-self)
+Fail CSSPositionTryDescriptors[justify-self] (set)
+Fail CSSPositionTryDescriptors[justify-self] (get)
+Fail CSSPositionTryDescriptors[justifySelf] (get)
+Fail CSSPositionTryDescriptors[justifySelf] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(position-anchor)
+Fail CSSPositionTryDescriptors.setProperty(position-anchor)
+Fail CSSPositionTryDescriptors[position-anchor] (set)
+Fail CSSPositionTryDescriptors[position-anchor] (get)
+Fail CSSPositionTryDescriptors[positionAnchor] (get)
+Fail CSSPositionTryDescriptors[positionAnchor] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(position-area)
+Fail CSSPositionTryDescriptors.setProperty(position-area)
+Fail CSSPositionTryDescriptors[position-area] (set)
+Fail CSSPositionTryDescriptors[position-area] (get)
+Fail CSSPositionTryDescriptors[positionArea] (get)
+Fail CSSPositionTryDescriptors[positionArea] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(color)
+Fail CSSPositionTryDescriptors.setProperty(color)
+Fail CSSPositionTryDescriptors[color] (set)
+Fail CSSPositionTryDescriptors[color] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(align-items)
+Fail CSSPositionTryDescriptors.setProperty(align-items)
+Fail CSSPositionTryDescriptors[align-items] (set)
+Fail CSSPositionTryDescriptors[align-items] (get)
+Fail CSSPositionTryDescriptors[alignItems] (get)
+Fail CSSPositionTryDescriptors[alignItems] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(align-content)
+Fail CSSPositionTryDescriptors.setProperty(align-content)
+Fail CSSPositionTryDescriptors[align-content] (set)
+Fail CSSPositionTryDescriptors[align-content] (get)
+Fail CSSPositionTryDescriptors[alignContent] (get)
+Fail CSSPositionTryDescriptors[alignContent] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(background)
+Fail CSSPositionTryDescriptors.setProperty(background)
+Fail CSSPositionTryDescriptors[background] (set)
+Fail CSSPositionTryDescriptors[background] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(display)
+Fail CSSPositionTryDescriptors.setProperty(display)
+Fail CSSPositionTryDescriptors[display] (set)
+Fail CSSPositionTryDescriptors[display] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(position)
+Fail CSSPositionTryDescriptors.setProperty(position)
+Fail CSSPositionTryDescriptors[position] (set)
+Fail CSSPositionTryDescriptors[position] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(writing-mode)
+Fail CSSPositionTryDescriptors.setProperty(writing-mode)
+Fail CSSPositionTryDescriptors[writing-mode] (set)
+Fail CSSPositionTryDescriptors[writing-mode] (get)
+Fail CSSPositionTryDescriptors[writingMode] (get)
+Fail CSSPositionTryDescriptors[writingMode] (set)
+Fail CSSPositionTryDescriptors.getPropertyValue(direction)
+Fail CSSPositionTryDescriptors.setProperty(direction)
+Fail CSSPositionTryDescriptors[direction] (set)
+Fail CSSPositionTryDescriptors[direction] (get)
+Fail CSSPositionTryDescriptors.getPropertyValue(syntax)
+Fail CSSPositionTryDescriptors.setProperty(syntax)
+Fail CSSPositionTryDescriptors[syntax] (set)
+Fail CSSPositionTryDescriptors[syntax] (get)
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-parse.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-parse.txt
new file mode 100644
index 00000000000..8aee5c80c48
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/at-position-try-parse.txt
@@ -0,0 +1,18 @@
+Harness status: OK
+
+Found 12 tests
+
+4 Pass
+8 Fail
+Fail @position-try --foo { } should be a valid rule
+Fail @position-try --foo { top: 1px; } should be a valid rule
+Pass @position-try { } should be an invalid rule
+Pass @position-try foo { } should be an invalid rule
+Pass @position-try --foo --bar { } should be an invalid rule
+Pass @position-try --foo, --bar { } should be an invalid rule
+Fail @position-try --foo { backround-color: green; } should be a valid rule
+Fail @position-try --foo { @keyframes bar {} } should be a valid rule
+Fail @position-try --foo { @font-face {} } should be a valid rule
+Fail @position-try --foo { @media print {} } should be a valid rule
+Fail @position-try --foo { & {} } should be a valid rule
+Fail @position-try --foo { arbitrary garbage } should be a valid rule
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.txt
new file mode 100644
index 00000000000..5f3fe34d665
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.txt
@@ -0,0 +1,18 @@
+Harness status: OK
+
+Found 12 tests
+
+6 Pass
+6 Fail
+Fail position-area with valid anchor sets insets to zero
+Fail justify-self: anchor-center with valid anchor sets insets to zero
+Fail align-self: anchor-center with valid anchor sets insets to zero
+Pass position-area with invalid anchor does not set insets to zero
+Pass justify-self: anchor-center with invalid anchor does not set insets to zero
+Pass align-self: anchor-center with invalid anchor does not set insets to zero
+Fail position-area with valid anchor sets margins to zero
+Fail justify-self: anchor-center with valid anchor sets margins to zero
+Fail align-self: anchor-center with valid anchor sets margins to zero
+Pass position-area with invalid anchor does not set margins to zero
+Pass justify-self: anchor-center with invalid anchor does not set margins to zero
+Pass align-self: anchor-center with invalid anchor does not set margins to zero
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/idlharness.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/idlharness.txt
new file mode 100644
index 00000000000..7b1701cd2ca
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/idlharness.txt
@@ -0,0 +1,92 @@
+Harness status: OK
+
+Found 86 tests
+
+2 Pass
+84 Fail
+Pass idl_test setup
+Pass idl_test validation
+Fail CSSPositionTryRule interface: existence and properties of interface object
+Fail CSSPositionTryRule interface object length
+Fail CSSPositionTryRule interface object name
+Fail CSSPositionTryRule interface: existence and properties of interface prototype object
+Fail CSSPositionTryRule interface: existence and properties of interface prototype object's "constructor" property
+Fail CSSPositionTryRule interface: existence and properties of interface prototype object's @@unscopables property
+Fail CSSPositionTryRule interface: attribute name
+Fail CSSPositionTryRule interface: attribute style
+Fail CSSPositionTryDescriptors interface: existence and properties of interface object
+Fail CSSPositionTryDescriptors interface object length
+Fail CSSPositionTryDescriptors interface object name
+Fail CSSPositionTryDescriptors interface: existence and properties of interface prototype object
+Fail CSSPositionTryDescriptors interface: existence and properties of interface prototype object's "constructor" property
+Fail CSSPositionTryDescriptors interface: existence and properties of interface prototype object's @@unscopables property
+Fail CSSPositionTryDescriptors interface: attribute margin
+Fail CSSPositionTryDescriptors interface: attribute marginTop
+Fail CSSPositionTryDescriptors interface: attribute marginRight
+Fail CSSPositionTryDescriptors interface: attribute marginBottom
+Fail CSSPositionTryDescriptors interface: attribute marginLeft
+Fail CSSPositionTryDescriptors interface: attribute marginBlock
+Fail CSSPositionTryDescriptors interface: attribute marginBlockStart
+Fail CSSPositionTryDescriptors interface: attribute marginBlockEnd
+Fail CSSPositionTryDescriptors interface: attribute marginInline
+Fail CSSPositionTryDescriptors interface: attribute marginInlineStart
+Fail CSSPositionTryDescriptors interface: attribute marginInlineEnd
+Fail CSSPositionTryDescriptors interface: attribute margin-top
+Fail CSSPositionTryDescriptors interface: attribute margin-right
+Fail CSSPositionTryDescriptors interface: attribute margin-bottom
+Fail CSSPositionTryDescriptors interface: attribute margin-left
+Fail CSSPositionTryDescriptors interface: attribute margin-block
+Fail CSSPositionTryDescriptors interface: attribute margin-block-start
+Fail CSSPositionTryDescriptors interface: attribute margin-block-end
+Fail CSSPositionTryDescriptors interface: attribute margin-inline
+Fail CSSPositionTryDescriptors interface: attribute margin-inline-start
+Fail CSSPositionTryDescriptors interface: attribute margin-inline-end
+Fail CSSPositionTryDescriptors interface: attribute inset
+Fail CSSPositionTryDescriptors interface: attribute insetBlock
+Fail CSSPositionTryDescriptors interface: attribute insetBlockStart
+Fail CSSPositionTryDescriptors interface: attribute insetBlockEnd
+Fail CSSPositionTryDescriptors interface: attribute insetInline
+Fail CSSPositionTryDescriptors interface: attribute insetInlineStart
+Fail CSSPositionTryDescriptors interface: attribute insetInlineEnd
+Fail CSSPositionTryDescriptors interface: attribute top
+Fail CSSPositionTryDescriptors interface: attribute left
+Fail CSSPositionTryDescriptors interface: attribute right
+Fail CSSPositionTryDescriptors interface: attribute bottom
+Fail CSSPositionTryDescriptors interface: attribute inset-block
+Fail CSSPositionTryDescriptors interface: attribute inset-block-start
+Fail CSSPositionTryDescriptors interface: attribute inset-block-end
+Fail CSSPositionTryDescriptors interface: attribute inset-inline
+Fail CSSPositionTryDescriptors interface: attribute inset-inline-start
+Fail CSSPositionTryDescriptors interface: attribute inset-inline-end
+Fail CSSPositionTryDescriptors interface: attribute width
+Fail CSSPositionTryDescriptors interface: attribute minWidth
+Fail CSSPositionTryDescriptors interface: attribute maxWidth
+Fail CSSPositionTryDescriptors interface: attribute height
+Fail CSSPositionTryDescriptors interface: attribute minHeight
+Fail CSSPositionTryDescriptors interface: attribute maxHeight
+Fail CSSPositionTryDescriptors interface: attribute blockSize
+Fail CSSPositionTryDescriptors interface: attribute minBlockSize
+Fail CSSPositionTryDescriptors interface: attribute maxBlockSize
+Fail CSSPositionTryDescriptors interface: attribute inlineSize
+Fail CSSPositionTryDescriptors interface: attribute minInlineSize
+Fail CSSPositionTryDescriptors interface: attribute maxInlineSize
+Fail CSSPositionTryDescriptors interface: attribute min-width
+Fail CSSPositionTryDescriptors interface: attribute max-width
+Fail CSSPositionTryDescriptors interface: attribute min-height
+Fail CSSPositionTryDescriptors interface: attribute max-height
+Fail CSSPositionTryDescriptors interface: attribute block-size
+Fail CSSPositionTryDescriptors interface: attribute min-block-size
+Fail CSSPositionTryDescriptors interface: attribute max-block-size
+Fail CSSPositionTryDescriptors interface: attribute inline-size
+Fail CSSPositionTryDescriptors interface: attribute min-inline-size
+Fail CSSPositionTryDescriptors interface: attribute max-inline-size
+Fail CSSPositionTryDescriptors interface: attribute placeSelf
+Fail CSSPositionTryDescriptors interface: attribute alignSelf
+Fail CSSPositionTryDescriptors interface: attribute justifySelf
+Fail CSSPositionTryDescriptors interface: attribute place-self
+Fail CSSPositionTryDescriptors interface: attribute align-self
+Fail CSSPositionTryDescriptors interface: attribute justify-self
+Fail CSSPositionTryDescriptors interface: attribute positionAnchor
+Fail CSSPositionTryDescriptors interface: attribute position-anchor
+Fail CSSPositionTryDescriptors interface: attribute positionArea
+Fail CSSPositionTryDescriptors interface: attribute position-area
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/mixed-dependency-chain.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/mixed-dependency-chain.txt
new file mode 100644
index 00000000000..5fee0c5cce5
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/mixed-dependency-chain.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 10 tests
+
+1 Pass
+9 Fail
+Pass .target 1
+Fail .target 2
+Fail .target 3
+Fail .target 4
+Fail .target 5
+Fail .target 6
+Fail .target 7
+Fail .target 8
+Fail .target 9
+Fail .target 10
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-computed.txt
new file mode 100644
index 00000000000..d8ca4cea834
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-computed.txt
@@ -0,0 +1,14 @@
+Harness status: OK
+
+Found 9 tests
+
+9 Fail
+Fail Property position-try value 'none'
+Fail Property position-try value 'normal none'
+Fail Property position-try value 'flip-block'
+Fail Property position-try value 'flip-y'
+Fail Property position-try value 'most-width none'
+Fail Property position-try value 'most-height flip-block, flip-inline'
+Fail Property position-try value 'most-height flip-y, flip-x'
+Fail Property position-try value 'most-width --foo, --bar'
+Fail Property position-try value 'normal --foo'
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-parsing.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-parsing.txt
new file mode 100644
index 00000000000..6c12542c85b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/parsing/position-try-parsing.txt
@@ -0,0 +1,41 @@
+Harness status: OK
+
+Found 35 tests
+
+4 Pass
+31 Fail
+Fail e.style['position-try'] = "flip-inline" should set the property value
+Fail e.style['position-try'] = "flip-y" should set the property value
+Fail e.style['position-try'] = "most-height none" should set the property value
+Fail e.style['position-try'] = "--bar, --baz" should set the property value
+Fail e.style['position-try'] = "most-inline-size --baz, flip-inline" should set the property value
+Fail e.style['position-try'] = "most-block-size flip-inline flip-block, --bar, --baz" should set the property value
+Fail e.style['position-try'] = "most-width flip-y flip-x, --foo, --bar" should set the property value
+Fail e.style['position-try'] = "normal none" should set the property value
+Fail e.style['position-try'] = "most-width none" should set the property value
+Fail e.style['position-try'] = "normal --foo" should set the property value
+Pass e.style['position-try'] = "normal --foo, most-width --bar" should not set the property value
+Pass e.style['position-try'] = "none normal" should not set the property value
+Pass e.style['position-try'] = "flip-block most-height" should not set the property value
+Pass e.style['position-try'] = "most-height, flip-start" should not set the property value
+Fail e.style['position-try'] = "flip-inline" should set position-try-fallbacks
+Fail e.style['position-try'] = "flip-inline" should set position-try-order
+Fail e.style['position-try'] = "flip-inline" should not set unrelated longhands
+Fail e.style['position-try'] = "flip-y" should set position-try-fallbacks
+Fail e.style['position-try'] = "flip-y" should set position-try-order
+Fail e.style['position-try'] = "flip-y" should not set unrelated longhands
+Fail e.style['position-try'] = "most-width none" should set position-try-fallbacks
+Fail e.style['position-try'] = "most-width none" should set position-try-order
+Fail e.style['position-try'] = "most-width none" should not set unrelated longhands
+Fail e.style['position-try'] = "--foo, --bar" should set position-try-fallbacks
+Fail e.style['position-try'] = "--foo, --bar" should set position-try-order
+Fail e.style['position-try'] = "--foo, --bar" should not set unrelated longhands
+Fail e.style['position-try'] = "most-inline-size --foo, flip-inline" should set position-try-fallbacks
+Fail e.style['position-try'] = "most-inline-size --foo, flip-inline" should set position-try-order
+Fail e.style['position-try'] = "most-inline-size --foo, flip-inline" should not set unrelated longhands
+Fail e.style['position-try'] = "most-inline-size flip-inline flip-block, --foo, --bar" should set position-try-fallbacks
+Fail e.style['position-try'] = "most-inline-size flip-inline flip-block, --foo, --bar" should set position-try-order
+Fail e.style['position-try'] = "most-inline-size flip-inline flip-block, --foo, --bar" should not set unrelated longhands
+Fail e.style['position-try'] = "most-width flip-y flip-x, --foo, --bar" should set position-try-fallbacks
+Fail e.style['position-try'] = "most-width flip-y flip-x, --foo, --bar" should set position-try-order
+Fail e.style['position-try'] = "most-width flip-y flip-x, --foo, --bar" should not set unrelated longhands
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.txt
new file mode 100644
index 00000000000..f081e56d6dc
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.txt
@@ -0,0 +1,61 @@
+Harness status: OK
+
+Found 56 tests
+
+56 Fail
+Fail Offsets for: start start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: containing-block: sideways-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: sideways-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: sideways-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: sideways-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: containing-block: sideways-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: sideways-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: sideways-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: sideways-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: start start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: start start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: self: sideways-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: self: sideways-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: self: sideways-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: sideways-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: self: sideways-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: sideways-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: sideways-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: sideways-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: start start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-rl / rtl
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify.txt
new file mode 100644
index 00000000000..33b9d4344d1
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-align-justify.txt
@@ -0,0 +1,19 @@
+Harness status: OK
+
+Found 14 tests
+
+14 Fail
+Fail Offsets for position-area: span-all
+Fail Offsets for position-area: top left
+Fail Offsets for position-area: top center
+Fail Offsets for position-area: top right
+Fail Offsets for position-area: center left
+Fail Offsets for position-area: center center
+Fail Offsets for position-area: center right
+Fail Offsets for position-area: bottom left
+Fail Offsets for position-area: bottom center
+Fail Offsets for position-area: bottom right
+Fail Offsets for position-area: top span-left
+Fail Offsets for position-area: top span-right
+Fail Offsets for position-area: span-top left
+Fail Offsets for position-area: span-bottom left
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-outside.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-outside.txt
new file mode 100644
index 00000000000..55e0f91dd13
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-outside.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 11 tests
+
+11 Fail
+Fail Offsets for position-area: span-all
+Fail Offsets for position-area: left span-all
+Fail Offsets for position-area: span-left span-all
+Fail Offsets for position-area: span-all center
+Fail Offsets for position-area: span-right span-all
+Fail Offsets for position-area: right span-all
+Fail Offsets for position-area: top span-all
+Fail Offsets for position-area: span-top span-all
+Fail Offsets for position-area: center span-all
+Fail Offsets for position-area: span-bottom span-all
+Fail Offsets for position-area: bottom span-all
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.txt
new file mode 100644
index 00000000000..55e0f91dd13
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 11 tests
+
+11 Fail
+Fail Offsets for position-area: span-all
+Fail Offsets for position-area: left span-all
+Fail Offsets for position-area: span-left span-all
+Fail Offsets for position-area: span-all center
+Fail Offsets for position-area: span-right span-all
+Fail Offsets for position-area: right span-all
+Fail Offsets for position-area: top span-all
+Fail Offsets for position-area: span-top span-all
+Fail Offsets for position-area: center span-all
+Fail Offsets for position-area: span-bottom span-all
+Fail Offsets for position-area: bottom span-all
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-basic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-basic.txt
new file mode 100644
index 00000000000..8cb1038af09
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-basic.txt
@@ -0,0 +1,53 @@
+Harness status: OK
+
+Found 47 tests
+
+2 Pass
+45 Fail
+Pass Offsets for: none
+Fail Offsets for: span-all
+Fail Offsets for: span-all span-all
+Fail Offsets for: top left
+Fail Offsets for: top center
+Fail Offsets for: top right
+Fail Offsets for: center left
+Fail Offsets for: center center
+Fail Offsets for: center right
+Fail Offsets for: bottom left
+Fail Offsets for: bottom center
+Fail Offsets for: bottom right
+Fail Offsets for: start start
+Fail Offsets for: start center
+Fail Offsets for: start end
+Fail Offsets for: center start
+Fail Offsets for: center end
+Fail Offsets for: end start
+Fail Offsets for: end center
+Fail Offsets for: end end
+Fail Offsets for: self-start self-start
+Fail Offsets for: self-start center
+Fail Offsets for: self-start self-end
+Fail Offsets for: center self-start
+Fail Offsets for: center self-end
+Fail Offsets for: self-end self-start
+Fail Offsets for: self-end center
+Fail Offsets for: self-end self-end
+Fail Offsets for: y-start x-start
+Fail Offsets for: y-start center
+Fail Offsets for: y-start x-end
+Fail Offsets for: center x-start
+Fail Offsets for: center x-end
+Fail Offsets for: y-end x-start
+Fail Offsets for: y-end center
+Fail Offsets for: y-end x-end
+Fail Offsets for: self-y-start self-x-start
+Fail Offsets for: self-y-start center
+Fail Offsets for: self-y-start self-x-end
+Fail Offsets for: center self-x-start
+Fail Offsets for: center self-x-end
+Fail Offsets for: self-y-end self-x-start
+Fail Offsets for: self-y-end center
+Fail Offsets for: self-y-end self-x-end
+Fail Offsets for: span-self-y-start span-self-x-end
+Fail Offsets for: span-bottom span-all
+Pass Offsets for: span-all top
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-computed-insets.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-computed-insets.txt
new file mode 100644
index 00000000000..5f3ffe4e04b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-computed-insets.txt
@@ -0,0 +1,6 @@
+Harness status: OK
+
+Found 1 tests
+
+1 Pass
+Pass position-area does not affect insets at computed value time
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-in-position-try.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-in-position-try.txt
new file mode 100644
index 00000000000..665c99e9ec0
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-in-position-try.txt
@@ -0,0 +1,69 @@
+Harness status: OK
+
+Found 64 tests
+
+64 Fail
+Fail none
+Fail span-all
+Fail span-all span-all
+Fail top left
+Fail top center
+Fail top right
+Fail center left
+Fail center center
+Fail center right
+Fail bottom left
+Fail bottom center
+Fail bottom right
+Fail start start
+Fail start center
+Fail start end
+Fail center start
+Fail center end
+Fail end start
+Fail end center
+Fail end end
+Fail self-start self-start
+Fail self-start center
+Fail self-start self-end
+Fail center self-start
+Fail center self-end
+Fail self-end self-start
+Fail self-end center
+Fail self-end self-end
+Fail y-start x-start
+Fail y-start center
+Fail y-start x-end
+Fail center x-start
+Fail center x-end
+Fail y-end x-start
+Fail y-end center
+Fail y-end x-end
+Fail self-y-start self-x-start
+Fail self-y-start center
+Fail self-y-start self-x-end
+Fail center self-x-start
+Fail center self-x-end
+Fail self-y-end self-x-start
+Fail self-y-end center
+Fail self-y-end self-x-end
+Fail span-self-y-start span-self-x-end
+Fail span-bottom span-all
+Fail Placement: --top
+Fail Placement: --left
+Fail Placement: --right, --top
+Fail Placement: --bottom, --top
+Fail Placement: --bottom, --right, --top
+Fail Placement: --bottom, --right, --left, --top
+Fail Placement: --bottom, --left, --top, --right
+Fail Placement: --right flip-inline
+Fail Placement: --bottom flip-block
+Fail Placement: --left flip-start
+Fail Placement: --right flip-x
+Fail Placement: --bottom flip-y
+Fail Placement: --left flip-inline, --top
+Fail Placement: --left flip-x, --top
+Fail Placement: --top flip-block, --left
+Fail Placement: --top flip-y, --left
+Fail Placement: --left flip-start flip-block, --left
+Fail Placement: --left flip-start flip-y, --left
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-wm-dir.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-wm-dir.txt
new file mode 100644
index 00000000000..af6be625130
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-area-wm-dir.txt
@@ -0,0 +1,49 @@
+Harness status: OK
+
+Found 44 tests
+
+44 Fail
+Fail Offsets for: start start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: inline-start block-end with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: self-inline-start self-block-end with writing-mode / direction: containing-block: horizontal-tb / rtl
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: inline-start block-end with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: self-inline-start self-block-end with writing-mode / direction: containing-block: vertical-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-rl / ltr
+Fail Offsets for: start start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: containing-block: vertical-rl / rtl
+Fail Offsets for: start start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: horizontal-tb / rtl
+Fail Offsets for: start start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-lr / ltr
+Fail Offsets for: start start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-lr / rtl
+Fail Offsets for: start start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-rl / ltr
+Fail Offsets for: start start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: self-start self-start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: x-start y-start with writing-mode / direction: self: vertical-rl / rtl
+Fail Offsets for: self-x-start self-y-start with writing-mode / direction: self: vertical-rl / rtl
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-basic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-basic.txt
new file mode 100644
index 00000000000..43bb6cb45c5
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-basic.txt
@@ -0,0 +1,40 @@
+Harness status: OK
+
+Found 27 tests
+
+27 Fail
+Fail --right | --right
+Fail --left | --left
+Fail --top | --top
+Fail --bottom | --bottom
+Fail --right, --left, --bottom, --top | --right
+Fail normal --right, --left, --bottom, --top | --right
+Fail normal --top, --left, --bottom, --right | --top
+Fail most-block-size --right, --left | --right
+Fail most-height --right, --left | --right
+Fail most-inline-size --right, --left | --left
+Fail most-width --right, --left | --left
+Fail most-inline-size --bottom, --top | --bottom
+Fail most-width --bottom, --top | --bottom
+Fail most-block-size --bottom, --top | --top
+Fail most-height --bottom, --top | --top
+Fail most-inline-size --right, --left, --bottom, --top | --bottom
+Fail most-inline-size --right, --left, --top, --bottom | --top
+Fail most-block-size --bottom, --top, --right, --left | --right
+Fail most-block-size --bottom, --top, --left, --right | --left
+Fail most-inline-size --left-sweep, --bottom-sweep | --left-sweep
+Fail most-inline-size --bottom-sweep, --left-sweep | --bottom-sweep
+Fail most-block-size --left-sweep, --bottom-sweep | --left-sweep
+Fail most-block-size --bottom-sweep, --left-sweep | --left-sweep
+Fail most-inline-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep | --left-sweep
+Fail most-block-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep | --top-sweep
+Fail most-inline-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --bottom
+ | --bottom
+Fail most-block-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --right
+ | --right
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-position-area.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-position-area.txt
new file mode 100644
index 00000000000..dfb5eb60fd6
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-order-position-area.txt
@@ -0,0 +1,40 @@
+Harness status: OK
+
+Found 27 tests
+
+27 Fail
+Fail --right | --right
+Fail --left | --left
+Fail --top | --top
+Fail --bottom | --bottom
+Fail --right, --left, --bottom, --top | --right
+Fail normal --right, --left, --bottom, --top | --right
+Fail normal --top, --left, --bottom, --right | --top
+Fail most-block-size --right, --left | --right
+Fail most-height --right, --left | --right
+Fail most-inline-size --right, --left | --left
+Fail most-width --right, --left | --left
+Fail most-inline-size --bottom, --top | --bottom
+Fail most-width --bottom, --top | --bottom
+Fail most-block-size --bottom, --top | --top
+Fail most-height --bottom, --top | --top
+Fail most-inline-size --right, --left, --bottom, --top | --bottom
+Fail most-inline-size --right, --left, --top, --bottom | --top
+Fail most-block-size --bottom, --top, --right, --left | --right
+Fail most-block-size --bottom, --top, --left, --right | --left
+Fail most-inline-size --left-sweep, --bottom-sweep | --left-sweep
+Fail most-inline-size --bottom-sweep, --left-sweep | --bottom-sweep
+Fail most-block-size --left-sweep, --bottom-sweep | --left-sweep
+Fail most-block-size --bottom-sweep, --left-sweep | --left-sweep
+Fail most-inline-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep | --left-sweep
+Fail most-block-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep | --top-sweep
+Fail most-inline-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --bottom
+ | --bottom
+Fail most-block-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --right
+ | --right
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-tree-scoped.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-tree-scoped.txt
new file mode 100644
index 00000000000..4f59c04336b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/position-try-tree-scoped.txt
@@ -0,0 +1,18 @@
+Harness status: OK
+
+Found 12 tests
+
+3 Pass
+9 Fail
+Fail Document position-try-fallbacks matches @position-try in document scope
+Pass Document position-try-fallbacks does not match @position-try in #outer_host scope
+Pass Document position-try-fallbacks does not match @position-try in #inner_host scope
+Fail Outer position-try-fallbacks matches @position-try in document scope
+Fail Outer position-try-fallbacks matches @position-try in #outer_host scope
+Pass Outer position-try-fallbacks does not match @position-try in #inner_host scope
+Fail Inner position-try-fallbacks matches @position-try in document scope
+Fail Inner position-try-fallbacks matches @position-try in #outer_host scope
+Fail Inner position-try-fallbacks matches @position-try in #inner_host scope
+Fail @position-try from same scope as :host rule
+Fail @position-try from same scope as ::slotted() rule
+Fail @position-try from same scope as ::part() rule
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-alignment.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-alignment.txt
new file mode 100644
index 00000000000..25c5c733ea1
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-alignment.txt
@@ -0,0 +1,65 @@
+Harness status: OK
+
+Found 60 tests
+
+60 Pass
+Pass , justify-self:start;align-self:start, justify-self:start;align-self:start, ltr, horizontal-tb
+Pass flip-inline, justify-self:start;align-self:start, justify-self:end;align-self:start, ltr, horizontal-tb
+Pass flip-block, justify-self:start;align-self:start, justify-self:start;align-self:end, ltr, horizontal-tb
+Pass flip-block flip-inline, justify-self:start;align-self:start, justify-self:end;align-self:end, ltr, horizontal-tb
+Pass flip-start, justify-self:start;align-self:end, justify-self:end;align-self:start, ltr, horizontal-tb
+Pass flip-block flip-start, justify-self:start;align-self:start, justify-self:end;align-self:start, ltr, horizontal-tb
+Pass flip-inline flip-start, justify-self:start;align-self:start, justify-self:start;align-self:end, ltr, horizontal-tb
+Pass flip-block flip-inline flip-start, justify-self:start;align-self:start, justify-self:end;align-self:end, ltr, horizontal-tb
+Pass flip-x, justify-self:start;align-self:start, justify-self:end;align-self:start, ltr, horizontal-tb
+Pass flip-y, justify-self:start;align-self:start, justify-self:start;align-self:end, ltr, horizontal-tb
+Pass flip-y flip-x, justify-self:start;align-self:start, justify-self:end;align-self:end, ltr, horizontal-tb
+Pass flip-y flip-start, justify-self:start;align-self:start, justify-self:end;align-self:start, ltr, horizontal-tb
+Pass flip-x flip-start, justify-self:start;align-self:start, justify-self:start;align-self:end, ltr, horizontal-tb
+Pass flip-y flip-x flip-start, justify-self:start;align-self:start, justify-self:end;align-self:end, ltr, horizontal-tb
+Pass flip-inline, justify-self:left;align-self:start, justify-self:right;align-self:start, ltr, horizontal-tb
+Pass flip-x, justify-self:left;align-self:start, justify-self:right;align-self:start, ltr, horizontal-tb
+Pass flip-start, justify-self:left;align-self:end, justify-self:end;align-self:self-start, ltr, horizontal-tb
+Pass flip-start, justify-self:right;align-self:start, justify-self:start;align-self:self-end, ltr, horizontal-tb
+Pass , justify-self:start
+Pass , justify-self:end
+Pass , justify-self:self-start
+Pass , justify-self:self-end
+Pass , justify-self:flex-start
+Pass , justify-self:flex-end
+Pass , align-self:start
+Pass , align-self:end
+Pass , align-self:self-start
+Pass , align-self:self-end
+Pass , align-self:flex-start
+Pass , align-self:flex-end
+Pass flip-inline, justify-self:start
+Pass flip-inline, justify-self:end
+Pass flip-inline, justify-self:self-start
+Pass flip-inline, justify-self:self-end
+Pass flip-inline, justify-self:flex-start
+Pass flip-inline, justify-self:flex-end
+Pass flip-inline, justify-self:left
+Pass flip-inline, justify-self:right
+Pass flip-x, justify-self:start
+Pass flip-x, justify-self:end
+Pass flip-x, justify-self:self-start
+Pass flip-x, justify-self:self-end
+Pass flip-x, justify-self:flex-start
+Pass flip-x, justify-self:flex-end
+Pass flip-x, justify-self:left
+Pass flip-x, justify-self:right
+Pass flip-block, align-self:start
+Pass flip-block, align-self:end
+Pass flip-block, align-self:self-start
+Pass flip-block, align-self:self-end
+Pass flip-block, align-self:flex-start
+Pass flip-block, align-self:flex-end
+Pass flip-y, align-self:start
+Pass flip-y, align-self:end
+Pass flip-y, align-self:self-start
+Pass flip-y, align-self:self-end
+Pass flip-y, align-self:flex-start
+Pass flip-y, align-self:flex-end
+Pass flip-start, justify-self:left;align-self:end, justify-self:end;align-self:self-start, ltr, vertical-rl
+Pass flip-start, justify-self:left;align-self:start, justify-self:start;align-self:self-end, rtl, horizontal-tb
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-anchor.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-anchor.txt
new file mode 100644
index 00000000000..9c71756f447
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-anchor.txt
@@ -0,0 +1,52 @@
+Harness status: OK
+
+Found 46 tests
+
+39 Pass
+7 Fail
+Pass , right:anchor(left), right:anchor(left)
+Pass flip-block, right:anchor(left), right:anchor(left)
+Pass flip-inline, bottom:anchor(top), bottom:anchor(top)
+Pass flip-inline, right:anchor(left), left:anchor(right)
+Pass flip-inline, left:anchor(right), right:anchor(left)
+Pass flip-start, right:anchor(left), bottom:anchor(top)
+Pass flip-start, bottom:anchor(top), right:anchor(left)
+Pass flip-inline flip-start, right:anchor(left), top:anchor(bottom)
+Pass flip-start flip-inline, top:anchor(bottom), right:anchor(left)
+Pass flip-start flip-block, left:anchor(right), bottom:anchor(top)
+Pass flip-block flip-start, bottom:anchor(top), left:anchor(right)
+Pass flip-start, left:anchor(right), top:anchor(bottom)
+Pass flip-start, top:anchor(bottom), left:anchor(right)
+Pass flip-block, bottom:anchor(top), top:anchor(bottom)
+Pass flip-block, top:anchor(bottom), bottom:anchor(top)
+Pass flip-inline, right:anchor(start), left:anchor(right)
+Pass flip-inline, left:anchor(end), right:anchor(left)
+Pass flip-start, right:anchor(start), bottom:anchor(top)
+Pass flip-start, bottom:anchor(start), right:anchor(left)
+Pass flip-inline flip-start, right:anchor(start), top:anchor(bottom)
+Pass flip-start flip-inline, top:anchor(end), right:anchor(left)
+Pass flip-start flip-block, left:anchor(end), bottom:anchor(top)
+Pass flip-block flip-start, bottom:anchor(start), left:anchor(right)
+Pass flip-start, left:anchor(end), top:anchor(bottom)
+Pass flip-start, top:anchor(end), left:anchor(right)
+Pass flip-block, bottom:anchor(start), top:anchor(bottom)
+Pass flip-block, top:anchor(end), bottom:anchor(top)
+Pass flip-inline, right:anchor(self-start), left:anchor(right)
+Pass flip-inline, left:anchor(self-end), right:anchor(left)
+Pass flip-start, right:anchor(self-start), bottom:anchor(top)
+Pass flip-start, bottom:anchor(self-start), right:anchor(left)
+Pass flip-inline flip-start, right:anchor(self-start), top:anchor(bottom)
+Pass flip-start flip-inline, top:anchor(self-end), right:anchor(left)
+Pass flip-start flip-block, left:anchor(self-end), bottom:anchor(top)
+Pass flip-block flip-start, bottom:anchor(self-start), left:anchor(right)
+Pass flip-start, left:anchor(self-end), top:anchor(bottom)
+Pass flip-start, top:anchor(self-end), left:anchor(right)
+Pass flip-block, bottom:anchor(self-start), top:anchor(bottom)
+Pass flip-block, top:anchor(self-end), bottom:anchor(top)
+Fail CSS Anchor Positioning: try-tactic, anchor()
+Fail flip-inline
+Fail flip-block
+Fail flip-start
+Fail flip-inline flip-start
+Fail flip-start flip-block
+Fail Can transform a value post-var-substitution
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-base.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-base.txt
new file mode 100644
index 00000000000..db3b7f6f6ee
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-base.txt
@@ -0,0 +1,6 @@
+Harness status: OK
+
+Found 1 tests
+
+1 Fail
+Fail flip-start affects base values
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.txt
new file mode 100644
index 00000000000..af105933b3d
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.txt
@@ -0,0 +1,8 @@
+Harness status: OK
+
+Found 3 tests
+
+3 Fail
+Fail Uses flip-block
+Fail Uses flip-inline
+Fail Uses flip-block flip-inline
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic.txt
new file mode 100644
index 00000000000..77441883b27
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-basic.txt
@@ -0,0 +1,35 @@
+Harness status: OK
+
+Found 30 tests
+
+30 Fail
+Fail CSS Anchor Positioning: try-tactic
+Fail flip-block
+Fail flip-y
+Fail flip-inline
+Fail flip-x
+Fail flip-block flip-inline
+Fail flip-inline flip-block
+Fail flip-y flip-x
+Fail flip-x flip-y
+Fail flip-start
+Fail flip-block flip-start flip-inline
+Fail flip-inline flip-start flip-block
+Fail flip-y flip-start flip-x
+Fail flip-x flip-start flip-y
+Fail flip-start flip-block
+Fail flip-inline flip-start
+Fail flip-start flip-y
+Fail flip-x flip-start
+Fail flip-start flip-inline
+Fail flip-block flip-start
+Fail flip-start flip-x
+Fail flip-y flip-start
+Fail flip-start flip-block flip-inline
+Fail flip-start flip-inline flip-block
+Fail flip-inline flip-block flip-start
+Fail flip-block flip-inline flip-start
+Fail flip-start flip-y flip-x
+Fail flip-start flip-x flip-y
+Fail flip-x flip-y flip-start
+Fail flip-y flip-x flip-start
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-margin.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-margin.txt
new file mode 100644
index 00000000000..e8bd2e4067e
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-margin.txt
@@ -0,0 +1,13 @@
+Harness status: OK
+
+Found 8 tests
+
+8 Fail
+Fail --pf
+Fail --pf flip-block
+Fail --pf flip-inline
+Fail --pf flip-block flip-inline
+Fail --pf flip-start
+Fail --pf flip-block flip-start
+Fail --pf flip-inline flip-start
+Fail --pf flip-block flip-inline flip-start
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-percentage.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-percentage.txt
new file mode 100644
index 00000000000..7430ccebc38
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-percentage.txt
@@ -0,0 +1,41 @@
+Harness status: OK
+
+Found 36 tests
+
+36 Pass
+Pass , left:anchor(0%), left:anchor(left)
+Pass , left:anchor(100%), left:anchor(right)
+Pass , left:anchor(50%), left:anchor(center)
+Pass , top:anchor(0%), top:anchor(top)
+Pass , top:anchor(100%), top:anchor(bottom)
+Pass , top:anchor(50%), top:anchor(center)
+Pass flip-inline, left:anchor(10%), right:anchor(90%)
+Pass flip-inline, left:anchor(calc(10% + 20%)), right:anchor(70%)
+Pass flip-block, left:anchor(0%), left:anchor(0%)
+Pass flip-block, left:anchor(100%), left:anchor(100%)
+Pass flip-block, top:anchor(0%), bottom:anchor(100%)
+Pass flip-block, top:anchor(100%), bottom:anchor(0%)
+Pass flip-inline, left:anchor(0%), right:anchor(100%)
+Pass flip-inline, left:anchor(100%), right:anchor(0%)
+Pass flip-inline, top:anchor(0%), top:anchor(0%)
+Pass flip-inline, top:anchor(100%), top:anchor(100%)
+Pass flip-block flip-inline, left:anchor(0%), right:anchor(100%)
+Pass flip-block flip-inline, left:anchor(100%), right:anchor(0%)
+Pass flip-block flip-inline, top:anchor(0%), bottom:anchor(100%)
+Pass flip-block flip-inline, top:anchor(100%), bottom:anchor(0%)
+Pass flip-start, left:anchor(0%), top:anchor(0%)
+Pass flip-start, left:anchor(100%), top:anchor(100%)
+Pass flip-start, bottom:anchor(0%), right:anchor(0%)
+Pass flip-start, bottom:anchor(100%), right:anchor(100%)
+Pass flip-block flip-start, left:anchor(0%), top:anchor(0%)
+Pass flip-block flip-start, left:anchor(100%), top:anchor(100%)
+Pass flip-block flip-start, bottom:anchor(0%), left:anchor(100%)
+Pass flip-block flip-start, bottom:anchor(100%), left:anchor(0%)
+Pass flip-inline flip-start, left:anchor(0%), bottom:anchor(100%)
+Pass flip-inline flip-start, left:anchor(100%), bottom:anchor(0%)
+Pass flip-inline flip-start, bottom:anchor(0%), right:anchor(0%)
+Pass flip-inline flip-start, bottom:anchor(100%), right:anchor(100%)
+Pass flip-block flip-inline flip-start, left:anchor(0%), bottom:anchor(100%)
+Pass flip-block flip-inline flip-start, left:anchor(100%), bottom:anchor(0%)
+Pass flip-block flip-inline flip-start, bottom:anchor(0%), left:anchor(100%)
+Pass flip-block flip-inline flip-start, bottom:anchor(100%), left:anchor(0%)
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-position-area.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-position-area.txt
new file mode 100644
index 00000000000..a749595a5ef
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-position-area.txt
@@ -0,0 +1,136 @@
+Harness status: OK
+
+Found 131 tests
+
+131 Fail
+Fail flip-inline, position-area:left top, ltr horizontal-tb
+Fail flip-inline, position-area:left bottom, ltr horizontal-tb
+Fail flip-inline, position-area:right bottom, ltr horizontal-tb
+Fail flip-inline, position-area:right top, ltr horizontal-tb
+Fail flip-block, position-area:left top, ltr horizontal-tb
+Fail flip-block, position-area:left bottom, ltr horizontal-tb
+Fail flip-block, position-area:right bottom, ltr horizontal-tb
+Fail flip-block, position-area:right top, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:left top, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:left bottom, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:right bottom, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:right top, ltr horizontal-tb
+Fail flip-start, position-area:left top, ltr horizontal-tb
+Fail flip-start, position-area:left bottom, ltr horizontal-tb
+Fail flip-start, position-area:right bottom, ltr horizontal-tb
+Fail flip-start, position-area:right top, ltr horizontal-tb
+Fail flip-block flip-start, position-area:left top, ltr horizontal-tb
+Fail flip-block flip-start, position-area:left bottom, ltr horizontal-tb
+Fail flip-block flip-start, position-area:right bottom, ltr horizontal-tb
+Fail flip-block flip-start, position-area:right top, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:left top, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:left bottom, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:right bottom, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:right top, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:left top, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:left bottom, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:right bottom, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:right top, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-left span-top, ltr horizontal-tb
+Fail flip-inline, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-inline, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-inline, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-inline, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-block, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-block, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-block, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-block, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-start, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-start, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-start, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-start, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-block flip-start, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-block flip-start, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-block flip-start, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-block flip-start, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:x-start y-start, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:x-start y-end, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:x-end y-end, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:x-end y-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-x-start span-y-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:self-x-start self-y-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-self-x-start span-self-y-start, ltr horizontal-tb
+Fail flip-inline, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-inline, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-inline, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-inline, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-block, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-block, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-block, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-block, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-start, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-start, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-start, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-start, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-block flip-start, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-block flip-start, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-block flip-start, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-block flip-start, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:block-start inline-start, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:block-end inline-start, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:block-end inline-end, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:block-start inline-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-block-start span-inline-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:self-block-start self-inline-start, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-self-block-start span-self-inline-start, ltr horizontal-tb
+Fail , position-area:start end, ltr horizontal-tb
+Fail flip-block, position-area:start end, ltr horizontal-tb
+Fail flip-inline, position-area:start end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:start end, ltr horizontal-tb
+Fail flip-start, position-area:start, ltr horizontal-tb
+Fail flip-start, position-area:end, ltr horizontal-tb
+Fail flip-start, position-area:start end, ltr horizontal-tb
+Fail flip-block flip-start, position-area:start end, ltr horizontal-tb
+Fail flip-inline flip-start, position-area:start end, ltr horizontal-tb
+Fail flip-block flip-inline flip-start, position-area:start end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-start span-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:self-start self-end, ltr horizontal-tb
+Fail flip-block flip-inline, position-area:span-self-start span-self-end, ltr horizontal-tb
+Fail flip-block, position-area:left center, ltr horizontal-tb
+Fail flip-block, position-area:center top, ltr horizontal-tb
+Fail flip-block, position-area:center, ltr horizontal-tb
+Fail flip-block, position-area:start center, ltr horizontal-tb
+Fail flip-block, position-area:center start, ltr horizontal-tb
+Fail flip-inline, position-area:center start, ltr horizontal-tb
+Fail flip-start, position-area:center start, ltr horizontal-tb
+Fail flip-block, position-area:left span-all, ltr horizontal-tb
+Fail flip-block, position-area:span-all top, ltr horizontal-tb
+Fail flip-block, position-area:span-all, ltr horizontal-tb
+Fail flip-block, position-area:start span-all, ltr horizontal-tb
+Fail flip-block, position-area:span-all start, ltr horizontal-tb
+Fail flip-inline, position-area:span-all start, ltr horizontal-tb
+Fail flip-start, position-area:span-all start, ltr horizontal-tb
+Fail flip-block, position-area:left span-top, ltr horizontal-tb
+Fail flip-inline, position-area:left span-top, ltr horizontal-tb
+Fail flip-start, position-area:span-block-start inline-end, ltr horizontal-tb
+Fail flip-block, position-area:left top, ltr vertical-rl
+Fail , position-area:x-start y-start, rtl horizontal-tb
+Fail flip-block, position-area:x-start y-start, rtl horizontal-tb
+Fail flip-inline, position-area:x-start y-start, rtl horizontal-tb
+Fail flip-block, position-area:x-end y-start, ltr vertical-rl
+Fail flip-inline, position-area:x-end y-start, ltr vertical-rl
+Fail flip-inline, position-area:start end, rtl horizontal-tb
+Fail flip-inline, position-area:start end, ltr vertical-rl
+Fail flip-block, position-area:start end, rtl horizontal-tb
+Fail flip-block, position-area:start end, ltr vertical-rl
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-sizing.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-sizing.txt
new file mode 100644
index 00000000000..61729fbe7af
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-sizing.txt
@@ -0,0 +1,8 @@
+Harness status: OK
+
+Found 3 tests
+
+3 Fail
+Fail flip-block does not affect sizing
+Fail flip-inline does not affect sizing
+Fail flip-start affects sizing
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-wm.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-wm.txt
new file mode 100644
index 00000000000..3316adec9fa
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-anchor-position/try-tactic-wm.txt
@@ -0,0 +1,16 @@
+Harness status: OK
+
+Found 11 tests
+
+11 Fail
+Fail horizontal-tb ltr
+Fail flip-inline horizontal-tb ltr
+Fail flip-x horizontal-tb ltr
+Fail flip-inline vertical-lr ltr
+Fail flip-inline sideways-lr ltr
+Fail flip-y vertical-lr ltr
+Fail flip-y sideways-lr ltr
+Fail flip-block sideways-rl ltr
+Fail flip-x sideways-rl ltr
+Fail flip-start horizontal-tb ltr
+Fail flip-start horizontal-tb rtl
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-001.html
new file mode 100644
index 00000000000..7447ca315e3
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-001.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<title>Tests the anchor-center keyword is parsed and computed as specified</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-center">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../css/support/parsing-testcommon.js"></script>
+<script src="../../css/support/computed-testcommon.js"></script>
+
+<div id="container">
+ <div id="target"></div>
+</div>
+
+<script>
+test_valid_value('align-self', 'anchor-center');
+test_valid_value('justify-self', 'anchor-center');
+
+test_computed_value('align-self', 'anchor-center');
+test_computed_value('justify-self', 'anchor-center');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-003.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-003.html
new file mode 100644
index 00000000000..2c8d39688f6
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-003.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-center">
+<link rel="author" href="mailto:[email protected]">
+<title>Tests the position and available-size of 'anchor-center' alignment with target width: auto.</title>
+<style>
+.container {
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ left: 40px;
+ top: 5px;
+ background: lime;
+}
+
+.target {
+ position-anchor: --anchor;
+ position: fixed;
+ background: cyan;
+ justify-self: anchor-center;
+ top: anchor(bottom);
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" data-expected-width="30" data-offset-x="111">
+ <div style="width:30px;height:20px;"></div>
+ </div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-004.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-004.html
new file mode 100644
index 00000000000..6c698850740
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-004.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-center">
+<link rel="author" href="mailto:[email protected]">
+<title>Tests the position of 'anchor-center' alignment with target margin: auto.</title>
+<style>
+.container {
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ left: 30px;
+ top: 20px;
+ background: lime;
+}
+
+.target {
+ position-anchor: --anchor;
+ width: 24px;
+ height: 24px;
+ position: fixed;
+ background: cyan;
+}
+
+.justify {
+ justify-self: anchor-center;
+ top: anchor(bottom);
+ /* Should be overridden to 0. */
+ margin-inline: auto;
+}
+
+.align {
+ align-self: anchor-center;
+ right: anchor(left);
+ /* Should be overridden to 0. */
+ margin-block: auto;
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target justify" data-offset-x="104"></div>
+ <div class="target align" data-offset-y="86"></div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-htb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-htb.html
new file mode 100644
index 00000000000..8a1f7aad148
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-htb.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/">
+<title>Tests the position and available-size of 'anchor-center' alignment with different insets.</title>
+<style>
+.container {
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ left: 40px;
+ top: 40px;
+ background: lime;
+}
+
+.target {
+ position-anchor: --anchor;
+ position: absolute;
+ background: cyan;
+ justify-self: anchor-center;
+ top: anchor(bottom);
+ height: 20px;
+}
+/* used to test the available-size given to the element */
+.target::after {
+ color: transparent;
+ content: 'a a a a a a a a a a a a a a a a a a';
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<!-- no insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" data-expected-width="100" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-width: 60px;" data-expected-width="60" data-offset-x="35"></div>
+</div>
+
+<!-- single insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 20px;" data-expected-width="80" data-offset-x="20"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: 20px;" data-expected-width="80" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: -20px;" data-expected-width="120" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-width: 100px; right: -20px;" data-expected-width="100" data-offset-x="15"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: -50px;" data-expected-width="150" data-offset-x="0"></div>
+</div>
+
+<!-- both insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 10px; right: 20px;" data-expected-width="70" data-offset-x="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 10px; right: -20px;" data-expected-width="110" data-offset-x="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: -10px; right: -50px;" data-expected-width="160" data-offset-x="-10"></div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.html
new file mode 100644
index 00000000000..828c7ee7e3f
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-htb-vrl.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/">
+<title>Tests the position and available-size of 'anchor-center' alignment with different insets.</title>
+<style>
+.container {
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ left: 40px;
+ top: 40px;
+ background: lime;
+}
+
+.target {
+ writing-mode: vertical-rl;
+ position-anchor: --anchor;
+ position: absolute;
+ background: cyan;
+ align-self: anchor-center;
+ right: anchor(left);
+ width: 20px;
+}
+/* used to test the available-size given to the element */
+.target::after {
+ color: transparent;
+ content: 'a a a a a a a a a a a a a a a a a a';
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<!-- no insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" data-expected-height="100" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-height: 60px;" data-expected-height="60" data-offset-y="35"></div>
+</div>
+
+<!-- single insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 20px;" data-expected-height="80" data-offset-y="20"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: 20px;" data-expected-height="80" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: -20px;" data-expected-height="120" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-height: 100px; bottom: -20px;" data-expected-height="100" data-offset-y="15"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: -50px;" data-expected-height="150" data-offset-y="0"></div>
+</div>
+
+<!-- both insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 10px; bottom: 20px;" data-expected-height="70" data-offset-y="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 10px; bottom: -20px;" data-expected-height="110" data-offset-y="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: -10px; bottom: -50px;" data-expected-height="160" data-offset-y="-10"></div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.html
new file mode 100644
index 00000000000..1c4a80bdeb2
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-htb.html
@@ -0,0 +1,96 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/">
+<title>Tests the position and available-size of 'anchor-center' alignment with different insets.</title>
+<style>
+.container {
+ writing-mode: vertical-rl;
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ right: 10px;
+ top: 40px;
+ background: lime;
+}
+
+.target {
+ writing-mode: horizontal-tb;
+ position-anchor: --anchor;
+ position: absolute;
+ background: cyan;
+ align-self: anchor-center;
+ top: anchor(bottom);
+ height: 20px;
+}
+/* used to test the available-size given to the element */
+.target::after {
+ color: transparent;
+ content: 'a a a a a a a a a a a a a a a a a a';
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<!-- no insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" data-expected-width="100" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-width: 60px;" data-expected-width="60" data-offset-x="35"></div>
+</div>
+
+<!-- single insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 20px;" data-expected-width="80" data-offset-x="20"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: 20px;" data-expected-width="80" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: -20px;" data-expected-width="120" data-offset-x="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-width: 100px; right: -20px;" data-expected-width="100" data-offset-x="15"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="right: -50px;" data-expected-width="150" data-offset-x="0"></div>
+</div>
+
+<!-- both insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 10px; right: 20px;" data-expected-width="70" data-offset-x="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: 10px; right: -20px;" data-expected-width="110" data-offset-x="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="left: -10px; right: -50px;" data-expected-width="160" data-offset-x="-10"></div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.html
new file mode 100644
index 00000000000..386530c7678
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-center-vrl-vrl.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/">
+<title>Tests the position and available-size of 'anchor-center' alignment with different insets.</title>
+<style>
+.container {
+ writing-mode: vertical-rl;
+ width: 100px;
+ height: 100px;
+ border: solid 3px;
+ position: relative;
+ margin: 50px;
+}
+
+.anchor {
+ anchor-name: --anchor;
+ position: relative;
+ width: 50px;
+ height: 50px;
+ right: 40px;
+ top: 40px;
+ background: lime;
+}
+
+.target {
+ position-anchor: --anchor;
+ position: absolute;
+ background: cyan;
+ justify-self: anchor-center;
+ right: anchor(left);
+ width: 20px;
+}
+/* used to test the available-size given to the element */
+.target::after {
+ color: transparent;
+ content: 'a a a a a a a a a a a a a a a a a a';
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<body onload="checkLayout('.target')">
+
+<!-- no insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" data-expected-height="100" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-height: 60px;" data-expected-height="60" data-offset-y="35"></div>
+</div>
+
+<!-- single insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 20px;" data-expected-height="80" data-offset-y="20"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: 20px;" data-expected-height="80" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: -20px;" data-expected-height="120" data-offset-y="0"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="max-height: 100px; bottom: -20px;" data-expected-height="100" data-offset-y="15"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="bottom: -50px;" data-expected-height="150" data-offset-y="0"></div>
+</div>
+
+<!-- both insets -->
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 10px; bottom: 20px;" data-expected-height="70" data-offset-y="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: 10px; bottom: -20px;" data-expected-height="110" data-offset-y="10"></div>
+</div>
+
+<div class="container">
+ <div class="anchor"></div>
+ <div class="target" style="top: -10px; bottom: -50px;" data-expected-height="160" data-offset-y="-10"></div>
+</div>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-invalid-fallback.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-invalid-fallback.html
new file mode 100644
index 00000000000..e20e9709ac2
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-invalid-fallback.html
@@ -0,0 +1,273 @@
+<!DOCTYPE html>
+<title>CSS Anchor Position Test: invalid at computed-value time</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-valid">
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-size-valid">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ :root {
+ --top: top;
+ }
+ #cb {
+ position: relative;
+ width: 200px;
+ height: 200px;
+ border: 1px solid black;
+ }
+
+ #anchor {
+ anchor-name: --a;
+ position: absolute;
+ width: 50px;
+ height: 40px;
+ left: 75px;
+ top: 75px;
+ background: coral;
+ }
+
+ #main > div, #ref {
+ position: absolute;
+ background: seagreen;
+ }
+
+ #ref {
+ inset: unset;
+ width: unset;
+ height: unset;
+ min-width: unset;
+ min-height: unset;
+ max-width: unset;
+ max-height: unset;
+ }
+
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=main></div>
+ <div id=ref>X</div>
+</div>
+<script>
+
+// Append <div>X</div> to `container`, and remove it again once the test (`t`)
+// is finished.
+function createTarget(t, container) {
+ t.add_cleanup(() => { container.replaceChildren(); });
+ let target = document.createElement('div');
+ target.textContent = 'X';
+ container.append(target);
+ return target;
+}
+
+// First, some sanity checks to verify that the anchor etc is set up correctly,
+// and that anchor() queries can produce results if done correctly.
+
+test((t) => {
+ let target = createTarget(t, main);
+ target.style = `
+ position-anchor: --a;
+ left:anchor(right);
+ top:anchor(top);
+ width:anchor-size(width);
+ height:anchor-size(height);
+ `;
+ let cs = getComputedStyle(target);
+ assert_equals(cs.left, '125px');
+ assert_equals(cs.top, '75px');
+ assert_equals(cs.width, '50px');
+ assert_equals(cs.height, '40px');
+}, 'Element can be anchor positioned');
+
+test((t) => {
+ let target = createTarget(t, main);
+ target.style = `
+ /* No position-anchor here */
+ left:anchor(right, 17px);
+ top:anchor(top, 18px);
+ width:anchor-size(width, 42px);
+ height:anchor-size(height, 43px);
+ `;
+ let cs = getComputedStyle(target);
+ assert_equals(cs.left, '17px');
+ assert_equals(cs.top, '18px');
+ assert_equals(cs.width, '42px');
+ assert_equals(cs.height, '43px');
+}, 'Element can use <length> fallback if present');
+
+test((t) => {
+ let target = createTarget(t, main);
+ target.style = `
+ /* No position-anchor here */
+ left:anchor(right, 8.5%);
+ top:calc(8.5% + anchor(top, 1px));
+ width:anchor-size(width, 21%);
+ height:calc(21% + anchor-size(height, 1px));
+ `;
+ let cs = getComputedStyle(target);
+ assert_equals(cs.left, '17px');
+ assert_equals(cs.top, '18px');
+ assert_equals(cs.width, '42px');
+ assert_equals(cs.height, '43px');
+}, 'Element can use <length> fallback with percentage');
+
+test((t) => {
+ let target = createTarget(t, main);
+ target.style = `
+ /* No position-anchor here */
+ max-width:anchor-size(width, 28%);
+ max-height:calc(28% + anchor-size(height, 1px));
+ `;
+ let cs = getComputedStyle(target);
+ assert_equals(cs.maxWidth, '28%');
+ assert_equals(cs.maxHeight, 'calc(28% + 1px)');
+}, 'Element can use <length> fallback for max size with percentage');
+
+test((t) => {
+ let target = createTarget(t, main);
+ target.style = `
+ /* No position-anchor here */
+ margin-left:anchor-size(width, 6%);
+ margin-top:calc(6% + anchor-size(height, 1px));
+ `;
+ let cs = getComputedStyle(target);
+ assert_equals(cs.marginLeft, '12px');
+ assert_equals(cs.marginTop, '13px');
+}, 'Element can use <length> fallback for margin with percentage');
+
+// Now test that any invalid anchor*() behaves as invalid at computed-value
+// time if there's no fallback specified.
+
+// Check that an anchored element with the specified style has the same
+// computed insets and sizing as the reference element (#ref), i.e. all
+// insets and sizing properties behave as 'unset'.
+function test_ref(style, description) {
+ test((t) => {
+ let target = createTarget(t, main);
+ target.style = style;
+ let cs = getComputedStyle(target);
+ let ref_cs = getComputedStyle(ref);
+ assert_equals(cs.top, ref_cs.top, 'top');
+ assert_equals(cs.left, ref_cs.left, 'left');
+ assert_equals(cs.right, ref_cs.right, 'right');
+ assert_equals(cs.bottom, ref_cs.bottom, 'bottom');
+ assert_equals(cs.width, ref_cs.width, 'width');
+ assert_equals(cs.height, ref_cs.height, 'height');
+ assert_equals(cs.minWidth, ref_cs.minWidth, 'minWidth');
+ assert_equals(cs.minHeight, ref_cs.minHeight, 'minHeight');
+ assert_equals(cs.maxWidth, ref_cs.maxWidth, 'maxWidth');
+ assert_equals(cs.maxHeight, ref_cs.maxHeight, 'maxHeight');
+ }, `Invalid anchor function, ${description}`);
+}
+
+// No default anchor (position-anchor):
+test_ref('left:anchor(left)', 'left');
+test_ref('right:anchor(right)', 'right');
+test_ref('bottom:anchor(bottom)', 'bottom');
+test_ref('top:anchor(top)', 'top');
+test_ref('width:anchor-size(width)', 'width');
+test_ref('height:anchor-size(height)', 'height');
+test_ref('min-width:anchor-size(width)', 'min-width');
+test_ref('min-height:anchor-size(height)', 'min-height');
+test_ref('max-width:anchor-size(width)', 'max-width');
+test_ref('max-height:anchor-size(height)', 'max-height');
+
+// Unknown anchor reference:
+test_ref('left:anchor(--unknown left)', '--unknown left');
+test_ref('width:anchor-size(--unknown width)', '--unknown width');
+
+// Wrong axis;
+test_ref('left:anchor(--a top)', 'cross-axis query (vertical)');
+test_ref('top:anchor(--a left)', ' cross-axis query (horizontal)');
+
+// Wrong query for the given property:
+test_ref('width:anchor(--a left)', 'anchor() in sizing property');
+
+// Invalid anchor*() deeper within calc():
+test_ref('left:calc(anchor(left) + 10px)', 'nested left');
+test_ref('right:calc(anchor(right) + 10px)', 'nested right');
+test_ref('bottom:calc(anchor(bottom) + 10px)', 'nested bottom');
+test_ref('top:calc(anchor(top) + 10px)', 'nested top');
+test_ref('min-width:calc(anchor-size(width) + 10px)', 'nested min-width');
+test_ref('min-height:calc(anchor-size(height) + 10px)', 'nested min-height');
+test_ref('max-width:calc(anchor-size(width) + 10px)', 'nested max-width');
+test_ref('max-height:calc(anchor-size(height) + 10px)', 'nested max-height');
+
+// Invalid anchor*() within fallback:
+test_ref('top:anchor(top, anchor(--unknown top))', 'invalid anchor() in fallback');
+test_ref('width:anchor-size(width, anchor-size(--unknown width))', 'invalid anchor-size() in fallback');
+
+// Non-calc() functions:
+test_ref('top:min(10px, anchor(top))', 'min()');
+test_ref('top:max(10px, anchor(top))', 'max()');
+test_ref('top:abs(anchor(top) - 100px)', 'abs()');
+test_ref('top:calc(sign(anchor(top) - 100px) * 20px)', 'sign()');
+
+// var():
+test_ref('top:anchor(var(--top))', 'anchor(var())');
+test_ref('top:anchor(var(--unknown, top))', 'anchor(unknown var()) (fallback)');
+test_ref('top:anchor(var(--unknown))', 'anchor(unknown var()) (no fallback)');
+
+// Reverting to an invalid anchor():
+test((t) => {
+ let target = createTarget(t, main);
+ target.setAttribute('id', 'target');
+
+ let css = document.createElement('style');
+ css.textContent = `
+ @layer base {
+ #target {
+ top: anchor(top); /* Invalid */
+ color: green;
+ }
+ }
+ #target {
+ top: revert-layer; /* Reverts to 'base'. */
+ }
+ `;
+
+ t.add_cleanup(() => { css.remove(); })
+ cb.append(css);
+
+ let cs = getComputedStyle(target);
+ let ref_cs = getComputedStyle(ref);
+ // The color check verifies that the rule is applied at all.
+ assert_equals(cs.color, 'rgb(0, 128, 0)');
+ assert_equals(cs.top, ref_cs.top);
+}, 'Revert to invalid anchor()');
+
+// Using <try-tactic> to flip to an invalid anchor():
+test((t) => {
+ let target = createTarget(t, main);
+ target.setAttribute('id', 'target');
+
+ let css = document.createElement('style');
+ css.textContent = `
+ @position-try --pt {
+ /* Undo force overflow, and also use this value to check that
+ the rule is applied at all. */
+ left: 10px;
+
+ /* Invalid. Becomes bottom:anchor(bottom) (also invalid)
+ after flip-block. */
+ top: anchor(top);
+ }
+
+ #target {
+ left: 9999px; /* Force overflow. */
+ position-try-fallbacks: --pt flip-block;
+ }
+ `;
+
+ t.add_cleanup(() => { css.remove(); })
+ cb.append(css);
+
+ let cs = getComputedStyle(target);
+ let ref_cs = getComputedStyle(ref);
+ assert_equals(cs.left, '10px', 'left');
+ // 'right' is not important in this test.
+
+ assert_equals(cs.top, ref_cs.top, 'top');
+ assert_equals(cs.bottom, ref_cs.bottom, 'bottom');
+}, 'Flip to invalid anchor()');
+
+</script>
+
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-003.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-003.html
new file mode 100644
index 00000000000..caf0a1151ae
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-003.html
@@ -0,0 +1,151 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#determining">
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#propdef-anchor-name">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+<style>
+.relpos {
+ position: relative;
+}
+.abspos {
+ position: absolute;
+}
+.anchor1 {
+ anchor-name: --a1;
+ width: 10px;
+ height: 10px;
+ background: orange;
+}
+.target {
+ position: absolute;
+ width: anchor-size(--a1 width);
+ height: 10px;
+ background: lime;
+}
+</style>
+<body onload="checkLayoutForAnchorPos('.target')">
+ <!-- In-flow and out-of-flow boxes in a containing block. -->
+ <div class="relpos">
+ <div class="target" data-expected-width=30></div>
+ <div>
+ <div class="target" data-expected-width=30></div>
+ <div class="relpos">
+ <div class="target" data-expected-width=0></div>
+ <div class="abspos">
+ <div class="target" data-expected-width=30></div>
+ <div class="relpos">
+ <div class="target" data-expected-width=40></div>
+ <div class="anchor1" style="width: 20px"></div>
+ <div class="anchor1" style="position: absolute; width: 10px"></div>
+ <div class="anchor1" style="width: 40px"></div>
+ <div class="anchor1" style="position: absolute; width: 30px"></div>
+ <div class="target" data-expected-width=30></div>
+ </div>
+ </div>
+ <div class="target" data-expected-width=30></div>
+ </div>
+ <div class="target" data-expected-width=30></div>
+ </div>
+ <div class="target" data-expected-width=30></div>
+ </div>
+
+ <!-- In-flow boxes in ancestors, after the propagated ones. -->
+ <div class="relpos">
+ <div>
+ <div class="relpos">
+ <div class="target" data-expected-width=0></div>
+ <div class="abspos">
+ <div class="relpos">
+ <div class="target" data-expected-width=20></div>
+ <div class="anchor1" style="width: 20px"></div>
+ <div class="anchor1" style="position: absolute; width: 10px"></div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="anchor1" style="width: 50px"></div>
+ <div class="target" data-expected-width=50></div>
+ </div>
+ <div class="target" data-expected-width=50></div>
+ </div>
+ <div class="anchor1" style="width: 60px"></div>
+ <div class="target" data-expected-width=70></div>
+ </div>
+ <div class="anchor1" style="width: 70px"></div>
+ <div class="target" data-expected-width=70></div>
+ </div>
+
+ <!-- Out-of-flow boxes in ancestors, after the propagated ones. -->
+ <div class="relpos">
+ <div>
+ <div class="relpos">
+ <div class="target" data-expected-width=0></div>
+ <div class="abspos">
+ <div class="relpos">
+ <div class="target" data-expected-width=20></div>
+ <div class="anchor1" style="width: 20px"></div>
+ <div class="anchor1" style="position: absolute; width: 10px"></div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="anchor1" style="position: absolute; width: 110px"></div>
+ <div class="target" data-expected-width=110></div>
+ </div>
+ <div class="target" data-expected-width=110></div>
+ </div>
+ <div class="target" data-expected-width=110></div>
+ </div>
+ <div class="anchor1" style="position: absolute; width: 100px"></div>
+ <div class="target" data-expected-width=100></div>
+ </div>
+
+ <!-- In-flow boxes in ancestors, before the propagated ones. -->
+ <div class="relpos">
+ <div>
+ <div class="relpos">
+ <div class="abspos">
+ <div class="relpos">
+ <div class="target" data-expected-width=20></div>
+ <div class="anchor1" style="position: absolute; width: 10px"></div>
+ <div class="anchor1" style="width: 20px"></div>
+ <div class="target" data-expected-width=20></div>
+ </div>
+ <div class="anchor1" style="width: 120px"></div>
+ <div class="target" data-expected-width=120></div>
+ </div>
+ <div class="anchor1" style="width: 110px"></div>
+ <div class="target" data-expected-width=110></div>
+ </div>
+ <div class="target" data-expected-width=100></div>
+ </div>
+ <div class="anchor1" style="width: 100px"></div>
+ <div class="target" data-expected-width=100></div>
+ </div>
+
+ <!-- Out-of-flow boxes in ancestors, before the propagated ones. -->
+ <div class="relpos">
+ <div class="target" data-expected-width=10></div>
+ <div class="anchor1" style="position: absolute; width: 100px"></div>
+ <div>
+ <div class="target" data-expected-width=10></div>
+ <div class="relpos">
+ <div class="target" data-expected-width=0></div>
+ <div class="anchor1" style="position: absolute; width: 110px"></div>
+ <div class="abspos">
+ <div class="target" data-expected-width=10></div>
+ <div class="anchor1" style="position: absolute; width: 120px"></div>
+ <div class="relpos">
+ <div class="target" data-expected-width=20></div>
+ <div class="anchor1" style="width: 20px"></div>
+ <div class="anchor1" style="position: absolute; width: 10px"></div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+ <div class="target" data-expected-width=10></div>
+ </div>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-inline-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-inline-001.html
new file mode 100644
index 00000000000..a4538b9c4f2
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-name-inline-001.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#target">
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#determining">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+<link rel="stylesheet" type="text/css" href="../../fonts/ahem.css" />
+<style>
+.container {
+ font-family: Ahem;
+ font-size: 10px;
+ line-height: 1;
+ width: 10em;
+}
+.relpos {
+ position: relative;
+}
+.abspos {
+ position: absolute;
+}
+.anchor {
+ anchor-name: --a1;
+ background: orange;
+}
+.target {
+ position: absolute;
+ width: anchor-size(--a1 width);
+ height: 10px;
+ background: lime;
+}
+</style>
+<body>
+ <div class="container relpos">
+ <div style="height: 150px"></div>
+ <div class="relpos">
+ <span class="target" data-expected-width=30></span>
+ <span class="relpos">
+ <span class="target" data-expected-width=30></span>
+ <span class="relpos">
+ <span class="target" data-expected-width=20></span>
+ <span class="anchor">12</span>
+ <span class="target" data-expected-width=20></span>
+ <span class="anchor abspos">123</span>
+ <span class="target" data-expected-width=30></span>
+ </span>
+ <span class="target" data-expected-width=30></span>
+ </span>
+ <span class="target" data-expected-width=30></span>
+ </div>
+ </div>
+ <script>
+ document.fonts.ready.then(() => checkLayoutForAnchorPos('.target'));
+ </script>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.html
new file mode 100644
index 00000000000..d0dd5efee4b
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-dynamic-003.html
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<title>Tests that anchor layout changes in another BFC cause relayout on the anchored element</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#propdef-anchor-name">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+<style>
+.containing-block {
+ position: absolute;
+}
+.anchor {
+ anchor-name: --a1;
+ width: 50px;
+ height: 70px;
+ background: orange;
+}
+.after .anchor {
+ width: 70px;
+ height: 50px;
+}
+.target {
+ position: absolute;
+ left: anchor(--a1 right);
+ top: anchor(--a1 bottom);
+ width: anchor-size(--a1 width);
+ height: anchor-size(--a1 height);
+ background: green;
+}
+
+/* Various types of BFC as the containing block of the anchor */
+.float {
+ float: left;
+}
+.table {
+ display: table;
+}
+.inline-block {
+ display: inline-block;
+ vertical-align: bottom;
+}
+.contain {
+ contain: layout;
+}
+.scroller {
+ overflow: scroll;
+ width: 20px;
+ height: 20px;
+}
+</style>
+<body>
+ <div class="containing-block">
+ <div class="float">
+ <div class="anchor"></div>
+ </div>
+ <div class="target"></div>
+ </div>
+
+ <div class="containing-block">
+ <div class="table">
+ <div class="anchor"></div>
+ </div>
+ <div class="target"></div>
+ </div>
+
+ <div class="containing-block">
+ <div class="inline-block">
+ <div class="anchor"></div>
+ </div>
+ <div class="target"></div>
+ </div>
+
+ <div class="containing-block">
+ <div class="contain">
+ <div class="anchor"></div>
+ </div>
+ <div class="target"></div>
+ </div>
+
+ <div class="containing-block">
+ <div class="scroller">
+ <div class="anchor"></div>
+ </div>
+ <div class="target"></div>
+ </div>
+
+<script type="module">
+for (const element of document.getElementsByClassName('target')) {
+ element.dataset.offsetX = '50';
+ element.dataset.offsetY = '70';
+ element.dataset.expectedWidth = '50';
+ element.dataset.expectedHeight = '70';
+}
+await checkLayoutForAnchorPos('.target', false);
+
+document.body.classList.add('after');
+for (const element of document.getElementsByClassName('target')) {
+ element.dataset.offsetX = '70';
+ element.dataset.offsetY = '50';
+ element.dataset.expectedWidth = '70';
+ element.dataset.expectedHeight = '50';
+}
+await checkLayoutForAnchorPos('.after .target', true);
+</script>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.html
new file mode 100644
index 00000000000..866665827bc
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-position-writing-modes-001.html
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<title>Tests `anchor` function for `writing-mode`/`direction`s</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#propdef-anchor-name">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script><style>
+:root, body {
+ margin: 0;
+}
+#container {
+ position: relative;
+ width: 600px;
+ height: 400px;
+}
+#a1 {
+ anchor-name: --a1;
+ background: orange;
+ margin-left: 100px;
+ margin-top: 100px;
+ width: 100px;
+ height: 100px;
+}
+.htb-rtl #a1 { margin-right: 400px; }
+.vlr-rtl #a1 { margin-bottom: 200px; }
+.vrl-ltr #a1 { margin-right: 400px; }
+.vrl-rtl #a1 { margin-right: 400px; margin-bottom: 200px; }
+#a2 {
+ anchor-name: --a2;
+ background: purple;
+ margin-left: 500px;
+ margin-top: 100px;
+ width: 100px;
+ height: 100px;
+}
+.vlr-ltr #a2 { margin-left: 300px; margin-top: 300px; }
+.vlr-rtl #a2 { margin-left: 300px; margin-top: 300px; }
+.vrl-ltr #a2 { margin-right: -600px; margin-top: 300px; }
+.vrl-rtl #a2 { margin-right: -600px; margin-top: 300px; }
+#target {
+ background: green;
+ position: absolute;
+ left: anchor(--a1 right);
+ top: anchor(--a1 bottom);
+ right: anchor(--a2 left);
+ bottom: anchor(--a2 top);
+}
+.htb-ltr { writing-mode: horizontal-tb; direction: ltr; }
+.htb-rtl { writing-mode: horizontal-tb; direction: rtl; }
+.vlr-ltr { writing-mode: vertical-lr; direction: ltr; }
+.vlr-rtl { writing-mode: vertical-lr; direction: rtl; }
+.vrl-ltr { writing-mode: vertical-rl; direction: ltr; }
+.vrl-rtl { writing-mode: vertical-rl; direction: rtl; }
+</style>
+<body>
+ <div id="container">
+ <div id="a1"></div>
+ <div id="a2"></div>
+ <div id="target"></div>
+ </div>
+<script>
+const classes = [
+ 'htb-ltr', 'htb-rtl',
+ 'vlr-ltr', 'vlr-rtl',
+ 'vrl-ltr', 'vrl-rtl'];
+const combinations = [];
+for (const container_class of classes) {
+ for (const a1_class of classes) {
+ for (const a2_class of classes) {
+ for (const target_class of classes) {
+ combinations.push([container_class, a1_class, a2_class, target_class]);
+ }
+ }
+ }
+}
+
+for (let i = 0; i < combinations.length; ++i)
+ run_test_index(i);
+
+function run_test_index(i) {
+ const combination = combinations[i];
+ run_test(i, ...combination);
+}
+
+function run_test(i, container_class, a1_class, a2_class, target_class) {
+ container.classList.add(container_class);
+ a1.classList.add(a1_class);
+ a2.classList.add(a2_class);
+ target.classList.add(target_class);
+ test(() => {
+ const bounds = target.getBoundingClientRect();
+ assert_array_equals(
+ [bounds.left, bounds.top, bounds.right, bounds.bottom],
+ [200, 200, 500, 300]);
+ }, `${i}: ${container_class}/${a1_class}/${a2_class}/${target_class}`);
+ container.classList.remove(container_class);
+ a1.classList.remove(a1_class);
+ a2.classList.remove(a2_class);
+ target.classList.remove(target_class);
+}
+</script>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-scope-basic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-scope-basic.html
new file mode 100644
index 00000000000..55e732997f4
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-scope-basic.html
@@ -0,0 +1,280 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: Basic anchor-scope behavior</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-scope">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ .scope-all { anchor-scope: all; }
+ .scope-a { anchor-scope: --a; }
+ .scope-b { anchor-scope: --b; }
+ .scope-ab { anchor-scope: --a, --b; }
+
+ .anchor-a { anchor-name: --a; }
+ .anchor-b { anchor-name: --b; }
+ .anchor-ab { anchor-name: --a, --b; }
+ .anchor-a, .anchor-b, .anchor-ab {
+ background: skyblue;
+ height: 10px;
+ }
+
+ .anchored-a { position-anchor: --a; }
+ .anchored-b { position-anchor: --b; }
+ .anchored-a, .anchored-b {
+ position: absolute;
+ top: anchor(bottom);
+ left: anchor(left);
+ width: 5px;
+ height: 5px;
+ background: coral;
+ }
+
+ /* Containing block */
+ main {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ border: 1px solid black;
+ }
+</style>
+<script>
+ function inflate(t, template_element) {
+ t.add_cleanup(() => main.replaceChildren());
+ main.append(template_element.content.cloneNode(true));
+ }
+</script>
+
+<main id=main>
+</main>
+
+<template id=test_inclusive_subtree>
+ <div class="scope-a anchor-a"> <!--A-->
+ <div class=anchored-a></div>
+ </div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_inclusive_subtree);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '10px');
+ }, 'Can anchor to a name both defined and scoped by the same element');
+</script>
+
+<template id=test_skips_named_anchor_with_scope>
+ <div class="anchor-a"></div>
+ <div class="anchor-a"></div>
+ <div class="anchor-a"></div> <!--A-->
+ <div class="scope-a anchor-a"></div>
+ <div class=anchored-a></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_skips_named_anchor_with_scope);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '30px');
+ }, 'Sibling can not anchor into anchor-scope, even when anchor-name present');
+</script>
+
+<template id=test_scope_all_common_ancestor>
+ <div class=scope-all>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div><!--A-->
+ <div class=anchored-a></div>
+ </div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_all_common_ancestor);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '40px');
+ }, 'anchor-scope:all on common ancestor');
+</script>
+
+<template id=test_scope_named_common_ancestor>
+ <div class=scope-a>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div><!--A-->
+ <div class=anchored-a></div>
+ </div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_named_common_ancestor);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '40px');
+ }, 'anchor-scope:--a on common ancestor');
+</script>
+
+<template id=test_scope_all_sibling>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div><!--A-->
+ <div class=scope-all>
+ <div class=anchor-a></div>
+ <div class=anchor-a></div>
+ </div>
+ <div class=anchored-a></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_all_sibling);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '20px');
+ }, 'anchor-scope:all on sibling');
+</script>
+
+<template id=test_scope_all_multiple>
+ <div class=anchor-b></div><!--B-->
+ <div class=anchor-a></div><!--A-->
+ <div class=scope-all>
+ <div class=anchor-b></div>
+ <div class=anchor-a></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_all_multiple);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '20px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '10px');
+ }, 'anchor-scope:all scopes multiple names');
+</script>
+
+<template id=test_scope_ab>
+ <div class=anchor-b></div><!--B-->
+ <div class=anchor-a></div><!--A-->
+ <div class=scope-ab>
+ <div class=anchor-b></div>
+ <div class=anchor-a></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_ab);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '20px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '10px');
+ }, 'anchor-scope:--a,--b scopes --a and --b');
+</script>
+
+<template id=test_scope_a>
+ <div class=anchor-b></div>
+ <div class=anchor-a></div><!--A-->
+ <div class=scope-a>
+ <div class=anchor-b></div>
+ <div class=anchor-ab></div><!--B-->
+ <div class=anchor-a></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_a);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '20px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '40px');
+ }, 'anchor-scope:--a scopes only --a');
+</script>
+
+<template id=test_scope_b>
+ <div class=anchor-b></div><!--B-->
+ <div class=anchor-a></div>
+ <div class=scope-b>
+ <div class=anchor-a></div><!--A-->
+ <div class=anchor-b></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_scope_b);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '30px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '10px');
+ }, 'anchor-scope:--b scopes only --b');
+</script>
+
+<template id=test_out_of_flow_anchors>
+ <style>
+ .anchor-a, .anchor-b {
+ position: absolute;
+ width: 5px;
+ height: 5px;
+ }
+ </style>
+ <div class=anchor-b style='left:10px'></div>
+ <div class=anchor-a style='left:20px'></div><!--A-->
+ <div class=scope-a>
+ <div class=anchor-b style='left:30px'></div><!--B-->
+ <div class=anchor-a style='left:40px'></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_out_of_flow_anchors);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '5px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).left, '20px');
+
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '5px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).left, '30px');
+ }, 'anchor-scope:--a scopes only --a (out-of-flow anchors)');
+</script>
+
+<!-- Out-of-flow anchor within anchor-scope:--a -->
+<template id=test_mixed_flow_anchors>
+ <style>
+ .abs {
+ position: absolute;
+ width: 5px;
+ height: 5px;
+ }
+ </style>
+ <div class=anchor-b></div>
+ <div class=anchor-a></div><!--A-->
+ <div class=scope-a>
+ <div class=anchor-b></div><!--B-->
+ <div class='anchor-a abs' style='top:50px'></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_mixed_flow_anchors);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '20px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).left, '0px');
+
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '30px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).left, '0px');
+ }, 'anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors)');
+</script>
+
+<!-- In-flow anchor within anchor-scope:--a -->
+<template id=test_mixed_flow_anchors_reverse>
+ <style>
+ .abs {
+ position: absolute;
+ width: 5px;
+ height: 5px;
+ }
+ </style>
+ <div class=anchor-b></div>
+ <div class='anchor-a abs' style='top:50px'></div><!--A-->
+ <div class=scope-a>
+ <div class=anchor-b></div><!--B-->
+ <div class=anchor-a></div>
+ </div>
+ <div class=anchored-a></div>
+ <div class=anchored-b></div>
+</template>
+<script>
+ test((t) => {
+ inflate(t, test_mixed_flow_anchors_reverse);
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).top, '55px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-a')).left, '0px');
+
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).top, '20px');
+ assert_equals(getComputedStyle(main.querySelector('.anchored-b')).left, '0px');
+ }, 'anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors, reverse)');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-001.html
new file mode 100644
index 00000000000..d17b639bc0b
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-001.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#propdef-anchor-name">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+<style>
+.container {
+ position: relative;
+ height: 10px;
+}
+.anchor1 {
+ anchor-name: --a1;
+ width: 5px;
+ height: 7px;
+ background: orange;
+}
+.target {
+ position: absolute;
+}
+</style>
+<body onload="checkLayoutForAnchorPos('.target')">
+ <div class="container">
+ <div class="anchor1"></div>
+
+ <!-- Basic cases of all `anchor-size`s. -->
+ <div class="target" style="width: anchor-size(--a1 width)" data-expected-width=5></div>
+ <div class="target" style="height: anchor-size(--a1 height)" data-expected-height=7></div>
+ <div class="target" style="width: anchor-size(--a1 inline)" data-expected-width=5></div>
+ <div class="target" style="height: anchor-size(--a1 block)" data-expected-height=7></div>
+ <div class="target" style="width: anchor-size(--a1 self-inline)" data-expected-width=5></div>
+ <div class="target" style="height: anchor-size(--a1 self-block)" data-expected-height=7></div>
+
+ <!-- Different axes should work. -->
+ <div class="target" style="height: anchor-size(--a1 width)" data-expected-height=5></div>
+ <div class="target" style="width: anchor-size(--a1 height)" data-expected-width=7></div>
+ <div class="target" style="height: anchor-size(--a1 inline)" data-expected-height=5></div>
+ <div class="target" style="width: anchor-size(--a1 block)" data-expected-width=7></div>
+ <div class="target" style="height: anchor-size(--a1 self-inline)" data-expected-height=5></div>
+ <div class="target" style="width: anchor-size(--a1 self-block)" data-expected-width=7></div>
+
+ <!-- anchor-size() in insets -->
+ <div class="target" style="left: anchor-size(--a1 width)" data-offset-x=5></div>
+ <div class="target" style="top: anchor-size(--a1 height)" data-offset-y=7></div>
+ <div class="target" style="left: anchor-size(--a1 height)" data-offset-x=7></div>
+ <div class="target" style="top: anchor-size(--a1 width" data-offset-y=5></div>
+
+ <!-- anchor-size() in margins -->
+ <div class="target" style="margin-left: anchor-size(--a1 width)" data-expected-margin-left=5></div>
+ <div class="target" style="margin-top: anchor-size(--a1 height)" data-expected-margin-top=7></div>
+ <div class="target" style="margin-right: anchor-size(--a1 height)" data-expected-margin-right=7></div>
+ <div class="target" style="margin-bottom: anchor-size(--a1 width" data-expected-margin-bottom=5></div>
+
+ <!-- Implicit <anchor-size> -->
+ <div class="target" style="width: anchor-size(--a1)" data-expected-width=5></div>
+ <div class="target" style="height: anchor-size(--a1)" data-expected-height=7></div>
+ <div class="target" style="left: anchor-size(--a1)" data-offset-x=5></div>
+ <div class="target" style="top: anchor-size(--a1)" data-offset-y=7></div>
+ <div class="target" style="margin-left: anchor-size(--a1)" data-expected-margin-left=5></div>
+ <div class="target" style="margin-right: anchor-size(--a1)" data-expected-margin-right=5></div>
+ <div class="target" style="margin-top: anchor-size(--a1)" data-expected-margin-top=7></div>
+ <div class="target" style="margin-bottom: anchor-size(--a1)" data-expected-margin-bottom=7></div>
+ </div>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-parse-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-parse-valid.html
new file mode 100644
index 00000000000..10099649e17
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-parse-valid.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<title>Tests parsing of the anchor-size() function</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#anchor-size">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../css/support/parsing-testcommon.js"></script>
+
+<script>
+const anchorNames = [
+ '--foo',
+ '',
+];
+
+const sizeProperties = [
+ 'width',
+ 'min-width',
+ 'max-width',
+ 'height',
+ 'min-height',
+ 'max-height',
+ 'block-size',
+ 'min-block-size',
+ 'max-block-size',
+ 'inline-size',
+ 'min-inline-size',
+ 'max-inline-size',
+];
+
+const insetProperties = [
+ 'left',
+ 'right',
+ 'top',
+ 'bottom',
+ 'inset',
+ 'inset-block',
+ 'inset-block-start',
+ 'inset-block-end',
+ 'inset-inline',
+ 'inset-inline-start',
+ 'inset-inline-end',
+];
+
+const marginProperties = [
+ 'margin',
+ 'margin-left',
+ 'margin-right',
+ 'margin-top',
+ 'margin-bottom',
+ 'margin-block',
+ 'margin-block-start',
+ 'margin-block-end',
+ 'margin-inline',
+ 'margin-inline-start',
+ 'margin-inline-end',
+];
+
+const anchorSizes = [
+ 'width',
+ 'height',
+ 'block',
+ 'inline',
+ 'self-block',
+ 'self-inline',
+];
+
+const fallbacks = [
+ null,
+ '1px',
+ '50%',
+ 'calc(50% + 1px)',
+ 'anchor-size(block)',
+ 'anchor-size(--bar block)',
+ 'anchor-size(--bar block, anchor-size(--baz inline))',
+];
+
+// Tests basic combinations
+for (let name of anchorNames) {
+ for (let property of sizeProperties.concat(insetProperties, marginProperties)) {
+ for (let size of anchorSizes) {
+ for (let fallback of fallbacks) {
+ let value = `anchor-size(${name ? name + ' ' : ''}${size}${fallback ? ', ' + fallback : ''})`;
+ test_valid_value(property, value);
+ if (name) {
+ // The <anchor-element> is allowed to appear after the <anchor-size>
+ let value_flip_order = `anchor-size(${size} ${name}${fallback ? ', ' + fallback : ''})`;
+ test_valid_value(property, value_flip_order, value);
+ }
+ }
+ }
+ }
+}
+
+// Implicit <anchor-size>
+test_valid_value('width', 'anchor-size()');
+test_valid_value('width', 'anchor-size(--foo)');
+test_valid_value('width', 'anchor-size(--foo, 10px)');
+test_valid_value('width', 'anchor-size(10px)');
+
+// Tests that anchor-size() can be used in a calc tree
+// Still follow the simplification process as outlined in https://drafts.csswg.org/css-values-4/#calc-simplification
+for (const prop of ['width', 'max-width', 'margin-left']) {
+ test_valid_value(prop, 'calc((anchor-size(--foo width) + anchor-size(--bar height)) / 2)', 'calc(0.5 * (anchor-size(--foo width) + anchor-size(--bar height)))');
+ test_valid_value(prop, 'calc(0.5 * (anchor-size(--foo width) + anchor-size(--bar height)))');
+ test_valid_value(prop, 'anchor-size(--foo width, calc(0.5 * anchor-size(--bar height)))');
+ test_valid_value(prop, 'min(100px, 10%, anchor-size(--foo width), anchor-size(--bar height))');
+ test_valid_value(prop, 'calc(anchor-size(--foo width, 1px) + 10%)', 'calc(10% + anchor-size(--foo width, 1px))');
+}
+
+// Should accept unitless zero
+test_valid_value('width', "anchor-size(--foo width, 0)", "anchor-size(--foo width, 0px)");
+test_valid_value('width', "calc(anchor-size(--foo width, 0))", "anchor-size(--foo width, 0px)");
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.html
new file mode 100644
index 00000000000..8b126dc7a64
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/anchor-size-writing-modes-001.html
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#propdef-anchor-name">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+<style>
+.container {
+ position: relative;
+ height: 10px;
+}
+.anchor1 {
+ anchor-name: --a1;
+ width: 5px;
+ height: 7px;
+ background: orange;
+}
+.target {
+ position: absolute;
+}
+.htb {
+ writing-mode: horizontal-tb;
+}
+.vrl {
+ writing-mode: vertical-rl;
+}
+</style>
+<body onload="checkLayoutForAnchorPos('.target')">
+ <div class="container">
+ <div class="anchor1 vrl"></div>
+
+ <!-- Anchor's `writing-mode` should not matter. -->
+ <div class="target" style="width: anchor-size(--a1 width)" data-expected-width=5></div>
+ <div class="target" style="width: anchor-size(--a1 height)" data-expected-width=7></div>
+ <div class="target" style="width: anchor-size(--a1 inline)" data-expected-width=5></div>
+ <div class="target" style="width: anchor-size(--a1 block)" data-expected-width=7></div>
+ <div class="target" style="width: anchor-size(--a1 self-inline)" data-expected-width=5></div>
+ <div class="target" style="width: anchor-size(--a1 self-block)" data-expected-width=7></div>
+
+ <!-- `self-inline` and `self-block` take target's `writing-mode` into account. -->
+ <div class="target vrl" style="width: anchor-size(--a1 width)" data-expected-width=5></div>
+ <div class="target vrl" style="width: anchor-size(--a1 height)" data-expected-width=7></div>
+ <div class="target vrl" style="width: anchor-size(--a1 inline)" data-expected-width=5></div>
+ <div class="target vrl" style="width: anchor-size(--a1 block)" data-expected-width=7></div>
+ <div class="target vrl" style="width: anchor-size(--a1 self-inline)" data-expected-width=7></div>
+ <div class="target vrl" style="width: anchor-size(--a1 self-block)" data-expected-width=5></div>
+ </div>
+ <div class="container vrl">
+ <div class="anchor1 htb"></div>
+
+ <!-- Anchor's `writing-mode` should not matter. -->
+ <div class="target" style="width: anchor-size(--a1 width)" data-expected-width=5></div>
+ <div class="target" style="width: anchor-size(--a1 height)" data-expected-width=7></div>
+ <div class="target" style="width: anchor-size(--a1 inline)" data-expected-width=7></div>
+ <div class="target" style="width: anchor-size(--a1 block)" data-expected-width=5></div>
+ <div class="target" style="width: anchor-size(--a1 self-inline)" data-expected-width=7></div>
+ <div class="target" style="width: anchor-size(--a1 self-block)" data-expected-width=5></div>
+
+ <!-- `self-inline` and `self-block` take target's `writing-mode` into account. -->
+ <div class="target htb" style="width: anchor-size(--a1 width)" data-expected-width=5></div>
+ <div class="target htb" style="width: anchor-size(--a1 height)" data-expected-width=7></div>
+ <div class="target htb" style="width: anchor-size(--a1 inline)" data-expected-width=7></div>
+ <div class="target htb" style="width: anchor-size(--a1 block)" data-expected-width=5></div>
+ <div class="target htb" style="width: anchor-size(--a1 self-inline)" data-expected-width=5></div>
+ <div class="target htb" style="width: anchor-size(--a1 self-block)" data-expected-width=7></div>
+ </div>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.html
new file mode 100644
index 00000000000..630ae7c0533
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-allowed-declarations.html
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<title>Tests which properties are allowed in @position-try</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#fallback-rule">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style id="style"></style>
+<script>
+function cleanup() {
+ while (style.sheet.cssRules.length)
+ style.sheet.deleteRule(0);
+}
+
+function test_allowed_declaration(property, value = '1px') {
+ test(t => {
+ t.add_cleanup(cleanup);
+ const serialization = `${property}: ${value}`;
+ const rule = `@position-try --foo { ${property}: ${value}; }`;
+ const index = style.sheet.insertRule(rule);
+ const parsed = style.sheet.cssRules[index];
+ assert_equals(parsed.cssText, `@position-try --foo { ${serialization}; }`);
+ }, `${property}: ${value} is allowed in @position-try`);
+}
+
+function test_disallowed_declaration(property, value = '1px') {
+ test(t => {
+ t.add_cleanup(cleanup);
+ const rule = `@position-try --foo { ${property}: ${value}; }`;
+ const index = style.sheet.insertRule(rule);
+ const parsed = style.sheet.cssRules[index];
+ assert_equals(parsed.cssText, `@position-try --foo { }`);
+ }, `${property}: ${value} is disallowed in @position-try`);
+}
+
+// Inset properties are allowed
+test_allowed_declaration('top');
+test_allowed_declaration('bottom');
+test_allowed_declaration('left');
+test_allowed_declaration('right');
+test_allowed_declaration('inset-block-start');
+test_allowed_declaration('inset-block-end');
+test_allowed_declaration('inset-inline-start');
+test_allowed_declaration('inset-inline-end');
+test_allowed_declaration('inset-block');
+test_allowed_declaration('inset-inline');
+test_allowed_declaration('inset');
+test_allowed_declaration('position-area', 'span-all');
+
+// Margin properties are allowed
+test_allowed_declaration('margin-top');
+test_allowed_declaration('margin-bottom');
+test_allowed_declaration('margin-left');
+test_allowed_declaration('margin-right');
+test_allowed_declaration('margin-block-start');
+test_allowed_declaration('margin-block-end');
+test_allowed_declaration('margin-inline-start');
+test_allowed_declaration('margin-inline-end');
+test_allowed_declaration('margin-block');
+test_allowed_declaration('margin-inline');
+test_allowed_declaration('margin');
+
+// Sizing properties are allowed
+test_allowed_declaration('width');
+test_allowed_declaration('height');
+test_allowed_declaration('block-size');
+test_allowed_declaration('inline-size');
+test_allowed_declaration('min-width');
+test_allowed_declaration('min-height');
+test_allowed_declaration('min-block-size');
+test_allowed_declaration('min-inline-size');
+test_allowed_declaration('max-width');
+test_allowed_declaration('max-height');
+test_allowed_declaration('max-block-size');
+test_allowed_declaration('max-inline-size');
+
+// Box alignment properties are allowed
+test_allowed_declaration('justify-self', 'normal');
+test_allowed_declaration('align-self', 'normal');
+test_allowed_declaration('place-self', 'normal');
+
+// The 'position-anchor' property is allowed
+test_allowed_declaration('position-anchor', '--anchor');
+
+// Custom properties are disallowed
+test_disallowed_declaration('--custom');
+
+// Test some other disallowed properties
+test_disallowed_declaration('font-size');
+test_disallowed_declaration('border-width');
+test_disallowed_declaration('padding');
+test_disallowed_declaration('display');
+test_disallowed_declaration('position');
+test_disallowed_declaration('float');
+test_disallowed_declaration('justify-content', 'normal');
+test_disallowed_declaration('align-content', 'normal');
+test_disallowed_declaration('justify-items', 'normal');
+test_disallowed_declaration('align-items', 'normal');
+
+// 'revert' and 'revert-layer' are allowed
+test_allowed_declaration('top', 'revert');
+test_allowed_declaration('top', 'revert-layer');
+test_allowed_declaration('inset', 'revert');
+test_allowed_declaration('inset', 'revert-layer');
+
+// !important is disallowed
+test_disallowed_declaration('top', '1px !important');
+test_disallowed_declaration('inset', '1px !important');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-cssom.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-cssom.html
new file mode 100644
index 00000000000..36a142dd0d3
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-cssom.html
@@ -0,0 +1,211 @@
+<!DOCTYPE html>
+<title>Tests the CSSOM interfaces of @position-try rules</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#interfaces">
+<link rel="author" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+
+<div id="anchor"></div>
+<div id="other-anchor"></div>
+<div id="target"></div>
+
+<script>
+function createStyle(t, text) {
+ const style = document.createElement('style');
+ style.textContent = text;
+ t.add_cleanup(() => style.remove());
+ document.head.appendChild(style);
+ return style;
+}
+
+test(t => {
+ const style = createStyle(
+ t, '@position-try --pf { left: anchor(right); }');
+ const positionTryRule = style.sheet.cssRules[0];
+ assert_true(positionTryRule instanceof CSSPositionTryRule);
+ assert_equals(positionTryRule.name, '--pf');
+ assert_true(positionTryRule.style instanceof CSSPositionTryDescriptors);
+ assert_equals(positionTryRule.style.length, 1);
+ assert_equals(positionTryRule.style.left, 'anchor(right)');
+}, 'CSSPositionTryRule attribute values');
+
+test(t => {
+ const style = createStyle(
+ t, '@position-try --\\{ {}');
+ const positionTryRule = style.sheet.cssRules[0];
+ assert_true(positionTryRule instanceof CSSPositionTryRule);
+ assert_equals(positionTryRule.name, '--\\{');
+ assert_equals(positionTryRule.cssText, '@position-try --\\{ { }');
+}, 'CSSPositionTryRule escaped ident name');
+
+test(t => {
+ const style = createStyle(t, `
+ @position-try --pf { top: anchor(top); left: 0; }
+ #anchor, #other-anchor, #target {
+ position: absolute; width: 100px; height: 100px;
+ }
+ #anchor { top: 100px; left: 0; anchor-name: --a; }
+ #other-anchor { top: 200px; left: 0; anchor-name: --b; }
+ #target { position-try-fallbacks: --pf; position-anchor: --a; left: 999999px; }
+ `);
+ const positionTryRule = style.sheet.cssRules[0];
+
+ // Check the initial position fallback result
+ assert_equals(target.getBoundingClientRect().left, 0);
+ assert_equals(target.getBoundingClientRect().top, 100);
+
+ // `left` is an allowed property in `@position-try` and should affect position fallback.
+ positionTryRule.style.setProperty('left', 'anchor(right)');
+ assert_equals(target.getBoundingClientRect().left, 100);
+ assert_equals(target.getBoundingClientRect().top, 100);
+
+ // This property are disallowed in `@position-try` rule, and hence should not affect
+ // position fallback.
+ positionTryRule.style.setProperty('position', 'static');
+ assert_equals(target.getBoundingClientRect().left, 100);
+ assert_equals(target.getBoundingClientRect().top, 100);
+
+ // `position-anchor` is an allowed property in `@position-try` and should affect position fallback.
+ positionTryRule.style.setProperty('position-anchor', '--b');
+ assert_equals(target.getBoundingClientRect().left, 100);
+ assert_equals(target.getBoundingClientRect().top, 200);
+
+}, 'CSSPositionTryRule.style.setProperty setting allowed and disallowed properties');
+
+test(t => {
+ const style = createStyle(t, `
+ @position-try --pf {
+ top: 10px;
+ left: 20px;
+ --x: 200px;
+ color: red;
+ }
+ `);
+ let declarations = style.sheet.cssRules[0].style;
+ assert_equals(declarations.length, 2);
+ assert_equals(declarations.item(0), 'top');
+ assert_equals(declarations.item(1), 'left');
+}, 'CSSPositionTryDescriptors.item');
+
+test(t => {
+ const style = createStyle(t, '@position-try --pf {}');
+ let declarations = style.sheet.cssRules[0].style;
+ assert_equals(declarations.length, 0);
+ declarations.cssText = `color:red;top:10px;`;
+ assert_equals(declarations.length, 1);
+}, 'CSSPositionTryDescriptors.cssText');
+
+let supported_properties = [
+ 'margin',
+ 'margin-top',
+ 'margin-right',
+ 'margin-bottom',
+ 'margin-left',
+ 'margin-block',
+ 'margin-block-start',
+ 'margin-block-end',
+ 'margin-inline',
+ 'margin-inline-start',
+ 'margin-inline-end',
+ 'inset',
+ 'top',
+ 'left',
+ 'right',
+ 'bottom',
+ 'inset-block',
+ 'inset-block-start',
+ 'inset-block-end',
+ 'inset-inline',
+ 'inset-inline-start',
+ 'inset-inline-end',
+ 'width',
+ 'height',
+ 'min-width',
+ 'max-width',
+ 'min-height',
+ 'max-height',
+ 'block-size',
+ 'min-block-size',
+ 'max-block-size',
+ 'inline-size',
+ 'min-inline-size',
+ 'max-inline-size',
+ 'place-self',
+ 'align-self',
+ 'justify-self',
+ 'position-anchor',
+ 'position-area',
+];
+
+// A selection of unsupported properties.
+let unsupported_properties = [
+ 'color',
+ 'align-items',
+ 'align-content',
+ 'background',
+ 'display',
+ 'position',
+ 'writing-mode',
+ 'direction',
+ 'syntax', // @property
+];
+
+let upperFirst = (x) => x[0].toUpperCase() + x.slice(1);
+let lowerFirst = (x) => x[0].toLowerCase() + x.slice(1);
+let toLowerCamelCase = (x) => lowerFirst(x.split('-').map(upperFirst).join(''));
+
+// Test getting/setting the specified property on a CSSPositionTryDescriptors
+// object. The property can either be supported or not supported,
+// which determines the expected results.
+function test_property(prop, supported) {
+ test(t => {
+ let decls = supported_properties.map(x => `${x}:unset;`).join('');
+ let style = createStyle(t, `@position-try --pf { ${decls} }`);
+ let declarations = style.sheet.cssRules[0].style;
+ assert_equals(declarations.getPropertyValue(prop), supported ? 'unset' : '');
+ }, `CSSPositionTryDescriptors.getPropertyValue(${prop})`);
+
+ test(t => {
+ let style = createStyle(t, '@position-try --pf {}');
+ let declarations = style.sheet.cssRules[0].style;
+ declarations.setProperty(prop, 'unset');
+ assert_equals(declarations.getPropertyValue(prop), supported ? 'unset' : '');
+ }, `CSSPositionTryDescriptors.setProperty(${prop})`);
+
+ test(t => {
+ let decls = supported_properties.map(x => `${x}:unset;`).join('');
+ let style = createStyle(t, `@position-try --pf { ${decls} }`);
+ let declarations = style.sheet.cssRules[0].style;
+ assert_equals(declarations[prop], supported ? 'unset' : undefined);
+ }, `CSSPositionTryDescriptors[${prop}] (set)`);
+
+ test(t => {
+ let style = createStyle(t, '@position-try --pf {}');
+ let declarations = style.sheet.cssRules[0].style;
+ declarations[prop] = 'unset';
+ assert_equals(declarations.getPropertyValue(prop), supported ? 'unset' : '');
+ }, `CSSPositionTryDescriptors[${prop}] (get)`);
+
+ let camelCaseAttr = toLowerCamelCase(prop);
+ if (camelCaseAttr != prop) {
+ // Also test the camelCase version of the attribute.
+ test(t => {
+ let decls = supported_properties.map(x => `${x}:unset;`).join('');
+ let style = createStyle(t, `@position-try --pf { ${decls} }`);
+ let declarations = style.sheet.cssRules[0].style;
+ assert_equals(declarations[camelCaseAttr], supported ? 'unset' : undefined);
+ }, `CSSPositionTryDescriptors[${camelCaseAttr}] (get)`);
+
+ test(t => {
+ let style = createStyle(t, '@position-try --pf {}');
+ let declarations = style.sheet.cssRules[0].style;
+ declarations[camelCaseAttr] = 'unset';
+ assert_equals(declarations.getPropertyValue(prop), supported ? 'unset' : '');
+ }, `CSSPositionTryDescriptors[${camelCaseAttr}] (set)`);
+ }
+}
+
+supported_properties.forEach(x => { test_property(x, /* supported */ true); });
+unsupported_properties.forEach(x => { test_property(x, /* supported */ false); });
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-parse.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-parse.html
new file mode 100644
index 00000000000..da5c4f0f1e3
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/at-position-try-parse.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning Test: parsing of @position-try rules</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#fallback-rule">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../css/support/parsing-testcommon.js"></script>
+<script>
+test_valid_rule('@position-try --foo { }');
+test_valid_rule(`@position-try --foo { top: 1px; }`);
+
+// @position-try needs exactly one <dashed-ident> as its name
+test_invalid_rule('@position-try { }');
+test_invalid_rule('@position-try foo { }');
+test_invalid_rule('@position-try --foo --bar { }');
+test_invalid_rule('@position-try --foo, --bar { }');
+
+// @position-try only accepts a limited set of properties.
+test_valid_rule('@position-try --foo { backround-color: green; }',
+ '@position-try --foo { }');
+
+// @position-try accepts only regular style declarations. Other
+// contents should be ignored.
+test_valid_rule('@position-try --foo { @keyframes bar {} }',
+ '@position-try --foo { }');
+test_valid_rule('@position-try --foo { @font-face {} }',
+ '@position-try --foo { }');
+test_valid_rule('@position-try --foo { @media print {} }',
+ '@position-try --foo { }');
+test_valid_rule('@position-try --foo { & {} }',
+ '@position-try --foo { }');
+test_valid_rule('@position-try --foo { arbitrary garbage }',
+ '@position-try --foo { }');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.html
new file mode 100644
index 00000000000..0d8ee965f47
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/auto-inset-margin-getComputedStyle.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Tests that getComputedStyle() returns auto insets and margins 0 when position-area or anchor-center is used with valid default anchor</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-area">
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-pos">
+<link rel="author" name="David Shin" href="mailto:[email protected]">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+.abs-cb {
+ width: 60px;
+ height: 60px;
+ border: 5px solid;
+ position: relative;
+ anchor-scope: all;
+ display: inline-block;
+ /* Nudge static position against padding box. */
+ padding: 15px;
+}
+
+.anchor {
+ anchor-name: --a;
+ position: absolute;
+ left: 20px;
+ top: 20px;
+ width: 20px;
+ height: 20px;
+ background: pink;
+}
+
+.positioned {
+ position: absolute;
+ background: purple;
+ width: 20px;
+ height: 20px;
+}
+
+.margin-auto > .positioned {
+ inset: 0;
+ margin: auto;
+}
+
+.inset-auto > .positioned {
+ inset: auto;
+}
+
+.pa {
+ position-area: bottom right;
+}
+
+.jac {
+ justify-self: anchor-center;
+}
+
+.aac {
+ align-self: anchor-center;
+}
+
+.valid-anchor > .positioned {
+ position-anchor: --a;
+}
+</style>
+<div id=insetValidAnchor class="abs-cb inset-auto valid-anchor">
+ <div class=anchor></div>
+ <div class="positioned pa"></div>
+ <div class="positioned jac"></div>
+ <div class="positioned aac"></div>
+</div
+><div id=insetInvalidAnchor class="abs-cb inset-auto">
+ <div class=anchor></div>
+ <div class="positioned pa"></div>
+ <div class="positioned jac"></div>
+ <div class="positioned aac"></div>
+</div><br>
+<div id=marginValidAnchor class="abs-cb margin-auto valid-anchor">
+ <div class=anchor></div>
+ <div class="positioned pa"></div>
+ <div class="positioned jac"></div>
+ <div class="positioned aac"></div>
+</div
+><div id=marginInvalidAnchor class="abs-cb margin-auto">
+ <div class=anchor></div>
+ <div class="positioned pa"></div>
+ <div class="positioned jac"></div>
+ <div class="positioned aac"></div>
+</div>
+<script>
+function assert_zero(e, f, props, t) {
+ test(() => {
+ const s = getComputedStyle(e);
+ for (const prop of props) {
+ f(s.getPropertyValue(prop), "0px");
+ }
+ }, t);
+}
+
+const horizontalInsets = ['left', 'right'];
+const verticalInsets = ['top', 'bottom'];
+const allInsets = horizontalInsets.concat(verticalInsets);
+
+assert_zero(insetValidAnchor.querySelector('.pa'), assert_equals, allInsets, "position-area with valid anchor sets insets to zero");
+assert_zero(insetValidAnchor.querySelector('.jac'), assert_equals, horizontalInsets, "justify-self: anchor-center with valid anchor sets insets to zero");
+assert_zero(insetValidAnchor.querySelector('.aac'), assert_equals, verticalInsets, "align-self: anchor-center with valid anchor sets insets to zero");
+
+assert_zero(insetInvalidAnchor.querySelector('.pa'), assert_not_equals, allInsets, "position-area with invalid anchor does not set insets to zero");
+assert_zero(insetInvalidAnchor.querySelector('.jac'), assert_not_equals, horizontalInsets, "justify-self: anchor-center with invalid anchor does not set insets to zero");
+assert_zero(insetInvalidAnchor.querySelector('.aac'), assert_not_equals, verticalInsets, "align-self: anchor-center with invalid anchor does not set insets to zero");
+
+const horizontalMargins = ['margin-left', 'margin-right'];
+const verticalMargins = ['margin-top', 'margin-bottom'];
+const allMargins = horizontalMargins.concat(verticalMargins);
+
+assert_zero(marginValidAnchor.querySelector('.pa'), assert_equals, allMargins, "position-area with valid anchor sets margins to zero");
+assert_zero(marginValidAnchor.querySelector('.jac'), assert_equals, horizontalMargins, "justify-self: anchor-center with valid anchor sets margins to zero");
+assert_zero(marginValidAnchor.querySelector('.aac'), assert_equals, verticalMargins, "align-self: anchor-center with valid anchor sets margins to zero");
+
+assert_zero(marginInvalidAnchor.querySelector('.pa'), assert_not_equals, allMargins, "position-area with invalid anchor does not set margins to zero");
+assert_zero(marginInvalidAnchor.querySelector('.jac'), assert_not_equals, horizontalMargins, "justify-self: anchor-center with invalid anchor does not set margins to zero");
+assert_zero(marginInvalidAnchor.querySelector('.aac'), assert_not_equals, verticalMargins, "align-self: anchor-center with invalid anchor does not set margins to zero");
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/idlharness.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/idlharness.html
new file mode 100644
index 00000000000..dffb66bad7b
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/idlharness.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<title>CSS Anchor Positioning IDL tests</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#interfaces">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/WebIDLParser.js"></script>
+<script src="../../resources/idlharness.js"></script>
+
+<style>
+@position-fallback --fallback {
+ @try {}
+ @try {}
+}
+</style>
+
+<script>
+ 'use strict';
+ idl_test(
+ ['css-anchor-position'],
+ ['cssom'],
+ idl_array => {
+ try {
+ self.positionFallback = document.styleSheets[0].cssRules.item(0);
+ self.try1 = self.positionFallback.cssRules.item(0);
+ self.try2 = self.positionFallback.cssRules.item(1);
+ } catch (e) {
+ // Will be surfaced when any rule is undefined below.
+ }
+
+ idl_array.add_objects({
+ CSSPositionFallbackRule: ['positionFallback'],
+ CSSTryRule: ['try1', 'try2'],
+ CSSStyleDeclaration: ['try1.style', 'try2.style'],
+ });
+ }
+ );
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/mixed-dependency-chain.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/mixed-dependency-chain.html
new file mode 100644
index 00000000000..21fb03c42c4
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/mixed-dependency-chain.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+
+<title>Tests that chain of elements that anchor to each other using anchor() and position-area works.</title>
+
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#determining">
+<link rel="author" title="Kiet Ho" href="mailto:[email protected]">
+
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script src="support/test-common.js"></script>
+
+<style>
+ .containing-block {
+ border: 1px solid black;
+
+ position: relative;
+ width: 700px;
+ height: 500px;
+ }
+
+ .box {
+ width: 50px;
+ height: 50px;
+ position: absolute;
+ anchor-name: --box;
+
+ color: white;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ #box1 {
+ top: 0;
+ left: 0;
+ background: green;
+ }
+
+ .uses-anchor-function {
+ background: blue;
+ position-anchor: --box;
+ left: calc(anchor(right) + 10px);
+ }
+
+ .uses-position-area {
+ background: magenta;
+ position-anchor: --box;
+ position-area: right center;
+ margin-left: 10px;
+ }
+</style>
+
+<body onload="checkLayoutForAnchorPos('.target')">
+ <p>You should see a row of boxes in order.</p>
+
+ <div class="containing-block">
+ <div class="target box" id="box1" data-offset-x="0">1</div>
+
+ <div class="target box uses-position-area" data-offset-x="60">2</div>
+ <div class="target box uses-position-area" data-offset-x="120">3</div>
+
+ <div class="target box uses-anchor-function" data-offset-x="180">4</div>
+ <div class="target box uses-anchor-function" data-offset-x="240">5</div>
+
+ <div class="target box uses-position-area" data-offset-x="300">6</div>
+ <div class="target box uses-anchor-function" data-offset-x="360">7</div>
+ <div class="target box uses-position-area" data-offset-x="420">8</div>
+ <div class="target box uses-anchor-function" data-offset-x="480">9</div>
+ <div class="target box uses-position-area" data-offset-x="540">10</div>
+ </div>
+</body>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-computed.html
new file mode 100644
index 00000000000..53531f2107c
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-computed.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Anchor Positioning Test: Computed position-try</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-try-prop">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/computed-testcommon.js"></script>
+<div id="target"></div>
+<script>
+ test_computed_value("position-try", "none");
+ test_computed_value("position-try", "normal none", "none");
+ test_computed_value("position-try", "flip-block");
+ test_computed_value("position-try", "flip-y");
+ test_computed_value("position-try", "most-width none");
+ test_computed_value("position-try", "most-height flip-block, flip-inline");
+ test_computed_value("position-try", "most-height flip-y, flip-x");
+ test_computed_value("position-try", "most-width --foo, --bar");
+ test_computed_value("position-try", "normal --foo", "--foo");
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-parsing.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-parsing.html
new file mode 100644
index 00000000000..011caebc111
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/parsing/position-try-parsing.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Anchor Positioning Test: Parsing of position-try shorthand</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-try-prop">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../../css/support/parsing-testcommon.js"></script>
+<script src="../../../css/support/shorthand-testcommon.js"></script>
+<script>
+ test_valid_value("position-try", "flip-inline");
+ test_valid_value("position-try", "flip-y");
+ test_valid_value("position-try", "most-height none");
+ test_valid_value("position-try", "--bar, --baz");
+ test_valid_value("position-try", "most-inline-size --baz, flip-inline");
+ test_valid_value("position-try", "most-block-size flip-inline flip-block, --bar, --baz");
+ test_valid_value("position-try", "most-width flip-y flip-x, --foo, --bar");
+ test_valid_value("position-try", "normal none", "none");
+ test_valid_value("position-try", "most-width none");
+ test_valid_value("position-try", "normal --foo", "--foo");
+
+ test_invalid_value("position-try", "normal --foo, most-width --bar");
+ test_invalid_value("position-try", "none normal");
+ test_invalid_value("position-try", "flip-block most-height");
+ test_invalid_value("position-try", "most-height, flip-start");
+
+ test_shorthand_value("position-try", "flip-inline", {
+ "position-try-order": "normal",
+ "position-try-fallbacks": "flip-inline",
+ });
+ test_shorthand_value("position-try", "flip-y", {
+ "position-try-order": "normal",
+ "position-try-fallbacks": "flip-y",
+ });
+ test_shorthand_value("position-try", "most-width none", {
+ "position-try-order": "most-width",
+ "position-try-fallbacks": "none",
+ });
+ test_shorthand_value("position-try", "--foo, --bar", {
+ "position-try-order": "normal",
+ "position-try-fallbacks": "--foo, --bar",
+ });
+ test_shorthand_value("position-try", "most-inline-size --foo, flip-inline", {
+ "position-try-order": "most-inline-size",
+ "position-try-fallbacks": "--foo, flip-inline",
+ });
+ test_shorthand_value("position-try", "most-inline-size flip-inline flip-block, --foo, --bar", {
+ "position-try-order": "most-inline-size",
+ "position-try-fallbacks": "flip-inline flip-block, --foo, --bar",
+ });
+ test_shorthand_value("position-try", "most-width flip-y flip-x, --foo, --bar", {
+ "position-try-order": "most-width",
+ "position-try-fallbacks": "flip-y flip-x, --foo, --bar",
+ });
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.html
new file mode 100644
index 00000000000..84704fa3edd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify-wm-dir.html
@@ -0,0 +1,195 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area positioning - alignment with writing-mode and direction</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ /* A 300x300 container with a 100x100 centered anchor */
+ #container {
+ position: relative;
+ width: 300px;
+ height: 300px;
+ }
+ #anchor {
+ position: absolute;
+ top: 100px;
+ left: 100px;
+ width: 100px;
+ height: 100px;
+ anchor-name: --anchor;
+ }
+ #anchored {
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ inset: 10px 15px 20px 25px;
+ position-anchor: --anchor;
+ }
+</style>
+<div id="container">
+ <div id="anchor"></div>
+ <div id="anchored"></div>
+</div>
+<script>
+ function test_position_area(writing_direction, position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Checking offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Checking offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Checking offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Checking offsetHeight");
+ }, "Offsets for: " + position_area + " with writing-mode / direction: " + writing_direction);
+ }
+
+ const top_left = {left:75, top:70, width:10, height:10};
+ const top_right = {left:225, top:70, width:10, height:10};
+ const bottom_left = {left:75, top:210, width:10, height:10};
+ const bottom_right = {left:225, top:210, width:10, height:10};
+
+ anchored.style.writingMode = "horizontal-tb";
+ anchored.style.direction = "ltr";
+
+ // Writing-mode and direction on container
+ let writing_direction = "containing-block: horizontal-tb / rtl";
+ container.style.writingMode = "horizontal-tb";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-lr / ltr
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-lr / ltr";
+ container.style.writingMode = "vertical-lr";
+ container.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: sideways-lr / ltr
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: sideways-lr / ltr";
+ container.style.writingMode = "sideways-lr";
+ container.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", bottom_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", bottom_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-lr / rtl
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-lr / rtl";
+ container.style.writingMode = "vertical-lr";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", bottom_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", bottom_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: sideways-lr / rtl
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: sideways-lr / rtl";
+ container.style.writingMode = "sideways-lr";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-rl / ltr
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-rl / ltr";
+ container.style.writingMode = "vertical-rl";
+ container.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-rl / rtl
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-rl / rtl";
+ container.style.writingMode = "vertical-rl";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", bottom_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", bottom_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // Writing-mode and direction on self
+ container.style.writingMode = "horizontal-tb";
+ container.style.direction = "ltr";
+
+ // containing-block: horizontal-tb / ltr
+ // self: horizontal-tb / rtl
+ writing_direction = "self: horizontal-tb / rtl";
+ anchored.style.writingMode = "horizontal-tb";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_right);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-lr / ltr
+ writing_direction = "self: vertical-lr / ltr";
+ anchored.style.writingMode = "vertical-lr";
+ anchored.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: sideways-lr / ltr
+ writing_direction = "self: sideways-lr / ltr";
+ anchored.style.writingMode = "sideways-lr";
+ anchored.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", bottom_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", bottom_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-lr / rtl
+ writing_direction = "self: vertical-lr / rtl";
+ anchored.style.writingMode = "vertical-lr";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", bottom_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", bottom_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: sideways-lr / rtl
+ writing_direction = "self: sideways-lr / rtl";
+ anchored.style.writingMode = "sideways-lr";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-rl / ltr
+ writing_direction = "self: vertical-rl / ltr";
+ anchored.style.writingMode = "vertical-rl";
+ anchored.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_right);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-rl / rtl
+ writing_direction = "self: vertical-rl / rtl";
+ anchored.style.writingMode = "vertical-rl";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", bottom_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", bottom_right);
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify.html
new file mode 100644
index 00000000000..6b7c694edd9
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-align-justify.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area positioning - alignment</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ /* A 300x300 container with a 100x100 centered anchor */
+ #container {
+ position: relative;
+ width: 300px;
+ height: 300px;
+ }
+ #anchor {
+ position: absolute;
+ top: 100px;
+ left: 100px;
+ width: 100px;
+ height: 100px;
+ anchor-name: --anchor;
+ }
+ #anchored {
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ inset: 10px 15px 20px 25px;
+ position-anchor: --anchor;
+ }
+</style>
+<div id="container">
+ <div id="anchor"></div>
+ <div id="anchored"></div>
+</div>
+<script>
+ function test_position_area(position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Check expected offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Check expected offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Check expected offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Check expected offsetHeight");
+ }, "Offsets for position-area: " + position_area);
+ }
+
+ // anchor-center in both directions
+ test_position_area("span-all", {left:145, top:145, width:10, height:10});
+
+ // Single region spans
+ test_position_area("top left", {left:75, top:70, width:10, height:10});
+ test_position_area("top center", {left:150, top:70, width:10, height:10});
+ test_position_area("top right", {left:225, top:70, width:10, height:10});
+ test_position_area("center left", {left:75, top:140, width:10, height:10});
+ test_position_area("center center", {left:150, top:140, width:10, height:10});
+ test_position_area("center right", {left:225, top:140, width:10, height:10});
+ test_position_area("bottom left", {left:75, top:210, width:10, height:10});
+ test_position_area("bottom center", {left:150, top:210, width:10, height:10});
+ test_position_area("bottom right", {left:225, top:210, width:10, height:10});
+
+ // Multi-region spans
+ test_position_area("top span-left", {left:175, top:70, width:10, height:10});
+ test_position_area("top span-right", {left:125, top:70, width:10, height:10});
+ test_position_area("span-top left", {left:75, top:170, width:10, height:10});
+ test_position_area("span-bottom left", {left:75, top:110, width:10, height:10});
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-outside.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-outside.html
new file mode 100644
index 00000000000..3c3fa0cd7b8
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-outside.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area positioning - anchor outside containing block</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #container {
+ position: relative;
+ width: 400px;
+ height: 400px;
+ margin: 0 auto;
+ border: 2px solid;
+ background: #eee;
+ }
+ #anchor {
+ position: absolute;
+ left: -200px;
+ top: 500px;
+ width: 100px;
+ height: 100px;
+ anchor-name: --anchor;
+ background: blue;
+ }
+ #anchored {
+ position: absolute;
+ align-self: stretch;
+ justify-self: stretch;
+ position-anchor: --anchor;
+ background: #FA08;
+ outline: 1px solid orange;
+ }
+</style>
+<div id="container">
+ <div id="anchor"></div>
+ <div id="anchored"></div>
+</div>
+<script>
+ function test_position_area(position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Check expected offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Check expected offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Check expected offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Check expected offsetHeight");
+ }, "Offsets for position-area: " + position_area);
+ }
+
+ test_position_area("span-all", {left:-200, top:0, width:600, height:600});
+
+ test_position_area("left span-all", {left:-200, top:0, width:0, height:600});
+ test_position_area("span-left span-all", {left:-200, top:0, width:100, height:600});
+ test_position_area("span-all center", {left:-200, top:0, width:100, height:600});
+ test_position_area("span-right span-all", {left:-200, top:0, width:600, height:600});
+ test_position_area("right span-all", {left:-100, top:0, width:500, height:600});
+
+ test_position_area("top span-all", {left:-200, top:0, width:600, height:500});
+ test_position_area("span-top span-all", {left:-200, top:0, width:600, height:600});
+ test_position_area("center span-all", {left:-200, top:500, width:600, height:100});
+ test_position_area("span-bottom span-all", {left:-200, top:500, width:600, height:100});
+ test_position_area("bottom span-all", {left:-200, top:600, width:600, height:0});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.html
new file mode 100644
index 00000000000..eac71ffbbab
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-anchor-partially-outside.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area positioning - anchor partially outside containing block</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #container {
+ position: relative;
+ width: 400px;
+ height: 400px;
+ margin: 100px auto;
+ border: 2px solid;
+ background: #eee;
+ }
+ #anchor {
+ position: absolute;
+ right: -50px;
+ top: -50px;
+ width: 100px;
+ height: 100px;
+ anchor-name: --anchor;
+ background: blue;
+ }
+ #anchored {
+ position: absolute;
+ align-self: stretch;
+ justify-self: stretch;
+ position-anchor: --anchor;
+ background: #FA08;
+ outline: 1px solid orange;
+ }
+</style>
+<div id="container">
+ <div id="anchor"></div>
+ <div id="anchored"></div>
+</div>
+<script>
+ function test_position_area(position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Check expected offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Check expected offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Check expected offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Check expected offsetHeight");
+ }, "Offsets for position-area: " + position_area);
+ }
+
+ test_position_area("span-all", {left:0, top:-50, width:450, height:450});
+
+ test_position_area("left span-all", {left:0, top:-50, width:350, height:450});
+ test_position_area("span-left span-all", {left:0, top:-50, width:450, height:450});
+ test_position_area("span-all center", {left:350, top:-50, width:100, height:450});
+ test_position_area("span-right span-all", {left:350, top:-50, width:100, height:450});
+ test_position_area("right span-all", {left:450, top:-50, width:0, height:450});
+
+ test_position_area("top span-all", {left:0, top:-50, width:450, height:0});
+ test_position_area("span-top span-all", {left:0, top:-50, width:450, height:100});
+ test_position_area("center span-all", {left:0, top:-50, width:450, height:100});
+ test_position_area("span-bottom span-all", {left:0, top:-50, width:450, height:450});
+ test_position_area("bottom span-all", {left:0, top:50, width:450, height:350});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-basic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-basic.html
new file mode 100644
index 00000000000..98402700f18
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-basic.html
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: basic position-area positioning</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<!-- The grid:
+
+ 100 150 150
+ +--------+--------+--------+
+ | | | |
+ 150 | | | |
+ | | | |
+ +--------+--------+--------+
+ | | | |
+ 75 | | | |
+ | | | |
+ +--------+--------+--------+
+ | | | |
+ 175 | | | |
+ | | | |
+ +--------+--------+--------+
+
+ -->
+<style>
+ #container {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ margin: 0 auto;
+ border: 2px solid;
+ background: #eee;
+ }
+ #anchored {
+ position: absolute;
+ align-self: stretch;
+ justify-self: stretch;
+ position-anchor: --anchor;
+ background: #FA08;
+ outline: 1px solid orange;
+ }
+ #anchor {
+ margin-top: 150px;
+ margin-left: 100px;
+ width: 150px;
+ height: 75px;
+ anchor-name: --anchor;
+ background: blue;
+ }
+</style>
+<div id="container">
+ <div id="anchored"></div>
+ <div id="anchor"></div>
+</div>
+<script>
+ function test_position_area(position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Check expected offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Check expected offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Check expected offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Check expected offsetHeight");
+ }, "Offsets for: " + position_area);
+ }
+
+ test_position_area("none", {left:0, top:0, width:0, height:0});
+ test_position_area("span-all", {left:0, top:0, width:400, height:400});
+ test_position_area("span-all span-all", {left:0, top:0, width:400, height:400});
+
+ // Single region spans
+ test_position_area("top left", {left:0, top:0, width:100, height:150});
+ test_position_area("top center", {left:100, top:0, width:150, height:150});
+ test_position_area("top right", {left:250, top:0, width:150, height:150});
+ test_position_area("center left", {left:0, top:150, width:100, height:75});
+ test_position_area("center center", {left:100, top:150, width:150, height:75});
+ test_position_area("center right", {left:250, top:150, width:150, height:75});
+ test_position_area("bottom left", {left:0, top:225, width:100, height:175});
+ test_position_area("bottom center", {left:100, top:225, width:150, height:175});
+ test_position_area("bottom right", {left:250, top:225, width:150, height:175});
+
+ test_position_area("start start", {left:0, top:0, width:100, height:150});
+ test_position_area("start center", {left:100, top:0, width:150, height:150});
+ test_position_area("start end", {left:250, top:0, width:150, height:150});
+ test_position_area("center start", {left:0, top:150, width:100, height:75});
+ test_position_area("center end", {left:250, top:150, width:150, height:75});
+ test_position_area("end start", {left:0, top:225, width:100, height:175});
+ test_position_area("end center", {left:100, top:225, width:150, height:175});
+ test_position_area("end end", {left:250, top:225, width:150, height:175});
+
+ test_position_area("self-start self-start", {left:0, top:0, width:100, height:150});
+ test_position_area("self-start center", {left:100, top:0, width:150, height:150});
+ test_position_area("self-start self-end", {left:250, top:0, width:150, height:150});
+ test_position_area("center self-start", {left:0, top:150, width:100, height:75});
+ test_position_area("center self-end", {left:250, top:150, width:150, height:75});
+ test_position_area("self-end self-start", {left:0, top:225, width:100, height:175});
+ test_position_area("self-end center", {left:100, top:225, width:150, height:175});
+ test_position_area("self-end self-end", {left:250, top:225, width:150, height:175});
+
+ test_position_area("y-start x-start", {left:0, top:0, width:100, height:150});
+ test_position_area("y-start center", {left:100, top:0, width:150, height:150});
+ test_position_area("y-start x-end", {left:250, top:0, width:150, height:150});
+ test_position_area("center x-start", {left:0, top:150, width:100, height:75});
+ test_position_area("center x-end", {left:250, top:150, width:150, height:75});
+ test_position_area("y-end x-start", {left:0, top:225, width:100, height:175});
+ test_position_area("y-end center", {left:100, top:225, width:150, height:175});
+ test_position_area("y-end x-end", {left:250, top:225, width:150, height:175});
+
+ test_position_area("self-y-start self-x-start", {left:0, top:0, width:100, height:150});
+ test_position_area("self-y-start center", {left:100, top:0, width:150, height:150});
+ test_position_area("self-y-start self-x-end", {left:250, top:0, width:150, height:150});
+ test_position_area("center self-x-start", {left:0, top:150, width:100, height:75});
+ test_position_area("center self-x-end", {left:250, top:150, width:150, height:75});
+ test_position_area("self-y-end self-x-start", {left:0, top:225, width:100, height:175});
+ test_position_area("self-y-end center", {left:100, top:225, width:150, height:175});
+ test_position_area("self-y-end self-x-end", {left:250, top:225, width:150, height:175});
+
+ // Multi-region spans
+ test_position_area("span-self-y-start span-self-x-end", {left:100, top:0, width:300, height:225});
+ test_position_area("span-bottom span-all", {left:0, top:150, width:400, height:250});
+
+ // No implicit anchor means the position-area should not apply.
+ anchored.style.positionAnchor = "auto";
+ test_position_area("span-all top", {left:0, top:0, width:0, height:0});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-computed-insets.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-computed-insets.html
new file mode 100644
index 00000000000..f6a102ceb50
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-computed-insets.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area should not affect computed inset values</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../css/css-typed-om/resources/testhelper.js"></script>
+<style>
+ #abs {
+ position: absolute;
+ position-area: span-all;
+ }
+</style>
+<div id="abs"></div>
+<script>
+ test(() => {
+ let style = abs.computedStyleMap();
+ assert_equals(style.get("position-area").toString(), "span-all", "position-area is supported");
+ assert_style_value_equals(style.get("left"), new CSSKeywordValue("auto"));
+ assert_style_value_equals(style.get("right"), new CSSKeywordValue("auto"));
+ assert_style_value_equals(style.get("top"), new CSSKeywordValue("auto"));
+ assert_style_value_equals(style.get("bottom"), new CSSKeywordValue("auto"));
+ }, "position-area does not affect insets at computed value time");
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-in-position-try.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-in-position-try.html
new file mode 100644
index 00000000000..e249337c732
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-in-position-try.html
@@ -0,0 +1,193 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area in @position-try</title>
+<link rel="help" href='https://drafts.csswg.org/css-anchor-position-1/#position-try-fallbacks'>
+<script src='../../resources/testharness.js'></script>
+<script src='../../resources/testharnessreport.js'></script>
+<style>
+ #cb {
+ position: relative;
+ width: 200px;
+ height: 200px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 100px;
+ top: 100px;
+ width: 50px;
+ height: 50px;
+ background-color: tomato;
+ anchor-name: --a;
+ }
+ #target {
+ left: 200px; /* force fallback */
+ }
+ #target, #ref {
+ position: absolute;
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ position-area: bottom right;
+ position-anchor: --a;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Test that inside-area, when used inside @position-try, works the same
+// as when it's specified in the base style.
+function test_position_area_ref(position_area) {
+ test((t) => {
+ t.add_cleanup(() => {
+ style.textContent = '';
+ });
+ style.textContent = `
+ @position-try --pt {
+ inset: unset; /* Undo force fallback */
+ position-area: ${position_area};
+ }
+ #target {
+ position-try-fallbacks: --pt;
+ }
+ #ref {
+ position-area: ${position_area};
+ }
+ `;
+ assert_true(CSS.supports('position-area', 'top left'));
+ assert_true(CSS.supports('position-try-fallbacks', '--x'));
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${position_area}`);
+}
+
+test_position_area_ref('none');
+test_position_area_ref('span-all');
+test_position_area_ref('span-all span-all');
+test_position_area_ref('top left');
+test_position_area_ref('top center');
+test_position_area_ref('top right');
+test_position_area_ref('center left');
+test_position_area_ref('center center');
+test_position_area_ref('center right');
+test_position_area_ref('bottom left');
+test_position_area_ref('bottom center');
+test_position_area_ref('bottom right');
+test_position_area_ref('start start');
+test_position_area_ref('start center');
+test_position_area_ref('start end');
+test_position_area_ref('center start');
+test_position_area_ref('center end');
+test_position_area_ref('end start');
+test_position_area_ref('end center');
+test_position_area_ref('end end');
+test_position_area_ref('self-start self-start');
+test_position_area_ref('self-start center');
+test_position_area_ref('self-start self-end');
+test_position_area_ref('center self-start');
+test_position_area_ref('center self-end');
+test_position_area_ref('self-end self-start');
+test_position_area_ref('self-end center');
+test_position_area_ref('self-end self-end');
+test_position_area_ref('y-start x-start');
+test_position_area_ref('y-start center');
+test_position_area_ref('y-start x-end');
+test_position_area_ref('center x-start');
+test_position_area_ref('center x-end');
+test_position_area_ref('y-end x-start');
+test_position_area_ref('y-end center');
+test_position_area_ref('y-end x-end');
+test_position_area_ref('self-y-start self-x-start');
+test_position_area_ref('self-y-start center');
+test_position_area_ref('self-y-start self-x-end');
+test_position_area_ref('center self-x-start');
+test_position_area_ref('center self-x-end');
+test_position_area_ref('self-y-end self-x-start');
+test_position_area_ref('self-y-end center');
+test_position_area_ref('self-y-end self-x-end');
+test_position_area_ref('span-self-y-start span-self-x-end');
+test_position_area_ref('span-bottom span-all');
+
+</script>
+
+<style>
+ @position-try --top {
+ inset: unset; /* Undo force fallback */
+ position-area: top;
+ }
+ @position-try --right {
+ inset: unset; /* Undo force fallback */
+ position-area: right;
+ }
+ @position-try --bottom {
+ inset: unset; /* Undo force fallback */
+ position-area: bottom;
+ }
+ @position-try --left {
+ inset: unset; /* Undo force fallback */
+ position-area: left;
+ }
+</style>
+<script>
+
+// Test that an element with the specified position-try-fallbacks is placed
+// at the same position as a reference element with position-area:`expected`.
+// This test uses #target/#ref size of 60x60px, which causes overflow if
+// if we attempt the --right and --bottom positions.
+function test_position_area_placement(position_try_fallbacks, expected) {
+ test((t) => {
+ style.textContent = `
+ #target, #ref {
+ width: 60px;
+ height: 60px;
+ }
+ #target {
+ position-try-fallbacks: ${position_try_fallbacks};
+ }
+ #ref {
+ position-area: ${expected};
+ }
+ `;
+ assert_true(CSS.supports('position-area', 'top left'));
+ assert_true(CSS.supports('position-try-fallbacks', '--x'));
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `Placement: ${position_try_fallbacks}`);
+}
+
+test_position_area_placement('--top', 'top');
+test_position_area_placement('--left', 'left');
+
+// No space to to the right/bottom:
+test_position_area_placement('--right, --top', 'top');
+test_position_area_placement('--bottom, --top', 'top');
+test_position_area_placement('--bottom, --right, --top', 'top');
+test_position_area_placement('--bottom, --right, --left, --top', 'left');
+test_position_area_placement('--bottom, --left, --top, --right', 'left');
+
+// Flipping:
+test_position_area_placement('--right flip-inline', 'left');
+test_position_area_placement('--bottom flip-block', 'top');
+test_position_area_placement('--left flip-start', 'top');
+test_position_area_placement('--right flip-x', 'left');
+test_position_area_placement('--bottom flip-y', 'top');
+
+// left + flip-inline => right (no space).
+test_position_area_placement('--left flip-inline, --top', 'top');
+test_position_area_placement('--left flip-x, --top', 'top');
+// top + flip-block => bottom (no space).
+test_position_area_placement('--top flip-block, --left', 'left');
+test_position_area_placement('--top flip-y, --left', 'left');
+// left + flip-start flip-block => bottom (no space).
+test_position_area_placement('--left flip-start flip-block, --left', 'left');
+test_position_area_placement('--left flip-start flip-y, --left', 'left');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-wm-dir.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-wm-dir.html
new file mode 100644
index 00000000000..e647d727506
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-area-wm-dir.html
@@ -0,0 +1,176 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-area with writing-mode and direction</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<!-- The grid:
+
+ 100 150 150
+ +--------+--------+--------+
+ | | | |
+ 150 | | | |
+ | | | |
+ +--------+--------+--------+
+ | | | |
+ 75 | | | |
+ | | | |
+ +--------+--------+--------+
+ | | | |
+ 175 | | | |
+ | | | |
+ +--------+--------+--------+
+
+ -->
+<style>
+ #container {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ }
+ #anchored {
+ position: absolute;
+ align-self: stretch;
+ justify-self: stretch;
+ position-anchor: --anchor;
+ }
+ #anchor {
+ margin-top: 150px;
+ margin-bottom: 175px;
+ margin-left: 100px;
+ margin-right: 150px;
+ width: 150px;
+ height: 75px;
+ anchor-name: --anchor;
+ }
+</style>
+<div id="container">
+ <div id="anchored"></div>
+ <div id="anchor"></div>
+</div>
+<script>
+ function test_position_area(writing_direction, position_area, expected_offsets) {
+ anchored.style.positionArea = position_area;
+ test(() => {
+ assert_equals(anchored.offsetLeft, expected_offsets.left, "Checking offsetLeft");
+ assert_equals(anchored.offsetTop, expected_offsets.top, "Checking offsetTop");
+ assert_equals(anchored.offsetWidth, expected_offsets.width, "Checking offsetWidth");
+ assert_equals(anchored.offsetHeight, expected_offsets.height, "Checking offsetHeight");
+ }, "Offsets for: " + position_area + " with writing-mode / direction: " + writing_direction);
+ }
+
+ const top_left = {left:0, top:0, width:100, height:150};
+ const top_right = {left:250, top:0, width:150, height:150};
+ const bottom_left = {left:0, top:225, width:100, height:175};
+ const bottom_right = {left:250, top:225, width:150, height:175};
+
+ anchored.style.writingMode = "horizontal-tb";
+ anchored.style.direction = "ltr";
+
+ // Writing-mode and direction on container
+ let writing_direction = "containing-block: horizontal-tb / rtl";
+ container.style.writingMode = "horizontal-tb";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+ test_position_area(writing_direction, "inline-start block-end", bottom_right);
+ test_position_area(writing_direction, "self-inline-start self-block-end", bottom_left);
+
+ // containing-block: vertical-lr / ltr
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-lr / ltr";
+ container.style.writingMode = "vertical-lr";
+ container.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+ test_position_area(writing_direction, "inline-start block-end", top_right);
+ test_position_area(writing_direction, "self-inline-start self-block-end", bottom_left);
+
+ // containing-block: vertical-lr / rtl
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-lr / rtl";
+ container.style.writingMode = "vertical-lr";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", bottom_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", bottom_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-rl / ltr
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-rl / ltr";
+ container.style.writingMode = "vertical-rl";
+ container.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: vertical-rl / rtl
+ // self: horizontal-tb / ltr
+ writing_direction = "containing-block: vertical-rl / rtl";
+ container.style.writingMode = "vertical-rl";
+ container.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", bottom_right);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", bottom_right);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // Writing-mode and direction on self
+ container.style.writingMode = "horizontal-tb";
+ container.style.direction = "ltr";
+
+ // containing-block: horizontal-tb / ltr
+ // self: horizontal-tb / rtl
+ writing_direction = "self: horizontal-tb / rtl";
+ anchored.style.writingMode = "horizontal-tb";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_right);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-lr / ltr
+ writing_direction = "self: vertical-lr / ltr";
+ anchored.style.writingMode = "vertical-lr";
+ anchored.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-lr / rtl
+ writing_direction = "self: vertical-lr / rtl";
+ anchored.style.writingMode = "vertical-lr";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", bottom_left);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", bottom_left);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-rl / ltr
+ writing_direction = "self: vertical-rl / ltr";
+ anchored.style.writingMode = "vertical-rl";
+ anchored.style.direction = "ltr";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", top_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", top_right);
+
+ // containing-block: horizontal-tb / ltr
+ // self: vertical-rl / rtl
+ writing_direction = "self: vertical-rl / rtl";
+ anchored.style.writingMode = "vertical-rl";
+ anchored.style.direction = "rtl";
+ test_position_area(writing_direction, "start start", top_left);
+ test_position_area(writing_direction, "self-start self-start", bottom_right);
+ test_position_area(writing_direction, "x-start y-start", top_left);
+ test_position_area(writing_direction, "self-x-start self-y-start", bottom_right);
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-basic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-basic.html
new file mode 100644
index 00000000000..f1cfc25a9e3
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-basic.html
@@ -0,0 +1,205 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: Basic position-try-order behavior</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-try-order-property">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 200px;
+ width: 150px;
+ height: 150px;
+ background-color: coral;
+ anchor-name: --a;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ position-anchor: --a;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+
+/*
+
+The IMCB for --right is the whole area to the right of the anchor, and similarly
+for --left, etc.
+
+ ┌──────────────┐
+ │ xxxx│
+ │ xxxx│
+ │ ┌────┐xxxx│
+ │ │ │xxxx│
+ │ └────┘xxxx│
+ │ xxxx│
+ │ xxxx│
+ └──────────────┘
+
+**/
+
+ @position-try --right {
+ inset: unset;
+ left: anchor(right);
+ }
+ @position-try --left {
+ inset: unset;
+ right: anchor(left);
+ }
+ @position-try --top {
+ inset: unset;
+ bottom: anchor(top);
+ }
+ @position-try --bottom {
+ inset: unset;
+ top: anchor(bottom);
+ }
+
+/*
+
+The IMCB for --right-sweep is the area that would be "swept" by the anchor if it
+moved right, and similarly for --left-sweep, etc.
+
+ ┌──────────────┐
+ │ │
+ │ │
+ │ ┌────┐xxxx│
+ │ │ │xxxx│
+ │ └────┘xxxx│
+ │ │
+ │ │
+ └──────────────┘
+
+*/
+
+ @position-try --right-sweep {
+ inset: unset;
+ top: anchor(top);
+ bottom: anchor(bottom);
+ left: anchor(right);
+ align-self: center;
+ }
+
+ @position-try --left-sweep {
+ inset: unset;
+ top: anchor(top);
+ bottom: anchor(bottom);
+ right: anchor(left);
+ align-self: center;
+ }
+
+ @position-try --bottom-sweep {
+ left: anchor(left);
+ right: anchor(right);
+ top: anchor(bottom);
+ justify-self: center;
+ }
+
+ @position-try --top-sweep {
+ left: anchor(left);
+ right: anchor(right);
+ bottom: anchor(top);
+ justify-self: center;
+ }
+
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Test that an element with the specified `position_try` gets the same
+// position as a reference element with `position_try_expected`.
+function test_order(position_try, position_try_expected) {
+ test((t) => {
+ style.textContent = `
+ #target {
+ position-try: ${position_try};
+ }
+ #ref {
+ position-try: ${position_try_expected};
+ }
+ `;
+ assert_true(CSS.supports('position-try', 'normal --x'));
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${position_try} | ${position_try_expected}`);
+}
+
+// Note: --right, --left, --top, and --bottom all fit, but have different
+// inset-modifed containing blocks.
+test_order('--right', '--right');
+test_order('--left', '--left');
+test_order('--top', '--top');
+test_order('--bottom', '--bottom');
+
+// position-try-order:normal just picks the first fallback.
+test_order('--right, --left, --bottom, --top', '--right');
+test_order('normal --right, --left, --bottom, --top', '--right');
+test_order('normal --top, --left, --bottom, --right', '--top');
+
+// --right and --left have the same IMCB block-size.
+test_order('most-block-size --right, --left', '--right');
+test_order('most-height --right, --left', '--right');
+// --left has more inline-size than --right.
+test_order('most-inline-size --right, --left', '--left');
+test_order('most-width --right, --left', '--left');
+
+// --bottom and --top have the same IMCB inline-size.
+test_order('most-inline-size --bottom, --top', '--bottom');
+test_order('most-width --bottom, --top', '--bottom');
+// --top has more block-size than --bottom.
+test_order('most-block-size --bottom, --top', '--top');
+test_order('most-height --bottom, --top', '--top');
+
+// --bottom/--top has more IMBC inline-size than --right/--left.
+test_order('most-inline-size --right, --left, --bottom, --top', '--bottom');
+test_order('most-inline-size --right, --left, --top, --bottom', '--top');
+
+// --right/--left has more IMBC block-size than --bottom/--top.
+test_order('most-block-size --bottom, --top, --right, --left', '--right');
+test_order('most-block-size --bottom, --top, --left, --right', '--left');
+
+// --left-sweep and --bottom-sweep has the same IMBC inline-size ...
+test_order('most-inline-size --left-sweep, --bottom-sweep', '--left-sweep');
+test_order('most-inline-size --bottom-sweep, --left-sweep', '--bottom-sweep');
+// ... but not the same block-size.
+test_order('most-block-size --left-sweep, --bottom-sweep', '--left-sweep');
+test_order('most-block-size --bottom-sweep, --left-sweep', '--left-sweep');
+
+test_order('most-inline-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep', '--left-sweep');
+test_order('most-block-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep', '--top-sweep');
+
+// NOTE: the css-anchor-position-1 spec requires that only a minimum of five
+// fallback positions be respected. So this test, while intended to test across
+// all 8 fallbacks, intentionally leaves off 3 of them.
+test_order(`most-inline-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --bottom
+ `, '--bottom');
+
+// NOTE: the css-anchor-position-1 spec requires that only a minimum of five
+// fallback positions be respected. So this test, while intended to test across
+// all 8 fallbacks, intentionally leaves off 3 of them.
+test_order(`most-block-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --right
+ `, '--right');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-position-area.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-position-area.html
new file mode 100644
index 00000000000..defe7e955ea
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-order-position-area.html
@@ -0,0 +1,204 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: position-try-order behavior with position-area</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-try-order-property">
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#position-area">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<!--
+ Note: This test is the position-area version of position-try-order-basic.html.
+-->
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 200px;
+ width: 150px;
+ height: 150px;
+ background-color: coral;
+ anchor-name: --a;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ position-anchor: --a;
+ /* Note: align/justify is for cosmetic/debugging reasons only,
+ it should not have any effect on the result. */
+ align-self: start;
+ justify-self: start;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+
+/*
+
+The IMCB for --right is the whole area to the right of the anchor, and similarly
+for --left, etc.
+
+ ┌──────────────┐
+ │ xxxx│
+ │ xxxx│
+ │ ┌────┐xxxx│
+ │ │ │xxxx│
+ │ └────┘xxxx│
+ │ xxxx│
+ │ xxxx│
+ └──────────────┘
+
+**/
+
+ @position-try --right {
+ inset: unset;
+ position-area: right;
+ }
+ @position-try --left {
+ inset: unset;
+ position-area: left;
+ }
+ @position-try --top {
+ inset: unset;
+ position-area: top;
+ }
+ @position-try --bottom {
+ inset: unset;
+ position-area: bottom;
+ }
+
+/*
+
+The IMCB for --right-sweep is the area that would be "swept" by the anchor if it
+moved right, and similarly for --left-sweep, etc.
+
+ ┌──────────────┐
+ │ │
+ │ │
+ │ ┌────┐xxxx│
+ │ │ │xxxx│
+ │ └────┘xxxx│
+ │ │
+ │ │
+ └──────────────┘
+
+*/
+
+ @position-try --right-sweep {
+ inset: unset;
+ position-area: right center;
+ }
+
+ @position-try --left-sweep {
+ inset: unset;
+ position-area: left center;
+ }
+
+ @position-try --bottom-sweep {
+ inset: unset;
+ position-area: bottom center;
+ }
+
+ @position-try --top-sweep {
+ inset: unset;
+ position-area: top center;
+ }
+
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Test that an element with the specified `position_try` gets the same
+// position as a reference element with `position_try_expected`.
+function test_position_area_order(position_try, position_try_expected) {
+ test((t) => {
+ style.textContent = `
+ #target {
+ position-try: ${position_try};
+ }
+ #ref {
+ position-try: ${position_try_expected};
+ }
+ `;
+ assert_true(CSS.supports('position-try', 'normal --x'));
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${position_try} | ${position_try_expected}`);
+}
+
+// Note: --right, --left, --top, and --bottom all fit, but have different
+// inset-modifed containing blocks.
+
+test_position_area_order('--right', '--right');
+test_position_area_order('--left', '--left');
+test_position_area_order('--top', '--top');
+test_position_area_order('--bottom', '--bottom');
+
+// position-try-order:normal just picks the first fallback.
+test_position_area_order('--right, --left, --bottom, --top', '--right');
+test_position_area_order('normal --right, --left, --bottom, --top', '--right');
+test_position_area_order('normal --top, --left, --bottom, --right', '--top');
+
+// --right and --left have the same IMCB block-size.
+test_position_area_order('most-block-size --right, --left', '--right');
+test_position_area_order('most-height --right, --left', '--right');
+// --left has more inline-size than --right.
+test_position_area_order('most-inline-size --right, --left', '--left');
+test_position_area_order('most-width --right, --left', '--left');
+
+// --bottom and --top have the same IMCB inline-size.
+test_position_area_order('most-inline-size --bottom, --top', '--bottom');
+test_position_area_order('most-width --bottom, --top', '--bottom');
+// --top has more block-size than --bottom.
+test_position_area_order('most-block-size --bottom, --top', '--top');
+test_position_area_order('most-height --bottom, --top', '--top');
+
+// --bottom/--top has more IMBC inline-size than --right/--left.
+test_position_area_order('most-inline-size --right, --left, --bottom, --top', '--bottom');
+test_position_area_order('most-inline-size --right, --left, --top, --bottom', '--top');
+
+// --right/--left has more IMBC block-size than --bottom/--top.
+test_position_area_order('most-block-size --bottom, --top, --right, --left', '--right');
+test_position_area_order('most-block-size --bottom, --top, --left, --right', '--left');
+
+// --left-sweep and --bottom-sweep has the same IMBC inline-size ...
+test_position_area_order('most-inline-size --left-sweep, --bottom-sweep', '--left-sweep');
+test_position_area_order('most-inline-size --bottom-sweep, --left-sweep', '--bottom-sweep');
+// ... but not the same block-size.
+test_position_area_order('most-block-size --left-sweep, --bottom-sweep', '--left-sweep');
+test_position_area_order('most-block-size --bottom-sweep, --left-sweep', '--left-sweep');
+
+test_position_area_order('most-inline-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep', '--left-sweep');
+test_position_area_order('most-block-size --right-sweep, --left-sweep, --bottom-sweep, --top-sweep', '--top-sweep');
+
+// NOTE: the css-anchor-position-1 spec requires that only a minimum of five
+// fallback positions be respected. So this test, while intended to test across
+// all 8 fallbacks, intentionally leaves off 3 of them.
+test_position_area_order(`most-inline-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --bottom
+ `, '--bottom');
+
+// NOTE: the css-anchor-position-1 spec requires that only a minimum of five
+// fallback positions be respected. So this test, while intended to test across
+// all 8 fallbacks, intentionally leaves off 3 of them.
+test_position_area_order(`most-block-size
+ --right-sweep, --left-sweep, --bottom-sweep, --top-sweep,
+ /* --right, --left, --bottom, --top */
+ --right
+ `, '--right');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-tree-scoped.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-tree-scoped.html
new file mode 100644
index 00000000000..6c1198951ff
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/position-try-tree-scoped.html
@@ -0,0 +1,158 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning Test: @position-try - tree scoped names</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-1/#fallback-rule">
+<link rel="help" href="https://drafts.csswg.org/css-shadow/#shadow-names">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+
+<style>
+ body { margin: 0; }
+
+ @position-try --doc {
+ left: 100px;
+ }
+
+ .abs {
+ width: 100px;
+ position: absolute;
+ left: 999999px; /* force fallback */
+ }
+
+ #doc_pf_doc { position-try-fallbacks: --doc; }
+ #doc_pf_outer { position-try-fallbacks: --outer; }
+ #doc_pf_inner { position-try-fallbacks: --inner; }
+</style>
+
+<div id="doc_pf_doc" class="abs"></div>
+<div id="doc_pf_outer" class="abs"></div>
+<div id="doc_pf_inner" class="abs"></div>
+<div id="outer_host">
+ <template shadowrootmode="open">
+ <style>
+ @position-try --outer {
+ left: 200px;
+ }
+
+ .abs {
+ position: absolute;
+ left: 999999px; /* force fallback */
+ }
+
+ #outer_pf_doc { position-try-fallbacks: --doc; }
+ #outer_pf_outer { position-try-fallbacks: --outer; }
+ #outer_pf_inner { position-try-fallbacks: --inner; }
+ </style>
+ <div id="outer_pf_doc" class="abs"></div>
+ <div id="outer_pf_outer" class="abs"></div>
+ <div id="outer_pf_inner" class="abs"></div>
+ <div id="inner_host">
+ <template shadowrootmode="open">
+ <style>
+ @position-try --inner {
+ left: 300px;
+ }
+
+ .abs {
+ position: absolute;
+ left: 999999px; /* force fallback */
+ }
+
+ #inner_pf_doc { position-try-fallbacks: --doc; }
+ #inner_pf_outer { position-try-fallbacks: --outer; }
+ #inner_pf_inner { position-try-fallbacks: --inner; }
+ </style>
+ <div id="inner_pf_doc" class="abs"></div>
+ <div id="inner_pf_outer" class="abs"></div>
+ <div id="inner_pf_inner" class="abs"></div>
+ </template>
+ </div>
+ </template>
+</div>
+
+
+<style>
+ #host_slotted_part {
+ width: 100px;
+ }
+ @position-try --host-slot-part {
+ left: 1px;
+ }
+ #host_slotted_part::part(part) {
+ position-try-fallbacks: --host-slot-part;
+ }
+</style>
+<div id="host_slotted_part">
+ <template shadowrootmode="open">
+ <style>
+ @position-try --host-slot-part {
+ left: 2px;
+ }
+ ::slotted(#slotted), :host {
+ position: absolute;
+ left: 999999px; /* force fallback */
+ position-try-fallbacks: --host-slot-part;
+ }
+ #part {
+ position: absolute;
+ left: 999999px; /* force fallback */
+ }
+ </style>
+ <div id="part" part="part"></div>
+ <slot></slot>
+ </template>
+ <div id="slotted"></div>
+</div>
+
+
+<script>
+ test(() => {
+ assert_equals(doc_pf_doc.offsetLeft, 100);
+ }, "Document position-try-fallbacks matches @position-try in document scope");
+
+ test(() => {
+ assert_equals(doc_pf_outer.offsetLeft, 999999);
+ }, "Document position-try-fallbacks does not match @position-try in #outer_host scope");
+
+ test(() => {
+ assert_equals(doc_pf_inner.offsetLeft, 999999);
+ }, "Document position-try-fallbacks does not match @position-try in #inner_host scope");
+
+ const outer_root = outer_host.shadowRoot;
+ const inner_root = outer_root.querySelector("#inner_host").shadowRoot;
+
+ test(() => {
+ assert_equals(outer_root.querySelector("#outer_pf_doc").offsetLeft, 100);
+ }, "Outer position-try-fallbacks matches @position-try in document scope");
+
+ test(() => {
+ assert_equals(outer_root.querySelector("#outer_pf_outer").offsetLeft, 200);
+ }, "Outer position-try-fallbacks matches @position-try in #outer_host scope");
+
+ test(() => {
+ assert_equals(outer_root.querySelector("#outer_pf_inner").offsetLeft, 999999);
+ }, "Outer position-try-fallbacks does not match @position-try in #inner_host scope");
+
+ test(() => {
+ assert_equals(inner_root.querySelector("#inner_pf_doc").offsetLeft, 100)
+ }, "Inner position-try-fallbacks matches @position-try in document scope");
+
+ test(() => {
+ assert_equals(inner_root.querySelector("#inner_pf_outer").offsetLeft, 200);
+ }, "Inner position-try-fallbacks matches @position-try in #outer_host scope");
+
+ test(() => {
+ assert_equals(inner_root.querySelector("#inner_pf_inner").offsetLeft, 300);
+ }, "Inner position-try-fallbacks matches @position-try in #inner_host scope");
+
+ test(() => {
+ assert_equals(host_slotted_part.offsetLeft, 2);
+ }, "@position-try from same scope as :host rule");
+
+ test(() => {
+ assert_equals(slotted.offsetLeft, 2);
+ }, "@position-try from same scope as ::slotted() rule");
+
+ test(() => {
+ assert_equals(host_slotted_part.shadowRoot.querySelector("#part").offsetLeft, 1);
+ }, "@position-try from same scope as ::part() rule");
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-alignment.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-alignment.html
new file mode 100644
index 00000000000..13a0f529235
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-alignment.html
@@ -0,0 +1,254 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, justify/align-self</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 150px;
+ width: 100px;
+ height: 50px;
+ background-color: coral;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Verify that a given try-tactic + untransformed declaration equals
+// a reference element using `transformed` directly.
+function test_justify_flip(try_tactic, untransformed, transformed, direction, writing_mode) {
+ if (direction==undefined) {
+ direction = 'ltr';
+ }
+ if (writing_mode==undefined) {
+ writing_mode = 'horizontal-tb';
+ }
+ test((t) => {
+ t.add_cleanup(() => {
+ document.documentElement.style = '';
+ style.textContent = '';
+ });
+ document.documentElement.style.direction = direction;
+ document.documentElement.style.writingMode = writing_mode;
+ style.textContent = `
+ @position-try --pf {
+ inset: 0;
+ ${untransformed}
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ @position-try --ref {
+ inset: 0;
+ ${transformed}
+ }
+ #ref {
+ position-try-fallbacks: --ref;
+ }
+ `;
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${try_tactic}, ${untransformed}, ${transformed}, ${direction}, ${writing_mode}`);
+}
+
+test_justify_flip(
+ '',
+ 'justify-self:start;align-self:start',
+ 'justify-self:start;align-self:start');
+
+test_justify_flip(
+ 'flip-inline',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:start');
+
+test_justify_flip(
+ 'flip-block',
+ 'justify-self:start;align-self:start',
+ 'justify-self:start;align-self:end');
+
+test_justify_flip(
+ 'flip-block flip-inline',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:end');
+
+test_justify_flip(
+ 'flip-start',
+ 'justify-self:start;align-self:end',
+ 'justify-self:end;align-self:start');
+
+test_justify_flip(
+ 'flip-block flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:start');
+
+test_justify_flip(
+ 'flip-inline flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:start;align-self:end');
+
+test_justify_flip(
+ 'flip-block flip-inline flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:end');
+
+test_justify_flip(
+ 'flip-x',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:start');
+
+test_justify_flip(
+ 'flip-y',
+ 'justify-self:start;align-self:start',
+ 'justify-self:start;align-self:end');
+
+test_justify_flip(
+ 'flip-y flip-x',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:end');
+
+test_justify_flip(
+ 'flip-y flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:start');
+
+test_justify_flip(
+ 'flip-x flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:start;align-self:end');
+
+test_justify_flip(
+ 'flip-y flip-x flip-start',
+ 'justify-self:start;align-self:start',
+ 'justify-self:end;align-self:end');
+
+// left/right are special cases, because they're supported by
+// justify-self, but not align-self:
+
+test_justify_flip(
+ 'flip-inline',
+ 'justify-self:left;align-self:start',
+ 'justify-self:right;align-self:start');
+
+test_justify_flip(
+ 'flip-x',
+ 'justify-self:left;align-self:start',
+ 'justify-self:right;align-self:start');
+
+test_justify_flip(
+ 'flip-start',
+ 'justify-self:left;align-self:end',
+ 'justify-self:end;align-self:self-start');
+
+test_justify_flip(
+ 'flip-start',
+ 'justify-self:right;align-self:start',
+ 'justify-self:start;align-self:self-end');
+
+
+// That that all relevant computed values can be transformed:
+
+function test_computed_value(try_tactic, property, value, expected) {
+ test((t) => {
+ t.add_cleanup(() => {
+ style.textContent = '';
+ });
+ style.textContent = `
+ @position-try --pf {
+ inset: 0;
+ ${property}:${value};
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ @position-try --ref {
+ inset: 0;
+ ${property}:${expected};
+ }
+ #ref {
+ position-try-fallbacks: --ref;
+ }
+ `;
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${try_tactic}, ${property}:${value}`);
+}
+
+// No flip:
+for (let property of ['justify-self', 'align-self']) {
+ test_computed_value('', property, 'start', 'start');
+ test_computed_value('', property, 'end', 'end');
+ test_computed_value('', property, 'self-start', 'self-start');
+ test_computed_value('', property, 'self-end', 'self-end');
+ test_computed_value('', property, 'flex-start', 'flex-start');
+ test_computed_value('', property, 'flex-end', 'flex-end');
+}
+
+test_computed_value('flip-inline', 'justify-self', 'start', 'end');
+test_computed_value('flip-inline', 'justify-self', 'end', 'start');
+test_computed_value('flip-inline', 'justify-self', 'self-start', 'self-end');
+test_computed_value('flip-inline', 'justify-self', 'self-end', 'self-start');
+test_computed_value('flip-inline', 'justify-self', 'flex-start', 'flex-end');
+test_computed_value('flip-inline', 'justify-self', 'flex-end', 'flex-start');
+test_computed_value('flip-inline', 'justify-self', 'left', 'right');
+test_computed_value('flip-inline', 'justify-self', 'right', 'left');
+
+test_computed_value('flip-x', 'justify-self', 'start', 'end');
+test_computed_value('flip-x', 'justify-self', 'end', 'start');
+test_computed_value('flip-x', 'justify-self', 'self-start', 'self-end');
+test_computed_value('flip-x', 'justify-self', 'self-end', 'self-start');
+test_computed_value('flip-x', 'justify-self', 'flex-start', 'flex-end');
+test_computed_value('flip-x', 'justify-self', 'flex-end', 'flex-start');
+test_computed_value('flip-x', 'justify-self', 'left', 'right');
+test_computed_value('flip-x', 'justify-self', 'right', 'left');
+
+test_computed_value('flip-block', 'align-self', 'start', 'end');
+test_computed_value('flip-block', 'align-self', 'end', 'start');
+test_computed_value('flip-block', 'align-self', 'self-start', 'self-end');
+test_computed_value('flip-block', 'align-self', 'self-end', 'self-start');
+test_computed_value('flip-block', 'align-self', 'flex-start', 'flex-end');
+test_computed_value('flip-block', 'align-self', 'flex-end', 'flex-start');
+
+test_computed_value('flip-y', 'align-self', 'start', 'end');
+test_computed_value('flip-y', 'align-self', 'end', 'start');
+test_computed_value('flip-y', 'align-self', 'self-start', 'self-end');
+test_computed_value('flip-y', 'align-self', 'self-end', 'self-start');
+test_computed_value('flip-y', 'align-self', 'flex-start', 'flex-end');
+test_computed_value('flip-y', 'align-self', 'flex-end', 'flex-start');
+
+test_justify_flip(
+ 'flip-start',
+ 'justify-self:left;align-self:end',
+ 'justify-self:end;align-self:self-start',
+ 'ltr',
+ 'vertical-rl');
+
+test_justify_flip(
+ 'flip-start',
+ 'justify-self:left;align-self:start',
+ 'justify-self:start;align-self:self-end',
+ 'rtl');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-anchor.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-anchor.html
new file mode 100644
index 00000000000..7765c1bdcb5
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-anchor.html
@@ -0,0 +1,260 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, anchor()</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ :root {
+ --anchor-left:anchor(left);
+ }
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 150px;
+ width: 60px;
+ height: 70px;
+ background-color: coral;
+ anchor-name: --a;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ position-anchor: --a;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Verify that a given try-tactic + untransformed declaration equals
+// a reference element using `transformed` directly.
+function test_anchor_flip(try_tactic, untransformed, transformed) {
+ test((t) => {
+ style.textContent = `
+ @position-try --pf {
+ inset: auto;
+ ${untransformed}
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ @position-try --ref {
+ inset: auto;
+ ${transformed}
+ }
+ #ref {
+ position-try-fallbacks: --ref;
+ }
+ `;
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${try_tactic}, ${untransformed}, ${transformed}`);
+}
+
+// These are the possible transformations between
+// anchor(left/right/top/bottom):
+//
+// ┌───┬────┬────┬────┬────┐
+// │ - │ L │ R │ T │ B │
+// │ L │ - │ LR │ LT │ LB │
+// │ R │ RL │ - │ RT │ RB │
+// │ T │ TL │ TR │ - │ TB │
+// │ B │ BL │ BR │ BT │ - │
+// └───┴────┴────┴────┴────┘
+
+// No flip, no transformation.
+test_anchor_flip('', 'right:anchor(left)', 'right:anchor(left)');
+
+// flip-block does not affect left-right.
+test_anchor_flip('flip-block', 'right:anchor(left)', 'right:anchor(left)');
+// flip-inline does not affect left-right.
+test_anchor_flip('flip-inline', 'bottom:anchor(top)', 'bottom:anchor(top)');
+
+// Note that the letters represent the arguments to the anchor() functions,
+// not the properties. For example, LR: anchor(left) => anchor(right).
+
+// LR
+test_anchor_flip('flip-inline', 'right:anchor(left)', 'left:anchor(right)');
+// RL
+test_anchor_flip('flip-inline', 'left:anchor(right)', 'right:anchor(left)');
+
+// LT
+test_anchor_flip('flip-start', 'right:anchor(left)', 'bottom:anchor(top)');
+// TL
+test_anchor_flip('flip-start', 'bottom:anchor(top)', 'right:anchor(left)');
+
+// LB
+test_anchor_flip('flip-inline flip-start', 'right:anchor(left)', 'top:anchor(bottom)');
+// BL
+test_anchor_flip('flip-start flip-inline', 'top:anchor(bottom)', 'right:anchor(left)');
+
+// RT
+test_anchor_flip('flip-start flip-block', 'left:anchor(right)', 'bottom:anchor(top)');
+// TR
+test_anchor_flip('flip-block flip-start', 'bottom:anchor(top)', 'left:anchor(right)');
+
+// RB
+test_anchor_flip('flip-start', 'left:anchor(right)', 'top:anchor(bottom)');
+// BR
+test_anchor_flip('flip-start', 'top:anchor(bottom)', 'left:anchor(right)');
+
+// TB
+test_anchor_flip('flip-block', 'bottom:anchor(top)', 'top:anchor(bottom)');
+// BT
+test_anchor_flip('flip-block', 'top:anchor(bottom)', 'bottom:anchor(top)');
+
+// Logical versions.
+//
+// These tests duplicate the above, but replace the input logical anchor()
+// functions.
+
+// LR
+test_anchor_flip('flip-inline', 'right:anchor(start)', 'left:anchor(right)');
+// RL
+test_anchor_flip('flip-inline', 'left:anchor(end)', 'right:anchor(left)');
+
+// LT
+test_anchor_flip('flip-start', 'right:anchor(start)', 'bottom:anchor(top)');
+// TL
+test_anchor_flip('flip-start', 'bottom:anchor(start)', 'right:anchor(left)');
+
+// LB
+test_anchor_flip('flip-inline flip-start', 'right:anchor(start)', 'top:anchor(bottom)');
+// BL
+test_anchor_flip('flip-start flip-inline', 'top:anchor(end)', 'right:anchor(left)');
+
+// RT
+test_anchor_flip('flip-start flip-block', 'left:anchor(end)', 'bottom:anchor(top)');
+// TR
+test_anchor_flip('flip-block flip-start', 'bottom:anchor(start)', 'left:anchor(right)');
+
+// RB
+test_anchor_flip('flip-start', 'left:anchor(end)', 'top:anchor(bottom)');
+// BR
+test_anchor_flip('flip-start', 'top:anchor(end)', 'left:anchor(right)');
+
+// TB
+test_anchor_flip('flip-block', 'bottom:anchor(start)', 'top:anchor(bottom)');
+// BT
+test_anchor_flip('flip-block', 'top:anchor(end)', 'bottom:anchor(top)');
+
+// The same again, except with self-start/self-end.
+
+// LR
+test_anchor_flip('flip-inline', 'right:anchor(self-start)', 'left:anchor(right)');
+// RL
+test_anchor_flip('flip-inline', 'left:anchor(self-end)', 'right:anchor(left)');
+
+// LT
+test_anchor_flip('flip-start', 'right:anchor(self-start)', 'bottom:anchor(top)');
+// TL
+test_anchor_flip('flip-start', 'bottom:anchor(self-start)', 'right:anchor(left)');
+
+// LB
+test_anchor_flip('flip-inline flip-start', 'right:anchor(self-start)', 'top:anchor(bottom)');
+// BL
+test_anchor_flip('flip-start flip-inline', 'top:anchor(self-end)', 'right:anchor(left)');
+
+// RT
+test_anchor_flip('flip-start flip-block', 'left:anchor(self-end)', 'bottom:anchor(top)');
+// TR
+test_anchor_flip('flip-block flip-start', 'bottom:anchor(self-start)', 'left:anchor(right)');
+
+// RB
+test_anchor_flip('flip-start', 'left:anchor(self-end)', 'top:anchor(bottom)');
+// BR
+test_anchor_flip('flip-start', 'top:anchor(self-end)', 'left:anchor(right)');
+
+// TB
+test_anchor_flip('flip-block', 'bottom:anchor(self-start)', 'top:anchor(bottom)');
+// BT
+test_anchor_flip('flip-block', 'top:anchor(self-end)', 'bottom:anchor(top)');
+
+
+function test_anchor_size_flip(try_tactic, flip_expected) {
+ test((t) => {
+ style.textContent = `
+ @position-try --pf {
+ inset: auto;
+ width: calc(anchor-size(width) + 20px);
+ height: anchor-size(height);
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ `;
+
+ let expected_width = anchor.offsetWidth + (flip_expected ? 0 : 20);
+ let expected_height = anchor.offsetHeight + (flip_expected ? 20 : 0);
+
+ assert_equals(target.offsetWidth, expected_width, 'offsetWidth');
+ assert_equals(target.offsetHeight, expected_height, 'offsetHeight');
+ }, try_tactic);
+}
+
+// No flip, no transformation.
+test_anchor_size_flip('', /* expect_flip */ false);
+
+// Note: only the cross-axis flips cause width/height to change.
+// LR, TB (and their reverse versions) are in-axis, other combinations are
+// cross-axis.
+
+// In-axis:
+
+// LR, RL
+test_anchor_size_flip('flip-inline', /* expect_flip */ false);
+// TB, BT
+test_anchor_size_flip('flip-block', /* expect_flip */ false);
+
+// Cross-axis:
+
+// LT, TL, RB, BR
+test_anchor_size_flip('flip-start', /* expect_flip */ true);
+
+// LB, BL
+test_anchor_size_flip('flip-inline flip-start', /* expect_flip */ true);
+
+// RT, TR
+test_anchor_size_flip('flip-start flip-block', /* expect_flip */ true);
+
+
+test((t) => {
+ style.textContent = `
+ @position-try --pf {
+ inset: auto;
+ right: var(--anchor-left);
+ }
+ #target {
+ position-try-fallbacks: --pf;
+ }
+ `;
+ // Initially positioned to the left of the anchor.
+ assert_equals(target.offsetLeft, 110, 'offsetLeft');
+
+ // Now positioned to the right of the anchor.
+ style.textContent += `
+ #target {
+ position-try-fallbacks: --pf flip-inline;
+ }
+ `;
+ assert_equals(target.offsetLeft, 210, 'offsetLeft');
+}, 'Can transform a value post-var-substitution');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-base.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-base.html
new file mode 100644
index 00000000000..c55951a200b
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-base.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, base values</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 200px;
+ border: 1px solid black;
+ }
+ #target {
+ position: absolute;
+ /* Does not fit initially */
+ width: 150px;
+ height: 300px;
+ border: 3px solid skyblue;
+ }
+</style>
+<div id=cb>
+ <div id=target></div>
+</div>
+<script>
+ test(() => {
+ let cs = getComputedStyle(target);
+ assert_equals(cs.width, '150px');
+ assert_equals(cs.height, '300px');
+
+ target.style.positionTryFallbacks = 'flip-start';
+
+ assert_equals(cs.width, '300px');
+ assert_equals(cs.height, '150px');
+ }, 'flip-start affects base values');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.html
new file mode 100644
index 00000000000..fc63074751c
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic-anchor.html
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: simple try-tactic with anchor</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 200px;
+ height: 200px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 100px;
+ top: 100px;
+ width: 50px;
+ height: 50px;
+ background-color:red;
+ anchor-name: --anchor;
+ }
+ #target1 {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ /* Does not fit ... */
+ left: anchor(--anchor left);
+ top: anchor(--anchor bottom);
+ /* flip-block fits */
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
+ background-color: coral;
+ }
+ #target2 {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ /* Does not fit ... */
+ left: anchor(--anchor right);
+ top: anchor(--anchor top);
+ /* flip-inline fits */
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
+ background-color: blue;
+ }
+ #target3 {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ /* Does not fit ... */
+ left: anchor(--anchor right);
+ top: anchor(--anchor bottom);
+ /* flip-block flip-inline fits */
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
+ background-color: green;
+ }
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target1></div>
+ <div id=target2></div>
+ <div id=target3></div>
+</div>
+<script>
+ test(() => {
+ let cs = getComputedStyle(target1);
+ assert_equals(cs.left, '100px');
+ assert_equals(cs.top, '0px');
+ }, 'Uses flip-block');
+ test(() => {
+ let cs = getComputedStyle(target2);
+ assert_equals(cs.left, '0px');
+ assert_equals(cs.top, '100px');
+ }, 'Uses flip-inline');
+ test(() => {
+ let cs = getComputedStyle(target3);
+ assert_equals(cs.left, '0px');
+ assert_equals(cs.top, '0px');
+ }, 'Uses flip-block flip-inline');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic.html
new file mode 100644
index 00000000000..253d7d08b46
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-basic.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ @position-try --pf {
+ left:10px;
+ top:20px;
+ }
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #target {
+ position: absolute;
+ left: 99999px; /* force fallback */
+ width: 30px;
+ height: 40px;
+ background-color: skyblue;
+ }
+</style>
+<div id=cb>
+ <div id=target></div>
+</div>
+<script>
+ function test_try_tactic(try_tactic, expected_offsets) {
+ target.style.positionTryFallbacks = `--pf ${try_tactic}`;
+ test(() => {
+ assert_equals(target.offsetLeft, expected_offsets.left, 'offsetLeft');
+ assert_equals(target.offsetTop, expected_offsets.top, 'offsetTop');
+ assert_equals(target.offsetWidth, expected_offsets.width, 'offsetWidth');
+ assert_equals(target.offsetHeight, expected_offsets.height, 'offsetHeight');
+ }, try_tactic);
+ }
+
+ test_try_tactic('', {left:10, top:20, width:30, height:40});
+
+ // bottom:20px
+ test_try_tactic('flip-block', {left:10, top:340, width:30, height:40});
+ test_try_tactic('flip-y', {left:10, top:340, width:30, height:40});
+
+ // right:10px
+ test_try_tactic('flip-inline', {left:360, top:20, width:30, height:40});
+ test_try_tactic('flip-x', {left:360, top:20, width:30, height:40});
+
+ // right:10px; bottom:20px
+ test_try_tactic('flip-block flip-inline', {left:360, top:340, width:30, height:40});
+ test_try_tactic('flip-inline flip-block', {left:360, top:340, width:30, height:40});
+ test_try_tactic('flip-y flip-x', {left:360, top:340, width:30, height:40});
+ test_try_tactic('flip-x flip-y', {left:360, top:340, width:30, height:40});
+
+ // left:20px; top:10px; width:40px; height:30px
+ test_try_tactic('flip-start', {left:20, top:10, width:40, height:30});
+ test_try_tactic('flip-block flip-start flip-inline', {left:20, top:10, width:40, height:30});
+ test_try_tactic('flip-inline flip-start flip-block', {left:20, top:10, width:40, height:30});
+ test_try_tactic('flip-y flip-start flip-x', {left:20, top:10, width:40, height:30});
+ test_try_tactic('flip-x flip-start flip-y', {left:20, top:10, width:40, height:30});
+
+ // left:20px; bottom:10px; width:40px; height:30px
+ test_try_tactic('flip-start flip-block', {left:20, top:360, width:40, height:30});
+ test_try_tactic('flip-inline flip-start', {left:20, top:360, width:40, height:30});
+ test_try_tactic('flip-start flip-y', {left:20, top:360, width:40, height:30});
+ test_try_tactic('flip-x flip-start', {left:20, top:360, width:40, height:30});
+
+ // right:20px; top:10px; width:40px; height:30px
+ test_try_tactic('flip-start flip-inline', {left:340, top:10, width:40, height:30});
+ test_try_tactic('flip-block flip-start', {left:340, top:10, width:40, height:30});
+ test_try_tactic('flip-start flip-x', {left:340, top:10, width:40, height:30});
+ test_try_tactic('flip-y flip-start', {left:340, top:10, width:40, height:30});
+
+ // right:20px; bottom:10px; width:40px; height:30px
+ test_try_tactic('flip-start flip-block flip-inline', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-start flip-inline flip-block', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-inline flip-block flip-start', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-block flip-inline flip-start', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-start flip-y flip-x', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-start flip-x flip-y', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-x flip-y flip-start', {left:340, top:360, width:40, height:30});
+ test_try_tactic('flip-y flip-x flip-start', {left:340, top:360, width:40, height:30});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-margin.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-margin.html
new file mode 100644
index 00000000000..839c967c7b0
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-margin.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic (margin)</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ @position-try --pf {
+ left:10px;
+ top:20px;
+ margin: 5px 15px 25px 35px;
+ }
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #target {
+ position: absolute;
+ left: 99999px; /* force fallback */
+ width: 30px;
+ height: 40px;
+ background-color: skyblue;
+ }
+</style>
+<div id=cb>
+ <div id=target></div>
+</div>
+<script>
+ function test_try_tactic(try_tactic, expected_offsets) {
+ target.style.positionTryFallbacks = `--pf ${try_tactic}`;
+ test(() => {
+ assert_equals(target.offsetLeft, expected_offsets.left, 'offsetLeft');
+ assert_equals(target.offsetTop, expected_offsets.top, 'offsetTop');
+ assert_equals(target.offsetWidth, expected_offsets.width, 'offsetWidth');
+ assert_equals(target.offsetHeight, expected_offsets.height, 'offsetHeight');
+ }, target.style.positionTryFallbacks);
+ }
+
+ let w = 30;
+ let h = 40;
+ let cbw = 400;
+ let cbh = 400;
+
+ test_try_tactic('', {left:10+35, top:20+5, width:w, height:h});
+ test_try_tactic('flip-block', {left:10+35, top:cbh-h-20-5, width:w, height:h});
+ test_try_tactic('flip-inline', {left:cbw-w-10-35, top:20+5, width:w, height:h});
+ test_try_tactic('flip-block flip-inline', {left:cbw-w-10-35, top:cbh-h-20-5, width:w, height:h});
+ test_try_tactic('flip-start', {left:20+5, top:10+35, width:h, height:w});
+ test_try_tactic('flip-block flip-start', {left:cbh-h-20-5, top:10+35, width:h, height:w});
+ test_try_tactic('flip-inline flip-start', {left:20+5, top:cbw-w-10-35, width:h, height:w});
+ test_try_tactic('flip-block flip-inline flip-start', {left:cbh-h-20-5, top:cbw-w-10-35, width:h, height:w});
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-percentage.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-percentage.html
new file mode 100644
index 00000000000..acd4f94e345
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-percentage.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, percentage</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 150px;
+ width: 100px;
+ height: 50px;
+ background-color: coral;
+ anchor-name: --a;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ position-anchor: --a;
+ }
+ #ref {
+ background-color: seagreen;
+ }
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=anchor></div>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+// Verify that a given try-tactic + untransformed declaration equals
+// a reference element using `transformed` directly.
+function test_anchor_flip(try_tactic, untransformed, transformed) {
+ test((t) => {
+ style.textContent = `
+ @position-try --pf {
+ inset: auto;
+ ${untransformed}
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ @position-try --ref {
+ inset: auto;
+ ${transformed}
+ }
+ #ref {
+ position-try-fallbacks: --ref;
+ }
+ `;
+ assert_equals(target.offsetLeft, ref.offsetLeft, 'offsetLeft');
+ assert_equals(target.offsetTop, ref.offsetTop, 'offsetTop');
+ }, `${try_tactic}, ${untransformed}, ${transformed}`);
+}
+
+test_anchor_flip('', 'left:anchor(0%)', 'left:anchor(left)');
+test_anchor_flip('', 'left:anchor(100%)', 'left:anchor(right)');
+test_anchor_flip('', 'left:anchor(50%)', 'left:anchor(center)');
+test_anchor_flip('', 'top:anchor(0%)', 'top:anchor(top)');
+test_anchor_flip('', 'top:anchor(100%)', 'top:anchor(bottom)');
+test_anchor_flip('', 'top:anchor(50%)', 'top:anchor(center)');
+
+test_anchor_flip('flip-inline', 'left:anchor(10%)', 'right:anchor(90%)');
+test_anchor_flip('flip-inline', 'left:anchor(calc(10% + 20%))', 'right:anchor(70%)');
+
+test_anchor_flip('flip-block', 'left:anchor(0%)', 'left:anchor(0%)');
+test_anchor_flip('flip-block', 'left:anchor(100%)', 'left:anchor(100%)');
+test_anchor_flip('flip-block', 'top:anchor(0%)', 'bottom:anchor(100%)');
+test_anchor_flip('flip-block', 'top:anchor(100%)', 'bottom:anchor(0%)');
+
+test_anchor_flip('flip-inline', 'left:anchor(0%)', 'right:anchor(100%)');
+test_anchor_flip('flip-inline', 'left:anchor(100%)', 'right:anchor(0%)');
+test_anchor_flip('flip-inline', 'top:anchor(0%)', 'top:anchor(0%)');
+test_anchor_flip('flip-inline', 'top:anchor(100%)', 'top:anchor(100%)');
+
+test_anchor_flip('flip-block flip-inline', 'left:anchor(0%)', 'right:anchor(100%)');
+test_anchor_flip('flip-block flip-inline', 'left:anchor(100%)', 'right:anchor(0%)');
+test_anchor_flip('flip-block flip-inline', 'top:anchor(0%)', 'bottom:anchor(100%)');
+test_anchor_flip('flip-block flip-inline', 'top:anchor(100%)', 'bottom:anchor(0%)');
+
+test_anchor_flip('flip-start', 'left:anchor(0%)', 'top:anchor(0%)');
+test_anchor_flip('flip-start', 'left:anchor(100%)', 'top:anchor(100%)');
+test_anchor_flip('flip-start', 'bottom:anchor(0%)', 'right:anchor(0%)');
+test_anchor_flip('flip-start', 'bottom:anchor(100%)', 'right:anchor(100%)');
+
+test_anchor_flip('flip-block flip-start', 'left:anchor(0%)', 'top:anchor(0%)');
+test_anchor_flip('flip-block flip-start', 'left:anchor(100%)', 'top:anchor(100%)');
+test_anchor_flip('flip-block flip-start', 'bottom:anchor(0%)', 'left:anchor(100%)');
+test_anchor_flip('flip-block flip-start', 'bottom:anchor(100%)', 'left:anchor(0%)');
+
+test_anchor_flip('flip-inline flip-start', 'left:anchor(0%)', 'bottom:anchor(100%)');
+test_anchor_flip('flip-inline flip-start', 'left:anchor(100%)', 'bottom:anchor(0%)');
+test_anchor_flip('flip-inline flip-start', 'bottom:anchor(0%)', 'right:anchor(0%)');
+test_anchor_flip('flip-inline flip-start', 'bottom:anchor(100%)', 'right:anchor(100%)');
+
+test_anchor_flip('flip-block flip-inline flip-start', 'left:anchor(0%)', 'bottom:anchor(100%)');
+test_anchor_flip('flip-block flip-inline flip-start', 'left:anchor(100%)', 'bottom:anchor(0%)');
+test_anchor_flip('flip-block flip-inline flip-start', 'bottom:anchor(0%)', 'left:anchor(100%)');
+test_anchor_flip('flip-block flip-inline flip-start', 'bottom:anchor(100%)', 'left:anchor(0%)');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-position-area.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-position-area.html
new file mode 100644
index 00000000000..85c8001a588
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-position-area.html
@@ -0,0 +1,253 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, position-area</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #anchor {
+ position: absolute;
+ left: 150px;
+ top: 150px;
+ width: 100px;
+ height: 50px;
+ background-color: coral;
+ }
+ #target, #ref {
+ position: absolute;
+ left: 450px; /* force fallback */
+ width: 40px;
+ height: 40px;
+ background-color: skyblue;
+ }
+</style>
+<style id=style>
+</style>
+<div id=cb>
+ <div id=target></div>
+ <div id=ref></div>
+</div>
+<script>
+
+function test_position_area_tactic(try_tactic, property, value, expected, direction = 'ltr', writing_mode = 'horizontal-tb') {
+ test((t) => {
+ t.add_cleanup(() => {
+ style.textContent = '';
+ document.documentElement.style = '';
+ });
+ document.documentElement.style.direction = direction;
+ document.documentElement.style.writingMode = writing_mode;
+ style.textContent = `
+ @position-try --pf {
+ inset: initial;
+ ${property}:${value};
+ }
+ #target {
+ position-try-fallbacks: --pf ${try_tactic};
+ }
+ #ref {
+ inset: initial;
+ ${property}:${expected};
+ }
+ `;
+ let targetRect = target.getBoundingClientRect();
+ let refRect = ref.getBoundingClientRect();
+ for (let prop of ["top", "right", "bottom", "left"]) {
+ assert_equals(targetRect[prop], refRect[prop], `Should render as ${property}: ${expected}: ${prop}`);
+ }
+ }, `${try_tactic}, ${property}:${value}, ${direction} ${writing_mode}`);
+}
+
+// Physical:
+
+test_position_area_tactic('flip-inline', 'position-area', 'left top', 'right top');
+test_position_area_tactic('flip-inline', 'position-area', 'left bottom', 'right bottom');
+test_position_area_tactic('flip-inline', 'position-area', 'right bottom', 'left bottom');
+test_position_area_tactic('flip-inline', 'position-area', 'right top', 'left top');
+
+test_position_area_tactic('flip-block', 'position-area', 'left top', 'left bottom');
+test_position_area_tactic('flip-block', 'position-area', 'left bottom', 'left top');
+test_position_area_tactic('flip-block', 'position-area', 'right bottom', 'right top');
+test_position_area_tactic('flip-block', 'position-area', 'right top', 'right bottom');
+
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'left top', 'right bottom');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'left bottom', 'right top');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'right bottom', 'left top');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'right top', 'left bottom');
+
+test_position_area_tactic('flip-start', 'position-area', 'left top', 'left top');
+test_position_area_tactic('flip-start', 'position-area', 'left bottom', 'right top');
+test_position_area_tactic('flip-start', 'position-area', 'right bottom', 'right bottom');
+test_position_area_tactic('flip-start', 'position-area', 'right top', 'left bottom');
+
+test_position_area_tactic('flip-block flip-start', 'position-area', 'left top', 'right top');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'left bottom', 'left top');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'right bottom', 'left bottom');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'right top', 'right bottom');
+
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'left top', 'left bottom');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'left bottom', 'right bottom');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'right bottom', 'right top');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'right top', 'left top');
+
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'left top', 'right bottom');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'left bottom', 'left bottom');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'right bottom', 'left top');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'right top', 'right top');
+
+// Variations:
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-left span-top', 'span-right span-bottom');
+
+// XY:
+
+test_position_area_tactic('flip-inline', 'position-area', 'x-start y-start', 'x-end y-start');
+test_position_area_tactic('flip-inline', 'position-area', 'x-start y-end', 'x-end y-end');
+test_position_area_tactic('flip-inline', 'position-area', 'x-end y-end', 'x-start y-end');
+test_position_area_tactic('flip-inline', 'position-area', 'x-end y-start', 'x-start y-start');
+
+test_position_area_tactic('flip-block', 'position-area', 'x-start y-start', 'x-start y-end');
+test_position_area_tactic('flip-block', 'position-area', 'x-start y-end', 'x-start y-start');
+test_position_area_tactic('flip-block', 'position-area', 'x-end y-end', 'x-end y-start');
+test_position_area_tactic('flip-block', 'position-area', 'x-end y-start', 'x-end y-end');
+
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'x-start y-start', 'x-end y-end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'x-start y-end', 'x-end y-start');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'x-end y-end', 'x-start y-start');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'x-end y-start', 'x-start y-end');
+
+test_position_area_tactic('flip-start', 'position-area', 'x-start y-start', 'x-start y-start');
+test_position_area_tactic('flip-start', 'position-area', 'x-start y-end', 'x-end y-start');
+test_position_area_tactic('flip-start', 'position-area', 'x-end y-end', 'x-end y-end');
+test_position_area_tactic('flip-start', 'position-area', 'x-end y-start', 'x-start y-end');
+
+test_position_area_tactic('flip-block flip-start', 'position-area', 'x-start y-start', 'x-end y-start');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'x-start y-end', 'x-start y-start');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'x-end y-end', 'x-start y-end');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'x-end y-start', 'x-end y-end');
+
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'x-start y-start', 'x-start y-end');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'x-start y-end', 'x-end y-end');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'x-end y-end', 'x-end y-start');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'x-end y-start', 'x-start y-start');
+
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'x-start y-start', 'x-end y-end');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'x-start y-end', 'x-start y-end');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'x-end y-end', 'x-start y-start');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'x-end y-start', 'x-end y-start');
+
+// Variations:
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-x-start span-y-start', 'span-x-end span-y-end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'self-x-start self-y-start', 'self-x-end self-y-end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-self-x-start span-self-y-start', 'span-self-x-end span-self-y-end');
+
+// Logical:
+
+test_position_area_tactic('flip-inline', 'position-area', 'block-start inline-start', 'start end');
+test_position_area_tactic('flip-inline', 'position-area', 'block-end inline-start', 'end');
+test_position_area_tactic('flip-inline', 'position-area', 'block-end inline-end', 'end start');
+test_position_area_tactic('flip-inline', 'position-area', 'block-start inline-end', 'start');
+
+test_position_area_tactic('flip-block', 'position-area', 'block-start inline-start', 'end start');
+test_position_area_tactic('flip-block', 'position-area', 'block-end inline-start', 'start');
+test_position_area_tactic('flip-block', 'position-area', 'block-end inline-end', 'start end');
+test_position_area_tactic('flip-block', 'position-area', 'block-start inline-end', 'end');
+
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'block-start inline-start', 'end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'block-end inline-start', 'start end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'block-end inline-end', 'start');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'block-start inline-end', 'end start');
+
+test_position_area_tactic('flip-start', 'position-area', 'block-start inline-start', 'start');
+test_position_area_tactic('flip-start', 'position-area', 'block-end inline-start', 'start end');
+test_position_area_tactic('flip-start', 'position-area', 'block-end inline-end', 'end');
+test_position_area_tactic('flip-start', 'position-area', 'block-start inline-end', 'end start');
+
+test_position_area_tactic('flip-block flip-start', 'position-area', 'block-start inline-start', 'start end');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'block-end inline-start', 'start');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'block-end inline-end', 'end start');
+test_position_area_tactic('flip-block flip-start', 'position-area', 'block-start inline-end', 'end');
+
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'block-start inline-start', 'end start');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'block-end inline-start', 'end');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'block-end inline-end', 'start end');
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'block-start inline-end', 'start');
+
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'block-start inline-start', 'end');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'block-end inline-start', 'end start');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'block-end inline-end', 'start');
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'block-start inline-end', 'start end');
+
+// Variations:
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-block-start span-inline-start', 'span-end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'self-block-start self-inline-start', 'self-end');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-self-block-start span-self-inline-start', 'span-self-end');
+
+// start/end
+
+test_position_area_tactic('', 'position-area', 'start end', 'start end');
+
+test_position_area_tactic('flip-block', 'position-area', 'start end', 'end');
+
+test_position_area_tactic('flip-inline', 'position-area', 'start end', 'start');
+
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'start end', 'end start');
+
+test_position_area_tactic('flip-start', 'position-area', 'start', 'start');
+test_position_area_tactic('flip-start', 'position-area', 'end', 'end');
+test_position_area_tactic('flip-start', 'position-area', 'start end', 'end start');
+
+test_position_area_tactic('flip-block flip-start', 'position-area', 'start end', 'end');
+
+test_position_area_tactic('flip-inline flip-start', 'position-area', 'start end', 'start');
+
+test_position_area_tactic('flip-block flip-inline flip-start', 'position-area', 'start end', 'start end');
+
+// Variations:
+
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-start span-end', 'span-end span-start');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'self-start self-end', 'self-end self-start');
+test_position_area_tactic('flip-block flip-inline', 'position-area', 'span-self-start span-self-end', 'span-self-end span-self-start');
+
+// center
+test_position_area_tactic('flip-block', 'position-area', 'left center', 'left center');
+test_position_area_tactic('flip-block', 'position-area', 'center top', 'center bottom');
+test_position_area_tactic('flip-block', 'position-area', 'center', 'center');
+test_position_area_tactic('flip-block', 'position-area', 'start center', 'end center');
+test_position_area_tactic('flip-block', 'position-area', 'center start', 'center start');
+test_position_area_tactic('flip-inline', 'position-area', 'center start', 'center end');
+test_position_area_tactic('flip-start', 'position-area', 'center start', 'start center');
+
+// span-all
+test_position_area_tactic('flip-block', 'position-area', 'left span-all', 'left');
+test_position_area_tactic('flip-block', 'position-area', 'span-all top', 'bottom');
+test_position_area_tactic('flip-block', 'position-area', 'span-all', 'span-all');
+test_position_area_tactic('flip-block', 'position-area', 'start span-all', 'block-end');
+test_position_area_tactic('flip-block', 'position-area', 'span-all start', 'inline-start');
+test_position_area_tactic('flip-inline', 'position-area', 'span-all start', 'inline-end');
+test_position_area_tactic('flip-start', 'position-area', 'span-all start', 'block-start');
+
+// Span mix:
+test_position_area_tactic('flip-block', 'position-area', 'left span-top', 'left span-bottom');
+test_position_area_tactic('flip-inline', 'position-area', 'left span-top', 'right span-top');
+test_position_area_tactic('flip-start', 'position-area', 'span-block-start inline-end', 'end span-start');
+
+// Writing modes:
+test_position_area_tactic('flip-block', 'position-area', 'left top', 'right top', 'ltr', 'vertical-rl');
+
+test_position_area_tactic('', 'position-area', 'x-start y-start', 'x-start y-start', 'rtl');
+test_position_area_tactic('flip-block', 'position-area', 'x-start y-start', 'x-start y-end', 'rtl');
+test_position_area_tactic('flip-inline', 'position-area', 'x-start y-start', 'x-end y-start', 'rtl');
+test_position_area_tactic('flip-block', 'position-area', 'x-end y-start', 'x-start y-start', 'ltr', 'vertical-rl');
+test_position_area_tactic('flip-inline', 'position-area', 'x-end y-start', 'x-end y-end', 'ltr', 'vertical-rl');
+
+test_position_area_tactic('flip-inline', 'position-area', 'start end', 'start', 'rtl');
+test_position_area_tactic('flip-inline', 'position-area', 'start end', 'start', 'ltr', 'vertical-rl');
+test_position_area_tactic('flip-block', 'position-area', 'start end', 'end', 'rtl');
+test_position_area_tactic('flip-block', 'position-area', 'start end', 'end', 'ltr', 'vertical-rl');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-sizing.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-sizing.html
new file mode 100644
index 00000000000..341158000eb
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-sizing.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic, sizing properties</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ @position-try --pf {
+ left:50px;
+ top:50px;
+
+ min-width: 1px;
+ min-height: 2px;
+ max-width: 100px;
+ max-height: 200px;
+ }
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #target {
+ position: absolute;
+ left: 99999px; /* force fallback */
+ width: 30px;
+ height: 40px;
+ background-color: skyblue;
+ }
+</style>
+<div id=cb>
+ <div id=target></div>
+</div>
+<script>
+ test(() => {
+ target.style.positionTryFallbacks = '--pf flip-block';
+ let cs = getComputedStyle(target);
+ assert_equals(cs.width, '30px');
+ assert_equals(cs.height, '40px');
+ assert_equals(cs.minWidth, '1px');
+ assert_equals(cs.minHeight, '2px');
+ assert_equals(cs.maxWidth, '100px');
+ assert_equals(cs.maxHeight, '200px');
+ }, 'flip-block does not affect sizing');
+
+ test(() => {
+ target.style.positionTryFallbacks = '--pf flip-inline';
+ let cs = getComputedStyle(target);
+ assert_equals(cs.width, '30px');
+ assert_equals(cs.height, '40px');
+ assert_equals(cs.minWidth, '1px');
+ assert_equals(cs.minHeight, '2px');
+ assert_equals(cs.maxWidth, '100px');
+ assert_equals(cs.maxHeight, '200px');
+ }, 'flip-inline does not affect sizing');
+
+ test(() => {
+ target.style.positionTryFallbacks = '--pf flip-start';
+ let cs = getComputedStyle(target);
+ assert_equals(cs.width, '40px');
+ assert_equals(cs.height, '30px');
+ assert_equals(cs.minWidth, '2px');
+ assert_equals(cs.minHeight, '1px');
+ assert_equals(cs.maxWidth, '200px');
+ assert_equals(cs.maxHeight, '100px');
+ }, 'flip-start affects sizing');
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-wm.html b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-wm.html
new file mode 100644
index 00000000000..7dd01f95a63
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-anchor-position/try-tactic-wm.html
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<title>CSS Anchor Positioning: try-tactic under different writing modes</title>
+<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic">
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ @position-try --pf {
+ left:10px;
+ top:20px;
+ }
+ #cb {
+ position: absolute;
+ width: 400px;
+ height: 400px;
+ border: 1px solid black;
+ }
+ #target {
+ position: absolute;
+ left: 99999px; /* force fallback */
+ width: 30px;
+ height: 40px;
+ background-color: skyblue;
+ }
+</style>
+<div id=cb>
+ <div id=target></div>
+</div>
+<script>
+
+ function test_try_tactic_wm(try_tactic, writing_mode, direction, expected_offsets) {
+ target.style.positionTryFallbacks = `--pf ${try_tactic}`;
+ cb.style.writingMode = writing_mode;
+ cb.style.direction = direction;
+ test(() => {
+ assert_equals(target.offsetLeft, expected_offsets.left, 'offsetLeft');
+ assert_equals(target.offsetTop, expected_offsets.top, 'offsetTop');
+ assert_equals(target.offsetWidth, expected_offsets.width, 'offsetWidth');
+ assert_equals(target.offsetHeight, expected_offsets.height, 'offsetHeight');
+ }, `${try_tactic} ${writing_mode} ${direction}`);
+ }
+
+ test_try_tactic_wm('', 'horizontal-tb', 'ltr', {left:10, top:20, width:30, height:40});
+
+ // Effectively flips left:10px to right:10px:
+ test_try_tactic_wm('flip-inline', 'horizontal-tb', 'ltr', {left:360, top:20, width:30, height:40});
+ test_try_tactic_wm('flip-x', 'horizontal-tb', 'ltr', {left:360, top:20, width:30, height:40});
+
+ // Effectively flips top:20px to bottom:20px:
+ test_try_tactic_wm('flip-inline', 'vertical-lr', 'ltr', {left:10, top:340, width:30, height:40});
+ test_try_tactic_wm('flip-inline', 'sideways-lr', 'ltr', {left:10, top:340, width:30, height:40});
+ test_try_tactic_wm('flip-y', 'vertical-lr', 'ltr', {left:10, top:340, width:30, height:40});
+ test_try_tactic_wm('flip-y', 'sideways-lr', 'ltr', {left:10, top:340, width:30, height:40});
+
+ // Effectively flips left:10px to right:10px:
+ test_try_tactic_wm('flip-block', 'sideways-rl', 'ltr', {left:360, top:20, width:30, height:40});
+ test_try_tactic_wm('flip-x', 'sideways-rl', 'ltr', {left:360, top:20, width:30, height:40});
+
+ // Mirror across the [left,top]=>[bottom,right] diagonal:
+ test_try_tactic_wm('flip-start', 'horizontal-tb', 'ltr', {left:20, top:10, width:40, height:30});
+
+ // Mirror across the [right,top]=>[bottom,left] diagonal:
+ test_try_tactic_wm('flip-start', 'horizontal-tb', 'rtl', {left:340, top:360, width:40, height:30});
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/interfaces/css-anchor-position.idl b/Tests/LibWeb/Text/input/wpt-import/interfaces/css-anchor-position.idl
new file mode 100644
index 00000000000..9ba6e0e29db
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/interfaces/css-anchor-position.idl
@@ -0,0 +1,84 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into webref
+// (https://github.com/w3c/webref)
+// Source: CSS Anchor Positioning Module Level 1 (https://drafts.csswg.org/css-anchor-position-1/)
+
+[Exposed=Window]
+interface CSSPositionTryRule : CSSRule {
+ readonly attribute CSSOMString name;
+ [SameObject, PutForwards=cssText] readonly attribute CSSPositionTryDescriptors style;
+};
+
+[Exposed=Window]
+interface CSSPositionTryDescriptors : CSSStyleDeclaration {
+ attribute CSSOMString margin;
+ attribute CSSOMString marginTop;
+ attribute CSSOMString marginRight;
+ attribute CSSOMString marginBottom;
+ attribute CSSOMString marginLeft;
+ attribute CSSOMString marginBlock;
+ attribute CSSOMString marginBlockStart;
+ attribute CSSOMString marginBlockEnd;
+ attribute CSSOMString marginInline;
+ attribute CSSOMString marginInlineStart;
+ attribute CSSOMString marginInlineEnd;
+ attribute CSSOMString margin-top;
+ attribute CSSOMString margin-right;
+ attribute CSSOMString margin-bottom;
+ attribute CSSOMString margin-left;
+ attribute CSSOMString margin-block;
+ attribute CSSOMString margin-block-start;
+ attribute CSSOMString margin-block-end;
+ attribute CSSOMString margin-inline;
+ attribute CSSOMString margin-inline-start;
+ attribute CSSOMString margin-inline-end;
+ attribute CSSOMString inset;
+ attribute CSSOMString insetBlock;
+ attribute CSSOMString insetBlockStart;
+ attribute CSSOMString insetBlockEnd;
+ attribute CSSOMString insetInline;
+ attribute CSSOMString insetInlineStart;
+ attribute CSSOMString insetInlineEnd;
+ attribute CSSOMString top;
+ attribute CSSOMString left;
+ attribute CSSOMString right;
+ attribute CSSOMString bottom;
+ attribute CSSOMString inset-block;
+ attribute CSSOMString inset-block-start;
+ attribute CSSOMString inset-block-end;
+ attribute CSSOMString inset-inline;
+ attribute CSSOMString inset-inline-start;
+ attribute CSSOMString inset-inline-end;
+ attribute CSSOMString width;
+ attribute CSSOMString minWidth;
+ attribute CSSOMString maxWidth;
+ attribute CSSOMString height;
+ attribute CSSOMString minHeight;
+ attribute CSSOMString maxHeight;
+ attribute CSSOMString blockSize;
+ attribute CSSOMString minBlockSize;
+ attribute CSSOMString maxBlockSize;
+ attribute CSSOMString inlineSize;
+ attribute CSSOMString minInlineSize;
+ attribute CSSOMString maxInlineSize;
+ attribute CSSOMString min-width;
+ attribute CSSOMString max-width;
+ attribute CSSOMString min-height;
+ attribute CSSOMString max-height;
+ attribute CSSOMString block-size;
+ attribute CSSOMString min-block-size;
+ attribute CSSOMString max-block-size;
+ attribute CSSOMString inline-size;
+ attribute CSSOMString min-inline-size;
+ attribute CSSOMString max-inline-size;
+ attribute CSSOMString placeSelf;
+ attribute CSSOMString alignSelf;
+ attribute CSSOMString justifySelf;
+ attribute CSSOMString place-self;
+ attribute CSSOMString align-self;
+ attribute CSSOMString justify-self;
+ attribute CSSOMString positionAnchor;
+ attribute CSSOMString position-anchor;
+ attribute CSSOMString positionArea;
+ attribute CSSOMString position-area;
+};