add text-overflow
update compatibility functionalities
add popup layout