From 39ec6925e85b56c41f19f5bcb7f013c47be2a404 Mon Sep 17 00:00:00 2001
From: Mason Freed
Attach a shadow root with
- declarative shadow host element, mode, clonable,
- delegatesFocus, and "named
".
If declarative shadow host element is a shadow host, then + insert an element at the adjusted insertion location with + template.
If an exception was thrown by attach a - shadow root, then catch it, and run these steps:
+Otherwise:
Report the exception.
Attach a shadow root with
+ declarative shadow host element, mode, clonable,
+ delegatesFocus, and "named
". If an exception is thrown,
+ then catch it, report the exception, insert an element at the adjusted
+ insertion location with template, and return.
Insert an element at the adjusted insertion location with - template.
Otherwise:
- -Let shadow be declarative shadow host element's shadow root.