Make dark
and rtl
/ltr
variants insensitive to DOM order
#10766
Merged
dark
and rtl
/ltr
variants insensitive to DOM order
#10766