From 8588e3b4b68e89a66e1081ec195d9bab2d8b644c 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.