We need to discuss more.
About the webkit feature, I think we can do a work around:
memorize previous selection;
if right click then
if previous selection is empty then unselect; show page actions;
else select previous selection; show text actions;
endif;
endif;
If it works, we can provide standard contextual menu behavior.