@override Node insertBefore(Node child, Node referenceNode) { Node ret = super.insertBefore(child, referenceNode); _recalculateStyle(); return ret; }