Missing initialization of use_previous_in_flow for slots

Initialization was done for attaching light children of elements, but
not for attaching assigned slot children.

Bug: 1201210
Change-Id: I773e8067930a9b3c409e7a5d118499bafac2ba95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2857576
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#877421}
diff --git a/css/css-display/display-contents-slot-attach-whitespace.html b/css/css-display/display-contents-slot-attach-whitespace.html
new file mode 100644
index 0000000..867f1f0
--- /dev/null
+++ b/css/css-display/display-contents-slot-attach-whitespace.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<title>Attaching shadow slot with assigned whitespace separated inline elements</title>
+<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
+<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
+<link rel="match" href="../reference/pass_if_two_words.html">
+<p>There should be a space between "two" and "words" below.</p>
+<div id="host"><span>two</span> <span>words</span></div>
+<script>
+  host.offsetTop;
+  host.attachShadow({mode:"open"}).innerHTML = "<slot />";
+</script>