dom/element: add <template> specialization