correctly support border with right. This is weird that border is ignored but it's the same behavior on both chrome and firefox