Index: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-dynamic.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-dynamic.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-dynamic.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0aadd17548cb86f7fcb3aa795771669c61e7e4d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-dynamic.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<div id='host'> |
+ <div slot='s1'>c1</div> |
+ <div slot='s2'>c2</div> |
+</div> |
+<script> |
+'use strict'; |
+document.body.offsetLeft; |
+const slot = document.createElement('slot'); |
+slot.setAttribute('name', 's1'); |
+host.attachShadow({mode: 'open'}).appendChild(slot); |
+</script> |