RTL detection based on CSS styles in subtrees has timing issues. In some circumstances, the value of the direction style property will be empty string while an element is booting up even though it should probably read as "rtl".
This change proposes a fix where an addition configuration (use-global-rtl-attribute) of the iconset tells it to use the value of the dir attribute on either <body> or <html>, whichever is available.
RTL detection based on CSS styles in subtrees has timing issues. In some circumstances, the value of the
direction
style property will be empty string while an element is booting up even though it should probably read as"rtl"
.This change proposes a fix where an addition configuration (
use-global-rtl-attribute
) of the iconset tells it to use the value of thedir
attribute on either<body>
or<html>
, whichever is available.Fixes #64