Min/max inline-size calculation for column spanners.

Bug: 829028
Change-Id: I1f0301e6891a2ffe2ed4c10767f0d845a5b735c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2846507
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#875987}
diff --git a/css/css-multicol/intrinsic-size-002.html b/css/css-multicol/intrinsic-size-002.html
new file mode 100644
index 0000000..a85f14e
--- /dev/null
+++ b/css/css-multicol/intrinsic-size-002.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:100px; height:100px; background:red;">
+  <div style="width:fit-content; columns:3; background:green;">
+    <div style="column-span:all;">
+      <div style="width:100px; height:100px;"></div>
+    </div>
+  </div>
+</div>
diff --git a/css/css-multicol/intrinsic-size-003.html b/css/css-multicol/intrinsic-size-003.html
new file mode 100644
index 0000000..86f6734
--- /dev/null
+++ b/css/css-multicol/intrinsic-size-003.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
+<meta name="assert" content="Spanners may be nested inside blocks, as long as none of them establish a new formatting context">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:100px; height:100px; background:red;">
+  <div style="width:fit-content; columns:3; background:green;">
+    <div>
+      <div>
+	<div>
+	  <div style="column-span:all;">
+	    <div style="width:100px; height:100px;"></div>
+	  </div>
+	</div>
+      </div>
+    </div>
+  </div>
+</div>
diff --git a/css/css-multicol/intrinsic-size-004.html b/css/css-multicol/intrinsic-size-004.html
new file mode 100644
index 0000000..d603ae0
--- /dev/null
+++ b/css/css-multicol/intrinsic-size-004.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
+<meta name="assert" content="Spanners may be not be nested formatting context roots - then the element becomes regular column content">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:100px; height:100px; background:red;">
+  <div style="width:fit-content; columns:4; column-gap:0; background:green;">
+    <div style="display:flow-root;">
+      <div style="column-span:all;">
+	<div style="width:25px; height:400px;"></div>
+      </div>
+    </div>
+  </div>
+</div>
diff --git a/css/css-multicol/intrinsic-size-005.html b/css/css-multicol/intrinsic-size-005.html
new file mode 100644
index 0000000..5f12836
--- /dev/null
+++ b/css/css-multicol/intrinsic-size-005.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:100px; height:100px; background:red;">
+  <div style="width:fit-content; columns:4; column-gap:0; height:100%; background:green;">
+    <div style="column-span:all; height:100%; aspect-ratio:1/1;"></div>
+  </div>
+</div>