Currently the element is considered empty if it only has #cache
property. The #weight
property should be considered too as it does not change the emptiness of an element.
↧
Element::isEmpty() should check for #weight property
↧