javascript - TreeWalker, textNodes and RTL ordering in natural language web pages -
javascript - TreeWalker, textNodes and RTL ordering in natural language web pages -
in languages standard arabic text direction right-to-left. illustration go facebook homepage , select standard arabic languages link @ bottom of screen.
my question if using tree walker step through kid nodes of element containing standard arabic text, , set textcontent of nodes array, , concatenate it, textnodes have been ordered in semantically right order (rtl) or mixed up?
another way of asking question : need own rtl checking if stepping through text nodes in international environment, or browser's tree walker take care of me ( speaking document order == semantic order ).
i not expert on dom textnodes in i18n, rtl or these issues, , purpose of text node traversal info collection.
javascript dom internationalization right-to-left
Comments
Post a Comment