lua: http: fix inline-block buttons with webkit (fix #9340)