It seems weak to rely on the styl attribute here. Can't we check this.isSupportedAction(this.dataset.action) or something like that ?