| Index: third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo.html | 
| diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo.html b/third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..18f75d0e3da14a0936fcb45e1516b73c9a85aa30 | 
| --- /dev/null | 
| +++ b/third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo.html | 
| @@ -0,0 +1,29 @@ | 
| +<!DOCTYPE html> | 
| +<style> | 
| +  #t1::before { | 
| +    content: "A"; | 
| +    display: block | 
| +  } | 
| +  #t1.inline::before { | 
| +    display: inline | 
| +  } | 
| + | 
| +  #t2::before { | 
| +    content: "C"; | 
| +    display: block | 
| +  } | 
| +  #t2.inline::before { | 
| +    display: inline | 
| +  } | 
| +</style> | 
| +<p>There should be a space between A and B.</p> | 
| +<div id="t1"> <span>B</span></div> | 
| +<p>There should be a space between C and D.</p> | 
| +<div id="t2"></div> | 
| +<script> | 
| +  t2.attachShadow({mode:"open"}).innerHTML = " <span>D</span>"; | 
| +  document.body.offsetTop; // Force layout tree generation. | 
| + | 
| +  t1.className = "inline"; | 
| +  t2.className = "inline"; | 
| +</script> | 
|  |