From f1beb00a9058ad4514c79562e44b4edb90ebc43e Mon Sep 17 00:00:00 2001 From: Shagen Ogandzhanian Date: Sat, 12 Jun 2021 02:27:48 +0200 Subject: [PATCH] Clone node experiment (#772) * Specialize TagElement for creating HTMLElements in different ways * Clone elements for Div, Span and A * Clone counterparts for Button and Input * Remove redundant type cast * Created nodes does not have content so I'm not sure we need to pass true * H1, H2, H3, H4, H5, H6, P * Switch all element creation to cloneNode * Split ElementBuilder and ElementBuilderImplementation * BROKEN pass ElementBuilder * Remove obsolete tagName syntax completely * Fix typo in generic name * Reintroduce legaci API call signature which uses cloneNode as well