Snap position must be placed on the right side of the child elements for scroll-margin-right to work. On pages written in English the snap position can normally be set on the right side of child elements by setting scroll-snap-align to "none end" because inline direction is left-to-right. But, if we change inline direction with the direction property value set to "rtl", the snap position changes from right to left side of the child elements. With the code like this the scroll-margin-right property no longer works.